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.

Linux/TDA2EVM5777: [Vision SDK] : To enable USB Serial interface in Vision SDK linux configuration.

Part Number: TDA2EVM5777


Tool/software: Linux

Hi,

We are using TDA2XEVM hardware with vision sdk in tda2xx_evm_linux_all configuration.

Here we are trying to connect a GPS Dongle to TDA2x which has a USB serial interface.

We connected the same with an OTG cable connected to TDA2X.

dmesg logs and LED indicators on the serial device confirmed that the dongle was powered and connected.

However no device file (like /dev/ttyUSB0) showed up in the TDA2X side.

We built the linux again after enabling below features under "Device Driver/USB support/USB Serial Converter support" with "make kernel_menuconfig" command:

  • USB Generic Serial Driver,
  • USB Serial Simple Driver,
  • USB FTDI Single Port Serial Driver,
  • USB Debugging Device

But the serial device connection still fails. (same behaviour as before)

Can you please suggest what needs to be done to enable USB serial interface on Vision SDK Linux to be able to communicate with the dongle.


Thanks in advance.

Best Regards,

Ranjith Bhide

  • Hi Ranjith,

    From the description above, I understand that you are trying to connect the GPS dongle to the USB1 port (USB3/0 Micro-B receptacle) using an OTG adapter cable. One question: What type of OTG adapter is used? ( see processors.wiki.ti.com/.../Linux_Core_DWC3_User's_Guide and let us know which one is being used.

    Also, Note that, by default, the USB1 instance (USB@48890000) is configure in OTG mode as per the device tree. Hence the role of ID pin plays a major role in deciding the USB controller to switch to HOST mode and and be able to enumerate the device connected.

    As a first step, please check if you are seeing 5V on the VDD pin of the USB1 port when the GPS dongle is connected. if you are not seeing the 5V than most probably the ID pin detection failed and the controller did not switch to HOST mode.

    if above is ok, then on the kernel prompt, run "lsusb" and see if you see the device being detected and enumerated. Please do share the complete kernel log for us to analyze.

    Regarding the enabling of serial device, I think you have all the required class driver enabled.

    regards,
    Praveen
  • Hi Ranjith,

    I haven't heard back from you, I'm assuming you were able to resolve your issue.
    If not, just post a reply below (or create a new thread if the thread has locked due to time-out).

    -Praveen