Part Number: CC113L
Hi
Configuration supplement:Base Frequency(433.00MHz)Deviation(39.6kHz)Data Rate(19.2 kbps--After encoding, 38.348.)Modulation Format(2-FSK)Encoding(Manchester)Preamble((0x5555 5555 5555))Sync Word(0x569A)
When I configured CC113L with the following parameters, the laboratory test showed that the reception rate was close to 100%.
NRZ code reception, reading data from the FIFO, Manchester decoding is processed by software.
.Reg.B.IOCFG2 = 0x2E, //GDO2 Output Pin Configuration
.Reg.B.IOCFG1 = 0x2E, //GDO1 Output Pin Configuration
.Reg.B.IOCFG0 = 0x00, //GDO0 Output Pin Configuration
.Reg.B.FIFOTHR = 0x4F, //RX FIFO Thresholds (64 bytes)
.Reg.B.SYNC1 = 0x56, //Sync Word, High Byte
.Reg.B.SYNC0 = 0x9A, //Sync Word, Low Byte
.Reg.B.PKTLEN = 0x40, //Packet Length, (64 bytes Manchester )
.Reg.B.PKTCTRL1 = 0x04, //Packet Automation Control - Auto RSSI
.Reg.B.PKTCTRL0 = 0x00, //Packet Automation Control
.Reg.B.ADDR = 0x00, //Device address
.Reg.B.CHANNR = 0x00, //Channel number
.Reg.B.FSCTRL1 = 0x08, //Frequency Synthesize
.Reg.B.FSCTRL0 = 0x00, //Frequency Synthesizer Control
.Reg.B.FREQ2 = 0x10, //Frequency Control Word, High Byte
.Reg.B.FREQ1 = 0xA7, //Frequency Control Word, Middle Byte // 433.00MHz
.Reg.B.FREQ0 = 0x62, //Frequency Control Word, Low Byte
.Reg.B.MDMCFG4 = 0x9A, //Modem Configuration // Filter BW 162 kHz
.Reg.B.MDMCFG3 = 0x83, //Modem Configuration //38.3835 kbps
.Reg.B.MDMCFG2 = 0x02, //Modem Configuration // 2-FSK , 16/16 SYNC,
.Reg.B.MDMCFG1 = 0x02, //Modem Configuration
.Reg.B.MDMCFG0 = 0xF8, //Modem Configuration
.Reg.B.DEVIATN = 0x45, //Modem Deviation Setting //45 = 41.259766kHz
.Reg.B.MCSM2 = 0x07, //Main Radio Control State Machine Configuration
.Reg.B.MCSM1 = 0x30, //Main Radio Control State Machine Configuration
.Reg.B.MCSM0 = 0x38, //Main Radio Control State Machine Configuration
.Reg.B.FOCCFG = 0x1E, //Frequency Offset Compensation Configuration //BW/4 = 40kHz
.Reg.B.BSCFG = 0x1D, //Bit Synchronization Configuration
.Reg.B.AGCCTRL2 = 0xC7, //AGC Control
.Reg.B.AGCCTRL1 = 0x08, //AGC Control
.Reg.B.AGCCTRL0 = 0x32, //AGC Control
.Reg.B.NOTUSED_0x1E = 0x00, //NOT USED
.Reg.B.NOTUSED_0x1F = 0x00, //NOT USED
.Reg.B.RESERVED_0x20 = 0xFB, //Use setting from SmartRF Studio
.Reg.B.FREND1 = 0xB6, //Front End RX Configuration
.Reg.B.NOTUSED_0x22 = 0x00, //NOT USED
.Reg.B.FSCAL3 = 0xEA, //Frequency Synthesizer Calibration
.Reg.B.FSCAL2 = 0x2A, //Frequency Synthesizer Calibration
.Reg.B.FSCAL1 = 0x00, //Frequency Synthesizer Calibration
.Reg.B.FSCAL0 = 0x1F, //Frequency Synthesizer Calibration
.Reg.B.NOTUSED_0x27 = 0x00, //NOT USED
.Reg.B.NOTUSED_0x28 = 0x00, //NOT
.Reg.B.RESERVED_0x29 = 0x59, //Use setting from SmartRF Studio
.Reg.B.RESERVED_0x2A = 0x7F, //Use setting from SmartRF Studio
.Reg.B.RESERVED_0x2B = 0x3F, //Use setting from SmartRF Studio
.Reg.B.TEST2 = 0x81, //Various Test Settings
.Reg.B.TEST1 = 0x35, //Various Test Settings
.Reg.B.TEST0 = 0x09 //Various Test Settings
After enabling the Manchester decoding of CC113L, the reception rate is approximately 70%. The configuration is as follows.
Attempting to modify other configurations did not result in any significant improvement in the reception rate.
.Reg.B.IOCFG2 = 0x2E, //GDO2 Output Pin Configuration
.Reg.B.IOCFG1 = 0x2E, //GDO1 Output Pin Configuration
.Reg.B.IOCFG0 = 0x00, //GDO0 Output Pin Configuration
.Reg.B.FIFOTHR = 0x47, //RX FIFO Thresholds (32 bytes)
.Reg.B.SYNC1 = 0x00, //Sync Word, High Byte
.Reg.B.SYNC0 = 0x1B, //Sync Word, Low Byte
.Reg.B.PKTLEN = 0x20, //Packet Length, (32 bytes Manchester )
.Reg.B.PKTCTRL1 = 0x04, //Packet Automation Control - Auto RSSI
.Reg.B.PKTCTRL0 = 0x00, //Packet Automation Control
.Reg.B.ADDR = 0x00, //Device address
.Reg.B.CHANNR = 0x00,
.Reg.B.FSCTRL0 = 0x00, //Frequency Synthesizer Control
.Reg.B.FREQ2 = 0x10, //Frequency Control Word, High Byte
.Reg.B.FREQ1 = 0xA7, //Frequency Control Word, Middle Byte // 433.00MHz
.Reg.B.FREQ0 = 0x62, //Frequency Control Word, Low Byte
.Reg.B.MDMCFG4 = 0x9A, //Modem Configuration // Filter BW 162 kHz
.Reg.B.MDMCFG3 = 0x83, //Modem Configuration //38.3835 kbps
.Reg.B.MDMCFG2 = 0x0A, //Modem Configuration // 2-FSK, Manchester Enable , 16/16 SYNC, //test
.Reg.B.MDMCFG1 = 0x02, //Modem Configuration
.Reg.B.MDMCFG0 = 0xF8, //Modem Configuration
.Reg.B.DEVIATN = 0x45, //Modem Deviation Setting //45 = 41.259766kHz
.Reg.B.MCSM2 = 0x07, //Main Radio Control State Machine Configuration
.Reg.B.MCSM1 = 0x30, //Main Radio Control State Machine Configuration
.Reg.B.MCSM0 = 0x38, //Main Radio Control State Machine Configuration
.Reg.B.FOCCFG = 0x1E, //Frequency Offset Compensation Configuration //BW/4 = 40kHz
.Reg.B.BSCFG = 0x1D, //Bit Synchronization Configuration
.Reg.B.AGCCTRL2 = 0xC7, //AGC Control
.Reg.B.AGCCTRL1 = 0x08, //AGC Control
.Reg.B.AGCCTRL0 = 0x32, //AGC Control
.Reg.B.NOTUSED_0x1E = 0x00, //NOT USED
.Reg.B.NOTUSED_0x1F = 0x00, //NOT USED
.Reg.B.RESERVED_0x20 = 0xFB, //Use setting from SmartRF Studio
.Reg.B.FREND1 = 0xB6, //Front End RX Configuration
.Reg.B.NOTUSED_0x22 = 0x00, //NOT USED
.Reg.B.FSCAL3 = 0xEA, //Frequency Synthesizer Calibration
.Reg.B.FSCAL2 = 0x2A, //Frequency Synthesizer Calibration
.Reg.B.FSCAL1 = 0x00, //Frequency Synthesizer Calibration
.Reg.B.FSCAL0 = 0x1F, //Frequency Synthesizer Calibration
.Reg.B.NOTUSED_0x27 = 0x00, //NOT USED
.Reg.B.NOTUSED_0x28 = 0x00, //NOT
.Reg.B.RESERVED_0x29 = 0x59, //Use setting from SmartRF Studio
.Reg.B.RESERVED_0x2A = 0x7F, //Use setting from SmartRF Studio
.Reg.B.RESERVED_0x2B = 0x3F, //Use setting from SmartRF Studio
.Reg.B.TEST2 = 0x81, //Various Test Settings
.Reg.B.TEST1 = 0x35, //Various Test Settings
.Reg.B.TEST0 = 0x09 //Various Test Settings
I hope somone help me solve the problem.