Sep 03, 2021
06:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 03, 2021
06:25 PM
Hi
68013A works in salvefifo mode,while it has ep2(out)and ep6(in)ednponits. The code reset the endpoints in pd_init()function. If i want to reset the fifo of endpoints through the ep0 vendor command to clear the data in them,like using fiforeset register in pd_poll()function,while i found the chip will not work anymore(can not read data or send data through ep6 or ep2).
How to reset the fifo of ep2 and ep6 correctly to clear the data in them,after initialization of the chip(Enumeration)?
Solved! Go to Solution.
Labels
1 Solution
Sep 05, 2021
10:19 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 05, 2021
10:19 PM
Hi,
Kindly refer to section 15.5.4 in the EZ USB TRM: https://www.cypress.com/file/126446/download
Regards,
Mallika
3 Replies