I'm hoping that I've missed something in the data sheet or errata... I'm having some weird problems generating a correct baud rate of 19,200. What is weird is that this *was* working, and has stopped for some reason. It is apparently code-related as I've swapped an entirely new circuit board and processor in with the same results. I have an application which uses a PIC18 serial port at 19,200 (I'm currently using a '2620, but have tried with others as well). I'm clocking the PIC at 25Mhz (External clock source). With BRG16=0, the closest I can get to 19,200 is 19290, or 0.47% error. As the other end of this link is a 'F887 running on the internal RC oscillator, I'd really like to shave every little bit of error off of the 18F side with the 20ppm XTAL.... So I figured I'd turn on BRG16 and BRGH and set the value of SPBRG/SPBRGH to 325, which should generate a baud rate of 19171, and reduce the error to 0.15%. Imagine my surprise when I discovered the baud rate was actually closer to 22.6kb/s. I have dug through the data sheets and errata and haven't found anything which indicates that this shouldn't work. What am I missing? Or does this just not work with a 25Mhz clock on a PIC18LF.... -forrest -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist