>I am trying to get a PIC16c74A to receive a 9600 baud 8 data bit, >no parity, 1 stop bit signal. I have configured the serial port >with the following options: > >Crystal:5.0688 MHz > >RCSTA:0x90 >TXSTA:0xA4 >SBRGH:32 > >Is this all I need? The strange thing is that it actually communicates >fairly well. However, approximately 2-4 bytes out of every 100 received >are completely wrong. There doesn't seem to be a pattern. Some are off >by 0xCC or 0x7D or 0x8F or 0xBF, etc. > >Any ideas? > Hi Jason, Choose a XTAL that gives 9600 baud with BRGH=0, this increases the sampling to x64 mode and should fix the above problem. Ray Gardiner (DSP Systems) ray@dsp-systems.com http://www.dsp-systems.com private email to:- ray@netspace.net.au