Other Parts Discussed in Thread: TEST2,
Since there is no SmartRF04EB simulator, the registers are configured according to the routines on the official website.The selected frequency is 433M and the transmission rate is 1.2K.
- Problems:
1. The transmission is unilateral : ① can transmit to ②,and it can receive message. but ② can not transmit to ①。
2. Broadcasting has no effect : Transmission of information between multiple CC1101s → ① and ③ send message ,② can receive , but ② send message , ① and ③ can not receive . and that ① 、③ can not communicate with each other.
-
Here is the configuration of my registers :
const RF_SETTINGS rfSettings =
{
0x00,
0x06, // FSCTRL1 Frequency synthesizer control.
0x00, // FSCTRL0 Frequency synthesizer control.
0x10, // FREQ2 Frequency control word, high byte.
0xA7, // FREQ1 Frequency control word, middle byte.
0x62, // FREQ0 Frequency control word, low byte.
0xF5, // MDMCFG4 Modem configuration.
0x83, // MDMCFG3 Modem configuration.
0x13, // MDMCFG2 Modem configuration.
// 0x22, // MDMCFG1 Modem configuration.
// 0xF8, // MDMCFG0 Modem configuration.
0x00, // CHANNR Channel number.
0x31, // DEVIATN Modem deviation setting (when FSK modulation is enabled).
0xB6, // FREND1 Front end RX configuration.
0x10, // FREND0 Front end RX configuration.
0x18, // MCSM0 Main Radio Control State Machine configuration.
0X3B, //MCSM1
0x16, // FOCCFG Frequency Offset Compensation Configuration.
0x1C, // BSCFG Bit synchronization Configuration.
0xC7, // AGCCTRL2 AGC control.
0x00, // AGCCTRL1 AGC control.
0xB2, // AGCCTRL0 AGC control.
0xE9, // FSCAL3 Frequency synthesizer calibration.
0x2A, // FSCAL2 Frequency synthesizer calibration.
0x00, // FSCAL1 Frequency synthesizer calibration.
0x1F, // FSCAL0 Frequency synthesizer calibration.
0x59, // FSTEST Frequency synthesizer calibration.
0x81, // TEST2 Various test settings.
0x35, // TEST1 Various test settings.
0x09, // TEST0 Various test settings.
0x0B, // IOCFG2 GDO2 output pin configuration.
0x06, // IOCFG0 GDO0 output pin configuration. Refer to SmartRF?Studio User Manual for detailed pseudo register explanation.
0x04, // PKTCTRL1 Packet automation control.
0x05, // PKTCTRL0 Packet automation control.
0x00, // ADDR Device address.
0x0c, // PKTLEN Packet length.
0x47, //FIFOTHR
0xFB //WORCTRL
};
Please help me .Thanks