- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Cypress,
I managed to add an interface with EP84 and EP05 for IN and OUT transfer between FX3 CPU and Host with 1KB packets.
What shall I do to make the transfer without setting up a DMA channel? May I do it the same way as CyU3PUsbSendEP0Data and CyU3PUsbGetEP0Data?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yea I too have the same doubt! How can I manually create a packet or fill the dma buffer(without producer socket) and send it to the host PC via USB3.0.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Managed to make DMA working. Create a dma is only a 1 time job, all subsequent execute use commit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jasmin,
You can refer to the USBBulkSourceSink firmware. This example illustrates the use of the FX3 firmware APIs to implement
a data source and data sink over a pair of USB Bulk endpoints.Any data received from the host through the DMA MANUAL IN channel is discarded. A constant data pattern is continuously loaded into the DMA MANUAL OUT channel and sent to the host.
The application also supports a set of vendor commands on the control endpoint. These are used to demonstrate the vendor command handling as well as to test cases like repeated USB connection, device reset etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Nishant.
Yes I studied the BulkSourceSink design. It will be of use to some part of my design.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a lot Nishant I used the USBBulkSourceSink firmware to solve the isuue.