RT1052 ADC+DMA circular transfer

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RT1052 ADC+DMA circular transfer

Jump to solution
1,827 Views
Loadd
Contributor II

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"

0 Kudos
Reply
1 Solution
1,820 Views
jeremyzhou
NXP Employee
NXP Employee

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.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
2 Replies
1,821 Views
jeremyzhou
NXP Employee
NXP Employee

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.
-------------------------------------------------------------------------------

0 Kudos
Reply
1,812 Views
Loadd
Contributor II

Thanks a lot. It's helpful.

0 Kudos
Reply