Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SPIS set buffer

Hi,

I have a doubt regarding buffer setting in SPIS.

In the SDK15 SPIS example, buffers are set using nrfx_spis_buffers_set(...) and it works perfectly.

I was wondering if it's possible to avoid the buffer_set cal, setting a fixed RAM region using, for example:

   NRF_SPIS1->TXD.PTR = &my_data

   NRF_SPIS1->TXD.MAXCNT = my_data_size

(my_data is updated periodically every 500us)

Does nrfx_spis_buffers_set have to be called for every SPI transaction or is there any alternative method?

 

Marco

Parents Reply Children
No Data
Related