
S5N8947 (ADSL/Cable Modem MCU)
ELECTRONICS
MagIC Team
Page : 30
SAMSUNG ELECTRONICS
6.8. UART(Serial I/O)
The S5N8947 UART (Universal Asynchronous Receiver/Transmitter) unit provides an asynchronous
serial I/O (SIO) port. This can operate in interrupt-based or DMA-based mode. That is, the UART can
generate internal interrupts or DMA requests to transfer data between the CPU and the serial I/O port.
The most important features of the S5N8947 UART include:
l
Programmable baud rates
l
Infra-red (IR) transmit/receive
l
Insertion of one or two Stop bits per frame
l
Selectable 5-bit, 6-bit, 7-bit, or 8-bit data transfers
l
Parity checking
This unit has a baud rate generator, transmitter, receiver, and a control unit, as shown in next figure.
The baud-rate generator can be driven by the internal system clock, MCLK. The transmitter and receiver
block use this baud rate clock and have independent data buffer registers and data shifters.
Transmit data is written first to the transmit buffer register. From there, it is copied to the transmit
shifter and then shifted out by the transmit data pin, UATXDn. Receive data is shifted in by the receive
data pin, UARXDn. It is then copied from the shifter to the receive buffer register when one data byte has
been received.
This unit provides software controls for mode selection, and for status and interrupt generation.
Transmit Buffer Register
(UTXBUFn)
Transmit Shift Register
Baud Rate Generator
Baud Rate Divisor
(UTBUFn)
S
Receive Buffer Register
(URXBUFn)
Receive Shift Register
Line Control Register
(ULCONn)
UART Control Register
(UCONn)
UART Status Register
(USTATn)
IR Rx
Decoder
UARxDn
nUADTRn
nUADSRn
IR Rx
Decoder
0
1
0
1
UATxDn
Figure 11 UART block diagram