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.

TMS320F28069: USB Interface : Get serial number of connected device

Part Number: TMS320F28069
Other Parts Discussed in Thread: C2000WARE

I develop a product that connects via USB to a desktop PC.

Inside my product, there is a USB hub with three devices connected to it -- one of which is an F28069 microcontroller.

I want to get the serial number of the hub. So, from the F28069 microcontroller, I want to send a command over USB to request the serial number.

Has anyone ever done this before?

  • Hi Thomas,

    Our USB software expert is out of office and won't be able to respond until next week. In the meantime, have you reviewed our usb_host SW examples available in C2000WARE? Directory location below:

    C:\ti\c2000\C2000Ware_4_02_00_00\device_support\f2806x\examples\c28

    Best,

    Kevin

  • Hi, 

    Not sure on how to get the serial number of the hub which is connected but you can get the hub address.

    Referring to the Device TRM , details of the hub address and the hub port  are recorded in the corresponding USB Receive Hub Address Endpoint n  (USBRXHUBADDRn) and USB Receive Hub Port Endpoint n (USBRXHUBPORTn) or the USB Transmit Hub  Address Endpoint n (USBTXHUBADDRn) and USB Transmit Hub Port Endpoint n (USBTXHUBPORTn) registers. 

    Best Regards

    Siddharth