- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
My application needs to access ADC data and use the DMA to put it into the LMURAM. Here is the code I am using as reference
In this example the destination address is the same , for my application I would want the destination address to increment after the ISR has completed. During the next DMA call (ISR) the ADC value would be placed in the next address in the LMURAM.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
In the mentioned code example the configurations dmaChnsCfg.destinationAddressCircularRange and dmaChnsCfg.sourceAddressCircularRange done in order that the addresses remains the same after transfer.
Please see slide - 9 of the ppt for more details, https://www.infineon.com/dgdl/Infineon-AURIX_DMA_ADC_Transfer_1_KIT_TC397_TFT-Training-v01_00-EN.pdf...
You may adapt the above configuration to your application need and see if it works.
Prudhvi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
In the mentioned code example the configurations dmaChnsCfg.destinationAddressCircularRange and dmaChnsCfg.sourceAddressCircularRange done in order that the addresses remains the same after transfer.
Please see slide - 9 of the ppt for more details, https://www.infineon.com/dgdl/Infineon-AURIX_DMA_ADC_Transfer_1_KIT_TC397_TFT-Training-v01_00-EN.pdf...
You may adapt the above configuration to your application need and see if it works.
Prudhvi.