Hi,
I have searched the posts about how to send/receive more than 255 bytes ,SPI master EasyDMA mode , but still can not find the solution.
I want to know if a ArrayList example project is available for developer?
Hi,
I have searched the posts about how to send/receive more than 255 bytes ,SPI master EasyDMA mode , but still can not find the solution.
I want to know if a ArrayList example project is available for developer?
From EasyDMA list, TXD.LIST, and RXD.LIST, you might be able to guess (poorly documented) that enabling ArrayList mode will enable the SPIM to automatically increment the TXD.PTR by TXD.MAXCNT amount of bytes. You can use the flags NRFX_SPIM_FLAG_RX_POSTINC and NRFX_SPIM_FLAG_TX_POSTINC with nrfx_spim_xfer. In order to enable ArrayList mode.
I believe you will need to trigger TASKS_START after EVENTS_END a number of times equal to your list size(number of buffers). I suggest you use PPI with a TIMER in counter mode to trigger the SPIMs TASKS_START.