This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

USB NAK issue

Other Parts Discussed in Thread: OMAP3530

Hello,

I am working on the USB Peripheral driver for the OMAP3530 to be used by the CDC funcion class. I am able to enumerate the device, this is my setup:

EP1 -Interrupt

EP2- Bulk IN

EP3- Bulk OUT

When I am connected in Full Speed mode this is what happens:

* When I send data (via a Hyperterminal or PuTTY, just one character at a time) I am able to send few bytes, sometimes only 1, others only 4, sometimes 15 or a little more and then EP3 starts NAK'ing.

On High Speed:

* When I send data I get a NYET, then a PING (which is ACK'd) and then the host tries again but it receives a NYET packet.

I noticed that since the first packet (which is only one byte) I read 0x03 on the RXCSR for the EP which means RXPKTRDY and FIFOFULL, but I have only sent one byte. I am configuring the FIFOs (I have checked the registers after configuring the Endpoints) correctly (in FS, 64 bytes per endpoint).

Anyone has any idea as to what could be wrong?

 

-Esaias