User's Manual

PART 3 – Embedded Analog SocketModems Chapter 6 – SocketModem (MT9234SMI)
Multi-Tech Systems, Inc. Universal Socket Hardware Guide for Developers (S000342K) 103
RBR – Receive Buffer (RX FIFO)
All eight bits are used for receive channel data (host read/data in; host write/data out). The three error bits per
byte are copied into bits 2, 3, and 4 of the LSR during each host I/O read; therefore, they are available for
monitoring on a per-byte basis.
THR – Transmit Holding Register (TX FIFO)
All eight bits are used for transmit channel data (host write/data out; host read/data in).
IER – Interrupt Enable
Bits 47: Reserved and will always read 0.
Bits 0-3: Set by host software only and cleared by software control or host reset.
Bit 3: Enables modem status IRQ. If bits 0–3 of the MSR are set and this bit is set to 1 (enabled), a host
interrupt is generated.
Bit 2: Enables receive line status IRQ. If bits 1–4 (overrun, parity, framing, break errors) of the LSR are set
and this bit is set to a logic 1, a host interrupt is generated.
Bit 1: Enables transmit holding register IRQ. If bit 5 (transmit holding register empty) of the LSR is set and
this bit is set to a 1, a host interrupt is generated.
Bit 0: Enables received data available IRQ. If bit 0 (data ready) of the LSR is set and this bit is set to a 1, a
host interrupt is generated.
IIR – Interrupt Identification (Read Only)
Bits 67: (FIFO enabled bits). These bits will read a 1 if FIFO mode is enabled and the 16450 enable bit is 0
(no force of 16450 mode).
Bits 45: Reserved and always read a 0.
Bits 13: Interrupt ID bits.
Bit 0: Interrupt pending. If logic 0 (in default mode), an interrupt is pending.
When the host accesses IIR, the contents of the register are frozen. Any new interrupts will be recorded, but not
acknowledged during the IIR access. This requires buffering bits (0–3, 6–7) during IIR reads.
Interrupt Sources and Reset Control Table
Bit 3 Bit 2 Bit 1 Priority Interrupt Source Interrupt Reset Control
0 1 1 Highest Overrun, parity, framing, error
or break detect bits set by
SocketModem Controller
Reading the LSR
0 1 0 2
n
d
Received data trigger level
RX FIFO drops below trigger
level
1 1 0 2
n
d
Receiver time-out with data in
RX FIFO
Read RX FIFO
0 0 1 3
r
d
TX holding register empty Writing to TX holding
register or reading IIR when
TX holding register is source
of error
0 0 0 4
th
MODEM status: CTS, DSR, RI
or DCD
Reading the MSR