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/TMS570LS1224: Receiving data via UART( sci2 )

Expert 1660 points
Part Number: TMS570LS1224


Tool/software: Code Composer Studio

hello all,

i successfully build my UART project receiving the array when pressing s3 push button 

anyone could help in how to edit the main code to make it receives the array from another uart source like tera term software 

here is my project 7587.uart___1.rar 

  • Hello,

    When data received on Rx pin and shifted into SCIRXSHF is transferred to SCIRD register, RXRDY flag is set and interrupt is generated ( if RX Interrupt is enabled ). And in the ISR data is read. To connect SCI port to a PC you will need UART-->USB adapter ( I/O voltage is 3.3V ). When PC send data to SCI port, interrupt will be generated and in ISR you can read data. Off course you can use SCI/LIN (in the same way as in your code) because it is connected to U7 which acts as JTAG emulator and exposes UART to a PC. CCS has integrated Terminal which can be used for tests. You can activate Continuous refresh and watch RX_Text in Expression window. Pressing button on keyboard (while in terminal window) a character will be received in RX_Text.