ST CR14 User Manual

March 2010 Doc ID 11922 Rev 2 1/47
1
CR14
ISO14443 type-B contactless coupler chip
with anti-collision and CRC management
Features
Single 5 V ±500 mV supply voltage
SO16N package
ISO14443 type-B protocol
13.56MHz carrier frequency using an
external oscillator
106 Kbit/s data rate
36-byte input/output frame register
Supports frame answer with/without
SOF/EOF
CRC generation and check
Automated ST anti-collision exchange
I²C communication
Two-wire I²C serial interface
Supports 400 kHz protocol
3 chip enable pins
Up to 8 CR14 connected on the same bus
SO16 (MQ)
150 mils width
16
1
www.st.com
Contents CR14
2/47 Doc ID 11922 Rev 2
Contents
1 Summary description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2 Signal description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.1 Oscillator (OSC1, OSC2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.2 Antenna output driver (RF
OUT
) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.3 Antenna input filter (RF
IN
) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.4 Transmitter reference voltage (V
REF
) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.5 Serial clock (SCL) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.6 Serial data (SDA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.7 Chip enable (E0, E1, E2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.8 Power supply (V
CC
, GND, GND_RF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3 CR14 registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.1 Parameter register (00h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.2 Input/Output Frame Register (01h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.3 Slot marker register (03h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4 CR14 I²C protocol description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.1 I²C start condition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.2 I²C stop condition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.3 I²C acknowledge bit (ACK) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.4 I²C data input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.5 I²C memory addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.6 CR14 I²C write operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.7 CR14 I²C read operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
5 Applying the I²C protocol to the CR14 registers . . . . . . . . . . . . . . . . . 22
5.1 I²C parameter register protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
5.2 I²C input/output frame register protocol . . . . . . . . . . . . . . . . . . . . . . . . . . 23
5.3 I²C slot marker register protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
5.4 Addresses above location 06h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
CR14 Contents
Doc ID 11922 Rev 2 3/47
6 CR14 ISO14443 type-B radio frequency data transfer . . . . . . . . . . . . . 26
6.1 Output RF data transfer from the CR14 to the PICC (request frame) . . . 26
6.2 Transmission format of request frame characters . . . . . . . . . . . . . . . . . . 26
6.3 Request start of frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
6.4 Request end of frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
6.5 Input RF data transfer from the PICC to the CR14 (answer frame) . . . . . 28
6.6 Transmission format of answer frame characters . . . . . . . . . . . . . . . . . . . 28
6.7 Answer start of frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
6.8 Answer end of frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
6.9 Transmission frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
6.10 CRC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
7 Tag access using the CR14 coupler . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
7.1 Standard TAG command access description . . . . . . . . . . . . . . . . . . . . . . 31
7.2 Anti-collision TAG sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
8 Maximum rating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
9 DC and AC parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
10 Package mechanical . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
11 Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Appendix A ISO14443 type B CRC calculation . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
List of tables CR14
4/47 Doc ID 11922 Rev 2
List of tables
Table 1. Signal names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Table 2. CR14 control registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Table 3. Parameter register bits description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Table 4. Input/output frame register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Table 5. Slot marker register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Table 6. Device select code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Table 7. CR14 request frame character format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Table 8. Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Table 9. I²C AC measurement conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Table 10. I²C Input Parameters(1,2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Table 11. I²C DC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Table 12. I²C AC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Table 13. RF
OUT
AC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Table 14. RF
IN
AC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Table 15. SO16 narrow - 16 lead plastic small outline, 150 mils body width,
package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Table 16. Ordering information scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Table 17. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
CR14 List of figures
Doc ID 11922 Rev 2 5/47
List of figures
Figure 1. Logic diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Figure 2. Logic block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Figure 3. SO pin connections. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Figure 4. CR14 application schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Figure 5. Maximum R
L
value versus bus capacitance (C
BUS
) for an I
²
C bus . . . . . . . . . . . . . . . . . . 11
Figure 6. I²C bus protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Figure 7. CR14 I²C write mode sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Figure 8. I²C polling flowchart using ACK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Figure 9. CR14 I²C read modes sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Figure 10. Host-to-CR14 transfer: I²C write to parameter register . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Figure 11. CR14-to-host transfer: I²C random address read from parameter register . . . . . . . . . . . . 22
Figure 12. CR14-to-host transfer: I²C current address read from parameter register . . . . . . . . . . . . . 22
Figure 13. Host-to-CR14 transfer: I²C write to I/O frame register for ISO14443B . . . . . . . . . . . . . . . . 23
Figure 14. CR14-to-host transfer: I²C random address read from I/O frame register for ISO14443B 23
Figure 15. CR14-to-host transfer: I²C current address read from I/O frame register for ISO14443B . 24
Figure 16. Host-to-CR14 transfer: I²C write to slot marker register . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Figure 17. CR14-to-host transfer: I²C random address read from slot marker register . . . . . . . . . . . 24
Figure 18. CR14-to-host transfer: I²C current address read from slot marker register . . . . . . . . . . . . 25
Figure 19. Wave transmitted using ASK modulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Figure 20. CR14 request frame character format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Figure 21. Request start of frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Figure 22. Request end of frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Figure 23. Wave received using BPSK sub-carrier modulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Figure 24. Answer start of frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Figure 25. Answer end of frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Figure 26. Example of a complete transmission frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Figure 27. CRC transmission rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Figure 28. Standard TAG command: request frame transmission. . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Figure 29. Standard TAG command: answer frame reception . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Figure 30. Standard TAG command: complete TAG access description. . . . . . . . . . . . . . . . . . . . . . . 32
Figure 31. Anti-collision ST short range memory sequence (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Figure 32. Anti-collision ST short range memory sequence continued . . . . . . . . . . . . . . . . . . . . . . . . 34
Figure 33. I²C AC testing I/O waveform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Figure 34. I²C AC waveforms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Figure 35. CR14 synchronous timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Figure 36. SO16 narrow - 16 lead plastic small outline, 150 mils body width, Package outline . . . . . 42
Summary description CR14
6/47 Doc ID 11922 Rev 2

1 Summary description

The CR14 is a contactless coupler that is compliant with the short range ISO14443 type-B
standard. It is controlled using the two wire I²C bus.
The CR14 generates a 13.56 MHz signal on an external antenna. Transmitted data are
modulated using Amplitude Shift Keying (ASK). Received data are demodulated from the
PICC (Proximity integrated Coupling Card) load variation signal, induced on the antenna,
using Bit Phase Shift Keying (BPSK) of a 847kHz sub-carrier. The Transmitted ASK wave is
10% modulated. The Data transfer rate between the CR14 and the PICC is 106 Kbit/s in
both transmission and reception modes.
The CR14 follows the ISO14443 type-B recommendation for Radio frequency power and
signal interface.
The CR14 is specifically designed for short range applications that need disposable and
reusable products.
The CR14 includes an automated anti-collision mechanism that allows it to detect and
select any ST short range memories that are present at the same time within its range. The
anti-collision mechanism is based on the STMicroelectronics probabilistic scanning method.
The CR14 provides a complete analog interface, compliant with the ISO14443 type-B
recommendations for Radio-Frequency power and signal interfacing. With it, any ISO14443
type-B PICC products can be powered and have their data transmission controlled via a
simple antenna.
The CR14 is fabricated in STMicroelectronics High Endurance Single Poly-silicon CMOS
technology.
The CR14 is organized as 4 different blocks (see Figure 2):
The I²C bus controller. It handles the serial connection with the application host. It is
compliant with the 400kHz I²C bus specification, and controls the read/write access to
all the CR14 registers.
The RAM buffer. It is bi-directional. . It stores all the request frame Bytes to be
transmitted to the PICC, and all the received Bytes sent by the PICC on the answer
frame.
The transmitter. It powers the PICCs by generating a 13.56MHz signal on an external
antenna. The resulting field is 10% modulated using ASK (amplitude shift keying) for
outgoing data.
The receiver. It demodulates the signal generated on the antenna by the load variation
of the PICC. The resulting signal is decoded by a 847kHz BPSK (binary phase shift
keying) sub-carrier decoder.
The CR14 is designed to be connected to a digital host (Microcontroller or ASIC). This host
has to manage the entire communication protocol in both transmit and receive modes,
through the I²C serial bus.
CR14 Summary description
Doc ID 11922 Rev 2 7/47

Figure 1. Logic diagram

Table 1. Signal names

Signal Description
RF
OUT
Antenna Output Driver
RF
IN
Antenna Input Filter
OSC1 Oscillator Input
OSC2 Oscillator Output
E0, E1, E2 Chip Enable Inputs
SDA I²C Bi-Directional Data
SCL I²C Clock
V
CC
Power Supply
GND Ground
V
REF
Transmitter Reference Voltage
GND_RF Ground for RF circuitry
ai12059
RF
OUT
CR14
RF
IN
OSC1
SCL
SDA
E0
E1
E2
GND GND_RF
V
CC
V
REF
Antenna
OSC2
Summary description CR14
8/47 Doc ID 11922 Rev 2

Figure 2. Logic block diagram

Figure 3. SO pin connections

AI12060
RF
OUT
CR14
RF
IN
OSC1
SCL
SDA
E0
E1
E2
GND
GND_RF
V
CC
V
REF
Antenna
TransmitterReceiver
I²C Bus Controller
RAM Buffer
OSC2
1
AI10911
2
3
4
16
15
14
13
GND
E1
OSC2
OSC1
RF
IN
V
REF
GND_RFE0
SO16
5
6
7
8
12
11
10
9
SDAGND
SCL
GND_RF
E2
GND
RF
OUT
V
CC
CR14 Signal description
Doc ID 11922 Rev 2 9/47

2 Signal description

See Figure 1: Logic diagram, and Table 1: Signal names, for an overview of the signals
connected to this device.

2.1 Oscillator (OSC1, OSC2)

The OSC1 and OSC2 pins are internally connected to the on-chip oscillator circuit. The
OSC1 pin is the input pin, the OSC2 is the output pin. For correct operation of the CR14, it is
required to connect a 13.56MHz quartz crystal across OSC1 and OSC2. If an external clock
is used, it must be connected to OSC1 and OSC2 must be left open.
2.2 Antenna output driver (RF
OUT
)
The Antenna Output Driver pin, RF
OUT
, generates the modulated 13.56MHz signal on the
antenna. Care must be taken as it will not withstand a short-circuit.
RF
OUT
has to be connected to the antenna circuitry as shown in Figure 4: CR14 application
schematic The LRC antenna circuitry must be connected across the RF
OUT
pin and GND.
2.3 Antenna input filter (RF
IN
)
The antenna input filter of the CR14, RF
IN
, has to be connected to the external antenna
through an adapter circuit, as shown in Figure 4.
The input filter demodulates the signal generated on the antenna by the load variation of the
PICC. The resulting signal is then decoded by the 847kHz BPSK decoder.
2.4 Transmitter reference voltage (V
REF
)
The Transmitter Reference Voltage input, V
REF
, provides a reference voltage used by the
output driver for ASK modulation.
The Transmitter Reference Voltage input should be connected to an external capacitor, as
shown in Figure 4.

2.5 Serial clock (SCL)

The SCL input pin is used to strobe all I²C data in and out of the CR14. In applications
where this line is used by slave devices to synchronize the bus to a slower clock, the master
must have an open drain output, and a pull-up resistor must be connected from the Serial
Clock (SCL) to V
CC
. (Figure 5 indicates how the value of the pull-up resistor can be
calculated).
In most applications, though, this method of synchronization is not employed, and so the
pull-up resistor is not necessary, provided that the master has a push-pull (rather than open
drain) output.
Signal description CR14
10/47 Doc ID 11922 Rev 2

2.6 Serial data (SDA)

The SDA signal is bi-directional. It is used to transfer I²C data in and out of the CR14. It is an
open drain output that may be wire-OR’ed with other open drain or open collector signals on
the bus. A pull-up resistor must be connected from Serial data (SDA) to V
CC
. (Figure 5
indicates how the value of the pull-up resistor can be calculated).

2.7 Chip enable (E0, E1, E2)

The Chip Enable inputs E0, E1, E2 are used to set and reset the value on the three least
significant bits (b3, b2, b1) of the 7-bit I²C Device Select Code. They are used for hardwired
addressing, allowing up to eight CR14 devices to be addressed on the same I²C bus. These
inputs may be driven dynamically or tied to V
CC
or GND to establish the Device Select Code
(note that the V
IL
and V
IH
levels for the inputs are CMOS compatible, not TTL compatible).
When left open, E0, E1 and E2 are internally read at the logic level 0 due to the internal pull-
down resistors connected to each inputs.
2.8 Power supply (V
CC
, GND, GND_RF)
Power is supplied to the CR14 using the V
CC
, GND and GND_RF pins.
V
CC
is the Power Supply pin that supplies the power (+5V) for all CR14 operations.
The GND and GND_RF pins are ground connections. They must be connected together.
Decoupling capacitors should be connected between the V
CC
Supply Voltage pin, the GND
Ground pin and the GND_REF Ground pin to filter the power line, as shown in Figure 4.

Figure 4. CR14 application schematic

V
REF
1
RF
IN
2
E0
3
E1
4
E2
5
GND_RF
6
GND
7
GND
8
SDA
9
SCL
10
GND
11
OSC2
12
OSC1
13
GND_RF
14
RF
OUT
15
V
CC
16
U1
CR14
X1
13.56MHz
C1
7pF50V
C2
7pF50V
C3
22nF50V
C8
100pF50V
C8'
8pF50V
C7
120pF50V
C7'
33pF50V
V
CC
V
CC
C6
100nF50V
+
C4
22uF 10V
FL4
0R
FL5
0R
FL6
0R
FL7
WURTH 742-792-042
R7
0R
R8
0R
R1
OPT
ANT1
ANT2
E0
E1
E2
SCL
SDA
1
2
3
4
J1
R2
0R
R3
OPT
R4
0R
R5
OPT
R6
0R
V
CC
D1
1N4148 (OPTIONAL)
C5
10pF50V
AI12061
CR14 Signal description
Doc ID 11922 Rev 2 11/47
Figure 5. Maximum R
L
value versus bus capacitance (C
BUS
) for an I
²
C bus
AI01665
V
CC
C
BUS
SDA
R
L
MASTER
R
L
SCL
C
BUS
100
0
4
8
12
16
20
C
BUS
(pF)
Maximum RP value (kΩ)
10
1000
fc = 400kHz
fc = 100kHz
CR14 registers CR14
12/47 Doc ID 11922 Rev 2

3 CR14 registers

The CR14 chip coupler contains six volatile registers. It is entirely controlled, at both digital
and analog level, using the three registers listed below and shown in Ta bl e 2 :
Parameter Register
Input/Output Frame Register
Slot Marker Register
The other 3 registers are located at addresses 02h, 04h and 05h. They are “ST Reserved”,
and must not be used in end-user applications.
In the I²C protocol, all data Bytes are transmitted Most Significant Byte first, with each Byte
transmitted Most significant bit first.

3.1 Parameter register (00h)

The Parameter Register is an 8-bit volatile register used to configure the CR14, and thus, to
customize the circuit behavior. The Parameter Register is located at the I²C address 00h
and it is accessible in I²C Read and Write modes. Its default value, 00h, puts the CR14 in
standard ISO14443 type-B configuration.

Table 2. CR14 control registers

Address Length Access Purpose
00h Parameter Register 1 Byte
W Set parameter register
R Read parameter register
01h Input/output Frame Register 36 Bytes
W
Store and send request frame to the PICC.
Wait for PICC answer frame
R Transfer PICC answered frame data to Host
02h ST Reserved NA
W
ST Reserved, must not be used.
R
03h Slot Marker Register 1 Byte
W
Launch the automated anti-collision process
from Slot_0 to Slot_15
R Return data FFh
04h ST Reserved NA R and W ST Reserved. Must not be used
05h ST Reserved NA R and W ST Reserved. Must not be used
Table 3. Parameter register bits description
Bit Control Value Description
b
0
Frame Standard
0 ISO14443 type-B frame management
1
RFU
(1)
b
1
RFU 0 Not used
CR14 CR14 registers
Doc ID 11922 Rev 2 13/47

3.2 Input/Output Frame Register (01h)

The Input/Output Frame Register is a 36-Byte buffer that is accessed serially from Byte 0
through to Byte 35 (see Ta b l e 4 ). It is located at the I²C address 01h.
The Input/Output Frame Register is the buffer in which the CR14 stores the data Bytes of
the request frame to be sent to the PICC. It automatically stores the data Bytes of the
answer frame received from the PICC. The first Byte (Byte 0) of the Input/Output Frame
Register is used to store the frame length for both transmission and reception.
When accessed in I²C Write mode , the register stores the request frame Bytes that are to
be transmitted to the PICC. Byte 0 must be set with the request frame length (in Bytes) and
the frame is stored from Byte 1 onwards. At the end of the transmission, the 16-bit CRC is
automatically added. After the transmission, the CR14 wait for the PICC to send back an
answer frame. When correctly decoded, the PICC answer frame Bytes are stored in the
Input/Output Frame Register from Byte 1 onwards. Byte 0 stores the number of Bytes
received from the PICC.
When accessed in I²C Read mode, the Input/Output Register sends back the last PICC
answer frame Bytes, if any, with Byte 0 transmitted first. The 16-bit CRC is not stored, and it
is not sent back on the I²C bus.
The Input/Output Frame Register is set to all 00h between transmission and reception. If
there is no answer from the PICC, Byte 0 is set to 00h. In the case of a CRC error, Byte 0 is
set to FFh, and the data Bytes are discarded and not appended in the register.
The CR14 Input/Output Frame Register is so designed as to generate all the ST short range
memory command frames. It can also generate all standardized ISO14443 type-B
command frames like REQB, SLOT-MARKER, ATTRIB, HALT, and get all the answers like
ATQB, or answer to ATTRIB. All ISO14443 type-B compliant PICCs can be accessed by the
CR14 provided that their data frame exchange is not longer than 35 Bytes in both request
and answer.
b
2
Answer Frame Format
0 Answer PICC Frames are delimited by SOF and EOF
1
Answer PICC Frames do not provide SOF and EOF
delimiters
b
3
ASK Modulation Depth
0 10% ASK modulation depth mode
1RFU
b
4
Carrier Frequency
0 13.56MHz carrier on RF OUT is OFF
1 13.56MHz carrier on RF OUT is ON
b
5
t
WDG
Answer delay watchdog
b5=0, b6=0: Watchdog time-out = 500µs to be used for read
b5=0, b6=1: Watchdog time-out = 5ms to be used for read
b5=1, b6=0: Watchdog time-out = 10ms to be used for write
b5=1, b6=1: Watchdog time-out = 309ms to be used for MCU timings
b
6
b
7
RFU 0 Not used
1. RFU = Reserved for Future Use.
Table 3. Parameter register bits description (continued)
Bit Control Value Description
CR14 registers CR14
14/47 Doc ID 11922 Rev 2

3.3 Slot marker register (03h)

The slot Marker Register is located at the I²C address 03h. It is used to trigger an automated
anti-collision sequence between the CR14 and any ST short range memory present in the
electromagnetic field. With one I²C access, the CR14 launches a complete stream of
commands starting from PCALL16(), SLOT_MARKER(1), SLOT_MARKER(2) up to
SLOT_MARKER(15), and stores all the identified Chip_IDs into the Input/Output Frame
Register (I²C address 01h).
This automated anti-collision sequence simplifies the host software development and
reduces the time needed to interrogate the 16 slots of the STMicroelectronics anti-collision
mechanism.
When accessed in I²C Write mode, the Slot Marker Register starts generating the sequence
of anti-collision commands. After each command, the CR14 wait for the ST short range
memory answer frame which contains the Chip_ID. The validity of the answer is checked
and stored into the corresponding Status Slot Bit (Byte 1 and Byte 2 as described in
Ta bl e 5 ). If the answer is correct, the Status Slot Bit is set to ‘1’ and the Chip_ID is stored
into the corresponding Slot_Register. If no answer is detected, the Status Slot Bit is set to
‘0’, and the corresponding Slot_Register is set to 00h. If a CRC error is detected, the Status
Slot Bit is set to ‘0’, and the corresponding Slot_Register is set to FFh.
Each time the Slot Marker Register is accessed in I²C Write mode, Byte 0 of the
Input/Output Frame Register is set to 18, Bytes 1 and 2 provide Status Bits Slot information,
and Bytes 3 to 18 store the corresponding Chip_ID or error code.
The Slot Marker Register cannot be accessed in I²C Read mode. All the anti-collision data
can be accessed by reading the Input/Output Frame Register at the I²C address 01h.

Table 4. Input/output frame register description

Byte 0 Byte 1 Byte 2 Byte 3 ... Byte 34 Byte 35
Frame Length First data Byte Second data Byte Last data Byte
<------------- Request and Answer Frame Bytes exchanged on the RF ------------->
00h No Byte transmitted
FFh CRC Error
xxh Number of transmitted Bytes
Table 5. Slot marker register description
b
7
b
6
b
5
b
4
b
3
b
2
b
1
b
0
Byte 0 Number of stored Bytes: fixed to 18
Byte 1
Status Slot
Bit 7
Status Slot
Bit 6
Status Slot
Bit 5
Status Slot
Bit 4
Status Slot
Bit 3
Status Slot
Bit 2
Status Slot
Bit 1
Status Slot
Bit 0
Byte 2
Status Slot
Bit 15
Status Slot
Bit 14
Status Slot
Bit 13
Status Slot
Bit 12
Status Slot
Bit 11
Status Slot
Bit 10
Status Slot
Bit 9
Status Slot
Bit 8
Byte 3 Slot_Register 0 = Chip_ID value detected in Slot 0
Byte 4 Slot_Register 1 = Chip_ID value detected in Slot 1
Byte 5 Slot_Register 2 = Chip_ID value detected in Slot 2
CR14 CR14 registers
Doc ID 11922 Rev 2 15/47
Byte 6 Slot_Register 3 = Chip_ID value detected in Slot 3
Byte n .....
Byte 17 Slot_Register 14 = Chip_ID value detected in Slot 14
Byte 18 Slot_Register 15 = Chip_ID value detected in Slot 15
Status bit value description:
1: No error detected. The Chip_ID stored in the Slot register is valid.
0: Error detected
Slot register = 00h: No answer frame detected from ST short range memory
Slot register = FFh: Answer Frame detected with CRC error. Collision may have occurred
Table 5. Slot marker register description (continued)
b
7
b
6
b
5
b
4
b
3
b
2
b
1
b
0
Loading...
+ 32 hidden pages