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.

Problem with UART

Other Parts Discussed in Thread: TMS320C5535

Hello,

i use the TMS320C5535 eZdsp USB evaluation board and have some problems with the UART.

I need the GPIO Pins (actually two Led's) for time measurement. Anymore i want to use the UART to send results (computed results with the FFT-Function) to the Hyperterminal. One of the functions run, the GPIO without the UART and the UART without the GPIO. If i want to use booth functions in my code, the program hang. In any case i use the CSL Framework.

So my question is, if i can configurate the UART and GPIO without the Framework, because i think that the Frameworks are not compatible? But i didn't find any code or help in the Datasheets to use the GPIO or UART and the other peripherie (e.g. Timer)  without the CSL Framework.

Edit: I start another try and step through my code. After the GPIO initialisation i write a "1" to my LEDs and they turn off. Some lines after that, i start the UART initialisation and it seems like the registers are overwriten. The LEDs turn on, and the program hang by the UART_config instruction one line later.

  • Hello,

    maybe the problem could be related to EBSR register configuration. In CSL UART_init function there is PPMODE (EBSR register) set to MODE5. Maybe you want to use another mode and this function overwrites it. I recommand to comment out the given row in UART_init and set the EBSR register in your own code.