I'd like to transfer ADC data to a buffer by dma. I configure dma already , but dma works only one time. It stops after first transfer. I want to transfer every time ADC complete a conversion . I can't find any example code about this amplication. Dose anyone know how to do"
Solved! Go to Solution.
Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
According to your reply, you want to implement a similar application as the post shows.
For the RT1052, it definitely can make it, as the eDMA supports the scatter-gather feature which enables it to work in Ping-Pong mode like the above post shows.
In further, the PIT timer can trigger the ADC as the SCT module does too.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
According to your reply, you want to implement a similar application as the post shows.
For the RT1052, it definitely can make it, as the eDMA supports the scatter-gather feature which enables it to work in Ping-Pong mode like the above post shows.
In further, the PIT timer can trigger the ADC as the SCT module does too.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Thanks a lot. It's helpful.