Intel MD566X manual Line Control Register LCR, 123

Models: MD566X

1 130
Download 130 pages 46.7 Kb
Page 123
Image 123

56K V.92 Data, Fax, and Voice Chipset

This register controls the DTE-DCE UART interface.

Bit 7:5

Not used–These bits are permanently set to “0”.

 

 

 

Loop Bit–When 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).

Bit 4

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 2–This 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 1–This 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 communi-

cation link.

 

 

 

 

 

10.1.5 Line Control Register (LCR)

Register 3

DLAB

SBRK

SPAR

EPS

PEN

STB

WLS1

WLS0

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).

 

Divisor Latch Access Bit (DLAB) – This bit must be set to “1” to access the divisor latches of the baud rate

Bit 7

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).

 

 

 

SBRK (Set Break)–This bit is used to send a long-space disconnect message to the remote modem.

 

The procedure is as follows:

Bit 6

1)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.

 

2)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).

 

3)To return to normal transmission mode, wait for the TEMT to be equal to “1”, then reset the SBRK bit.

 

 

 

SPAR (Stick Parity)–When this bit is set to “1”, stick parity is enabled. When configured for stick parity

Bit 5

(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”.

 

 

Bit 4

EPS (Even Parity Select)–When even parity select (LCR4) and parity enable (LCR3) are set to “1”, an even

number of logic 1’s are transmitted or checked. When even parity select (LCR4) is a ‘0’ and parity enable

 

(LCR3) is a “1”, an odd number of logic 1’s are transmitted or checked.

 

 

 

PEN (Parity Enable)–When this bit is set to “1”, a parity bit is generated (transmitted data) or checked

Bit 3

(receive data) between the last data character word bit and stop bit of the serial data.

NOTE: The parity bit is used to produce an even or odd number of 1’s when the data word bits and the parity

 

 

bits are summed.

 

 

Programmer’s Guide

Intel Confidential

123

Page 123
Image 123
Intel MD566X manual Line Control Register LCR, 123