
NOTE
Setting any other value for CRC_IN_FLIP, CRC_OUT_FLIP
and INV_CRC_VAL will cause CRC value to be formatted
accordingly; however the CRC will not be compliant to the
standard CRC used in Smart Cards.
The CRC value can be reset/initialized in multiple ways. Clearing the CRC_EN bit in the
CTRL register will reset the CRC value. At the end of a transmission (either after the
CRC characters are transmitted, or after the last character in the transmit FIFO is sent
when XMT_CRC_LRC is clear), the CRC value is automatically reset by the EMV SIM
hardware. Finally, when setting the XMT_EN bit, the EMV SIM hardware resets the
CRC value.
Summary of configuration needed to use CRC block:
• Use CRC_IN_FLIP, CRC_OUT_FLIP and INV_CRC_VAL bits in CTRL register to
select the desired CRC method (CCITT or normal)
• Use the CRC_EN bit in CTRL register to enable the CRC block
• Use the XMT_CRC_LRC bit to enable the transmission of the CRC Characters after
the last character in the Transmit FIFO is sent.
21.6.6 Message Handling
The EMV SIM module has FIFOs on both transmit and receive side for handling all
message bytes.
21.6.6.1 Transmit FIFO
A 4-byte deep FIFO is implemented in the transmitter. The transmit FIFO can be written
into by the software but reads to this FIFO will return zeros. To take care of clock
synchronization, each write access will have wait states inserted by the module but this is
transparent to the software. The Tx FIFO can be written to while the transmitter is
enabled, however, the transmitter does not start transmitting while the FIFO is empty. A
write to the Tx FIFO will initiate the transmit operation. Software can store more bytes
into the Tx FIFO until the programmed threshold is reached. Software can enable DMA
operation by setting TX_DMA_EN = 1 in the CTRL register. On setting this bit, a DMA
request will be asserted and remain asserted till the number of bytes in FIFO reached the
programmed threshold value (TDT[3:0] in the TX_THD register).
Chapter 21 Smart Card Interface Module (EMV SIM)
K32 L2A Reference Manual, Rev. 2, 01/2020
NXP Semiconductors
523
Содержание 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...