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.

AM57x USB Device enumeration



Hi,TI team:

about AM57x usb module , we config am57x usb with usb device mode, but when connect to PC , it is recognized unkown device,what is reason for it?

As we debugged the usb stack code with ccs ,found AM57x usb can reset sucessfully at "reset stage",  but usb stack didn't  recevie the stack package from PC at "Get Descriptor stage"? 

BTW, we used processor-sdk-RTOS AM57X 02_00_02_11

Thank you 

Best regards,

Yue Zhao

  • The RTOS team has been notified. They will respond here.
  • Can you let us know what HW platform you used? AM572x GP EVM? AM572x IDK EVM? Or your customized board? Did you use USB instance 1 or 2? I remember I tested it before using the USB dev project as it is (EVM's micro USB port connected to PC's USB port): PC detected it as a 16MB USB device, then formated it to copy files over. I didn't see an issue.

    Regards, Eric

  • hello, Eric

    thanks for your reply,

    at first, we need to use TDA2xx SOC usb, and I found AM57xx usb and TDA2xx usb use the same usb ip core "DWC", so I think we can porting the AM57xx usb stack to TDA2xx SOC to make it work, then I modified the register layer for TDA2xx(modified the usb register base address and offset define according to TDA2xx), TDA2xx usb can initialize sucessfully(when TDA2xx usb port plug in, PC can detect it) but it is recognized unknow usb device.( We use HW platform : TDA2xx EVM, used usb instance 2)
    Per we debugging ,found that usb can not transmit-receive data to PC.
    I have two question:
    1. what the process of usb transmit-receive data in driver code?
    I check the code in AM57x usb driver, only config the register "DWC_USB_DEPCMDPARi " and "DWC_USB_DEPCMD_0 " ,is it OK?
    2. Can TDA2xx soc use the AM57xx usb stack to make it work?

    Thank you very much!!

    Best regards,

    Yue Zhao
  • hello all:
    Today I used bus hound to monitor usb transmit data, when I plugged in the TDA2xx usb to PC ,PC didn't send any control command(such as Get Descriptor) . I plugged in kingston disk to PC, bus hound can capture the control command"Get Descriptor". what is the reason for it?

    I think the process of usb enumeration:
    at first, when PC detected one usb device plug in, it will notice the hub to reset the usb device.
    Then PC will send control command "Get Descriptor" . Per I debugged with ccs, TDA2xx usb has reset already. But PC has no response.

    Is it caused by the usb device reset unsucessfully?

    Thanks a lot

    best regards,

    Yue Zhao
  • TDA2xx is supported on the Automotive Processor forum: e2e.ti.com/.../1021 Please post your questions there.