
The EMV SIM module controls the all the interface signals for the Smart Card. The
Smart Card clock is generated using the prescaler (PRSC register) and the ETU periods
are generated using the baud rate divisor (DIVISOR register). The Smart Card Reset and
Voltage Enable are controlled by software through the PCSR register. The message bytes
are transmitted and received on the Card IO device pin which is used in open drain
configuration.
21.6.2.1 Smart Card Presence Detect
The Smart Card Presence Detect pin (SIMPD) allows for detection of the insertion or
removal of a Smart Card. The SPDES bit in the PCSR register allows the software to
configure which edge of the SIMPD pin will cause a presence detect interrupt flag to be
asserted.
An internal pull-down is required on SIMPD pin to allow a high to low transition on this
pin when the Smart Card is removed.
21.6.2.2 Powering Up
The first step to communicating with a Smart Card is to provide power and a clock signal
to the card. Once the card is detected as present (using the presence detect features, or
some other method), the Smart Card should be powered up according to the power up
sequence specified in the ISO 7816-3 specification.
1. Apply voltage to the Smart Card by setting the VCC_EN bit in the PCSR register.
2. Select the appropriate clock frequency for the Smart Card by programming the
CLKCFG and DIVISOR registers.
3. Enable the clock to the Smart Card by setting the SCEN bit in the PCSR register.
4. Remove the card from reset by setting the SRST bit in the PCSR register.
21.6.2.3 Automatic Power Down
Smart Cards require a proper sequence of operations to be followed to allow them to be
powered down. The power down sequence as per ISO 7816 specifications is:
• Smart Card Reset (RST) pin transitions from high to low
• Smart Card Clock (CLK) is turned off to low
• Smart Card IO (IO) is transitioned from high impedance to low
• Smart Card Voltage Enable (VCC_EN) to turned off (pin driven low)
Chapter 21 Smart Card Interface Module (EMV SIM)
K32 L2A Reference Manual, Rev. 2, 01/2020
NXP Semiconductors
513
Summary of Contents for K32 L2A Series
Page 2: ...K32 L2A Reference Manual Rev 2 01 2020 2 NXP Semiconductors...
Page 42: ...K32 L2A Reference Manual Rev 2 01 2020 42 NXP Semiconductors...
Page 122: ...Flash Memory Clock K32 L2A Reference Manual Rev 2 01 2020 122 NXP Semiconductors...
Page 158: ...Debug and security K32 L2A Reference Manual Rev 2 01 2020 158 NXP Semiconductors...
Page 174: ...Module Signal Description Tables K32 L2A Reference Manual Rev 2 01 2020 174 NXP Semiconductors...
Page 246: ...Application information K32 L2A Reference Manual Rev 2 01 2020 246 NXP Semiconductors...
Page 374: ...CMP Trigger Mode K32 L2A Reference Manual Rev 2 01 2020 374 NXP Semiconductors...
Page 384: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 384 NXP Semiconductors...
Page 592: ...Application Information K32 L2A Reference Manual Rev 2 01 2020 592 NXP Semiconductors...
Page 656: ...Functional Description K32 L2A Reference Manual Rev 2 01 2020 656 NXP Semiconductors...
Page 664: ...Functional Description K32 L2A Reference Manual Rev 2 01 2020 664 NXP Semiconductors...
Page 744: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 744 NXP Semiconductors...
Page 762: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 762 NXP Semiconductors...
Page 806: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 806 NXP Semiconductors...
Page 868: ...Integer square root K32 L2A Reference Manual Rev 2 01 2020 868 NXP Semiconductors...
Page 976: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 976 NXP Semiconductors...
Page 1012: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1012 NXP Semiconductors...
Page 1094: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1094 NXP Semiconductors...
Page 1132: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1132 NXP Semiconductors...
Page 1182: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1182 NXP Semiconductors...
Page 1290: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1290 NXP Semiconductors...