English
Language : 

82C52 Datasheet, PDF (8/20 Pages) Intersil Corporation – CMOS Serial Controller Interface
82C52
D7 D6 D5 D4 D3 D2 D1 D0
Parity Error
(PE)
0 = No Error
1 = Error
Framing Error 0 = No Error
(FE)
1 = Error
Overrun Error 0 = No Error
(OE)
1 = Error
Received Break 0 = No Break
(RBRK)
1 = Break
Modem Status
(MS)
0 = No Status
Change
1 = Status
Change
Transmission
Complete
(TC)
0 = Not
Complete
1 = Complete
Transmitter
0 = Not Empty
Buffer Register 1 = Empty
Empty (TBRE)
Data Ready
(DR)
FIGURE 5. USR
0 = Not Ready
1 = Ready
Modem Status Register (MSR)
The MSR allows the CPU to read the modem signal inputs
by accessing the data bus interface of the 82C52. Like all of
the register images of external pins in the 82C52, true logic
levels are represented by a high (1) signal level. By following
this consistent definition, the system software need not be
concerned with whether external signals are high or low true.
In particular, the modem signal inputs are low true, thus a 0
(true assertion) at a modem input pin is represented by a 1
(true) in the MSR.
Any change of state in any modem input signals will set the
Modem Status (MS) bit in the USR register. When this
happens, an interrupt (INTR) will be generated if the MIEN
and INTEN bits of the MCR are enabled.
The Data Set Ready (DSR) input is a status indicator from
the modem to the 82C52 which indicates that the modem is
ready to provide received data to the 82C52 receiver
circuitry.
Clear to Send (CTS) is both a status and control signal from
the modem that tells the 82C52 that the modem is ready to
receive transmit data from the 82C52 transmitter output
(SDO). A high (false) level on this input will inhibit the 82C52
from beginning transmission and if asserted in the middle of
a transmission will only permit the 82C52 to finish
transmission of the current character.
8
D7 D6 D5 D4 D3 D2 D1 D0
Clear to Send 0 = False
(CTS)
1 = Truer
Data Set Ready 0 = False
(DSR)
1 = True
0
0
Undefined
FIGURE 6. MSR
Receiver Buffer Register (RBR)
The receiver circuitry in the 82C52 is programmable for 5, 6,
7 or 8 data bits per character. For words of less than 8 bits,
the data is right justified to the Least Significant Bit (LSB =
D0). Bit D0 of a data word is always the first data bit
received. The unused bits in a less than 8-bit word, at the
parallel interface, are set to a logic zero (0) by the 82C52.
Received data at the SDI input pin is shifted into the
Receiver Register by an internal 1x clock which has been
synchronized to the incoming data based on the position of
the start bit. When a complete character has been shifted
into the Receiver Register, the assembled data bits are
parallel loaded into the Receiver Buffer Register. Both the
DR output pin and DR flag in the USR register are set. This
double buffering of the received data permits continuous
reception of data without losing any of the received data.
While the Receiver Register is shifting a new character into
the 82C52, the Receiver Buffer Register is holding a
previously received character for the system CPU to read.
Failure to read the data in the RBR before complete
reception of the next character can result in the loss of the
data in the Receiver Register. The OE flag in the USR
register indicates the overrun condition.
D7 D6 D5 D4 D3 D2 D1 D0
Bit 0
Bit 1
Bit 2
Bit 3
Bit 4
Bit 5
5-Bit
Word
6-Bit
Word
7-Bit
Word
8-Bit
Word
Bit 6
Bit 7
FIGURE 7. RBR
Transmitter Buffer Register (TBR)
The Transmitter Buffer Register (TBR) accepts parallel data
from the data bus (D0-D7) and holds it until the Transmitter
Register is empty and ready to accept a new character for
FN2950.3
April 26, 2006