UART/Serial driver

Hello Guys

Does anyoen have a buffered UART/Serial driver for the MSP in C? I am just curious to look at the implementtaion.

Cheers

Jay

Google “bufferedUSART msp430”, and you’ll find it… it is freely available.

It has an interrupt handling bug in it, but should work as a starting point.

In the version of usart.c that I have, in the routine usart1Getch and usart0Getch - the interrupt case (ifdef block) needs to disable interrupts prior to modifying the buffer index and re-enable prior to return.

Thanks man, I will take a look at it. Cheers :slight_smile: