MAX3140 Maxim, MAX3140 Datasheet - Page 23

no-image

MAX3140

Manufacturer Part Number
MAX3140
Description
SPI/MICROWIRE-Compatible UART with Integrated True Fail-Safe RS-485/RS-422 Transceivers
Manufacturer
Maxim
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MAX3140CEI
Manufacturer:
MAXIM/美信
Quantity:
20 000
Part Number:
MAX3140CEI+
Manufacturer:
ST
0
Part Number:
MAX3140EEI
Manufacturer:
MAXIM/美信
Quantity:
20 000
Table 7. Interrupt Sources and Masks—Bit Descriptions
Figure 15. Functional Diagram for Interrupt Sources and Mask Blocks
SPI/MICROWIRE-Compatible UART with Integrated
NAME
RA/FE
BIT
Pr
R
T
MASK
RAM
IRQ
BIT
RM
PM
TM
N
______________________________________________________________________________________
True Fail-Safe RS-485/RS-422 Transceivers
Received parity bit = 1
Data available
Transition on RX when
in shutdown; framing
error when not in
shutdown
Transmit buffer is
empty
WHEN SET
MEANING
The Pr bit reflects the value in the word currently in the receive-buffer register
(oldest data available). The Pr bit is set when parity is enabled (PE = 1) and the
received parity bit is 1. The Pr bit is cleared either when parity is not enabled (PE
= 0), or when parity is enabled and the received bit is 0. An interrupt is issued
based on the oldest Pr value in the receiver FIFO. The oldest Pr value is the next
value read by a READ DATA operation.
The R bit is set when new data is available to be read or when data is being read
from the receive register/FIFO. FIFO is cleared when all data has been read. An
interrupt is asserted as long as R = 1 and RM = 1.
This is the RA (RX-transition) bit in shutdown, and the FE (framing-error) bit in
operating mode. RA is set if there has been a transition on RX since entering
shutdown. RA is cleared when the MAX3140 exits shutdown. IRQ is asserted
when RA is set and RAM = 1.
FE is determined solely by the currently received data, and is not stored in FIFO.
The FE bit is set if a zero is received when the first stop bit is expected. FE is
cleared upon receipt of the next properly framed character. IRQ is asserted
when FE is set and RAM = 1.
The T bit is set when the transmit buffer is ready to accept data. IRQ is asserted
low if TM = 1 and the transmit buffer becomes empty. This source is cleared on
the rising edge of SCLK‘s 16th pulse when using a READ DATA or WRITE DATA
operation. Although the interrupt is cleared, poll T to determine transmit-buffer
status.
RM MASK
TM MASK
PM MASK
TRANSITION ON RX
RAM MASK
FRAMING ERROR
RAM MASK
Q
Q
Q
DESCRIPTION
S
R
S
R
S
R
NEW DATA AVAILABLE
DATA READ
TRANSMIT BUFFER EMPTY
DATA READ
PE = 1 AND RECEIVED PARITY BIT = 1
PE = 0 OR RECEIVED PARITY BIT = 0
SHUTDOWN
SHUTDOWN
23

Related parts for MAX3140