Part Number: TMS320F28377S
Other Parts Discussed in Thread: C2000WARE, SYSCONFIG
Hello.
I am currently working with the TMS320F28377S (176-pin package) using C2000Ware_6_00_01_00 and TI CCS.
Since syscfg does not support the 176-pin package, I am configuring the code manually.
I have connected SCID Rx (GPIO46) and SCID Tx (GPIO47) to a PC at 115200 bps, 8N1.
However, when I attempt to output debug messages, there is no response in Tera Term.
Interestingly, when I set Tera Term’s baud rate to 57600, the data is displayed correctly.
This leads me to believe that the clock configuration may not be set properly.
Could you please provide guidance or advice on how to resolve this issue?
Thank you very much for your support.
Best regards,
sjkim
------------------ my test code -------------------
void initSCID(void)
{
// (1) Mux
GPIO_setPinConfig(GPIO_46_SCIRXDD);
GPIO_setPinConfig(GPIO_47_SCITXDD);
// (2) In/Out
GPIO_setDirectionMode(46, GPIO_DIR_MODE_IN);
GPIO_setDirectionMode(47, GPIO_DIR_MODE_OUT);
// (3) Pad
GPIO_setPadConfig(46, GPIO_PIN_TYPE_PULLUP);
GPIO_setPadConfig(47, GPIO_PIN_TYPE_STD);
// (4) Qualification
GPIO_setQualificationMode(46, GPIO_QUAL_ASYNC);
GPIO_setQualificationMode(47, GPIO_QUAL_ASYNC);
SCI_disableModule(SCID_BASE);
SCI_enableFIFO(SCID_BASE);
SCI_resetChannels(SCID_BASE);
// 115200 Baud Rate, 8N1
SCI_setConfig(SCID_BASE, DEVICE_LSPCLK_FREQ, 115200, (SCI_CONFIG_WLEN_8 | SCI_CONFIG_STOP_ONE | SCI_CONFIG_PAR_NONE));
SCI_enableModule(SCID_BASE);
//SCI_enableInterrupt(SCID_BASE, SCI_INT_TXFF);
}
void initSystemClock(void)
{
InitSysCtrl();
InitGpio();
DINT;
InitPieCtrl();
IER = 0x0000;
IFR = 0x0000;
InitPieVectTable();
}
void main(void)
{
#if 1
initSystemClock();
#else
Device_init();
#endif
Interrupt_initModule();
Interrupt_initVectorTable();
initSCID();
for(;;)
{
SCI_writeCharBlockingNonFIFO(SCID_BASE, 'A');
SCI_writeCharBlockingNonFIFO(SCID_BASE, 'B');
SCI_writeCharBlockingNonFIFO(SCID_BASE, 'C');
SCI_writeCharBlockingNonFIFO(SCID_BASE, 'D');
DEVICE_DELAY_US(100000); // 0.1sec delay
}
}



