
• ‘RCV_EN = 1’ or XMT_EN = 1 in the CTRL register
• ‘GPCNT0/1_CLKSET[1:0] = 10’ in the CLKCFG register
The counter will begin to count at the receive clock rate as soon as these conditions are
met.
To run the counters from the ETU (transmit) clock source the following conditions must
be met:
• ‘KILL_CLOCKS = 0’ in the CTRL register.
• ‘RCV_EN = 1’ or XMT_EN = 1 in the CTRL register
• ‘GPCNT0/1_CLKSET[1:0] = 11’ in the CLKCFG register
The counters will begin to count at the ETU clock rate as soon as these conditions are
met.
The counters can be reset by setting GPCNT0/1_CLKSEL[1:0] to 00. A 16-bit
comparator value (GPCNT0/1_VAL register) is provided that allows the software to
select a count value at which the interrupt flags (GPCNT0/1_TO bit in TX_STATUS
register) can be set and an interrupt generated if the mask (GPCNT0/1_IM bits in
INT_MASK register) are clear.
The following sequence should be followed to configure both general purpose timers:
• Program counter comparator using the GPCNT0/1_VAL register
• Enable the conditions described above using the CTRL register
• Select desired clock source for the General Purpose Counter using the CLKCFG
register
• Enable interrupts in the INT_MASK register
21.6.8 Answer To Reset (ATR) Detection
The first communication that occurs between the Smart Card and the EMV SIM module
will be a block of data sent from the Smart Card to the EMV SIM module after the card is
powered up and the card reset is removed (As described in Smart Card Interface and
Control Section). This block is called the Answer To Reset (ATR). To receive the ATR,
the EMV SIM module should be configured for 12 ETU character reception. According
to the ISO 7816-3 spec, both “T=0” and “T=1” cards will communicate initially using 12
ETU character durations.
The following steps provide a suggested approach to configure the EMV SIM module to
receive the ATR.
• Clear RCVR11 bit in the CTRL register
Functional Description
K32 L2A Reference Manual, Rev. 2, 01/2020
528
NXP Semiconductors
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...