- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
Please, tell us a little about DMA for FX3/CX3
How does it work, how to set it up?
What regimes exist?
How does manual mode differ from automatic?
How to forcefully send (read) a buffer?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
-- How does it work, how to set it up?
Please refer to the "dmamode" examples present in the "C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\serialif_examples"
-- How does manual mode differ from automatic?
In automatic DMA mode as soon as the DMA Producer socket buffer gets full it will be automatically committed to Consumer Socket without any CPU interrupt. In manual mode you can perform any data processing, add/remove the data because it will interrupt CPU, whenever producer buffer gets filled.
-- How to forcefully send (read) a buffer?
To forcefully commit the buffer you have to use DMA manual channel.
Thanks & Regards
Abhinav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I recommend you to go through the useful notes in FX3 programmer's manual.
Refer section 5.2.5 (DMA engine)
Programmer's manual link:
http://www.cypress.com/documentation/reference-designs/fx3-programmers-manual
Regards
- Madhu Sudhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
-- How does it work, how to set it up?
Please refer to the "dmamode" examples present in the "C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\serialif_examples"
-- How does manual mode differ from automatic?
In automatic DMA mode as soon as the DMA Producer socket buffer gets full it will be automatically committed to Consumer Socket without any CPU interrupt. In manual mode you can perform any data processing, add/remove the data because it will interrupt CPU, whenever producer buffer gets filled.
-- How to forcefully send (read) a buffer?
To forcefully commit the buffer you have to use DMA manual channel.
Thanks & Regards
Abhinav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Many thanks!
FX3 and CX3 DMA are identical?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Yes they are identical.
Regards
Abhinav