
• Release Smart Card reset using the SRST bit in PCSR register to bring the Smart
Card out of reset
• Program the power down functionality i.e. if Auto Power Down of Smart Card is
required or not
• Select the Data Format type for the EMV SIM
• Either set the IC bit to the desired data format (inverse or direct) OR
• Set the ICM bit to allow automatic detection of Initial Character. IC bit will be
updated to desired data format upon valid Initial Character detection
• Configure if the EMV SIM module is enabled to run in STOP and DOZE modes by
setting the STOP_EN and DOZE_EN bits as desired
• Enable DMA request generation for Transmitter or Receiver as desired
Once the above configuration is complete, the receiver or transmitter can be configured
depending on the operation to be carried out on the Smart Card.
NOTE
XMT_EN and RCV_EN bits should not be changed in the same
write cycle. Software should attempt separate write accesses to
CTRL register for updating these bits, one by one. For example,
if XMT_EN = 1 and RCV_EN = 0 and in order to enable the
receiver, first write to CTRL register should make XMT_EN =
0 and second write to CTRL register should make RCV_EN =
1.
21.6.1.2 Configuring Receiver
The following is a list of configurations that need to be performed (after the "Configuring
EMV SIM" step) in order to configure the EMV SIM receiver for operation:
• Enable NACK generation capability
• To generate NACK on parity errors and invalid initial characters, set the
ANACK bit in CTRL register
• To generate NACK on receiver FIFO overflow error, set the ONACK bit in
CTRL register
• Configure the desired threshold for NACK generation and data threshold in the
RX_THD register. These are the thresholds at which the RTE and RDTF flags will
be set, respectively.
• If auto power down is desired on RTE flag assertion, then write to SAPD bit
PCSR to initiate the Smart Card power down
• Configure the timeout values for Character Wait Time Counter, the Block Wait
Timer Counter and the Block Guard Time Counter
• Enable necessary interrupts by clearing respective bits in the INT_MASK register
Chapter 21 Smart Card Interface Module (EMV SIM)
K32 L2A Reference Manual, Rev. 2, 01/2020
NXP Semiconductors
511
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...