Other Parts Discussed in Thread: C2000WARE
Hello TI Team.
I'm asking for help with SCI registers configuration.
I want to receive and transmit data along with interrupt handling but without FIFO buffering.
Here is my config:
#define CPU_FREQ (Uint32)60E6 // 60 MHz MCU #define LSPCLK_FREQ (Uint32)(CPU_FREQ / 4) // 15 MHz (prescaler = 4) #define SCI_FREQ (Uint32)115200 // 115200 bps #define SCI_PRD (Uint16)((LSPCLK_FREQ / (SCI_FREQ * 8)) - 1) // 1 stop bit, No loopback, No parity, 8 char bits, async mode, // idle-line protocol // SciaRegs.SCICCR.all =0x0007; // // enable TX, RX, internal SCICLK, Disable RX ERR, SLEEP, TXWAKE // SciaRegs.SCICTL1.all =0x0003; SciaRegs.SCICTL2.bit.TXINTENA =1; SciaRegs.SCICTL2.bit.RXBKINTENA =1; SciaRegs.SCIHBAUD = SCI_PRD >> 8; SciaRegs.SCILBAUD = SCI_PRD; SciaRegs.SCICTL1.all =0x0023; // Relinquish SCI from Reset
But how to enable Tx and RX interrupts without FIFO buffering?




