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.

SCI_A work but SCI_B not in 28377d

Other Parts Discussed in Thread: CONTROLSUITE

Hi everybody

I used same way to make the communication source, only change "SciaRegs" to "ScibRegs". The SCI_A source has worked well, but SCI_B source was not. I don't why, would you mind checking my attached sources?

SCI_A : RX pin is GPIO 28, TX pin is GPIO 29

SCI_B: RX pin is GPIO 87, TX pin is GPIO 86

Thank you very much !!!

SCI_F28377D.rar
  • Hi,

    Is this the example code from controlSuite you're trying to execute?

    Regards,

    Gautam

  • Hi,

    My source was based on examples from controlSuite. But I wonder why it only run with SCI_A while SIC_B is not. Is there any my mistake ?

    Regards

  • Hi Huy,

    The peripheral mux selection number is different for SCI-A on pins 28 and 29 than it is for SCI-B on pins 86 and 87. Specifically, you should make the following changes:

    //Init the pins for the SCI-B port.
    GPIO_SetupPinMux(87, GPIO_MUX_CPU1, 5);   // RX
    GPIO_SetupPinOptions(87, GPIO_INPUT, GPIO_PUSHPULL);
    GPIO_SetupPinMux(86, GPIO_MUX_CPU1, 5);   // TX
    GPIO_SetupPinOptions(86, GPIO_OUTPUT, GPIO_PUSHPULL);

    You can find the relevant pinmuxing information in Table 4.2 of sprs880.

    Regards,

    Sam

  • But I wonder why it only run with SCI_A while SIC_B is not. Is there any my mistake ?

    You've to configure the SCI_B peripheral accordingly; refer the initializing as per SCI_A.

    If you're still not able to get the configuration right, do paste your implementation here.

    Regards,

    Gautam