Hi,
I work on TrxEB evaluation board.
I have been trying to write a code (on sample code) that sends and receives different size of packets on CC1120. So I made a demo that starts sending X bytes, where X starts with 512 and counts down to 1 by 1 every time I push a button.
At the receiver part, packet receiving for most of the sizes are working without a hitch.
But again on receive part, around packet size 498 (sometimes 497, sometimes 496, but always around these numbers), MSP430 does not receive packet receive interrupt, but receives rx fifo above threshold interrupt even though there is no bytes left to receive.
I read MARC Status 1 register, it shows 0x80, which says
"RX finished successfully (a packet is in the RX FIFO ready to be read)"
I read RX Fifo to see whats in the buffer (not my packet) but it is filled with 0x81.
I'm confused about what I'm doing wrong, since most of the time my code works great.
Has anybody see this problem before ? Or any ideas ?
Thanks,