Other Parts Discussed in Thread: TEST2
Hi,
I have a problem on the cc1101:
In my application if I have one transmitter and one receiver it works! If I have two receiver, Rx1 work fine, the Rx2 no, it receives messages destined for the receiver 1 and not its messages.
It could be a problem with RX_FLUSH? Or am I slow to read the messages?
0x06, //IOCFG2 - GDO2 output pin configuration
0xAE, //IOCFG1 - GDO1 output pin configuration
0x06, //IOCFG0 - GDO0 output pin configuration
0x0F, //FIFOTHR - RXFIFO and TXFIFO thresholds.
0xD3, //SYNC1 - SYNC1
0x91, //SYNC0 - SYNC0
0x3D, //PKTLEN - Packet length.
0x04, //PKTCTRL1 - Packet automation control.
0x05, //PKTCTRL0 - Packet automation control.
0x00, //ADDR - Device address.
0x00, //CHANNR - Channel number.
0x06, //FSCTRL1 - Frequency synthesizer control.
0x00, //FSCTRL0 - Frequency synthesizer control.
0x20, //FREQ2 - Frequency control word, high byte.
0x28, //FREQ1 - Frequency control word, middle byte.
0xC5, //FREQ0 - Frequency control word, low byte.
0xCA, //MDMCFG4 - Modem configuration.
0x75, //MDMCFG3 - Modem configuration.
0x03, //MDMCFG2 - Modem configuration.
0x42, //MDMCFG1 - Modem configuration.
0xE5, //MDMCFG0 - Modem configuration.
0x34, //DEVIATN - Modem deviation setting (when FSK modulation is enabled)
0x07, //MCSM2 - Main Radio Control State Machine configuration
0x20, //MCSM1 - Main Radio Control State Machine configuration
0x18, //MCSM0 - Main Radio Control State Machine configuration
0x16, //FOCCFG - Frequency Offset Compensation Configuration.
0x6C, //BSCFG - Bit synchronization Configuration.
0x43, //AGCCTRL2 - AGC control.
0x40, //AGCCTRL1 - AGC control.
0x91, //AGCCTRL0 - AGC control.
0x87, //WOREVT1
0x6B, //WOREVT0
0xF8, //WORCTRL
0x56, //FREND1- Front end RX configuration.
0x10, //FREND0 - Front end RX configuration.
0xE9, //FSCAL3 - Frequency synthesizer calibration.
0x2A, //FSCAL2 - Frequency synthesizer calibration.
0x00, //FSCAL1 - Frequency synthesizer calibration.
0x1F, //FSCAL0 - Frequency synthesizer calibration.
0x41, //RCCTRL1
0x00, //RCCTRL0
0x59, //FSTEST - Frequency synthesizer calibration control
0x7F, //PTEST
0x36, //AGCTEST
0x88, //TEST2 - Various test settings.
0x31, //TEST1 - Various test settings.
0x0B, //TEST0 - Various test settings.
0x00 //PARTNUM;
Anyone can help me?
Thanks
Ivo