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.

SCI for 28069M

I have started a project that based on lab proj 10a and need to add SCI to the project according to following link

https://e2e.ti.com/support/microcontrollers/c2000/f/902/p/334989/1168654#1168654

The build of the project success but I don't know how to test project. I have found strange Chinese characters( I use Windows with Chinese Environment) echo back when I hit some keys on the keyboard.

I use Putty and have found from Device Manager that I have com3 and com4 for the launchpad.

Should I use Com3 and 19200bps for baud rate in the test?

  • Shing,

    For testing, I've used the program Terminal, but the setup should be similar to PuTTy. When you plug your Launchpad in to your computer, which COM number is assigned to your device? You can find out by looking in Windows Device Manager under Ports. That's the COM port you should be connecting to from your terminal program.

    Also, you'll need to ensure you have the correct SCI module (A or B) mapped to the FTDI/USB/UART connections. For instance, if you have SCI-A mapped to GPIO28/29, you'll need to make sure GPIO28/29 are selected for UART. Please see section 5.2 of this document: http://www.ti.com/lit/ug/sprui11/sprui11.pdf

    Finally, ensure you have the correct Baud rate set. Don't use the predefined Baud rate enum types. Instead calculate the rate using:

    Baud Rate Register = (LSPCLK/(desired rate * 8)) - 1

    If you want a Baud rate = 9600, it would look something like:

    BRR = (LSPCLK/(9600*8)) – 1 ~= 117110 = 49316

    where LSPCLK = 90MHz in my case

    Sean