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.

SCIB Initialization



Hi,

This may look a simple problem, but I cannot figure out.

I am using SCI_Echoback example where it used SCIA to transmit and receive "Hello World." I want to do the same but on SCIB. I changed all Scia. . . . to Scib . . . . However, the program is still not outputting the Hello World in HyperTerminal. I see nothing in my output. Any ideas.

Thanks.

Waqqas

  • Hi Waqqas,
    Did you also physically wire the serial port to SCI-B pins and change the GPIO mux settings to enable SCI-B on those pins?
  • Hi Devin,
    GPIO Mux settings are already enabled for all SCIA/B/C in Sci.c. I just connected the TX, RX wires from DB9 to those pins (GPIO 18,19). Then I shorted J9 and grounded the GND.
    In main file, I changed all SCIA to SCIB.
    I cant think of any other way to enable SCIB.
    Someone in another question posted that there needs to initialize SCIB clock, but to me it looks like already initialize in SysCtrl.c where many peripheral clocks are enabled.

    Thanks.
    Waqqas
  • Hi Devin,
    I figured out my problem, I had not turned off SCIA clock. That's why, SCIA clock was taking over priority over SCIB clock. once I set that to =0, everything is good.