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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/10/12 08:28
Read: times


 
#188284 - mask off msb
Responding to: ???'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            01/01/70 00:00      
   one more stop bit            01/01/70 00:00      
      mask off msb            01/01/70 00:00      
         or software UART            01/01/70 00:00      
   are you sure?            01/01/70 00:00      
      Shouldn't do, but...            01/01/70 00:00      

Back to Subject List