Jan-Erik Soderholm XA (TN/PAC) wrote: >> However there are some software gotchas, >> and you should go looking for Fr MacGhee's PICUART.ZIP >> which contains the complete source code for UART handling >> code, and has extensive comments on dealing with every >> step of setting up the UART. > > Has that been updated for the newer PICs with the 16-bit > baud rate register (SPBRG) ? I don't know about Thomas MacGhee's code, but my UART module QQQ_UART.ASPIC at http://www.embedinc.com/pic does contain assembly time logic to automatically configure itself for several types of UARTs. Most of this logic is actually in the UART_BAUD and UART_SETUP macros in STD.INS.ASPIC found on the same web page. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics