Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Maarten Brock
09/10/12 02:28
Read: 555 times
Tilburg
The Netherlands


 
#188284 - mask off msb
Responding to: Erik Malund's previous message
Erik Malund said:
if you give the last bit the same polarity as the stop bit all you will have is one more stop bit/a longer stop bit.

That works for transmission.

And on reception you mask off the most significant bit to either check or ignore the received stopbit.

The real problem arises when the other side is transmitting the characters side-by-side without extra pause. Then the startbit of the next character ends up in the stopbit of the previous reception. If you can't change the number of bits on the other side, maybe you can change the number of stopbits to two. Or maybe you can use CTS to hold off the next character. Otherwise you just have to 'hope' that characters will not arrive too close to each other.

Maarten

List of 6 messages in thread
TopicAuthorDate
8051- 7 bit UART      Sulax Shah      09/08/12 05:02      
   one more stop bit        Erik Malund      09/08/12 06:11      
      mask off msb      Maarten Brock      09/10/12 02:28      
         or software UART      Jan Waclawek      09/10/12 05:05      
   are you sure?      Erik Malund      09/10/12 07:07      
      Shouldn't do, but...      Andy Neil      09/10/12 17:08      

Back to Subject List