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
Содержание DragonBall MC9328MX1
Страница 68: ...1 12 MC9328MX1 Reference Manual MOTOROLA Introduction ...
Страница 86: ...2 18 MC9328MX1 Reference Manual MOTOROLA Signal Descriptions and Pin Assignments ...
Страница 116: ...3 30 MC9328MX1 Reference Manual MOTOROLA Memory Map ...
Страница 126: ...4 10 MC9328MX1 Reference Manual MOTOROLA ARM920T Processor ...
Страница 160: ...8 8 MC9328MX1 Reference Manual MOTOROLA System Control ...
Страница 272: ...13 32 MC9328MX1 Reference Manual MOTOROLA DMA Controller ...
Страница 281: ...Programming Model MOTOROLA Watchdog Timer Module 14 9 ...
Страница 282: ...14 10 MC9328MX1 Reference Manual MOTOROLA Watchdog Timer Module ...
Страница 300: ...15 18 MC9328MX1 Reference Manual MOTOROLA Analog Signal Processor ASP ...
Страница 438: ...18 16 MC9328MX1 Reference Manual MOTOROLA Serial Peripheral Interface Modules SPI 1 and SPI 2 ...
Страница 478: ...19 40 MC9328MX1 Reference Manual MOTOROLA LCD Controller ...
Страница 542: ...20 64 MC9328MX1 Reference Manual MOTOROLA Multimedia Card Secure Digital Host Controller Module MMC SD ...
Страница 574: ...21 32 MC9328MX1 Reference Manual MOTOROLA Memory Stick Host Controller MSHC Module ...
Страница 598: ...23 16 MC9328MX1 Reference Manual MOTOROLA Real Time Clock RTC ...
Страница 670: ...24 72 MC9328MX1 Reference Manual MOTOROLA SDRAM Memory Controller ...
Страница 726: ...25 56 MC9328MX1 Reference Manual MOTOROLA SmartCard Interface Module SIM ...
Страница 736: ...26 10 MC9328MX1 Reference Manual MOTOROLA General Purpose Timers ...
Страница 854: ...29 18 MC9328MX1 Reference Manual MOTOROLA I2C Module ...
Страница 900: ...30 46 MC9328MX1 Reference Manual MOTOROLA Synchronous Serial Interface SSI ...
Страница 942: ...32 26 MC9328MX1 Reference Manual MOTOROLA GPIO Module and I O Multiplexer IOMUX ...