Hello ,
I use SDK 15.3, chip is nRF52811
If I want to use DMA+SPI, is there a reference example?
Is this DMA called easyDMA?
Thanks
Hello ,
I use SDK 15.3, chip is nRF52811
If I want to use DMA+SPI, is there a reference example?
Is this DMA called easyDMA?
Thanks
Hi Tony
Yes, there should be multiple SPI examples in the \..\SDK15.3\examples\peripheral folder, and you should be able to enable DMA (EasyDMA) on all of them using the sdk_config.h file.
Best regards,
Simon
Hi,
Thank you for your reply.
I still don't understand
In sdk_config.h, I did find easyDMA
Then, in main.c, the while(1) loop inside the main function
Have the following line of code
nrf_drv_spi_transfer(&spi, m_tx_buf, m_length, m_rx_buf, m_length)
This SPI transmission method is DMA?
Thank you.
Hi,
Thank you for your reply.
I still don't understand
In sdk_config.h, I did find easyDMA
Then, in main.c, the while(1) loop inside the main function
Have the following line of code
nrf_drv_spi_transfer(&spi, m_tx_buf, m_length, m_rx_buf, m_length)
This SPI transmission method is DMA?
Thank you.