Hi,
I'm currently using cc1101 in my project trying. I followed the application note and designed a transmitter and a receiver. To test them, I made a series of data on the transmitter side, and expect to receive the same data on the receiver side. However, I never received the same data.
I controlled the transmitter side and let it send out 1 packet at a time, and the receiver side gives me a indication once it received 1 packet otherwise it would stay in RX mode. For example, I sent a series of 20 bytes, where the first byte indicated the length of the packet since I am using variable packet length mode
sent: {0x12, 0x13, 0x05, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}
received: {0xED, 0xF2, 0x18, 0x65, 0x12, 0x7A,0xCC, 0xDB, 0x15, 0x85, 0x2D, 0xC6, 0x8F, 0x68, 0xA8,0x F5, 0xAB, 0x82, 0xD2, 0x72}
None of the received data are the same. However, the first received byte is always the 1's complement of the first sent byte.
The register settings for both sides are exactly the same. I guess the pre-amble and the sync words receiving is alright, since the receiver received the packet promptly right after I sent the packet from the transmitter side.
Thanks in advance!
Yang