I'm trying to learn how to use the microcontroller properly for a class and for some reason the terminal I'm using to communicate with the micro controller refuses to display the proper character and will also get stuck in the buffer loop.
```
```
#include "MSP.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
int main()
{
EUSCI_A0->CTLW0 |= 0x01; //Resets UART module
EUSCI_A0-> MCTLW =0; //Error Baud
EUSCI_A0-> CTLW0 |= 0x80; //parity LSB first, 8 bit data, etc
EUSCI_A0-> BRW |= 0x4E;
P1->SEL0 |= 0x0C;
P1->SEL1 &=~0x0C;
EUSCI_A0-> CTLW0 &= ~0x01;
EUSCI_A0 -> TXBUF ='!';
while ((EUSCI_A0->IFG & 0x02)==0){
//wait
}
while(1)
{
//RUN Code Forever
}
}
````
```
Above is the code I used any help would be much appreciated as I need to understand what is causing this ASAP for a project
Update to fix the problem in my specific case I went did the following Setup->Serial Port-> Speed 115200-> Speed 57600 Also changed EUSCI_A0->BRW |=0x4E to EUSCI_A0->BRW |=0x34