This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL-CC1350: Encoded payload and termination bytes validation

Part Number: CC1350

Hi guys.

Im using cc1350 launchpad, LRM simple Linke mode (Mode 2) , I transmit packets in frequency 1SubGHZ .

Im still not understand how LRM mode 2 works so please bear with me because I need to understand well in order to implement fec encoder / decoder.

I've read well the swr64 handbook :  and I still confused about how the scheme of mode 2 work... so I would try by an example to explain my question in order to be more straight forward and easy to understand .

lets assume I have packet with mode 2 (Simple Link) like this pattern (I chosed a random data of payload in hexa) : 

in the transmitter I configure in smartRF studio just the payload data so the packet is like: Preamble  || Sync word (it's constant) ||  0x01, 0x02, 0x03, 0x04, 0x05 (payload is 5 bytes length) .

So after it transmitted on the air :

as I understand from swr64 the payload data : (0x01, 0x02, 0x03, 0x04, 0x05)  will be encoded by fec encoder ..and afterwards will be interleaved by DSSS correspond to DSSS value ..

so what's confusing me is that as the guys helped me here that the first bytes of payload is the length identifying and the two last of payload  is the CRC Bytes .. but the first byte of my payload in my case is 0x01 and the two last bytes of my payload is 0x04 and 0x05 which they are identifying the CRC bytes ... what's confusing me that it's not correct !! because how first byte of payload is length identifying and in my case it's 0x01 which it's not the length of my payload data (5 bytes) ? and how the two last bytes of my payload are CRC Bytes which Im afraid if it's correct ?

I may not understand well the scheme of mode 2 , so it really would be appreciated if someone could help me to understand how mode 2 scheme works on receiver/transmitter side ?? 

appreciated if anyone could take my example packet that I posted here and explain over it how LRM mode 2 works and how payload scheme is done.