Professional Documents
Culture Documents
CHAPTER 11
♦ N bits transmitted at a
time over N data lines
♦ Synchronization
among all N bits
TRANSMITTER
Comparison
♦ Parallel requires Serial requires less
more transfer lines transfer lines
♦ Bits have to be Transfers one bit at
synchronized a time
♦ Fast, but Slow comparatively,
expensive but less expensive
Transmitter + – Receiver
Data
Data Format
♦ Start bit – indicates the beginning of word
♦ Data bit – data user is transmitting
♦ Parity bit – checks integrity of data
♦ Stop bit – indicates the end of word
D0 D1 D2 D3 D4 D5 D6 D7
1 Asynchronous Byte
RS-232 Standards
♦ An old standard for serial communication
♦ Data
Start bit
6,7,8,9 data bits
Parity bit optional
Stop bit
♦ Voltage levels
“1” (mark) is represented by -3 to -25 V
“0” (space) is represented by +3 to +25 V
Signal levels of ±5 V, ±10 V, ±12 V, and ±15 V are all commonly seen
depending on the voltages available to the line driver circuit
♦ UDR
(USART Data Register)
♦ UBRR
(USART Baud Rate Register)
UBRRH
UBRRL
UCSRA
UCSRB
UCSRC
UCSZ (3 bits)
USART in Rx Mode