I'm using my A3BU's USARTE0 in MSPIM, and I've come across a weird issue.
I have it connected to an external ADC, and I'm aiming to read voltages from 0-3.3V, along with tag bits to show which channel it's connected to, and reading the data back on an LCD.
The weird thing is that it works fine from about 0 to 2.04V, and then after that, it gives weird numbers like the wrong channel tag (like 7, 6, and 4 instead of 3), and inaccurate voltage readings, like a maximum value of 3.8V at the top of the pot, and it actually freezes after about 10 samples (reads Channel 6, 0V). I know it's not the ADC, because when I connect it to the normal SPI on Port C, it gives smooth, accurate voltage readings with the correct channel tag throughout.
Just having a tough time debugging this. It shouldn't be clock polarity, or baud rate if it works up to a certain voltage input?