Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CC1101: CC1101 Optional Packet Length

$
0
0

Part Number:CC1101

Hello

I have run into a problem with the packet length of the CC1101. I am using a variable packet length, thus am I making use of the optional length byte. I want to transfer a file of approximately 300KB from the one CC1101 (DeviceA) to the other CC1101 (DeviceB). I am breaking this file into smaller chunks when sending it to the other DeviceB, this device must send ACK if the received packet if CRC is fine otherwise it must NAK to DeviceA. DeviceA must receive this ACK/NAK and the send new chunk or resend the failed chunk. When DeviceB sends the ACK/NAK message the message corrupts when recieved on DeviceA, but when a add another CC1101 (DeviceC) that only have to receive the ACK/NAK messages send by DeviceB the messages does not corrupt. 

When debugging on DeviceB I can see that the optional length byte of the packets are not the expected, the value of the optional length byte is my first byte of the payload. Even if I read out of the RXBYTES register the value is not the expected length, but the value is consistent if I read it multiple times. it feels like I an issue between switching between TX and RX. Can someone help me with this issue?


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>