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.

LAUNCHXL-F280049C: Alternative SCI Routing via GPIO35/37 does not work

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);
}

   

  • Bjarne,

    When configuring the LAUNCHXL-F280049C to use GPIO35/GPIO37 for the SCI, the signals are routed to the virtual COM port of the XDS110 and not the header pins.  The alternate setting is for I2C.  Only GPIO28/29 can be configured for the SCI to use the virtual COM port or the header pins.  For details on the virtual COM port, see section 2.2.3 in the User's Guide.

    I hope this helps. If this answers your question, please click the green "Verified Answer" button. Thanks.

    - Ken

  • Bjarne,

    It's been a while since I have heard from you last. Therefore, I am assuming that my last reply resolved your issue and I will close this thread. If this isn’t the case, please reject this resolution or reply to this thread. If this thread locks, please make a new thread describing the current status of your issue. Thank you.

    - Ken