Pin Configuration For Sim; Table 25-5 Sim Interrupts - Motorola DragonBall MC9328MX1 Reference Manual

Integrated portable system processor
Table of Contents

Advertisement

SmartCard Interface Module (SIM)
The CRC value can be reset in multiple ways. Clearing the CRCEN bit in the CNTL register resets the
CRC value. At the end of a transmission (either after the CRC characters are transmitted, or after the last
character in the transmit FIFO is sent when XMT_EN_LRC_CRC is clear), the CRC value is
automatically reset by the SIM hardware. Finally, when setting the XMT_EN bit in the ENABLE register,
the SIM hardware resets the CRC value.
25.4.7 SIM Interrupts
Table 25-5 contains a listing of all possible interrupt sources and their corresponding mask bits. All SIM
interrupts are logically ORed to create the active low IRQ and DATA_IRQ signals that go to the
MC9328MX1 interrupt controller. All mask bits are designed so that a logic 1 implies that the
corresponding interrupt is disabled (masked), and a logic 0 implies that the interrupt is enabled
(unmasked). All of these mask bits are logic 1 after reset (all interrupts are masked).
Flag
Flag Register
TC
XMT_STATUS
ETC
XMT_STATUS
TFE
XMT_STATUS
XTE
XMT_STATUS
TFO
XMT_STATUS
TDTF
XMT_STATUS
GPCNT
XMT_STATUS
RDRF
RCV_STATUS
OEF
RCV_STATUS
CWT
RCV_STATUS
SDI
PORT_DETECT
1.
See Section 25.6.5, "Transmit Status Register," for more information.
2.
See Section 25.6.6, "Receive Status Register," for more information.
3.
See Section 25.6.10, "Port Detect Register," for more information.
4.
See Section 25.6.7, "Interrupt Mask Register," for more information.

25.5 Pin Configuration for SIM

Figure 25-13 on page 25-15 shows the pins used for the SIM module. These pins are multiplexed with
other functions on the device, and must be configured for SIM operation.
25-18
Table 25-5. SIM Interrupts
Mask
Mask Register
1
TCIM
INT_MASK
1
ETCIM
INT_MASK
1
TFEIM
INT_MASK
1
XTM
INT_MASK
1
TFOM
INT_MASK
1
TDTFM
INT_MASK
1
GPCNTM
INT_MASK
3
RIM
INT_MASK
3
OIM
INT_MASK
3
CWTM
INT_MASK
4
SDIM
PORT_DETECT
MC9328MX1 Reference Manual
Description
2
Transmit Complete
2
Early Transmit Complete
2
Transmit FIFO Empty
2
Transmit Threshold Error
2
Transmit FIFO Overfill error
2
Transmit Data Threshold Flag
2
General Purpose Counter
comparator flag
2
Receive Data Register Full
(FIFO threshold level reached)
2
Overrun Error Flag
2
Character Wait Time Counter
Comparator Flag
4
SIM Detect Interrupt
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents