Software Trigger for ADC with eDMA

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Software Trigger for ADC with eDMA

241 次查看
SpeedyGonzalesss
Contributor III

Hello,

I am using i.MX RT1176 and MCUXpresso IDE. I want to use ADC with DMA and trig with software. I made some settings. It works in a single cycle. However, when I want to trig the ADC again after the DMA callback arrives, the DMA callback does not work again. How can I run this structure over and over again in software?

SpeedyGonzalesss_0-1717496618455.pngSpeedyGonzalesss_1-1717496631516.pngSpeedyGonzalesss_2-1717496641304.png

SpeedyGonzalesss_3-1717496652905.pngSpeedyGonzalesss_4-1717496660701.png

SpeedyGonzalesss_5-1717496668409.pngSpeedyGonzalesss_6-1717496684504.pngSpeedyGonzalesss_7-1717496697925.png

 

Thank You,

Speedy

标记 (4)
0 项奖励
2 回复数

177 次查看
SpeedyGonzalesss
Contributor III

When you change the following registers, it automatically reads ADC and DMA callbacks for the same address over and over again. But how can I set this via the config tool rather than manually?

SpeedyGonzalesss_0-1717669142671.png

 

0 项奖励

93 次查看
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi,

Thanks for sharing your work. On my side, I also didn't find a way on how to do the corresponding configuration via ConfigTool. Probably logically, the logic in the callback function, including the code for operations such as clearing the marker bit, is something that the customer needs to add on their own.

Best regards,
Gavin

0 项奖励