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.

TMS320F28388D: Debugging USB problems

Part Number: TMS320F28388D
Other Parts Discussed in Thread: C2000WARE

Hi,

Please help solve the problems encountered by the customer in the debugging process.

Requirements: When configuring the USB of the F28288D, the DM and DP pins are used instead of SCI modules. The DSP is used as the device and the PC as the host. The host and slave can communicate and send data.

Question:

Currently "Unknown USB device (Device identifier request failed)" is displayed after connecting the computer. In this case, how should the device respond to the host request, and how should the device identifier and configuration identifier be sent? There is no example of this in the routine, hope to get a detailed and specific routine; In addition, the return of configuration identifiers requires the inclusion of configuration, interface, and endpoint identifiers. How do I combine them back to the host?

Thanks!

  • Part Number: TMS320F28388D

    Hi,

    Please help solve the problems encountered by the customer in the debugging process.

    Requirements: When configuring the USB of the F28288D, the DM and DP pins are used instead of SCI modules. The DSP is used as the device and the PC as the host. The host and slave can communicate and send data.

    Question:

    Currently "Unknown USB device (Device identifier request failed)" is displayed after connecting the computer. In this case, how should the device respond to the host request, and how should the device identifier and configuration identifier be sent? There is no example of this in the routine, hope to get a detailed and specific routine; In addition, the return of configuration identifiers requires the inclusion of configuration, interface, and endpoint identifiers. How do I combine them back to the host?

    Thanks!

  • Hello Rhea,

    The expert is out-of-office until next Thursday.

    Please do not create duplicate posts, this does not help resolve problems faster and will only add to the confusion of experts.

  • Rhea,

    Please let me know which pins are been currently used for the USB communication. Is the GPIOs correctly configured? 

    Unknown USB device (Device identifier request failed) indicates that the handshake between the device and the host did not happen correctly. 

    Did you try with the existing examples provided within C2000Ware?

    Best Regards

    Siddharth

  • Hi Siddharth,

    This is possible for customers using the existing examples provided in C2000Ware.

    But here's what happens:

    Also I would like to ask what is the software tool for testing EtherCAT slave station?

    Thanks~

  • Rhea,

    Is the customer trying to access the USB Registers directly and not using the USB Library?

    Are there able to run the existing example without changing any code?

    Regarding EtherCAT , request you to start another thread so that it gets assigned to the EtherCAT expert for answering.

    Best Regards

    Siddharth