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.

EVMK2E Coomunication with PC

Hello,

Can anyone suggest me a method to communicate with the PC using usb or uart for TMDEVM66AK2E.

What i want is I will run application on the board and I want the PC to send some data to board where my board will process data.

For doing this how can I send data to board through PC. (Not letter by letter but a file)

Thank You,

  • Hello Joseph,

    The EVMK2E does not support USB device mode to communicate with PC. However you could use UART instead, COM1 4-pin connector could be used to interface with PC. I hope you can send files to PC thru UART using X, Y, Z modem protocol thru TeraTerm.

    There is a USB to UART converter also available on EVM through which you can use mini USB cable for UART interface. A driver must be installed on the host PC in order to be able to communicate with the EVM using the CP2105 mini-USB connector located at the corner edge of the EVM.


    Regards,
    Senthil

  • Hi,

    UART transfer speed is low. Better to use PCIe or Ethernet interface for your requirement.

    Thanks,
  • Due to our specification requirements, we cannot send files through UART due to slow transfer speed. We also don't want to send data through the Ethernet interface as an option due to lesser security. You said that EVMK2E does not support USB device mode to communicate with PC, but we read from the diagrams and tables in the Quick Setup Guide that USB device mode seems to be supported for USB Port 1. We want to communicate through USB; is that not actually possible?

    Thank you.

  • Hello Joseph,

    I do agree with your opinion to use USB device mode in EVMK2E to communicate with PC. Yes, the EVMK2E has a USB3.0 Type AB connector (port 1 as in quick setup guide) which supports both host and device mode. However we have not tested the device mode on K2E EVM and we do not have USB device mode driver to implement this operation.

    We don't have a schedule yet to come up with device mode driver, but it is high priority.

    So, i would recommend you to either consider other solutions that we highlighted in above posts or you need to write your own device mode driver and validate it.

    Regards,
    Senthil

  • Is there any template for writing device driver from TI because host side is Windows so using msdn we can write driver for host side but can you suggest anything regarding the device side driver development.

    Also the following link mentions that USB 3.0 has signal integrity issue.

    https://www.einfochips.com/images/texas_instrument/K2EEVM/EVMK2E_Known_Issues.pdf

    Is the issue still exist in EMK2E (TMDXEVM66AK2E) version 1.0.2.2


    Thanks,

  • Hello Joseph,

    Also the following link mentions that USB 3.0 has signal integrity issue.

    www.einfochips.com/.../EVMK2E_Known_Issues.pdf

    Is the issue still exist in EMK2E (TMDXEVM66AK2E) version 1.0.2.2

    Yes, as mentioned in the document, the USB 3.0 link error issue is still exist in the EVMK2E version 1.0.2.2. You are encouraged to contact einfochips directly to know the current status of this.

    Regarding device driver template, i will check with the software team and update you.

    Regards,
    Senthil

  • Is there any template for writing device driver from TI because host side is Windows so using msdn we can write driver for host side but can you suggest anything regarding the device side driver development.

    As of now the USB driver supports only USB host mode and note that OTG is not supported on keystone USB. Please refer below links for more information.

    Device or Gadget or Peripheral Mode:

    From my understanding, developing USB device may require lot of efforts your side. You can also go through the standard linux usb driver template for developing the usb device drivers.

    Example:

    In our earlier platform OMAP-L1x, had support to usb device mode. Please have a look at the below wiki on how to enable usb device.

    PSP Download:

    Building with Device Support: