
• 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
Содержание K32 L2A Series
Страница 2: ...K32 L2A Reference Manual Rev 2 01 2020 2 NXP Semiconductors...
Страница 42: ...K32 L2A Reference Manual Rev 2 01 2020 42 NXP Semiconductors...
Страница 122: ...Flash Memory Clock K32 L2A Reference Manual Rev 2 01 2020 122 NXP Semiconductors...
Страница 146: ...Module operation in low power modes K32 L2A Reference Manual Rev 2 01 2020 146 NXP Semiconductors...
Страница 158: ...Debug and security K32 L2A Reference Manual Rev 2 01 2020 158 NXP Semiconductors...
Страница 174: ...Module Signal Description Tables K32 L2A Reference Manual Rev 2 01 2020 174 NXP Semiconductors...
Страница 246: ...Application information K32 L2A Reference Manual Rev 2 01 2020 246 NXP Semiconductors...
Страница 322: ...Kinetis Bootloader Status Error Codes K32 L2A Reference Manual Rev 2 01 2020 322 NXP Semiconductors...
Страница 344: ...Application initialization information K32 L2A Reference Manual Rev 2 01 2020 344 NXP Semiconductors...
Страница 374: ...CMP Trigger Mode K32 L2A Reference Manual Rev 2 01 2020 374 NXP Semiconductors...
Страница 384: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 384 NXP Semiconductors...
Страница 592: ...Application Information K32 L2A Reference Manual Rev 2 01 2020 592 NXP Semiconductors...
Страница 602: ...Initialization and application information K32 L2A Reference Manual Rev 2 01 2020 602 NXP Semiconductors...
Страница 656: ...Functional Description K32 L2A Reference Manual Rev 2 01 2020 656 NXP Semiconductors...
Страница 664: ...Functional Description K32 L2A Reference Manual Rev 2 01 2020 664 NXP Semiconductors...
Страница 744: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 744 NXP Semiconductors...
Страница 762: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 762 NXP Semiconductors...
Страница 806: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 806 NXP Semiconductors...
Страница 868: ...Integer square root K32 L2A Reference Manual Rev 2 01 2020 868 NXP Semiconductors...
Страница 976: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 976 NXP Semiconductors...
Страница 1012: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1012 NXP Semiconductors...
Страница 1094: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1094 NXP Semiconductors...
Страница 1132: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1132 NXP Semiconductors...
Страница 1182: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1182 NXP Semiconductors...
Страница 1290: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1290 NXP Semiconductors...
Страница 1344: ...USB Voltage Regulator Module Signal Descriptions K32 L2A Reference Manual Rev 2 01 2020 1344 NXP Semiconductors...
Страница 1356: ...Initialization Application Information K32 L2A Reference Manual Rev 2 01 2020 1356 NXP Semiconductors...