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.

TMS570LS1224: SCILIN TX does not work

Part Number: TMS570LS1224


Hi All, 

I am using TMS570LS12x launchpad for UART serail communication over SCILIN port and receiving it on putty terminal. When i power up and initialise SCI the data is correct;y transmitted but after init when i run the main code the data displayed on the terminal is some garbage data ?

I have crossed checked the code several times to figure out if the same pins are driven somewhere else but the code seems to be correct and has not been used anywhgere else. Can you please help me figure out what is wrong ? Is there anything else that is also transmitted on the same pin ? 

Kind Regards 

Vikram Jain

  • Can someone help please ?
  • Hi Vikram,

    Are you sure you have configured the baud rate and other settings correctly? Also please check whether you have done the PINMUX configuration (if applicable) properly
    Did you try probing the pins on an oscilloscope or logic analyzer?

    Thanks and Regards,
    Veena
  • Sometimes the same problems happen to me, because I have not correctly defined the size of the word to send.

    for example:

    char Message [12] = "";

    sprinft (Message, "value:% d", data);
    sciTx (Message, size (Message));

    It turns out that initially the variable to send is within the 12 positions that the text vector has, but there may be some modification in the variable "data", which enlarges its size and generates that the sciTx, send wrong data instead of useful information.

    Check this part of the code if you are, has something similar implemented.
    otherwise, it would be very useful to share your code for a deeper help.


    Regards
    Martin