Rick posted a patch for parity support in the latest revision(11/11/2015) of Energia. The patch currently only works for the MSP430G2553.

I was trying to port a sketch that used the Serial port with non standard UART parity and character length to Energia. I noticed that the UART port isn’t setup to handle anything except 8-N-1. While the code below can’t do all the combinations that are available to the atmega, it can do 7/8 bit, even/odd parity and 1/2 stop bits.

Download the patch here.

Pin It on Pinterest