Other Parts Discussed in Thread: C2000WARE,
Hi !
I'm facing to problem that there is digital signal in SCI gpio out , but in LCD monitor any numbers and values I want . Can everyone help me ? Here Sci registers are :
DELAY_US(10); // DELAY_US(1000);
SciaRegs.SCICCR.all = 0x0007; // 1 stop bit, No loopback, No parity,8 char bits, async mode, idle-line protocol
SciaRegs.SCICTL1.all = 0x0003; // enable TX, RX, internal SCICLK, Disable RX ERR, SLEEP, TXWAKE
SciaRegs.SCICTL2.all = 0x0003; // Disable RxErr, Sleep, TX Wake, disable Rx Interrupt, Tx Interrupt
SciaRegs.SCIHBAUD.bit.BAUD = 0x0000; // 19200 baud @LSPCLK = 22.5MHz.
SciaRegs.SCILBAUD.bit.BAUD = 0x0092; // BRR = (LSPCLK/(SCI Asynchronous Baud * 8))-1, SCI Asynchronous Baud = (LSPCLK/(BRR+1)*8)
SciaRegs.SCICTL1.all = 0x0023; // Relinquish SCI from Reset
Thank in advance !

