4.4. Interrupts

There are 11 possible interrupt sources. Access to the Smart Card interrupts is made by the interrupt controller.

The latency of the RXREAD and TXTIDE interrupts are critical to the performance of the cards, and ultimately limit the data rates that can be supported. These two interrupts are accessed directly by the interrupt controller.

The other nine sources are OR’ed together and presented as a single interrupt source to the interrupt controller. The status of these nine sources is stored in the SMINTSTAT register.

A bit is set due to a positive transition on the corresponding raw interrupt source. Reading the SMINTSTAT register does not modify its contents. For SMINSTAT[8:0], the interrupt is cleared by writing a ‘1’ to the respective SMINTSTAT bit position. Writing a ‘0’ to any position has no effect. SMINSTAT[10:9] are dynamically modified by operations on the respective FIFOs.

Table 4.13. Interrupt sources

SMINTSTAT bitNameFunction
0CARDINSmart card inserted
1CARDOUTSmart card removed
2CARDUPSmart card is powered up (activated)
3CARDDNSmart card is powered down (deactivated)
4TXERRCharacter transmission error
5ATRSTOUTATR start timed out
6ATRDTOUTATR duration timed out
7BLKTOUTBetween block timed out
8CHTOUTBetween character timed out
9TXTIDETransmit FIFO tide mark reached
10RXREADRead from receive FIFO required
Copyright © 1997 ARM Limited. All rights reserved.DDI 0095A
Non-Confidential