- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I added a TD by modifying the project file attached with AN 61102.
I will attach a modified project file.
The attached project file was created using Creator 4.2 so that it works with CY8CKIT-050B.
When you press SW2 of CY8CKIT-050B once, 20bit AD conversion value is stored in the buffer of ADC_sample continuously
In this project file, TD 0 to TD 7 sets the number of transfers to 50 times × 4 respectively.
I wanted to dynamically change the number of TD transfers and made a modification like the attached image.
But it seems that the DMA interrupt is synchronized with the ADC conversion interrupt as the operation.
How can I fix it if I want to dynamically change the number of DMA transfers?
There was a mistake in main.c.
Attach the corrected main.c.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please go through this AN it may be useful:
http://www.cypress.com/file/46156/download
There is Forum thread which can be useful:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please go through this AN it may be useful:
http://www.cypress.com/file/46156/download
There is Forum thread which can be useful:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Yasuki san,
Please check the first AppNote Ankita has attached. In section 6 Modifying TD dynamically there are two methods. Using Indexed/Nested DMA, you can update the transfer count parameter to achieve dynamic update of TD.
Could you elaborate more about your concern over DMA and ADC timing ?
Best Regards,
VSRS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for the information. I will study.