Part Number: LAUNCHXL-F280049C
Hello,
as already mentioned in the title the alternate SCIA route does not work. According to SPRUII7A I changed the switch positions to the needed ones for GPIO35/37. Also I changed in the following initialization code the values from 28/29 to 35/37. The normal SCIA application with GPIO28/29 works fine, but due to external hardware I have to use the other routing. I hope some of you can help me fix this problem. Thank you!
void startup_SCI(void)
{
//
// GPIO35 is the SCI Rx pin.
//
GPIO_setMasterCore(35, GPIO_CORE_CPU1);
GPIO_setPinConfig (GPIO_35_SCIRXDA);
GPIO_setDirectionMode(35, GPIO_DIR_MODE_IN);
GPIO_setPadConfig(35, GPIO_PIN_TYPE_STD);
GPIO_setQualificationMode(35, GPIO_QUAL_ASYNC);
//
// GPIO37 is the SCI Tx pin.
//
GPIO_setMasterCore(37, GPIO_CORE_CPU1);
GPIO_setPinConfig (GPIO_37_SCITXDA);
GPIO_setDirectionMode(37, GPIO_DIR_MODE_OUT);
GPIO_setPadConfig(37, GPIO_PIN_TYPE_STD);
GPIO_setQualificationMode(37, GPIO_QUAL_ASYNC);
//
// Initialize interrupt controller and vector table.
//
Interrupt_initModule();
Interrupt_initVectorTable();
//
// Initialize SCIA and its FIFO.
//
SCI_performSoftwareReset (SCIA_BASE);
//
// Configure SCIA for echoback.
//
SCI_setConfig(
SCIA_BASE, DEVICE_LSPCLK_FREQ, 9600,
(SCI_CONFIG_WLEN_8 | SCI_CONFIG_STOP_ONE | SCI_CONFIG_PAR_NONE));
SCI_resetChannels(SCIA_BASE);
SCI_resetRxFIFO(SCIA_BASE);
SCI_resetTxFIFO(SCIA_BASE);
SCI_clearInterruptStatus(SCIA_BASE, SCI_INT_TXFF | SCI_INT_RXFF);
SCI_enableFIFO(SCIA_BASE);
SCI_enableModule(SCIA_BASE);
SCI_performSoftwareReset(SCIA_BASE);
}