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.

uart demo on ezdsp5535

Hi,

I'm running the uart demo that came with the ezdsp5535. The uart is not responding to characters I enter from my terminal window (teraterm com1, 115200 baud, 8-bit, no parity, 1 stop, no flow). I'm wondering how the terminal window program assigned to com1 on my PC is routed to the USB port that is connected to ezdsp5535 J2? Is there a special program or driver I need to run/install on my PC, or should this connection happen automatically?

Thanks,

Jim

  • The ezdsp5535 board does not have an rs-232 connector. It connects to the PC over USB on the J2 connector. JTAG and UART both use USB on J2 (simultaneously I presume). I don't understand how my PC is supposed to know that com1 (or any com port) should function as a virtual port and route the serial data to the USB port tather than to my PC's rs-232 port.

  • Hi, the VCP driver from FTDI should be installed with CCS... It is also available on http://www.ftdichip.com/FTDrivers.htm#VCP

    Check http://processors.wiki.ti.com/index.php/XDS100#Troubleshooting

    Port A is for JTAG, Port B is for VCP - UART from C55 into XDS100 (FTDI chip) to PC through the J2 USB connector...

    In device manager, you should see "USB Serial Port (COM##)" under Ports... Typically the COM # is higher than 10 for me, but it can change.

    COM1 seems incorrect...

    Check also that DIP SW3 #2 is "ON" - UART_BUFF_EN is pulled down

    Hope this helps,
    Mark

  • Mark,

     The FTDI driver was installed correctly; Com5 is the VCP.  The UART program is now working.

    Thanks for your help.

    Jim

  • Hello Mark,

     I am using CCSv4, I tried out the Demo UART code which was available with my eZdsp5535 Kit, I figured out that COM11 is for VCP on my PC so i configured the same in the terminal window of CCSv4, & when i pressed a key it displayed the same key on the terminal window,

    But after i studied the source code of the demo UART project i think when ever i should press a key the output n the Terminal window should be as follows "You have Pressed X Key"(here X is the key which is being pressed).

    So i am confused that is my code working well or not.

    I have also tried out configuring all other ports listed under the Terminal window of CCSv4, but except COM11 none of the other port gives any output. 

    So i am sure that COM11is for VP but i am not sure about the output which it displays