On 1/12/07, Przemyslaw Lopaciuk wrote: > Thank you for your replies. > > I'm using Sipex SP232ACT. > > I'm using crystal oscillator. It might be problem with oscillator. I wanted to have PIC running at 40MHz on my board, but I didn't read the datasheet carefully ( yes, I know :-/ ) and instead of putting 10Mhz oscillator and using PLL I put 40MHz oscillator on the board. It is actually running at 13,3 Mhz now. > > Do you think that it might be the problem? > Wait... you have an oscillator running at 40 MHz, but the PIC is only seeing 13.3 MHz? Maybe the crystal is designed for third overtone, but you're running at fundamental frequency? In doesn't sound like that going to a be a stable time base for the RS-232 communications. Fix the oscillator first, before attempting async serial communications. Regards, Mark markrages@gmail -- You think that it is a secret, but it never has been one. - fortune cookie -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist