> I have an application that would benefit for using a high baud rate. I've > tested the PIC16F876 at 115200bps and it works great! What I'm wondering is > if I can move upto 230400bps if I use a 18.432MHz crystal. Assuming you calculated the divider value correctly (I didn't check), the PIC should work fine. However, note that the common RS-232 converter chips like the MAX232 only promise to work up to 120Kbaud. > With this > crystal speed there is 0% error at 230400bps. My question is if there is a > limitation in the PIC hardware that would prevent this. Not that I know of. > I would assume it > would be fine except the 16F87x datasheet doesn't give values for baud rates > over 57600bps. Those are just quick and dirty numbers for people that are bad at math. I would always verify the result anyway. See my UART_BAUD macro in STD.INS.ASPIC at http://www.embedinc.com/pic. You give it your clock frequency and desired baud rate, and it calculates and the UART setup register values for you. It also bombs out on error if the desired baud rate can't be achieved within 2.9%. > Frankly, I was a little suprised 115200bps worked. I have used 115.2Kbaud on many projects and never had a problem. I use that baud rate unless there is some overriding reason not to (very rare). ***************************************************************** 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