Intel 537EX Modem User Manual


 
536EX Chipset Developers Manual 97
Intel Confidential
Parallel Host Interface 16C450/16C550A UART
9.2.4 Modem Control Register (MCR)
This register controls the DTE-DCE UART interface.
9.2.5 Line Control Register (LCR)
This register specifies the asynchronous data communication exchange format. The modem
supports up to 10-bit data characters (1 start bit + # of data character bits + parity + # of stop bits).
Figure 17. Modem Control Register (MCR)
0 0 0 Loop Out 2 Out 1 RTS DTR
Register 4
Bit 7:5 Not usedThese bits are permanently set to 0.
Bit 4
Loop BitWhen set to 1, this bit configures the UART for loopback diagnostic testing. In diagnostic mode,
any data that is written to the THR (Transmit Holding register) is looped back to the RBR (Receiver Buffer
register).
After writing a data byte to the THR register in loopback mode, the DTE must read the RBR register before
writing a new data byte to the THR.
Unlike a real 16C450 UART, the modem signals OUT1*, OUT2*, RTS*, and DTR* are not looped back to the
MSR register.
Bit 3
Out 2This bit, when set to 1 by the DTE, enables the HINT output pin. When set to 0, this bit causes the
HINT pin to be in a high-impedance state.
Bit 2 Out 1This read/write bit is not used for any specific functions.
Bit 1 RTS (Request to Send)This bit when set to 1, indicates that the DTE is ready to send data to the modem.
Bit 0
DTR (Data Terminal Ready)When set to 1, this bit indicates that the DTE is read to establish a
communication link.
Figure 18. Line Control Register (LCR)
DLAB SBRK SPAR EPS PEN STB WLS1 WLS0Register 3
Bit 7
Divisor Latch Access Bit (DLAB)This bit must be set to 1 to access the divisor latches of the baud rate
generator during a read or write operation. The UART registers 1 and 0 are used for the divisor latches. This
bit must be set to 0 to access the Receiver Buffer register (RBR), the THR (Transmitter Holding register) or
the IER (Interrupt Enable register).
Bit 6
SBRK (Set Break)This bit is used to send a long-space disconnect message to the remote modem.
The procedure is as follows:
After the THRE bit has been set to 1 by the DCE and before setting the SBRK bit, the DTE needs to write
a NULL ($00h) character to the THR.
The DTE then sets the SBRK bit after the next time the THRE bit is set by the DCE (a long space is now
being transmitted).
To return to normal transmission mode, wait for the TEMT to be equal to 1, then reset the SBRK bit.
Bit 5
SPAR (Stick Parity)When this bit is set to 1, stick parity is enabled. When configured for stick parity (SPAR
= 1), even parity (EPS = 1) with parity enable (PEN = 1), then the parity bit is transmitted and checked as a
logic 0. When configured for stick parity (SPAR = 1), odd parity (EPS = 0) and parity enable (PEN = 1) are set
to 1, then the parity bit is transmitted and checked as a logic 1.