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/TMS320F28377D: Serial communication to send 12 bit data over a serial port & display the data on Terminal

Part Number: TMS320F28377D
Other Parts Discussed in Thread: C2000WARE

Tool/software: Code Composer Studio

I need to make the serial communication work. so i tried the spi_loopback_interrupts_cpu01 example from C2000ware. I see that the sdata and rdata are getting some values but they match only upto 3 digits (for exaple - sdata = 12000; rdata = 12137). also i am not able to see the serial communication on the terminal [View > Terminal]

Can you help me with this?

Also I am not sure how the Terminal works in CCS? { I believe it is the same as Serial Monitor in Arduino IDE. } But I am not able to see any value in the Terminal.

  • Hello,
    I am writing to let you know that a C2000 team member has been assigned to this post and should be answering shortly.

    Regards
    Baskaran
  • This should print to the terminal. It is an internal loopback example.

    I am not sure why the received is not the same as the sent. Please try running it again and try another SPI or SCI looback example.

    sal
  • I have tried sci_echoback_cpu01 example and I am getting the following output.

    As soon as the resume button is pressed, and program starts to run, the "Hello world" string and other messages appear on the putty or CCS terminal (whichever is set). And then I am not able to give any input to the system through the terminal to get the echoback.

    Please see the attached below image.

    Rohan

  • I did not switch ON the SW1 on control card, which caused this problem.
    Upon switching it ON, the code works.