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