cancel
Showing results for 
Search instead for 
Did you mean: 

USB Low-Full-High Speed Peripherals

qiwec_297866
New Contributor

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

Hi,

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

Regards,

Mallika

Mallika

View solution in original post

0 Likes
3 Replies
MallikaK_22
Moderator
Moderator

Hi,

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

Regards,

Mallika

Mallika

View solution in original post

0 Likes
qiwec_297866
New Contributor

Hi Mallika

     The fiforeset only work in pd_init funcion,if i use it through ep0 vendor command,the68013A chip does not work anymore. I have said the problem before,How  to slove it?

0 Likes
MallikaK_22
Moderator
Moderator

Hi,

Could you please share the part of the code where you are using the vendor command to reset the FIFO.

 

Mallika
0 Likes