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.

TMS320VC5509A USB problem with host-device communication

Other Parts Discussed in Thread: TMS320VC5509A

Hi,

I'm having some troubles using USB on a TMS320VC5509A DSP chip, I'm trying to communicate to a PC host through a virtual serial COM port and hence being able to read data through a terminal application. I wrote my firmware adapting the USB example I got from Spectrum Digital for this chip, although I'm using the usbser.sys of Windows and that example uses its own driver.

Running a USB protocol analyzer I can see that the enumeration process starts well, the host receives the device and configuration descriptors and the device responds to some CDC specific requests, but after another requests, the host asks for the configuration descriptor again but the chip doesn't respond as you can see in the picture_1 attached. The problem seems to be associated to interrupt endpoint IN1 which belongs to communication interface (required by CDC specification). I changed it replacing endpoint IN1 by endpoint IN4 and then the enumeration process went further, as you can see in picture_2, where all the strings were requested and responded. However, when I tried to use a terminal application, the CDC request "Set Line Coding" was requested but the device didn't respond, although the USB_postTransaction( ) CSL function which should "ACK" that request had returned USB_TRUE.

Can anybody help me out?

Fernando Guimaraes

pictures_1-2.zip