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.

RXBYTES in CC1101

Other Parts Discussed in Thread: CC1101

Hi all,

I'm developing an RF device with cc1101.  My configuration is:  Variable packet length (length=64), CRC off, Append status off, address check off.  GDO0 pin is "( 6) Asserts when sync word has been sent / received, and de-asserts at the end of the packet" .

The MCU software wait for GDO0 pin de-asserts.  So, if I read the first byte in FIFO (length byte) and then reading the remaining byte in fifo, all works fine.

packet_length=ReadRegister(RXFIFO);

ReadBurstRegister(RXFIFO, buffer, packet_length);

Instead, if I read RXBYTES register the device doesn't work.

bytes_in_fifo=ReadRegister(RXBYTES);

ReadBurstRegister(RXFIFO, buffer, bytes_in_fifo);

The variable bytes_in_fifo is 31 instead of 64.   Why?

Thank you and sorry for my english.

Emanuele