[?] Subscribe To This Site

XML RSS
Add to Google
Add to My Yahoo!
Add to My MSN
Subscribe with Bloglines

Home
Forum
Project Ideas
C Course
Projects Showcase
LCD-KEYS OnePort
PIC Introduction
PIC Programmer
Schematic Tool
PIC Projects
Tips & Techniques
PIC Tutorials
Digital Downloads
Store
My SECRET
Oscilloscopes
About Me
Contact
Terms of Use
Search This Site
Freebies
Articles
Books
Resource Links
Site Map
Video du Jour
Rant/Rave
Privacy Policy
Problem?-Solution
Programmer Types

RS232 resynchronization

by ganesh
(pune,maharastra,India)

hi..

I have a question not directly related to any development.

when two devices communicate using RS232 both has same Baud rate setting and what happen if Crystal frequency of a system change, RS232 communication break and synchronize again, if yes then how RS232 Resynchronize.

I think RS232 not synchronize.

Thanks




Comments for
RS232 resynchronization

Click here to add your own comments

Oct 26, 2009
RS232 resync.
by: Mike

If the clock frequency changes the BAUD rate enough the transmission will lose synchronization. If the clock does not return to its proper frequency, the transmission will not be able to resynchronize. If the clock does return to its original frequency the receiver would be able to resynchronize, but the transmitter would have to know there was an error and resend the lost data. If the lost data is not important, the transmitter will still have to stop sending for a period longer than the time to send one character at the correct BAUD rate for the receiver to resynchronize. Either way, there will have to be some way for the trasmitter to know there was an error.

If the clock is not very stable you could change from asynchronous RS232 to synchronous RS232 as the clock is transmitted along with the data so it will always be synchronized. It doesn't matter how unstable the clock is when you use synchronous RS232.

Click here to add your own comments

Join in and write your own page! It's easy to do. How?
Simply click here to return to Ask for a Solution to your microcontroller problem