How to reset the fifo of endpoints of cy7c68013A,when it using the salvefifo mode?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
qiwec_297866
Level 2
Level 2
10 sign-ins 10 questions asked 5 replies posted

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)?

0 Likes
1 Solution
MallikaK_22
Moderator
Moderator
Moderator
50 likes received 750 replies posted 250 solutions authored

Hi,

Kindly refer to section 15.5.4 in the EZ USB TRM: https://www.cypress.com/file/126446/download

Regards,

Mallika

View solution in original post

0 Likes
3 Replies