This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How many no-read events can be stored in nRF8001 at a specific time?

Hi,

I am using nRF8001 with a MCU from PIC18F family. I have successfully configured nRF8001 to send and receive data through the nordic UART pipe (I used the app nRF UART to test it). I am using also the non-interrupt interface, i.e, I get a new event only when i call "lib_aci_event_get" function.

So since I am expecting about 200 to 300 bytes to be send by the peer through the UART PIPE (at once), I am wondering how many of these events can be stored in nRF8001 before the application controller receive them and what happens if this limit is exceeded? nRF8001 starts to drop the first (or the last) to accommodate new ones?

Regards,

Parents
  • The nRF8001, has 3 data buffers for RX , if the RX buffers are full, i.e. the application has not yet emptied it over the SPI interface, then the radio link will start NACKing so new data cannot be sent from the peer.

    I.e. no data should be lost if the application controller is slower than the radio link in getting the data out.

    Note: this will not trigger the supervision timeout in the NACK

Reply
  • The nRF8001, has 3 data buffers for RX , if the RX buffers are full, i.e. the application has not yet emptied it over the SPI interface, then the radio link will start NACKing so new data cannot be sent from the peer.

    I.e. no data should be lost if the application controller is slower than the radio link in getting the data out.

    Note: this will not trigger the supervision timeout in the NACK

Children
No Data
Related