Where can I find documentation for using EasyDMA list mode on SPIM?
I've got nrf51822.
All I can find is this nrf52 documentation, which seems incomplete.
Is there any example code?
Where can I find documentation for using EasyDMA list mode on SPIM?
I've got nrf51822.
All I can find is this nrf52 documentation, which seems incomplete.
Is there any example code?
That's the correct documentation - what's incomplete about it, it's pretty simple, set up the registers with MAXCNT and an initial pointer, put the thing into list mode by setting the correct config bit and every time you start the task it transfers.
No example code I've seen.
And if you have only nrf51, then this doesn't apply anyway as this is an nRF52 feature.
Still there is no example in the SDK and because 255 maximum (8-bit register even the most of the MCU is true 32bit) for basically all peripherals is one of the biggest limitations of nRF5x architecture I expect big demand (= big load of "I don't know" questions;) at this forum. One simple example could help a lot.
Thanks @RK! You're right, this doesn't apply to my nRF51. I guess I was hoping for something magical in the SDK, like nrf_drv_spi_config_t config = NRF_DRV_SPI_DEFAULT_CONFIG(0,<pointer to listArray>);
In this thread there is a working example devzone.nordicsemi.com/.../