这个不是特别清楚,我是刚接手的项目,现在知道的是初始化把433配置一遍,用这个函数registerConfig_433();然后用void cc1120_Isr_init(); manualCalibration();配置下433 ,在这之前 初始化MCU,初始化spi,定时器 串口 然后就是死循环了 runTX() 发送一下数据 就进入休眠 然后再唤醒433模块 现在只知道 430可以通过定时器计时唤醒 ,但是1120应该还是休眠状态,他是可以通过主机发送指令,通过无线传输唤醒吗?在用户指南里发现1120复位和CSn有点关系,9.1.1 Automatic POR
A power-on reset circuit is included in the CC112X. The internal power-up sequence is completed when
CHIP_RDYn goes low. CHIP_RDYn is observed on the SO pin after CSn is pulled low (See Section
3.1.2 for more details).
When the CC112X reset is completed, the chip will be in the IDLE state and the crystal oscillator will be
running. If the chip has had sufficient time for the crystal oscillator to stabilize after the power-onreset, the SO pin will go low immediately after taking CSn low. If CSn is taken low before reset is
completed, the SO pin will first go high, indicating that the crystal oscillator is not stabilized, before
going low as shown in Figure 23.
|