xr16m670 Exar Corporation, xr16m670 Datasheet - Page 18

no-image

xr16m670

Manufacturer Part Number
xr16m670
Description
1.62v To 3.63v High Performance Uart With 32-byte Fifo
Manufacturer
Exar Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
xr16m670IB25-F
Manufacturer:
Exar Corporation
Quantity:
10 000
Part Number:
xr16m670IB25TR-F
Manufacturer:
EXAR/艾科嘉
Quantity:
20 000
Part Number:
xr16m670IL32-F
Manufacturer:
EXAR
Quantity:
200
Part Number:
xr16m670IL32-F
Manufacturer:
EXAR/艾科嘉
Quantity:
20 000
XR16M670
1.62V TO 3.63V HIGH PERFORMANCE UART WITH 32-BYTE FIFO
When software flow control is enabled
characters with the programmed Xon or Xoff-1,2 character value(s). If receive character(s) (RX) match the
programmed values, the M670 will halt transmission (TX) as soon as the current character has completed
transmission. When a match occurs, the Xoff (if enabled via IER bit-5) flag will be set and the interrupt output
pin will be activated. Following a suspension due to a match of the Xoff character, the M670 will monitor the
receive data stream for a match to the Xon-1,2 character. If a match is found, the M670 will resume operation
and clear the flags (ISR bit-4).
Reset initially sets the contents of the Xon/Xoff 8-bit flow control registers to a logic 0. Following reset the user
can write any Xon/Xoff value desired for software flow control. Different conditions can be set to detect Xon/
Xoff characters
are selected, the M670 compares two consecutive receive characters with two software flow control 8-bit
values (Xon1, Xon2, Xoff1, Xoff2) and controls TX transmissions accordingly. Under the above described flow
control mechanisms, flow control characters are not placed (stacked) in the user accessible RX data buffer or
FIFO.
In the event that the receive buffer is overfilling and flow control needs to be executed, the M670 automatically
sends an Xoff message (when enabled) via the serial TX output to the remote modem. The M670 sends the
Xoff-1,2 characters two-character-times (= time taken to send two characters at the programmed baud rate)
after the receive FIFO crosses the selected trigger level. To clear this condition, the M670 will transmit the
programmed Xon-1,2 characters as soon as receive FIFO is less than one trigger level below the selected
trigger level.
* After the trigger level is reached, an xoff character is sent after a short span of time (= time required to send 2 characters);
for example, after 2.083ms has elapsed for 9600 baud and 10-bit word length setting.
A special character detect feature is provided to detect an 8-bit character when bit-5 is set in the Enhanced
Feature Register (EFR). When this character (Xoff2) is detected, it will be placed in the FIFO along with normal
incoming RX data.
The M670 compares each incoming receive character with Xoff-2 data. If a match exists, the received data will
be transferred to the RX FIFO and ISR bit-4 will be set to indicate detection of special character. Although the
Internal Register Table shows Xon, Xoff Registers with eight bits of character information, the actual number of
bits is dependent on the programmed word length. Line Control Register (LCR) bits 0-1 defines the number of
character bits, i.e., either 5 bits, 6 bits, 7 bits, or 8 bits. The word length selected by LCR bits 0-1 also
determines the number of bits that will be used for the special character comparison. Bit-0 in the Xon, Xoff
Registers corresponds with the LSB bit for the receive character.
Normal multidrop mode is enabled when MSR[6] = 1 (requires EFR[4] = 1) and EFR[5] = 0 (Special Character
Detect disabled). The receiver is set to Force Parity 0 (LCR[5:3] = ’111’) in order to detect address bytes.
With the receiver initially disabled, it ignores all the data bytes (parity bit = 0) until an address byte is received
(parity bit = 1). This address byte will cause the UART to set the parity error. The UART will generate an LSR
2.13
2.14
2.15
RX T
RIGGER
Auto Xon/Xoff (Software) Flow Control
Normal Multidrop Mode
Special Character Detect
16
24
28
8
Table 5
L
EVEL
(See Table
below explains this.
INT P
T
IN
15) and suspend/resume transmissions. When double 8-bit Xon/Xoff characters
ABLE
A
16
24
28
8
CTIVATION
5: A
(See Table
UTO
X
ON
/X
X
(
OFF
CHARACTERS IN RX FIFO
OFF
15), the M670 compares one or two sequential receive data
C
18
(S
HARACTER
OFTWARE
16*
24*
28*
8*
(
S
) S
) F
ENT
LOW
)
C
ONTROL
X
(
CHARACTERS IN RX FIFO
ON
C
HARACTER
16
24
0
8
(
S
) S
REV. 1.0.0
ENT
)

Related parts for xr16m670