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.

OMAP-L137 EVM: Uart not working

Hi,

I used uart test program supplied with the EVM, but i have no good chance working with that. When i run the program, it just not display anything on my hypertherminal. Any bugs? Where can i get a simple working uart example?

 

Thank you

  • Mr Rahiman,

    Thanks for writing to us. It is unclear asto what the issue may be with the code/setup based on the description you have provided here.  Do you see a message PASS or FAIL message in the CCS environment? Is the hyperterminal set to the same settings as mentioned in the example. Is the data being seen on the transmit pin( of UART)?

    If you do not wish to work with the example provided with the EVM, there is a UART loopback example provided in the latest BIOS PSP package that can be found here

    http://software-dl.ti.com/dsps/dsps_public_sw/psp/BIOSPSP/index.html

    In order to run the example

    1. Configure the CCS setup to work with the emulator being used

    2. Please refer CCS manual for setup configuration and loading

    proper GEL file

    3. Launch CCS window

    4. Open project Uart_example.pjt

    5. Build the project and load the .out file of the project.(A pre built binary is also provided).

    6. Connect UART2 on EVM to PC and configure the hyperterminal/Teraterm to 8 bit data mode and run the example.

    Regards,

    Rahul

  • HI,

    Finally, i managed to overcome the problem. The code supplied has error at baud rate divisor calculation. Suppose it is 150000000. I changed to this value at the ....dsp\lib\bsl\evmc6747_uart.c and rebuild the BSL. it seems solve my problem.

    thanks anyway

  • Hello,

    I'm facing the same problem. I'm woking with the EVM OMAP L137 and the uart_test example does not work properly, it gives

    01 Testing UART...
    FAIL... error code -1... quitting

    as output. The divisor calculation is divisor = 150000000 / ( baudrate * 16), so this seems correct to me.

    Any suggestions? Unfortunatley I'm not able to download the exaple in Rahul's link.

    Best regards

    Tobias Brack 

     

  • has nobody an idea?