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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/17/03 15:01
Read: times


 
#60843 - RE: SBUF & SCON
Responding to: ???'s previous message
Yes, Patrick is correct. The PC style UART can be setup to send data 5, 6, 7, or 8 bits wide. Then an optional parity bit can be appended. The RB8 bit in the target 8051 is a method whereby, then serial data stream is set for 8 bits wide that the target UART can receive the Parity bit. Likewise the TB8 bit is used to permit the 8051 UART to send a parity bit (although it need not actually be used as a parity bit when 8051's are communicating with other non-PC UART devices).

For the software of a PC to effectively control the bit value sent out in th8 9th bit position the prograammer can toggle the parity setting back and forth between MARK and SPACE. The Even and Odd settings of course determine the 9th bit from the content of the other 8.

Michael Karas


List of 7 messages in thread
TopicAuthorDate
SBUF & SCON            01/01/70 00:00      
   RE: SBUF & SCON            01/01/70 00:00      
      RE: SBUF & SCON            01/01/70 00:00      
         Not really - Mode 3 = Multiprocessor            01/01/70 00:00      
            RE: Not really - Mode 3 = Multiprocessor            01/01/70 00:00      
   RE: PC 9th bit            01/01/70 00:00      
   RE: SBUF & SCON            01/01/70 00:00      

Back to Subject List