Part Number:CC1101
Hi.
I'm trying to use the CC1101 chip as a receiver which is reporting RSSI every 2ms cicle of Idle/Rx/Idle/Rx on single frequency 315 MHz.
I used SmartRF software to get recommended register values for various RBW/Deviation/BitRate/etc options.
A result I've got with CW carrier slowly moving within ±1MHz of 315MHz most likely means that RSSI bandwidth is always ~60kHz independently of RBW settings.
I'm writing a set of 32 registers in the next sequence:
CC1101_FSCTRL1, // 0 // Frequency synthesizer control.
CC1101_FSCTRL0, // 1 // Frequency synthesizer control.
CC1101_FREQ2, // 2 // Frequency control word, high byte.
CC1101_FREQ1, // 3 // Frequency control word, middle byte.
CC1101_FREQ0, // 4 // Frequency control word, low byte.
CC1101_MDMCFG4, // 5 // Modem configuration.
CC1101_MDMCFG3, // 6 // Modem configuration.
CC1101_MDMCFG2, // 7 // Modem configuration.
CC1101_MDMCFG1, // 8 // Modem configuration.
CC1101_MDMCFG0, // 9 // Modem configuration.
CC1101_DEVIATN, // 10 // Modem deviation setting (when FSK modulation is enabled).
CC1101_FREND1, // 11 // Front end RX configuration. FREND1 depends on the RX filter BW: 0xB6 if RBW > 100 kHz else 0x56.
CC1101_FREND0, // 12 // Front end TX configuration.
CC1101_MCSM0, // 13 // Main Radio Control State Machine configuration.
CC1101_FOCCFG, // 14 // Frequency Offset Compensation Configuration.
CC1101_BSCFG, // 15 // Bit synchronization Configuration.
CC1101_AGCTRL2, // 16 // AGC control.
CC1101_AGCTRL1, // 17 // AGC control.
CC1101_AGCTRL0, // 18 // AGC control.
CC1101_FSCAL3, // 19 // Frequency synthesizer calibration.
CC1101_FSCAL2, // 20 // Frequency synthesizer calibration.
CC1101_FSCAL1, // 21 // Frequency synthesizer calibration.
CC1101_FSCAL0, // 22 // Frequency synthesizer calibration.
CC1101_FSTEST, // 23 // Frequency synthesizer calibration.
CC1101_TEST2, // 24 // // Test settings. If TEST2=0x81, TEST1=0x35 (applicable if the RBW<325 kHz) make sure to set FIFOTHR[6]=1;
// else TEST2=0x88, TEST1=0x31 and FIFOTHR[6]=0
CC1101_TEST1, // 25 // Test settings.
CC1101_TEST0, // 26 // Test settings.
CC1101_FIFOTHR, // 27 // ADC_RETENTION (Bit6=1 and TEST1=0x35, TEST2=0x81 if RBW<325kHz, else 0,0x31,0x88), RX Attenuation, RX/TX FIFO thresholds.
CC1101_IOCFG2, // 28 // GDO2 output pin configuration.
CC1101_IOCFG0, // 29 // GDO0 output pin configuration.
CC1101_PKTCTRL1,// 30 // Packet automation control.
CC1101_PKTCTRL0 // 31 // Packet automation control.
Please let me know either I do something wrong or I'm right regarding the RSSI resolution bandwidth.
I would really appreciate any hint since I'm just starting to work with the CC1101 but do not want to spend much time if it doesn't see CW within RBW as I need.