James Henry Dodd wrote: >Hi Robert,
>If things aren't working, are you sure you followed the UART setup sequence >properly? >Quoting slau049c.pdf from Texas: >"... >The required USART initialization/re-configuration process is: >1) Set SWRST (BIS.B #SWRST,&UxCTL) >2) Initialize all USART registers with SWRST = 1 (including UxCTL) >3) Enable USART module via the MEx SFRs (URXEx and/or UTXEx) >4) Clear SWRST via software (BIC.B #SWRST,&UxCTL) >5) Enable interrupts (optional) via the IEx SFRs (URXIEx and/or UTXIEx) >Failure to follow this process may result in unpredictable USART behavior. >..." Take a look at my (old) UART interrupt code in the bufferedUSART subdirectory in the examples section of the MSP430 CVS stuff on sourceforge. It may be of help. http://cvs.sourceforge.net/viewcvs.py/mspgcc/examples/bufferedUSART/ Regards -Bill Knight R O SoftWare
