SCIA is working good without enabling the global interrupts. As soon as I enable the global interrupts it stops receiving and transmitting. I am sure that, I have coded something wrong in the registers, but I couldn't figure that out. Any ideas?
allow();
sys.PCLKC0 |= 0x0400; // The SCI-A module is clocked by the low-speed clock (LSPCLK).
GPIOA.MUX2 = 0x05000000; // Configure GPIO28 for SCIRXDA operation - Configure GPIO29 for SCITXDA operation
protect();
scia.SCICCR.all =0x0007; // 1 stop bit, No loopback - parity, 8 char bits,
scia.SCICTL1.all =0x0023; // enable TX, RX, SCI,
scia.SCIHBAUD =0x0001; // 9600 baud @LSPCLK = 37.5MHz.
scia.SCILBAUD =0x00E7; // (Low = 8 bits) + (High = 8 bits << 8)