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.

CCS/TMS570LC4357-EP: uart Tx pin not going high

Part Number: TMS570LC4357-EP
Other Parts Discussed in Thread: HALCOGEN

Tool/software: Code Composer Studio

Hello,

I have configured UART to transmit a Byte of data.

But when I observed it on the CRO, transmit line is not High, before data transmission.Due to which, it is not able to detect the start bit.

Hence, I am not able to receive the transmitted data in the receive buffer

Image is attached for better explanation.

2101134-471142-complete/image_2D00_ti-forum.png

Please suggest me why is the Tx line not at high state and help me resolve the issue.

Thanks and regards,

Sanjana V

  • HI,

      First of all I can't see the image you uploaded. Please use the below icon to upload your image. 

    - Which SCI module are you using? I wonder if you correctly configure the PINMUX for whichever SCI module you use. See below image. You need to select the correct SCI module in order to bring their functional signals to the device pins. 

    - Are you using the HalCoGen to generate your code? Suppose you use SCI1 module, what is the IO configuration for the TX pin? Do you have it in the functional mode? Make sure you are not selecting the GIO mode. Also make sure you have the correct SCI Data format such as char length, baudrate, stop bits and parity option. See below images. 

    - Did you have a chance to run the uart example? The example can be followed by going to HalcoGen Help->Help Topics -> Examples. Here you will find many examples. One of them is the example_sci_uart_9600.c. Can you get this one to work with your PC terminal?

  • Hi, 

    Thank you for the reply 

    Sorry for not attaching the image correctly.  Please find the image attached. 

    I am using SCI3 and I am sure the configuration is proper. I run the UART example on the PC terminal and facing the same issue. 

  • Hi,

      Are you running on the LaunchPad or your own custom board?

      I just ran the HalcoGen example_sci_uart_9600 on the SCI1 and I don't see a problem running on the LaunchPad. See below. I would suggest you try the HalcoGen example and run it on the LaunchPad first if you are using your custom board. This would help the problem isolation for troubleshooting.

  • Hi Charles,

    Thank you for the reply.

    We are using launch pad itself.

    I will try again with the Halcogen example code.

    Thanks again.

    Regards,

    Sanjana

  • Ok, let us know if you still have problem as I don't see any issue running the HalcoGen provided example code on the LaunchPad.