2020-01-07 02:54 PM
Hello,
we are using STR73x device.
Our application needs to get 1 ADC sample every 5 ms and uses DMA to transfer that to memory.
to do this, we setup a TB1 timer to trigger every 5 ms.
On TB1 interrupt, we start a single shot ADC conversion.
This works fine and we can see the result. We can also tested the ADC interrupt to EIC and able to read the ADC value correctly.
now, to minimize CPU, we like to use ADC DMA request to trigger a transfer from peripheral to memory. we setup DMA as guideline.
however, the DMA interrupt never happens. we checked the memory space and the ADC data never seems to be transferred.
now, we are not sure whether ADC has any issue sending the request to DMA.
we configured the ADC_DMAR, ADC_DMAE according to spec.
We also configure DMA controller 3 with DataStream0 (for ADC), DMA interrupt enable, etc.
we still do not see any DMA interrupt nor any data moving to memory from ADC.
Is there any errata on ADC DMA request or any example that we can look at?
Thanks,
Henry