How to configure the DMA in ADC and how to use ASYNC API in ADC .please provide any sample example code for ASYNC ADC and ADC DMA
How to configure the DMA in ADC and how to use ASYNC API in ADC .please provide any sample example code for ASYNC ADC and ADC DMA
What SDK are you using, nRF5_SDK or nRF Connect SDK?
DMA is always enabled for the SAADC peripheral.
DMA is always enabled for the SAADC peripheral. Where i can get the DMA related driver code in which file ?I want to understand the flow of the code where the DMA is enabled . Do we need to add extra config for Enabling DMA?
jyoti yadav said:Where i can get the DMA related driver code in which file ?
I'll try to create a sample. I'll need to time create, debug, and test it before I can share it.
jyoti yadav said:Do we need to add extra config for Enabling DMA?
No, the SAADC can only be used with DMA.
You can find the example at https://github.com/haakonsh/NCS_SAADC_example/tree/master.
Hi,
No not about the sample, i just need to understand where in SAADC driver code, is DMA enabled..?
As, I cannot see DMA related code anywhere in SAADC driver code,
Kindly point me to the same
DMA is always enabled, the SAADC cannot operate in any other way.
DMA is always enabled, the SAADC cannot operate in any other way.