Software Trigger for ADC with eDMA

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Software Trigger for ADC with eDMA

209件の閲覧回数
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 返答(返信)

145件の閲覧回数
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 件の賞賛

61件の閲覧回数
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 件の賞賛