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

Gazell flush FIFO doesnt work

I'm using the Gazell protocol on my NRF51822. On the host side I got a problem with the FIFO length. I put 4 ACK packets into the FIFO but this give me an error if I check it with "nrf_gzll_ok_to_add_packet_to_tx_fifo()". So I decided to flush the entire tx/rx FIFO pipe 0-7. The functions nrf_gzll_flush_tx_fifo() and nrf_gzll_flush_rx_fifo() works but if I check with nrf_gzll_get_total_allocated_packet_count() I will get a number greather than 0. If I check every pipe with nrf_gzll_get_rx_fifo_packet_count() and nrf_gzll_get_tx_fifo_packet_count() every pipe is empty!!

Before I use the flush functions I disable gazell!

Related