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: TMS570LS1224 Plain SCI Code

Part Number: TMS570LS1224

I need to Bring up the plain SCI (not Lin SCI) up, for printing debugging prints to Serial terminal.

Can i get a step to step guide, how to configure in Halogen or any working example will do.

I see examples given only for SCI Lin, not plain SCI

  • Hi Bindu,

    There won't be any difference between SCI-Lin and plain SCI because the API's used are common the only difference is Base address that will pass to that API's is different.

    For example:

    In above screenshot, sciREG is the base address of the plain SCI and scilinREG is the base address of SCI-lin.

    So, for example, if you need to call a "sciSendByte" API to send a byte:

    In Plain SCI then you should call like below:

    sciSendByte(sciREG, 0xAA); /*This API will send byte 0xAA to SCI Tx*/

    In SCI-Lin then you should need to call like below:

    sciSendByte(scilinREG, 0xAA); /*This API will send byte 0xAA to SCI Tx*/

    See, there won't be any difference between the two except base register address. The same thing applicable for other API's as well.

    And also you can refer below video tutorial to understand the basics of SCI;

    Hercules Tutorial: Using the SCI for UART Communication - YouTube

    --
    Thanks & regards,
    Jagadish.