Oct 26, 2020
07:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 26, 2020
07:26 AM
Hi,
In cyfxusbi2cregmode, glEp0Buffer doesn't need to be 32 bytes aligned because it is only used in setup messages, and CyU3PUsbGetEP0Data and CyU3PUsbSendEP0Data don't use DMA to transfer the data.
Is this correct?
Thanks
Lucas
Solved! Go to Solution.
1 Solution
Oct 28, 2020
04:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 28, 2020
04:02 AM
Hi Lucas,
The APIs CyU3PUsbSendEP0Data and CyU3PUsbGetEP0Data uses DMA channel internally. And it is required that the buffers used for these APIs to be 32 byte aligned.
Please check FX3 API Guide for the API CyU3PDeviceCacheControl() for more details.
Regards,
Hemanth
Hemanth
1 Reply