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.

Starterware/TMS320F28377D: Getting Echoback working on LAUNCHXL-F28377D

Part Number: TMS320F28377D
Other Parts Discussed in Thread: C2000WARE

Tool/software: Starterware

All:

CCS 7.0

C2000ware 1.0

sci_ex3_echoback example

Made some quick changes to get the SCIA working through the USB-UART:

In main()

//
// GPIO28 was the SCI Rx pin. GPIO43 for launchpad
//
GPIO_setMasterCore(43, GPIO_CORE_CPU1);
GPIO_setPinConfig(GPIO_43_SCIRXDA);
GPIO_setDirectionMode(43, GPIO_DIR_MODE_IN);
GPIO_setPadConfig(43, GPIO_PIN_TYPE_STD);
GPIO_setQualificationMode(43, GPIO_QUAL_ASYNC);

//
// GPIO29 was the SCI Tx pin. GPIO 42 for launchpad
//
GPIO_setMasterCore(42, GPIO_CORE_CPU1);
GPIO_setPinConfig(GPIO_42_SCITXDA);
GPIO_setDirectionMode(42, GPIO_DIR_MODE_OUT);
GPIO_setPadConfig(42, GPIO_PIN_TYPE_STD);
GPIO_setQualificationMode(42, GPIO_QUAL_ASYNC);

In device.h

//
// 20MHz XTAL on controlCARD. For use with SysCtl_getClock().
//
#define DEVICE_OSCSRC_FREQ 10000000U // was 20000000U

In CCS debug view, brought up terminal:  Window->Show View->Other then scroll to terminal and select. It is already defaulted to 9600 BAUD. When I ran program, here is display:

Hello World!

You will enter a character, and the DSP will echo it back!

Enter a character:     You sent: a

By the way, it is always nice to have a UART working - it enables a nice interface for working with such a complex part.

Besides the built-in terminal on CCS, I have also used Tera Term, a free terminal program that is widely popular.

My next step would be to go to full speed on the DSP (200 MHz), but I wanted to at least get a threshold going.