Hi,
We are working on TMS320F28035 microcontroller.
We have configured the SCI-A peripheral to operate at 9600 baud rate and it is working fine.But due to requirement, we needed to use lower baudrate. When we tried to configure it for 2400 or 4800 baudrate, no data is transmitted by the tx pin. Baudrates higher than 9600 works without an issue.
SCI Configuration:
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.SCIHBAUD = 0x0000;
SciaRegs.SCILBAUD = 0x0061;//SciaRegs.SCILBAUD = SCI_PRD;// 0x030C->2400 0x00C2->9600 0x0061->19200
SciaRegs.SCIFFTX.all=0xC021;
SciaRegs.SCIFFRX.all=0x0022;
SciaRegs.SCIFFCT.all=0x00;
//SciaRegs.SCIPRI.all = 0x0008;
SciaRegs.SCICTL1.all =0x0023; // Relinquish SCI from Reset
SciaRegs.SCIFFTX.bit.TXFIFOXRESET=1;
SciaRegs.SCIFFRX.bit.RXFIFORESET=1;
We used the same configuration, except for the baud rate register value
Thanks.