25-18
MC9328MX1 Reference Manual
MOTOROLA
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).
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.
Table 25-5. SIM Interrupts
Flag
Flag Register
Mask
Mask Register
Description
TC
XMT_STATUS
1
1.
See Section 25.6.5, “Transmit Status Register,” for more information.
TCIM
INT_MASK
2
2.
See Section 25.6.6, “Receive Status Register,” for more information.
Transmit Complete
ETC
XMT_STATUS
1
ETCIM
INT_MASK
2
Early Transmit Complete
TFE
XMT_STATUS
1
TFEIM
INT_MASK
2
Transmit FIFO Empty
XTE
XMT_STATUS
1
XTM
INT_MASK
2
Transmit Threshold Error
TFO
XMT_STATUS
1
TFOM
INT_MASK
2
Transmit FIFO Overfill error
TDTF
XMT_STATUS
1
TDTFM
INT_MASK
2
Transmit Data Threshold Flag
GPCNT
XMT_STATUS
1
GPCNTM
INT_MASK
2
General Purpose Counter
comparator flag
RDRF
RCV_STATUS
3
3.
See Section 25.6.10, “Port Detect Register,” for more information.
RIM
INT_MASK
2
Receive Data Register Full
(FIFO threshold level reached)
OEF
RCV_STATUS
3
OIM
INT_MASK
2
Overrun Error Flag
CWT
RCV_STATUS
3
CWTM
INT_MASK
2
Character Wait Time Counter
Comparator Flag
SDI
PORT_DETECT
4
4.
See Section 25.6.7, “Interrupt Mask Register,” for more information.
SDIM
PORT_DETECT
4
SIM Detect Interrupt
Summary of Contents for DragonBall MC9328MX1
Page 68: ...1 12 MC9328MX1 Reference Manual MOTOROLA Introduction ...
Page 86: ...2 18 MC9328MX1 Reference Manual MOTOROLA Signal Descriptions and Pin Assignments ...
Page 116: ...3 30 MC9328MX1 Reference Manual MOTOROLA Memory Map ...
Page 126: ...4 10 MC9328MX1 Reference Manual MOTOROLA ARM920T Processor ...
Page 160: ...8 8 MC9328MX1 Reference Manual MOTOROLA System Control ...
Page 272: ...13 32 MC9328MX1 Reference Manual MOTOROLA DMA Controller ...
Page 281: ...Programming Model MOTOROLA Watchdog Timer Module 14 9 ...
Page 282: ...14 10 MC9328MX1 Reference Manual MOTOROLA Watchdog Timer Module ...
Page 300: ...15 18 MC9328MX1 Reference Manual MOTOROLA Analog Signal Processor ASP ...
Page 438: ...18 16 MC9328MX1 Reference Manual MOTOROLA Serial Peripheral Interface Modules SPI 1 and SPI 2 ...
Page 478: ...19 40 MC9328MX1 Reference Manual MOTOROLA LCD Controller ...
Page 574: ...21 32 MC9328MX1 Reference Manual MOTOROLA Memory Stick Host Controller MSHC Module ...
Page 598: ...23 16 MC9328MX1 Reference Manual MOTOROLA Real Time Clock RTC ...
Page 670: ...24 72 MC9328MX1 Reference Manual MOTOROLA SDRAM Memory Controller ...
Page 726: ...25 56 MC9328MX1 Reference Manual MOTOROLA SmartCard Interface Module SIM ...
Page 736: ...26 10 MC9328MX1 Reference Manual MOTOROLA General Purpose Timers ...
Page 854: ...29 18 MC9328MX1 Reference Manual MOTOROLA I2C Module ...
Page 900: ...30 46 MC9328MX1 Reference Manual MOTOROLA Synchronous Serial Interface SSI ...
Page 942: ...32 26 MC9328MX1 Reference Manual MOTOROLA GPIO Module and I O Multiplexer IOMUX ...