This is a multi-part message in MIME format. ------_=_NextPart_001_01C736A7.4EEAFF97 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thank you for your replies. =20 I'm using Sipex SP232ACT.=20 =20 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.=20 =20 Do you think that it might be the problem? =20 I'll try lowering the baud rate anyway. =20 Sam =20 =20 =20 ________________________________ From: piclist-bounces@mit.edu on behalf of Jinx Sent: Fri 1/12/2007 11:00 PM To: Microcontroller discussion list - Public. Subject: Re: [EE] Very odd problem with RS232... > You may be getting out of sync with the PIC and the PC if the > frequency is off by more than a few percent. Try lowering the > baud rate on both the PC And your PIC board, and see if that > makes any difference Lowering the baud rate will just make errors take longer to happen. If it is a timing problem, the PIC clock needs to be changed to match the baud rate from the PC Sam, are you going through an RS232 i/f (eg MAX232) ? -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist . ------_=_NextPart_001_01C736A7.4EEAFF97 Content-Type: application/ms-tnef; name="winmail.dat" Content-Transfer-Encoding: base64 eJ8+IgIAAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEEgAEAKAAAAFJFOiBbRUVdIFZlcnkgb2Rk IHByb2JsZW0gd2l0aCBSUzIzMi4uLgAjDAEFgAMADgAAANcHAQANAAAACwABAAYA/gABIIADAA4A AADXBwEADQAAAAsAAQAGAP4AAQmAAQAhAAAAQTIxMzlBRkIwRjlEQTI0OEIxNDJFNDg2QkIwQ0ZD M0UAYwcBA5AGAJgTAAA4AAAAAwA2AAAAAABAADkAl//qTqc2xwEeAD0AAQAAAAUAAABSRTogAAAA AAIBRw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AeAAgQAQAA AGUAAABUSEFOS1lPVUZPUllPVVJSRVBMSUVTSU1VU0lOR1NJUEVYU1AyMzJBQ1RJTVVTSU5HQ1JZ U1RBTE9TQ0lMTEFUT1JJVE1JR0hUQkVQUk9CTEVNV0lUSE9TQ0lMTEFUT1JJV0FOAAAAAAIBfwAB AAAAQAAAADxBQjJGQTczQUIxRkNGOTQwODU3Njg0QzNGOUQ4NDM5MDBBQkU1MEBtYWlsLmFtdXNl bWVudGNpdHkuY29tPgDuSg== ------_=_NextPart_001_01C736A7.4EEAFF97 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist ------_=_NextPart_001_01C736A7.4EEAFF97-- .