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

spi_slave circular FIFO on NRF51822 S110 7.0

Are there any common solutions to the issue of spi_slave.c using an array as its buffer? I would like to setup a circular FIFO, but I am not sure if there is any way to do this without rewriting some of spi_slave.c.

I will need to place an arbitrary amount of data in the MISO buffer and need to wrap around to the front, should the end be reached.

Thanks for any advice!

Edit: I may be asking an elementary C question, so I will close this if I come to a solution on my own. Thanks.

Parents Reply Children
No Data
Related