TC3XX - DMA hardware trigger by ADC End Of Conversion

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User19711
Level 1
Level 1
Hello,
I am trying to configure ADC to hardware trigger DMA by End of conversion, These are the configurations what I do:
- Configuring ADC to use DMA mode.
- Configuring DMA channel 0 mode to be "Continues Hardware Trigger".
- Configuring source address of DMA to SFR address of result register and destination address to RAM buffer.
- Configuring ADC End of Conversion Interrupt "Type Of Service" to be DMA and the "Service Request Priority Number" to "0" (DMA channel ID).

The ADC is working properly but doesn't trigger DMA to start transfer, I try to start the DMA transfer by the software in the End Of Conversion interrupt handling and the transfer is succeeded but I want ADC to trigger DMA as a hardware trigger.

Kindly advice.
0 Likes
2 Replies
teoBits
Employee
Employee
5 sign-ins 100 replies posted 50 replies posted
Hello,

did you take a look at the DMA_ADC_Transfer_1_KIT_TC375_LK training and its tutorial?
0 Likes
User19711
Level 1
Level 1
Yes, I did
0 Likes