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_dev_serial example on custom board

Other Parts Discussed in Thread: TPS2051B, TM4C129XNCZAD

Hi all,

I am trying to run the usb_dev_serial example on my custom board. The USB OTG circuit has been replicated (from SPMU360) except that TPS2080D chip is being used instead of TPS2051B for power distribution. 

The pins being used are also the same as on the Tiva TM4C129X development board, however, for some reason the example doesn't work on my board. I can see the COM port  in the device driver's list but it won't connect to that port.

Would you guys please help me in finding the problem. The schematic of the module and its connection to the microcontroller (TM4C129xNCZAD) and the code for pinout can be seen with the attachments. Thanks in advance.

Regards,

Husnain 

  • Hello Husnain,

    If the COM port shows up on the device manager (without an exclamation or a question mark), then it means that the USB is working correctly and has been enumerated by the host controller. The usb_dev_serial example requires both UART0 and USB to be functional. Since the latter is working, can you check and see if UART0 is getting connected to the Serial Console application. Also since you would not be having an ICDI, how do you plan to connect UART0 to the PC.

    When you connect the USB port and the CDC class device enumerates, what is the baud rate and port number in the device manager and with the serial console application (Teraterm or PuTTy) are you correctly configuring the same parameters.

    Regards
    Amit