I am working with CC1101.I have configured my CC1101 in RX mode and it is possible to receive packets sent from CC1101 demo board with 2FSK modulation.But when I use manchester encoding with FSK modulation I am not able to receive any packets.And if I put the same configuration in CC1101 demo board it possible to receive packets with manchester encoding.
My configuration is as follows
#define CC1101_IOCFG2_value 0x06 // assert - sync word transmitted/received, deassert - end of packet#define CC1101_IOCFG1_value 0x2E // tri-state#define CC1101_IOCFG0_value 0x01 // assert - RX FIFO is filled at or above the threshold or at End of packet, deassert when TX FIFO is below the threshold#define CC1101_FIFOTHR_value 0x65F2 // SmartRF Studio#define CC1101_SYNC1_value 0xD3 //#define CC1101_SYNC0_value 0x91 // 32 bit SYNC Word value#define CC1101_PKTLEN_value 0x06 // Indicates Packet Length value#define CC1101_PKTCTRL1_value 0x00 // SYNC word always accepted,dont Append RSSI and LQI values, no address check#define CC1101_PKTCTRL0_value 0x00 // Fixed packet length mode without CRC;Data whitening off,Normal mode use of FIFO for RX & TX#define CC1101_ADDR_value 0x00 // address-00#define CC1101_CHANNR_value 0x00 // channel no.0#define CC1101_FSCTRL1_value 0x06 // from smartrf studio #define CC1101_FSCTRL0_value 0x00 // from smartrf studio #define CC1101_FREQ2_value 0x21 // Carrier-868.3MHz#define CC1101_FREQ1_value 0x65 // Carrier-868.3MHz#define CC1101_FREQ0_value 0x6A // Carrier-868.3MHz#define CC1101_MDMCFG4_value 0x89 // RX Filter BW- 203 kHz,data rate 17 KBaud#define CC1101_MDMCFG3_value 0x57 // Data rate-17 KBaud#define CC1101_MDMCFG2_value 0x0B // 2FSK modulation,32/30 sync word bits, Manchester enable#define CC1101_MDMCFG1_value 0x22 // Disable FEC, Preamble bytes-4#define CC1101_MDMCFG0_value 0xF8 // Channel spacing-200 KHz#define CC1101_DEVIATN_value 0x50 // deviation 50 kHz#define CC1101_MCSM2_value 0x07 // Timeout for sync word search in RX for both WOR mode and normal RX is until end of packet#define CC1101_MCSM1_value 0x3F // Next state after finishing packet reception is RX,Clear channel indication if RSSI below threshold unless currently //receiving a packet#define CC1101_MCSM0_value 0x18 // Automatically calibrate When going from IDLE to RX or TX
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.