Jun 03, 2021
11:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 03, 2021
11:31 AM
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.
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.
- Tags:
- IFX
2 Replies
Jun 04, 2021
03:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 04, 2021
03:16 AM
Jun 04, 2021
06:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 04, 2021
06:26 AM
Yes, I did