Tool/software: TI-RTOS
Hi
I have an issue when using the CC2640R2F in propriety mode. I define a circular buffer (using a fixed version of TI's RFQueue code) using the rfc_dataEntryGeneral_t
structure (DATA_ENTRY_TYPE_GEN), and when ever a "RF_EventRxEntryDone" callback is made, I read the next entry in the linked list.
Very occasionally, I get a callback with the error condition 0x3841, which means the buffer/queue is full. When checked with the debugger, it is indeed full, yet there has been no "RF_EventRxEntryDone" callback immediately prior.
Can TI clarify the mechanism used by the radio, to populate entries in the RX buffer; for example :
1. Does the radio simply find any empty slot in the circular buffer, and populate it. If it can not find one, it throws the error described above?
2. Does the radio keep track of its own head/tail pointers and only populates the entry at 'head', and if it is not free, it throws the error described above?
3. Does the radio use some other mechanism to populate the buffer....?
Kind regards
Gary Partis