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

SPI manager for nrf52840 as SPIS

I am interested in transferring large data (>255) over SPIS.

My application requires that the nrf52840 is operated in SPI slave mode. To manage such transaction I have SPI manager (I'll name it SPIMRS ;) ) design on paper for data segmentation / reassembly, queuing and encapsulation/decapsulation custom header. The reverse would happen on the peer layer of SPI master (Xtensa controller).

I have looked into the peripheral\spi_master_using_nrf_spi_mngr example but it's to be used when nRF module is operating in master mode, so I guess I can't use it. Should I proceed with the above mentioned approach (SPIMRS ) or an already invented wheel is out there which I shouldn't try to reinvent?

I assume such intensive management operation would not yield timing faults from soft device communicating with BLE devices as long as I use interrupt at relatively low priority and Easy DMA.

Parents Reply Children
Related