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.
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？
Could you please share the part of the code where you are using the vendor command to reset the FIFO.