Other Parts Discussed in Thread: CC1101, , CC1350
With the CC1310 and 1310 communication data being normal, and the 1101 and 1101 communication data being normal, in non-Manchester encoding mode, the data received between CC1310 devices is the same as the data sent by the TX transmitter, ruling out the possibility of original data errors. Additionally, the frequency spectrum observed is the same, ruling out frequency offset setting issues. Afterwards, it was found that reading the data sent by CC1101 to CC1310 through the serial port was normal, but the data sent from 1101 to 1310 did not match the original data.
Here's the configuration:
:
The data read from the RXfifo of 1101 contains an address, however, I did not set an address. The address read is 06, the packet length is E7, but in the 1310 program, the packet length should be 30, and the data content is also incorrect. Upon careful observation, it is found that there are three repeated segments of data, and it is unknown where they originated from.
here's the expected data:
packet[0] = PAYLOAD_LENGTH;//PAYLOAD_LENGTH=30
packet[1] = (uint8_t)(seqNumber >> 8);
packet[2] = (uint8_t)(seqNumber++);
uint8_t i;
for (i = 3; i < PAYLOAD_LENGTH +1; i++)
{
// packet[i] = rand();
packet[i] = 0x11;
}
here's the cc1101 RX code:
here's the receive data:
can you give me some advices for solving this problem ? thanks