SRI512
13.56 MHz short-range contactless memory chip
with 512-bit EEPROM and anticollision functions
Datasheet - production data
Features
• ISO 14443-2 Type B air interface compliant
• ISO 14443-3 Type B frame format compliant
)
s
t(
• 13.56 MHz carrier frequency
c
u
d
• 847 kHz subcarrier frequency
• 106 Kbit/second data transfer
• 8 bit Chip_ID based anticollision system
• 2 Count-down binary counters with automated
antitearing protection
• 64-bit Unique Identifier
o
s
b
• 512-bit EEPROM with write protect feature
• Read_block and Write_block (32 bits)
s
(
t
c
• 40-year data retention
• Self-timed programming cycle
– Bumped and sawn wafer
O
)
• Internal tuning capacitor
• 1million erase/write cycles
e
t
le
o
r
P
u
d
o
• 5 ms typical programming time
r
P
e
t
e
l
o
s
b
O
August 2015
This is information on a product in full production.
Doc ID13263 Rev 8
1/47
www.st.com
Contents
SRI512
Contents
1
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2
Signal description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.1
3
AC1, AC0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Data transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.1
3.2
4
)
s
t(
Input data transfer from the reader to the SRI512 (request frame) . . . . . . 9
3.1.1
Character transmission format for request frame . . . . . . . . . . . . . . . . . . 9
3.1.2
Request start of frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.1.3
Request end of frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
c
u
d
o
r
P
Output data transfer from the SRI512 to the reader (answer frame) . . . . .11
e
t
le
3.2.1
Character transmission format for answer frame . . . . . . . . . . . . . . . . . . 11
3.2.2
Answer start of frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.2.3
Answer end of frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
o
s
b
O
)
3.3
Transmission frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.4
CRC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
s
(
t
c
Memory mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.1
u
d
o
Resettable OTP area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
r
P
e
4.2
32-bit binary counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.3
EEPROM area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.4
System area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
t
e
l
o
bs
O
4.4.1
OTP_Lock_Reg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.4.2
Fixed Chip_ID (option) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
5
SRI512 operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
6
SRI512 states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
2/47
6.1
Power-off state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
6.2
Ready state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
6.3
Inventory state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
6.4
Selected state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
6.5
Deselected state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Doc ID13263 Rev 8
SRI512
Contents
6.6
7
Deactivated state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Anticollision . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
7.1
8
Description of an anticollision sequence . . . . . . . . . . . . . . . . . . . . . . . . . 26
SRI512 commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
8.1
Initiate() command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
8.2
Pcall16() command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
8.3
Slot_marker(SN) command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
8.4
Select(Chip_ID) command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
8.5
Completion() command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
8.6
Reset_to_inventory() command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
8.7
Read_block(Addr) command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
8.8
Write_block (Addr, Data) command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
8.9
Get_UID() command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
8.10
Power-on state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
)
s
t(
c
u
d
e
t
le
o
r
P
o
s
b
O
)
9
Maximum rating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
10
DC and AC parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
11
Part numbering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
s
(
t
c
u
d
o
r
P
e
Appendix A ISO 14443 Type B CRC calculation . . . . . . . . . . . . . . . . . . . . . . . . . 43
t
e
l
o
Appendix B SRI512 command brief . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
s
b
O
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Doc ID13263 Rev 8
3/47
3
List of tables
SRI512
List of tables
Table 1.
Table 2.
Table 3.
Table 4.
Table 5.
Table 6.
Table 7.
Table 8.
Table 9.
Table 10.
Table 11.
Signal names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Bit description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
SRI512 memory mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Standard anticollision sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Command code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
DC characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
AC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Ordering information scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
)
s
t(
c
u
d
e
t
le
o
s
b
O
)
s
(
t
c
u
d
o
r
P
e
t
e
l
o
s
b
O
4/47
Doc ID13263 Rev 8
o
r
P
SRI512
List of figures
List of figures
Figure 1.
Figure 2.
Figure 3.
Figure 4.
Figure 5.
Figure 6.
Figure 7.
Figure 8.
Figure 9.
Figure 10.
Figure 11.
Figure 12.
Figure 13.
Figure 14.
Figure 15.
Figure 16.
Figure 17.
Figure 18.
Figure 19.
Figure 20.
Figure 21.
Figure 22.
Figure 23.
Figure 24.
Figure 25.
Figure 26.
Figure 27.
Figure 28.
Figure 29.
Figure 30.
Figure 31.
Figure 32.
Figure 33.
Figure 34.
Figure 35.
Figure 36.
Figure 37.
Figure 38.
Figure 39.
Figure 40.
Figure 41.
Figure 42.
Figure 43.
Figure 44.
Figure 45.
Figure 46.
Figure 47.
Figure 48.
Logic diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Die floor plan. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
10% ASK modulation of the received wave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
SRI512 request frame character format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Request start of frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Request end of frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Wave transmitted using BPSK subcarrier modulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Answer start of frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Answer end of frame. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Example of a complete transmission frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
CRC transmission rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Resettable OTP area (addresses 0 to 4) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Write_block update in standard mode (binary format) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Write_block update in reload mode (binary format) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Binary counter (addresses 5 to 6). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Count down example (binary format) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
EEPROM (addresses 7 to 15) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
System area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
State transition diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
SRI512 Chip_ID description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Description of a possible anticollision sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Example of an anticollision sequence. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Initiate request format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Initiate response format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Initiate frame exchange between reader and SRI512 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Pcall16 request format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Pcall16 response format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Pcall16 frame exchange between reader and SRI512 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Slot_marker request format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Slot_marker response format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Slot_marker frame exchange between reader and SRI512 . . . . . . . . . . . . . . . . . . . . . . . . 31
Select request format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Select response format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Select frame exchange between reader and SRI512 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Completion request format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Completion response format. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Completion frame exchange between reader and SRI512 . . . . . . . . . . . . . . . . . . . . . . . . . 33
Reset_to_inventory request format. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Reset_to_inventory response format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Reset_to_inventory frame exchange between reader and SRI512 . . . . . . . . . . . . . . . . . . 34
Read_block request format. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Read_block response format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Read_block frame exchange between reader and SRI512 . . . . . . . . . . . . . . . . . . . . . . . . 35
Write_block request format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Write_block response format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Write_block frame exchange between reader and SRI512 . . . . . . . . . . . . . . . . . . . . . . . . 37
Get_UID request format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Get_UID response format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
)
s
t(
c
u
d
e
t
le
o
r
P
o
s
b
O
)
s
(
t
c
u
d
o
r
P
e
s
b
O
t
e
l
o
Doc ID13263 Rev 8
5/47
6
List of figures
Figure 49.
Figure 50.
Figure 51.
Figure 52.
Figure 53.
Figure 54.
Figure 55.
Figure 56.
Figure 57.
Figure 58.
Figure 59.
Figure 60.
SRI512
64-bit unique identifier of the SRI512 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Get_UID frame exchange between reader and SRI512 . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
SRI512 synchronous timing, transmit and receive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Initiate frame exchange between reader and SRI512 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Pcall16 frame exchange between reader and SRI512 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Slot_marker frame exchange between reader and SRI512 . . . . . . . . . . . . . . . . . . . . . . . . 44
Select frame exchange between reader and SRI512 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Completion frame exchange between reader and SRI512 . . . . . . . . . . . . . . . . . . . . . . . . . 44
Reset_to_inventory frame exchange between reader and SRI512 . . . . . . . . . . . . . . . . . . 45
Read_block frame exchange between reader and SRI512 . . . . . . . . . . . . . . . . . . . . . . . . 45
Write_block frame exchange between reader and SRI512 . . . . . . . . . . . . . . . . . . . . . . . . 45
Get_UID frame exchange between reader and SRI512 . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
)
s
t(
c
u
d
e
t
le
o
s
b
O
)
s
(
t
c
u
d
o
r
P
e
t
e
l
o
s
b
O
6/47
Doc ID13263 Rev 8
o
r
P
SRI512
1
Description
Description
The SRI512 is a contactless memory, powered by an externally transmitted radio wave. It
contains a 512-bit user EEPROM. The memory is organized as 16 blocks of 32 bits. The
SRI512 is accessed via the 13.56 MHz carrier. Incoming data are demodulated and
decoded from the received amplitude shift keying (ASK) modulation signal and outgoing
data are generated by load variation using bit phase shift keying (BPSK) coding of a
847 kHz subcarrier. The received ASK wave is 10% modulated. The data transfer rate
between the SRI512 and the reader is 106 Kbit/s in both reception and emission modes.
The SRI512 follows the ISO 14443-2 Type B recommendation for the radio-frequency power
and signal interface.
)
s
t(
Figure 1. Logic diagram
SRI512
512-bit
User
EEPROM
o
r
P
AC1
Power
Supply
Regulator
e
t
le
c
u
d
ASK
Demodulator
O
)
o
s
b
BPSK
Load
Modulator
AC0
s
(
t
c
AI10795
u
d
o
The SRI512 is specifically designed for short range applications that need re-usable
products. The SRI512 includes an anticollision mechanism that allows it to detect and select
tags present at the same time within range of the reader. Using the STMicroelectronics
single chip coupler, CRX14, it is easy to design a reader and build a contactless system.
r
P
e
t
e
l
o
O
bs
Table 1. Signal names
Signal name
Description
AC1
Antenna coil
AC0
Antenna coil
Doc ID13263 Rev 8
7/47
46
Signal description
SRI512
The SRI512 contactless EEPROM can be randomly read and written in block mode (each
block containing 32 bits). The instruction set includes the following nine commands:
•
Read_block
•
Write_block
•
Initiate
•
Pcall16
•
Slot_marker
•
Select
•
Completion
•
Reset_to_inventory
•
Get_UID
)
s
t(
The SRI512 memory is organized in three areas, as described in Table 3. The first area is a
resettable OTP (one-time programmable) area in which bits can only be switched from 1 to
0. Using a special command, it is possible to erase all bits of this area to 1.
c
u
d
o
r
P
The second area provides two 32-bit binary counters that can only be decremented from
FFFF FFFFh to 0000 0000h, and gives a capacity of 4,294,967,296 units per counter.
e
t
le
The last area is the EEPROM memory. It is accessible by block of 32 bits and includes an
auto-erase cycle during each Write_block command.
o
s
b
Figure 2. Die floor plan
O
)
s
(
t
c
u
d
o
e
t
e
ol
Pr
AC0
s
b
O
AC1
AI09055
2
Signal description
2.1
AC1, AC0
The pads for the Antenna Coil. AC1 and AC0 must be directly bonded to the antenna.
8/47
Doc ID13263 Rev 8
SRI512
Data transfer
3
Data transfer
3.1
Input data transfer from the reader to the SRI512 (request
frame)
The reader must generate a 13.56 MHz sinusoidal carrier frequency at its antenna, with
enough energy to “remote-power” the memory. The energy received at the SRI512’s
antenna is transformed into a supply voltage by a regulator, and into data bits by the ASK
demodulator. For the SRI512 to decode correctly the information it receives, the reader
must 10% amplitude-modulate the 13.56 MHz wave before sending it to the SRI512. This is
represented in Figure 3. The data transfer rate is 106 Kbits/s.
Figure 3. 10% ASK modulation of the received wave
)
s
t(
c
u
d
DATA BIT TO TRANSMIT
TO THE SRI512
e
t
le
10% ASK MODULATION
OF THE 13.56MHz WAVE,
GENERATED BY THE READER
o
r
P
o
s
b
-O
Transfer time for one data bit is 1/106 kHz
)
s
(
ct
3.1.1
Ai10796
Character transmission format for request frame
u
d
o
The SRI512 transmits and receives data bytes as 10-bit characters, with the least significant
bit (b0) transmitted first, as shown in Figure 4. Each bit duration, an ETU (elementary time
unit), is equal to 9.44 µs (1/106 kHz).
r
P
e
These characters, framed by a start of frame (SOF) and an end of frame (EOF), are put
together to form a command frame as shown in Figure 10. A frame includes an SOF,
commands, addresses, data, a CRC and an EOF as defined in the ISO 14443-3 Type B
Standard. If an error is detected during data transfer, the SRI512 does not execute the
command, but it does not generate an error frame.
s
b
O
t
e
l
o
Figure 4. SRI512 request frame character format
b0
1 ETU
Start
"0"
b1
LSb
b2
b3
b4
b5
Information Byte
b6
b7
b8
b9
MSb
Stop
"1"
ai07664
Doc ID13263 Rev 8
9/47
46
Data transfer
SRI512
Table 2. Bit description
Bit
Description
b0
Start bit used to synchronize the transmission
b0 = 0
b1 to b8
Information byte (command, address or data)
The information byte is sent with
the least significant bit first
b9
3.1.2
Value
Stop bit used to indicate the end of a character
b9 = 1
Request start of frame
The SOF described in Figure 5 is composed of:
)
s
t(
•
one falling edge,
•
followed by 10 ETUs at logic-0,
•
followed by a single rising edge,
•
followed by at least 2 ETUs (and at most 3) at logic-1.
c
u
d
o
r
P
Figure 5. Request start of frame
ETU
b0
b1
b2
b3
b4
0
0
0
0
0
b5
e
t
le
b6
o
s
b
0
0
b7
b8
b9
b10
b11
0
0
0
1
1
O
)
ai07665
s
(
t
c
3.1.3
Request end of frame
u
d
o
The EOF shown in Figure 6 is composed of:
r
P
e
•
•
let
•
so
Ob
one falling edge,
followed by 10 ETUs at logic-0,
followed by a single rising edge.
Figure 6. Request end of frame
ETU
b0
b1
b2
b3
b4
b5
b6
b7
b8
b9
0
0
0
0
0
0
0
0
0
0
ai07666
10/47
Doc ID13263 Rev 8
SRI512
3.2
Data transfer
Output data transfer from the SRI512 to the reader (answer
frame)
The data bits issued by the SRI512 use back-scattering. Back-scattering is obtained by
modifying the SRI512 current consumption at the antenna (load modulation). The load
modulation causes a variation at the reader antenna by inductive coupling. With appropriate
detector circuitry, the reader is able to pick up information from the SRI512. To improve loadmodulation detection, data is transmitted using a BPSK encoded, 847 kHz subcarrier
frequency ƒs as shown in Figure 7, and as specified in the ISO 14443-2 Type B Standard.
Figure 7. Wave transmitted using BPSK subcarrier modulation
)
s
t(
Data Bit to be Transmitted
to the Reader
c
u
d
Or
e
t
le
847kHz BPSK Modulation
Generated by the SRI512
o
r
P
o
s
b
BPSK Modulation at 847kHz
During a One-bit Data Transfer Time (1/106kHz)
3.2.1
O
)
AI10797
Character transmission format for answer frame
s
(
t
c
The character format is the same as for input data transfer (Figure 4). The transmitted
frames are made up of an SOF, data, a CRC and an EOF (Figure 10). As with an input data
transfer, if an error occurs, the reader does not issue an error code to the SRI512, but it
should be able to detect it and manage the situation. The data transfer rate is
106 Kbits/second.
u
d
o
r
P
e
t
e
l
o
3.2.2
s
b
O
Answer start of frame
The SOF described in Figure 8 is composed of:
•
followed by 10 ETUs at logic-0
•
followed by 2 ETUs at logic-1
Figure 8. Answer start of frame
ETU
b0
b1
b2
b3
b4
b5
b6
b7
b8
b9
b10
b11
0
0
0
0
0
0
0
0
0
0
1
1
ai07665
Doc ID13263 Rev 8
11/47
46
Data transfer
3.2.3
SRI512
Answer end of frame
The EOF shown in Figure 9 is composed of:
•
followed by 10 ETUs at logic-0,
•
followed by 2 ETUs at logic-1.
Figure 9. Answer end of frame
ETU
b0
b1
b2
b3
b4
b5
b6
b7
b8
b9
b10
b11
0
0
0
0
0
0
0
0
0
0
1
1
)
s
t(
ai07665
3.3
c
u
d
Transmission frame
o
r
P
Between the request data transfer and the answer data transfer, all ASK and BPSK
modulations are suspended for a minimum time of t0 = 128/ƒS. This delay allows the reader
to switch from Transmission to Reception mode. It is repeated after each frame. After t0, the
13.56 MHz carrier frequency is modulated by the SRI512 at 847 kHz for a period of
t1 = 128/ƒS to allow the reader to synchronize. After t1, the first phase transition generated
by the SRI512 forms the start bit (‘0’) of the answer SOF. After the falling edge of the answer
EOF, the reader waits a minimum time, t2, before sending a new request frame to the
SRI512.
e
t
le
o
s
b
O
)
s
(
t
c
Figure 10. Example of a complete transmission frame
Sent by the
Reader
u
d
o
SOF
Pr
12 bits
ol
ete
bs
O
12/47
Cmd
10 bits
at 106kb/s
Data
CRC
CRC
EOF
10 bits
10 bits
10 bits
10 bits
SOF
fs=847.5kHz
t DR
Sent by the
SRI512
SOF
Sync
t0
t1
128/fs
128/fs
12 bits
Data CRC CRC EOF
10 bits
10 bits
10 bits
12 bits
t2
Input data transfer using ASK
Output data transfer using BPSK
Ai10798
Doc ID13263 Rev 8
SRI512
3.4
Data transfer
CRC
The 16-bit CRC used by the SRI512 is generated in compliance with the ISO14443 Type B
recommendation. For further information, please see Appendix A. The initial register
contents are all 1’s: FFFFh.
The two-byte CRC is present in every request and in every answer frame, before the EOF.
The CRC is calculated on all the bytes between SOF (not included) and the CRC field.
Upon reception of a request from a reader, the SRI512 verifies that the CRC value is valid. If
it is invalid, the SRI512 discards the frame and does not answer the reader.
Upon reception of an answer from the SRI512, the reader should verify the validity of the
CRC. In case of error, the actions to be taken are the reader designer’s responsibility.
)
s
t(
The CRC is transmitted with the least significant byte first and each byte is transmitted with
the least significant bit first.
Figure 11. CRC transmission rules
LSByte
c
u
d
o
r
P
MSByte
LSbit
MSbit
LSbit
CRC 16 (8 bits)
so
)
s
(
ct
e
t
le
b
O
-
MSbit
CRC 16 (8 bits)
ai07667
u
d
o
r
P
e
t
e
l
o
s
b
O
Doc ID13263 Rev 8
13/47
46
Memory mapping
4
SRI512
Memory mapping
The SRI512 is organized as 16 blocks of 32 bits as shown in Table 3. All blocks are
accessible by the Read_block command. Depending on the write access, they can be
updated by the Write_block command. A Write_block updates all the 32 bits of the block.
Table 3. SRI512 memory mapping
Block Msb
Addr b31
32-bit block
b16
b15
Lsb
b14
0
32 bits Boolean area
1
32 bits Boolean area
2
32 bits Boolean area
3
32 bits Boolean area
4
32 bits Boolean area
5
32 bits binary counter
6
32 bits binary counter
7
User area
8
User area
9
User area
b0
Description
)
s
t(
c
u
d
e
t
le
o
r
P
o
s
b
Resettable OTP
bits
Count down
Counter
O
)
s
(
t
c
10
User area
11
u
d
o
12
13
14
e
t
e
ol
15
s
b
O
255
UID0
UID1
14/47
b8 b7
Pr
Lockable
EEPROM
User area
User area
User area
User area
User area
OTP_Lock_Reg
0
ST Reserved
64 bits UID area
Doc ID13263 Rev 8
Fixed Chip_ID
(Option)
System OTP bits
ROM
SRI512
4.1
Memory mapping
Resettable OTP area
This area contains five individual 32-bit Boolean words (see Figure 12 for a map of the
area). A Write_block command will not erase the previous contents of the block as the write
cycle is not preceded by an auto-erase cycle. This feature can be used to reset selected bits
from 1 to 0. All bits previously at 0 remain unchanged. When the 32 bits of a block are all at
0, the block is empty, and cannot be updated any more. See Figure 13 and Figure 14 for
examples of the result of the Write_block command in the resettable OTP area.
Figure 12. Resettable OTP area (addresses 0 to 4)
Block
Address
MSb
b31
32-bit Block
b16 b15 b14
LSb
b0
b8 b7
0
32-bit Boolean Area
1
32-bit Boolean Area
2
32-bit Boolean Area
3
32-bit Boolean Area
4
32-bit Boolean Area
Description
)
s
t(
c
u
d
o
r
P
e
t
le
Resettable
OTP Bit
so
b
O
-
ai12381
Figure 13. Write_block update in standard mode (binary format)
)
s
(
ct
b31
Previous data stored in block
u
d
o
Data to be written
r
P
e
New data stored in block
1
...
1
1
0
1
0
1
1
1
1
1
0
1
1
1
...
1
0
0
1
0
1
1
0
0
1
1
1
1
1
...
1
0
0
1
0
1
1
0
0
1
0
1
1
t
e
l
o
O
bs
b0
ai07658
The five 32-bit blocks making up the Resettable OTP area can be erased in one go by
adding an auto-erase cycle to the Write_block command. An auto-erase cycle is added
each time the SRI512 detects a Reload command. The Reload command is implemented
through a specific update of the 32-bit binary counter located at block address 6 (see
Section 4.2: 32-bit binary counters for details).
Doc ID13263 Rev 8
15/47
46
Memory mapping
SRI512
Figure 14. Write_block update in reload mode (binary format)
b31
b0
Previous data stored in block
1
...
1
1
0
1
0
1
1
1
1
1
0
1
1
Data to be written
1
...
1
1
1
1
0
1
1
0
0
1
1
1
1
New data stored in block
1
...
1
1
1
1
0
1
1
0
0
1
1
1
1
ai07659
4.2
)
s
t(
32-bit binary counters
c
u
d
The two 32-bit binary counters located at block addresses 5 and 6, respectively, are used to
count down from 232 (4096 million) to 0. The SRI512 uses dedicated logic that only allows
the update of a counter if the new value is lower than the previous one. This feature allows
the application to count down by steps of 1 or more. The initial value is FFFF FFFEh in
counter 5 and, FFFF FFFFh in counter 6. When the value displayed is 0000 0000h, the
counter is empty and cannot be reloaded. The counter is updated by issuing the Write_block
command to block address 5 or 6, depending on which counter is to be updated. The
Write_block command writes the new 32-bit value to the counter block address. Figure 16
shows examples of how the counters operate.
e
t
le
o
r
P
o
s
b
O
)
The counter programming cycles are protected by automated antitearing logic. This function
allows the counter value to be protected in case of power down within the programming
cycle. In case of power down, the counter value is not updated and the previous value
continues to be stored.
s
(
t
c
Blocks 5 and 6 can be write-protected using the OTP_Lock_Reg bits (block 255). Once a
block has been protected, its contents cannot be modified. A protected counter block
behaves like a ROM block.
u
d
o
r
P
e
t
e
l
o
s
b
O
Block
address
Figure 15. Binary counter (addresses 5 to 6)
MSb
32-bit block
b31
b16 b15 b14
5
32-bit binary counter
6
32-bit binary counter
LSb
b8 b7
Description
b0
Count down
counter
ai12384b
16/47
Doc ID13263 Rev 8
SRI512
Memory mapping
Figure 16. Count down example (binary format)
b31
b0
Initial data
1
...
1
1
1
1
1
1
1
1
1
1
1
1
1
1-unit decrement
1
...
1
1
1
1
1
1
1
1
1
1
1
1
0
1-unit decrement
1
...
1
1
1
1
1
1
1
1
1
1
1
0
1
1-unit decrement
1
...
1
1
1
1
1
1
1
1
1
1
1
0
0
8-unit decrement
1
...
1
1
1
1
1
1
1
1
1
0
0
0
Increment not allowed
1
...
1
1
1
1
1
1
1
1
uc
0
0
eP
d
o
r
t
e
l
o
1
1
1
0
)
s
t(
ai07661
The counter with block address 6 controls the Reload command used to reset the resettable
OTP area (addresses 0 to 4). Bits b31 to b21 act as an 11-bit Reload counter; whenever one
of these 11 bits is updated, the SRI512 detects the change and adds an Erase cycle to the
Write_block command for locations 0 to 4 (see Section 4.1: Resettable OTP area). The
Erase cycle remains active until a Power-off or a Select command is issued. The SRI512’s
resettable OTP area can be reloaded up to 2,047 times (211-1).
)
(s
s
b
O
t
c
u
d
o
r
P
e
t
e
l
o
s
b
O
Doc ID13263 Rev 8
17/47
46
Memory mapping
4.3
SRI512
EEPROM area
The 9 blocks between addresses 7 and 15 are EEPROM blocks of 32 bits each (36 bytes in
total). (See Figure 17 for a map of the area.) These blocks can be accessed using the
Read_block and Write_block commands. The Write_block command for the EEPROM area
always includes an auto-erase cycle prior to the write cycle.
Blocks 7 to 15 can be write-protected. Write access is controlled by the 9 bits of the
OTP_Lock_Reg located at block address 255 (see Section 4.4.1: OTP_Lock_Reg for
details). Once protected, these blocks (7 to 15) cannot be unprotected
Figure 17. EEPROM (addresses 7 to 15)
MSb
Block
address
32-bit block
b31
7
User area
8
User area
9
User area
10
User area
11
User area
12
User area
b8 b7
e
t
le
o
s
b
)
s
t(
Description
c
u
d
b0
o
r
P
Lockable
EEPROM
O
)
13
User area
s
(
t
c
14
15
u
d
o
User area
User area
r
P
e
Ai12383b
t
e
l
o
s
b
O
18/47
LSb
b16 b15 b14
Doc ID13263 Rev 8
SRI512
4.4
Memory mapping
System area
This area is used to modify the settings of the SRI512. It contains 3 registers:
OTP_Lock_Reg, Fixed Chip_ID and ST Reserved. See Figure 18 for a map of this area.
A Write_block command in this area will not erase the previous contents. Selected bits can
thus be set from 1 to 0. All bits previously at 0 remain unchanged. Once all the 32 bits of a
block are at 0, the block is empty and cannot be updated any more.
Figure 18. System area
MSb
Block
Address
b31
LSb
b16 b15 b14
OTP_Lock_Reg
255
4.4.1
32-bit Block
b8 b7
ST Reserved
0
OTP_Lock_Reg
Description
Fixed Chip_ID
(Option)
e
t
le
)
s
t(
b0
o
r
P
c
u
d
OTP
ai12374b
The 16 bits, b31 to b16, of the System area (block address 255) are used as
OTP_Lock_Reg bits in the SRI512. They control the write access to the 16 blocks 0 to 15 as
follows:
o
s
b
•
When b16 is at 0, block 0 is write-protected
•
When b17 is at 0, block 1 is write-protected
•
When b18 is at 0, block 2 is write-protected
•
When b19 is at 0, block 3 is write-protected
•
When b20 is at 0, block 4 is write-protected
•
When b21 is at 0, block 5 is write-protected
•
When b22 is at 0, block 6 is write-protected
O
)
s
(
t
c
r
P
e
•
•
t
e
l
o
•
s
b
O
u
d
o
When b23 is at 0, block 7 is write-protected
When b24 is at 0, block 8 is write-protected
When b25 is at 0, block 9 is write-protected
•
When b26 is at 0, block 10 is write-protected
•
When b27 is at 0, block 11 is write-protected
•
When b28 is at 0, block 12 is write-protected
•
When b29 is at 0, block 13 is write-protected
•
When b30 is at 0, block 14 is write-protected
•
When b31 is at 0, block 15 is write-protected.
The OTP_Lock_Reg bits cannot be erased. Once write-protected, the blocks behave like
ROM blocks and cannot be unprotected. After any modification of the OTP_Lock_Reg bits,
it is necessary to send a Select command with a valid Chip_ID to the SRI512 in order to load
the block write protection into the logic.
Doc ID13263 Rev 8
19/47
46
Memory mapping
4.4.2
SRI512
Fixed Chip_ID (option)
The SRI512 is provided with an anticollision feature based on a random 8-bit Chip_ID. Prior
to selecting an SRI512, an anticollision sequence has to be run to search for the Chip_ID of
the SRI512. This is a very flexible feature, however the searching loop requires time to run.
For some applications, much time could be saved by knowing the value of the SRI512
Chip_ID beforehand, so that the SRI512 can be identified and selected directly without
having to run an anticollision sequence. This is why the SRI512 was designed with an
optional mask setting used to program a fixed 8-bit Chip_ID to bits b7 to b0 of the system
area. When the fixed Chip_ID option is used, the random Chip_ID function is disabled.
)
s
t(
c
u
d
e
t
le
o
s
b
O
)
s
(
t
c
u
d
o
r
P
e
t
e
l
o
s
b
O
20/47
Doc ID13263 Rev 8
o
r
P
SRI512
5
SRI512 operation
SRI512 operation
All commands, data and CRC are transmitted to the SRI512 as 10-bit characters using ASK
modulation. The start bit of the 10 bits, b0, is sent first. The command frame received by the
SRI512 at the antenna is demodulated by the 10% ASK demodulator, and decoded by the
internal logic. Prior to any operation, the SRI512 must have been selected by a Select
command. Each frame transmitted to the SRI512 must start with a start of frame, followed
by one or more data characters, two CRC bytes and the final end of frame. When an invalid
frame is decoded by the SRI512 (wrong command or CRC error), the memory does not
return any error code.
)
s
t(
When a valid frame is received, the SRI512 may have to return data to the reader. In this
case, data is returned using BPSK encoding, in the form of 10-bit characters framed by an
SOF and an EOF. The transfer is ended by the SRI512 sending the 2 CRC bytes and the
EOF.
c
u
d
e
t
le
o
r
P
o
s
b
O
)
s
(
t
c
u
d
o
r
P
e
t
e
l
o
s
b
O
Doc ID13263 Rev 8
21/47
46
SRI512 states
6
SRI512
SRI512 states
The SRI512 can be switched into different states. Depending on the current state of the
SRI512, its logic will only answer to specific commands. These states are mainly used
during the anticollision sequence, to identify and to access the SRI512 in a very short time.
The SRI512 provides 6 different states, as described in the following paragraphs and in
Figure 19.
6.1
Power-off state
)
s
t(
The SRI512 is in Power-off state when the electromagnetic field around the tag is not strong
enough. In this state, the SRI512 does not respond to any command.
6.2
c
u
d
Ready state
o
r
P
When the electromagnetic field is strong enough, the SRI512 enters the Ready state. After
Power-up, the Chip_ID is initialized with a random value. The whole logic is reset and
remains in this state until an Initiate() command is issued. Any other command will be
ignored by the SRI512.
e
t
le
6.3
o
s
b
O
)
Inventory state
The SRI512 switches from the Ready to the Inventory state after an Initiate() command has
been issued. In Inventory state, the SRI512 will respond to any anticollision commands:
Initiate(), Pcall16() and Slot_marker(), and then remain in the Inventory state. It will switch to
the Selected state after a Select(Chip_ID) command is issued, if the Chip_ID in the
command matches its own. If not, it will remain in Inventory state.
s
(
t
c
u
d
o
6.4
r
P
Selected state
e
t
e
ol
s
b
O
6.5
In Selected state, the SRI512 is active and responds to all Read_block(), Write_block(), and
Get_UID() commands. When an SRI512 has entered the Selected state, it no longer
responds to anticollision commands. So that the reader can access another tag, the SRI512
can be switched to the Deselected state by sending a Select(Chip_ID2) with a Chip_ID that
does not match its own, or it can be placed in Deactivated state by issuing a Completion()
command. Only one SRI512 can be in Selected state at a time.
Deselected state
Once the SRI512 is in Deselected state, only a Select(Chip_ID) command with a Chip_ID
matching its own can switch it back to Selected state. All other commands are ignored.
6.6
Deactivated state
When in this state, the SRI512 can only be turned off. All commands are ignored.
22/47
Doc ID13263 Rev 8
SRI512
SRI512 states
Figure 19. State transition diagram
Power-off
Out of
field
On field
Ready
Chip_ID8bits = RND
Initiate()
Out of
field
Initiate() or Pcall16()
or Slot_marker(SN) or
Select(wrong Chip_ID)
Inventory
Out of
field
c
u
d
Select(Chip_ID)
Reset_to_inventory()
Out of
field
Select(Chip_ID)
Selected
Select(
o
r
P
Completion()
Deselected
e
t
le
≠ Chip_ID)
)
s
t(
Out of
field
Deactivated
o
s
b
Select(Chip_ID)
Read_block()
Write_block()
Get_UID()
O
)
s
(
t
c
AI10794b
u
d
o
r
P
e
t
e
l
o
s
b
O
Doc ID13263 Rev 8
23/47
46
Anticollision
7
SRI512
Anticollision
The SRI512 provides an anticollision mechanism that searches for the Chip_ID of each
device that is present in the reader field range. When known, the Chip_ID is used to select
an SRI512 individually, and access its memory. The anticollision sequence is managed by
the reader through a set of commands described in Section 5: SRI512 operation:
•
Initiate()
•
Pcall16()
•
Slot_marker().
The reader is the master of the communication with one or more SRI512 device(s). It
initiates the tag communication activity by issuing an Initiate(), Pcall16() or Slot_marker()
command to prompt the SRI512 to answer. During the anticollision sequence, it might
happen that two or more SRI512 devices respond simultaneously, so causing a collision.
The command set allows the reader to handle the sequence, to separate SRI512
transmissions into different time slots. Once the anticollision sequence has completed,
SRI512 communication is fully under the control of the reader, allowing only one SRI512 to
transmit at a time.
)
s
t(
c
u
d
e
t
le
o
r
P
The Anticollision scheme is based on the definition of time slots during which the SRI512
devices are invited to answer with minimum identification data: the Chip_ID. The number of
slots is fixed at 16 for the Pcall16() command. For the Initiate() command, there is no slot
and the SRI512 answers after the command is issued. SRI512 devices are allowed to
answer only once during the anticollision sequence. Consequently, even if there are several
SRI512 devices present in the reader field, there will probably be a slot in which only one
SRI512 answers, allowing the reader to capture its Chip_ID. Using the Chip_ID, the reader
can then establish a communication channel with the identified SRI512. The purpose of the
anticollision sequence is to allow the reader to select one SRI512 at a time.
o
s
b
O
)
s
(
t
c
The SRI512 is given an 8-bit Chip_ID value used by the reader to select only one among up
to 256 tags present within its field range. The Chip_ID is initialized with a random value
during the Ready state, or after an Initiate() command in the Inventory state.
u
d
o
r
P
e
The four least significant bits (b0 to b3) of the Chip_ID are also known as the
Chip_slot_number. This 4-bit value is used by the Pcall16() and Slot_marker() commands
during the anticollision sequence in the Inventory state.
t
e
l
o
bs
O
b7
Figure 20. SRI512 Chip_ID description
b6
b5
b4
b3
b2
b1
b0
8-bit Chip_ID
b0 to b3: Chip_slot_number
ai07668b
Each time the SRI512 receives a Pcall16() command, the Chip_slot_number is given a new
4-bit random value. If the new value is 0000b, the SRI512 returns its whole 8-bit Chip_ID in
its answer to the Pcall16() command. The Pcall16() command is also used to define the slot
number 0 of the anticollision sequence. When the SRI512 receives the Slot_marker(SN)
command, it compares its Chip_slot_number with the Slot_number parameter (SN). If they
match, the SRI512 returns its Chip_ID as a response to the command. If they do not, the
SRI512 does not answer. The Slot_marker(SN) command is used to define all the
anticollision slot numbers from 1 to 15.
24/47
Doc ID13263 Rev 8
S
E
PCALL 16
O
O
Request
F
F
Doc ID13263 Rev 8
Time
Comment
No
collision
t2
t0 + t1
t0 + t1
>
E
S
Slot
O Marker O
F
F
(2)
Collision
S Answer E
O Chip_ID O
F
F
X1h
S Answer E
O Chip_ID O
X1h
F
F
t2
<
<
>
Slot 2
>
S
O
F
...
...
Slot N
o
r
P
No
Answer
t3
e
t
le
Timing
s
(
t
c
O
)
S Answer E
O Chip_ID O
X0h
F
F
S
Slot E
O Marker O
F
F
(1)
t
e
l
o
>
Slot 1
u
d
o
<
r
P
e
SRI devices
Reader
<
s
b
O
Slot 0
E
O
F
t2
S
Slot
O Marker
F
(15)
E
O
F
No
collision
Ai10799
>
t2
E
O
F
t0 + t1
Answer
Chip_ID
XFh
S
O
F
>
<
Slot 15
SRI512
Anticollision
Figure 21. Description of a possible anticollision sequence
)
s
t(
c
u
d
o
s
b
1. The value X in the answer Chip_ID means a random hexadecimal character from 0 to F.
25/47
46
Anticollision
7.1
SRI512
Description of an anticollision sequence
The anticollision sequence is initiated by the Initiate() command which triggers all the
SRI512 devices that are present in the reader field range, and that are in Inventory state.
Only SRI512 devices in Inventory state will respond to the Pcall16() and Slot_marker(SN)
anticollision commands.
A new SRI512 introduced in the field range during the anticollision sequence will not be
taken into account as it will not respond to the Pcall16() or Slot_marker(SN) command
(Ready state). To be considered during the anticollision sequence, it must have received the
Initiate() command and entered the Inventory state.
Table 4 shows the elements of a standard anticollision sequence. (See Figure 22 for an
example.)
)
s
t(
Table 4. Standard anticollision sequence
c
u
d
Send Initiate().
– If no answer is detected, go to step1.
– If only 1 answer is detected, select and access the SRI512. After accessing the SRI512,
deselect the tag and go to step1.
– If a collision (many answers) is detected, go to step2.
Step 1
Init:
Step 2
Slot 0
Step 3
Slot 1
Step 4
Slot 2
e
t
le
Send Pcall16().
o
r
P
– If no answer or collision is detected, go to step3.
– If 1 answer is detected, store the Chip_ID, Send Select() and go to step3.
o
s
b
Send Slot_marker(1).
O
)
– If no answer or collision is detected, go to step4.
– If 1 answer is detected, store the Chip_ID, Send Select() and go to step4.
s
(
t
c
Send Slot_marker(2).
– If no answer or collision is detected, go to step5.
– If 1 answer is detected, store the Chip_ID, Send Select() and go to step5.
u
d
o
Send Slot_marker(3 up to 14) ...
Step N
r
P
e
Slop N – If no answer or collision is detected, go to stepN+1.
– If 1 answer is detected, store the Chip_ID, Send Select() and go to stepN+1.
t
e
l
o
Send Slot_marker(15).
Step 17 Slot 15 – If no answer or collision is detected, go to step18.
– If 1 answer is detected, store the Chip_ID, Send Select() and go to step18.
s
b
O
Step 18
-
All the slots have been generated and the Chip_ID values should be stored into the
reader memory. Issue the Select(Chip_ID) command and access each identified
SRI512 one by one. After accessing each SRI512, switch them into Deselected or
Deactivated state, depending on the application needs.
– If collisions were detected between Step2 and Step17, go to Step2.
– If no collision was detected between Step2 and Step17, go to Step1.
After each Slot_marker() command, there may be several, one or no answers from the
SRI512 devices. The reader must handle all the cases and store all the Chip_IDs, correctly
decoded. At the end of the anticollision sequence, after Slot_marker(15), the reader can
start working with one SRI512 by issuing a Select() command containing the desired
Chip_ID. If a collision is detected during the anticollision sequence, the reader has to
generate a new sequence in order to identify all unidentified SRI512 devices in the field. The
anticollision sequence can stop when all SRI512 devices have been identified.
26/47
Doc ID13263 Rev 8
SRI512
Anticollision
Figure 22. Example of an anticollision sequence
Command
Tag 1
Tag 2
Tag 3
Tag 4
Tag 5
Tag 6
Tag 7
Tag 8
Comments
Chip_ID Chip_ID Chip_ID Chip_ID Chip_ID Chip_ID Chip_ID Chip_ID
READY State
28h
75h
40h
01h
02h
FEh
A9h
7Ch
INITIATE ()
40h
13h
3Fh
4Ah
50h
48h
52h
7Ch
45h
12h
30h
43h
55h
43h
53h
73h
PCALL16()
SELECT(30h)
30h
All CHIP_SLOT_NUMBERs get
a new random value
Slot0: only one answer
30h
Tag3 is identified
SLOT_MARKER(1)
Slot1: no answer
SLOT_MARKER(2)
12h
Slot2: only one answer
SELECT(12h)
12h
Tag2 is identified
43h
SLOT_MARKER(3)
43h
53h
73h
SLOT_MARKER(4)
SLOT_MARKER(5)
45h
55h
SLOT_MARKER(F)
40h
41h
40h
41h
SLOT_MARKER(1)
(s)
SELECT(41h)
41h
e
t
le
u
d
o
SELECT(42h)
SELECT(53h)
e
t
e
ol
SLOT_MARKER(4)
Pr
o
s
b
53h
42h
50h
SlotN: no answer
SlotF: no answer
All CHIP_SLOT_NUMBERs get
a new random value
Slot0: collisions
Slot1: only one answer
42h
Slot2: only one answer
42h
Tag6 is identified
53h
Slot3: only one answer
53h
Tag5 is identified
SLOT_MARKER(N)
PCALL16()
o
r
P
Slot6: no answer
Tag4 is identified
SELECT(74h)
bs
74h
50h
-O
ct
SLOT_MARKER(2)
SLOT_MARKER(3)
c
u
d
Slot3: collisions
Slot5: collisions
SLOT_MARKER(N)
PCALL16()
)
s
t(
Slot4: no answer
SLOT_MARKER(6)
O
Each tag gets a random Chip_ID
Each tag get a new random Chip_ID
All tags answer: collisions
74h
Slot4: only one answer
74h
Tag8 is identified
SlotN: no answer
41h
50h
50h
SELECT(50h)
50h
All CHIP_SLOT_NUMBERs get
a new random value
Slot0: only one answer
Tag7 is identified
41h
Slot1: only one answer but already
found for tag4
43h
SlotN: no answer
All CHIP_SLOT_NUMBERs get
a new random value
Slot0: only one answer
SLOT_MARKER(3)
43h
Slot3: only one answer
SELECT(43h)
43h
Tag1 is identified
SLOT_MARKER(1)
SLOT_MARKER(N)
PCALL16()
All tags are identified
Doc ID13263 Rev 8
ai07669
27/47
46
SRI512 commands
8
SRI512
SRI512 commands
See the paragraphs below for a detailed description of the Commands available on the
SRI512. The commands and their hexadecimal codes are summarized in Table 5. A brief is
given in Appendix B.
Table 5. Command code
Hexadecimal Code
Command
06h-00h
Initiate()
06h-04h
Pcall16()
x6h
Slot_marker (SN)
08h
Read_block(Addr)
09h
Write_block(Addr, Data)
0Bh
Get_UID()
0Ch
Reset_to_inventory
0Eh
Select(Chip_ID)
0Fh
Completion()
o
s
b
O
)
s
(
t
c
u
d
o
r
P
e
t
e
l
o
s
b
O
28/47
e
t
le
Doc ID13263 Rev 8
)
s
t(
o
r
P
c
u
d
SRI512
8.1
SRI512 commands
Initiate() command
Command code = 06h - 00h
Initiate() is used to initiate the anticollision sequence of the SRI512. On receiving the
Initiate() command, all SRI512 devices in Ready state switch to Inventory state, set a new 8bit Chip_ID random value, and return their Chip_ID value. This command is useful when
only one SRI512 in Ready state is present in the reader field range. It speeds up the
Chip_ID search process. The Chip_slot_number is not used during Initiate() command
access.
Figure 23. Initiate request format
SOF
Initiate
CRCL
06h
00h
8 bits
8 bits
e
t
le
Request parameter:
•
CRCH
)
s
t(
EOF
c
u
d
o
r
P
AI07670b
o
s
b
No parameter
Figure 24. Initiate response format
O
)
s
(
t
c
SOF
Chip_ID
du
8 bits
CRCL
8 bits
CRCH
EOF
8 bits
o
r
P
AI07671
Response parameter:
e
t
e
l
•
Chip_ID of the SRI512
Ob
so
Reader
SRI512
Figure 25. Initiate frame exchange between reader and SRI512
SOF
06h
00h
CRCL
CRCH
EOF
SOF
Chip_ID
CRCL
CRCH
EOF
AI10942
Doc ID13263 Rev 8
29/47
46
SRI512 commands
8.2
SRI512
Pcall16() command
Command code = 06h - 04h
The SRI512 must be in Inventory state to interpret the Pcall16() command.
On receiving the Pcall16() command, the SRI512 first generates a new random
Chip_slot_number value (in the 4 least significant bits of the Chip_ID). Chip_slot_number
can take on a value between 0 an 15 (1111b). The value is retained until a new Pcall16() or
Initiate() command is issued, or until the SRI512 is powered off. The new Chip_slot_number
value is then compared with the value 0000b. If they match, the SRI512 returns its Chip_ID
value. If not, the SRI512 does not send any response.
The Pcall16() command, used together with the Slot_marker() command, allows the reader
to search for all the Chip_IDs when there are more than one SRI512 device in Inventory
state present in the reader field range.
)
s
t(
c
u
d
Figure 26. Pcall16 request format
SOF
Pcall16
CRCL
06h
8 bits
EOF
8 bits
o
s
b
Request parameter:
•
e
t
le
04h
o
r
P
CRCH
AI07673b
O
)
No parameter
s
(
t
c
Figure 27. Pcall16 response format
u
d
o
r
P
e
t
e
l
o
bs
O
SOF
Chip_ID
CRCL
8 bits
8 bits
CRCH
EOF
8 bits
AI07671
Response parameter:
•
Chip_ID of the SRI512
Figure 28. Pcall16 frame exchange between reader and SRI512
Reader SOF
SRI512
06h
04h
CRCL
CRCH
EOF
SOF
Chip_ID
CRCL
CRCH
EOF
AI10943
30/47
Doc ID13263 Rev 8
SRI512
8.3
SRI512 commands
Slot_marker(SN) command
Command code = x6h
The SRI512 must be in Inventory state to interpret the Slot_marker(SN) command.
The Slot_marker byte code is divided into two parts:
•
b3 to b0: 4-bit command code
with fixed value 6.
•
b7 to b4: 4 bits known as the Slot_number (SN). They assume a value between 1 and
15. The value 0 is reserved by the Pcall16() command.
On receiving the Slot_marker() command, the SRI512 compares its Chip_slot_number
value with the Slot_number value given in the command code. If they match, the SRI512
returns its Chip_ID value. If not, the SRI512 does not send any response.
)
s
t(
c
u
d
The Slot_marker() command, used together with the Pcall16() command, allows the reader
to search for all the Chip_IDs when there are more than one SRI512 device in Inventory
state present in the reader field range.
o
r
P
Figure 29. Slot_marker request format
SOF
x: Slot number
u
d
o
r
P
e
t
e
l
o
O
bs
)-
CRCL
Ob
8 bits
CRCH
EOF
8 bits
AI07675b
s
(
t
c
Request parameter:
•
so
Slot_marker
X6h
e
t
le
Figure 30. Slot_marker response format
SOF
Chip_ID
CRCH
CRCL
8 bits
8 bits
EOF
8 bits
AI07671
Response parameters:
•
Chip_ID of the SRI512
Figure 31. Slot_marker frame exchange between reader and SRI512
Reader
SRI512
SOF
X6h
CRCL
CRCH
EOF
SOF
Chip_ID
CRCL
CRCH
EOF
AI10944
Doc ID13263 Rev 8
31/47
46
SRI512 commands
8.4
SRI512
Select(Chip_ID) command
Command code = 0Eh
The Select() command allows the SRI512 to enter the Selected state. Until this command is
issued, the SRI512 will not accept any other command, except for Initiate(), Pcall16() and
Slot_marker(). The Select() command returns the 8 bits of the Chip_ID value. An SRI512 in
Selected state, that receives a Select() command with a Chip_ID that does not match its
own is automatically switched to Deselected state.
Figure 32. Select request format
SOF
Chip_ID
Select
0Eh
CRCL
8 bits
8 bits
e
t
le
8-bit Chip_ID stored during the anticollision sequence
EOF
c
u
d
8 bits
Request parameter:
•
)
s
t(
CRCH
o
r
P
AI07677b
Figure 33. Select response format
SOF
Chip_ID
(s)
8 bits
o
s
b
-O
CRCL
8 bits
CRCH
EOF
8 bits
t
c
u
AI07671
d
o
r
Response parameters:
•
P
e
let
so
Ob
Chip_ID of the selected tag. Must be equal to the transmitted Chip_ID
Reader
SRI512
SOF
Figure 34. Select frame exchange between reader and SRI512
0Eh
Chip_ID
CRCL
CRCH
EOF
SOF
Chip_ID
CRCL
CRCH
EOF
AI10945
32/47
Doc ID13263 Rev 8
SRI512
8.5
SRI512 commands
Completion() command
Command code = 0Fh
On receiving the Completion() command, an SRI512 in Selected state switches to
Deactivated state and stops decoding any new commands. The SRI512 is then locked in
this state until a complete reset (tag out of the field range). A new SRI512 can thus be
accessed through a Select() command without having to remove the previous one from the
field. The Completion() command does not generate a response.
All SRI512 devices not in Selected state ignore the Completion() command.
Figure 35. Completion request format
SOF
Completion
0Fh
CRCL
CRCH
8 bits
8 bits
e
t
le
Request parameters:
•
No parameter
)
s
t(
c
u
d
EOF
o
r
P
AI07679b
o
s
b
Figure 36. Completion response format
O
)
No Response
s
(
t
c
u
d
o
r
P
e
AI07680
Figure 37. Completion frame exchange between reader and SRI512
t
e
l
o
bs
Reader
SOF
0Fh
CRCL
CRCH
EOF
SRI512
No Response
O
AI10646
Doc ID13263 Rev 8
33/47
46
SRI512 commands
8.6
SRI512
Reset_to_inventory() command
Command code = 0Ch
On receiving the Reset_to_inventory() command, all SRI512 devices in Selected state
revert to Inventory state. The concerned SRI512 devices are thus resubmitted to the
anticollision sequence. This command is useful when two SRI512 devices with the same 8bit Chip_ID happen to be in Selected state at the same time. Forcing them to go through the
anticollision sequence again allows the reader to generates new Pcall16() commands and
so, to set new random Chip_IDs.
The Reset_to_inventory() command does not generate a response.
All SRI512 devices that are not in Selected state ignore the Reset_to_inventory() command.
)
s
t(
Figure 38. Reset_to_inventory request format
SOF
CRCL
CRCH
0Ch
8 bits
8 bits
EOF
AI07682b
o
s
b
Request parameter:
•
o
r
P
Reset_to_inventory
e
t
le
c
u
d
No parameter
O
)
Figure 39. Reset_to_inventory response format
s
(
t
c
No Response
u
d
o
r
P
e
t
e
l
o
s
b
O
AI07680
Figure 40. Reset_to_inventory frame exchange between reader and SRI512
Reader
SOF
0Ch
CRCL
CRCH
EOF
SRI512
No Response
AI10947
34/47
Doc ID13263 Rev 8
SRI512
8.7
SRI512 commands
Read_block(Addr) command
Command code = 08h
On receiving the Read_block command, the SRI512 reads the desired block and returns the
4 data bytes contained in the block. Data bytes are transmitted with the Least Significant
byte first and each byte is transmitted with the least significant bit first.
The address byte gives access to the 16 blocks of the SRI512 (addresses 0 to 15).
Read_block commands issued with a block address above 15 will not be interpreted and the
SRI512 will not return any response, except for the System area located at address 255.
The SRI512 must have received a Select() command and be switched to Selected state
before any Read_block() command can be accepted. All Read_block() commands sent to
the SRI512 before a Select() command is issued are ignored.
c
u
d
Figure 41. Read_block request format
SOF
Read_block
08h
e
t
e
8 bIts
8 bits
o
r
P
CRCH
EOF
8 bits
l
o
s
Request parameter:
•
CRCL
Address
)
s
t(
AI07684b
b
O
-
Address: block addresses from 0 to 15, or 255
)
s
(
ct
Figure 42. Read_block response format
du
SOF
Data 1
o
r
P
8 bIts
Ob
so
e
t
e
l
Data 2
Data 3
Data 4
CRCL
CRCH
8 bIts
8 bIts
8 bIts
8 bits
8 bIts
EOF
AI07685b
Response parameters:
•
Data 1: Less significant data byte
•
Data 2: Data byte
•
Data 3: Data byte
•
Data 4: Most significant data byte
Figure 43. Read_block frame exchange between reader and SRI512
Reader SOF
SRI512
08h Address CRCL CRCH EOF
SOF Data 1 Data 2 Data 3 Data 4 CRCL CRCH EOF
AI10948c
Doc ID13263 Rev 8
35/47
46
SRI512 commands
8.8
SRI512
Write_block (Addr, Data) command
Command code = 09h
On receiving the Write_block command, the SRI512 writes the 4 bytes contained in the
command to the addressed block, provided that the block is available and not writeprotected. Data bytes are transmitted with the least significant byte first, and each byte is
transmitted with the least significant bit first.
The address byte gives access to the 16 blocks of the SRI512 (addresses 0 to 15).
Write_block commands issued with a block address above 15 will not be interpreted and the
SRI512 will not return any response, except for the System area located at address 255.
The result of the Write_block command is submitted to the addressed block. See the
following paragraphs for a complete description of the Write_block command:
•
Figure 12: Resettable OTP area (addresses 0 to 4).
•
Figure 15: Binary counter (addresses 5 to 6).
•
Figure 17: EEPROM (addresses 7 to 15).
)
s
t(
c
u
d
o
r
P
The Write_block command does not give rise to a response from the SRI512. The reader
must check after the programming time, tW, that the data was correctly programmed. The
SRI512 must have received a Select() command and be switched to Selected state before
any Write_block command can be accepted. All Write_block commands sent to the SRI512
before a Select() command is issued, are ignored.
e
t
le
o
s
b
Figure 44. Write_block request format
SOF
Write_block
t(s
Address
uc
09h
d
o
r
O
)
8 bIts
Data 1
Data 2
Data 3
Data 4
CRCL
CRCH
8 bIts
8 bIts
8 bIts
8 bIts
8 bits
8 bIts
EOF
AI07687b
P
e
Request parameters:
t
e
l
o
•
•
bs
O
Address: block addresses from 0 to 15, or 255
Data 1: Less significant data byte
•
Data 2: Data byte
•
Data 3: Data byte
•
Data 4: Most significant data byte.
Figure 45. Write_block response format
No Response
AI07680
36/47
Doc ID13263 Rev 8
SRI512
SRI512 commands
Figure 46. Write_block frame exchange between reader and SRI512
Reader
SOF
09h
Address Data 1 Data 2 Data 3 Data 4 CRCL CRCH EOF
No response
SRI512
AI10949b
8.9
Get_UID() command
Command code = 0Bh
)
s
t(
On receiving the Get_UID command, the SRI512 returns its 8 UID bytes. UID bytes are
transmitted with the least significant byte first, and each byte is transmitted with the least
significant bit first.
c
u
d
o
r
P
The SRI512 must have received a Select() command and be switched to Selected state
before any Get_UID() command can be accepted. All Get_UID() commands sent to the
SRI512 before a Select() command is issued, are ignored.
e
t
le
Figure 47. Get_UID request format
SOF
o
s
b
Get_UID
O
)
0Bh
•
r
P
e
t
e
l
o
s
b
O
No parameter
SOF
CRCH
8 bits
8 bits
EOF
s
(
t
c
u
d
o
Request parameter:
CRCL
AI07693b
Figure 48. Get_UID response format
UID 0
UID 1
UID 2
UID 3
8 bits
8 bIts
8 bIts
8 bIts
UID 4
8 bIts
UID 5
8 bIts
UID 6
8 bIts
UID 7
CRCL
CRCH
8 bIts
8 bits
8 bIts
EOF
AI07694
Response parameters:
•
UID 0: Less significant UID byte
•
UID 1 to UID 6: UID bytes
•
UID 7: Most significant UID byte.
Doc ID13263 Rev 8
37/47
46
SRI512 commands
SRI512
Unique Identifier (UID)
Members of the SRI512 family are uniquely identified by a 64-bit Unique Identifier (UID).
This is used for addressing each SRI512 device uniquely after the anticollision loop. The
UID complies with ISO/IEC 15963 and ISO/IEC 7816-6. It is a read-only code, and
comprises (as summarized in Figure 49):
•
an 8-bit prefix, with the most significant bits set to D0h
•
an 8-bit IC manufacturer code (ISO/IEC 7816-6/AM1) set to 02h (for
STMicroelectronics)
•
a 6-bit IC code set to 00 0110b = 6d for SRI512
•
a 42-bit unique serial number
)
s
t(
Figure 49. 64-bit unique identifier of the SRI512
Most significant bits
63
55
47
41
D0h
02h
c
u
d
6d
Least significant bits
0
o
r
P
Unique Serial Number
e
t
le
AI12375
o
s
b
Figure 50. Get_UID frame exchange between reader and SRI512
O
)
S
E
Reader O 0Bh CRCL CRCH O
F
F
s
(
t
c
SRI512
u
d
o
S
E
O UID UID UID UID UID UID UID UID CRCL CRCH O
0
1
2
3
4
5
6
7
F
F
AI10950
r
P
8.10
Power-on
state
e
t
le
o
s
b
O
After power-on, the SRI512 is in the following state:
38/47
•
It is in the low-power state.
•
It is in Ready state.
•
It shows highest impedance with respect to the reader antenna field.
•
It will not respond to any command except Initiate().
Doc ID13263 Rev 8
SRI512
9
Maximum rating
Maximum rating
Stressing the device above the rating listed in the absolute maximum ratings table may
cause permanent damage to the device. These are stress ratings only and operation of the
device at these or any other conditions above those indicated in the operating sections of
this specification is not implied. Exposure to absolute maximum rating conditions for
extended periods may affect device reliability. Refer also to the STMicroelectronics SURE
Program and other relevant quality documents.
Table 6. Absolute maximum ratings
Symbol
TSTG
Parameter
Max.
Unit
Wafer
(kept in its antistatic bag)
15
25
°C
-
23
Supply current on AC0 / AC1
-
–20
20
mA
Input voltage on AC0 / AC1
-
–7
7
V
–100
100
V
–1000
1000
V
Storage conditions
tSTG
ICC
VMAX
VESD
)
s
t(
Min.
Electrostatic discharge voltage
1. Mil. Std. 883 - Method 3015
)
(s
model(1)
e
t
e
Machine
o
r
P
Human body model(1)
s
b
O
ol
c
u
d
months
t
c
u
d
o
r
P
e
t
e
l
o
s
b
O
Doc ID13263 Rev 8
39/47
46
DC and AC parameters
10
SRI512
DC and AC parameters
Table 7. Operating conditions
Symbol
Parameter
Min.
Max.
Unit
–20
85
°C
Ambient operating temperature
TA
Table 8. DC characteristics
Symbol
Parameter
Condition
Min
Typ
Max
-
2.5
-
3.5
-
VCC
Regulated voltage
ICC
Supply current (active in read)
VCC = 3.0 V
-
ICC
Supply current (active in write)
VCC = 3.0 V
-
VRET
Backscattering-induced voltage
ISO 10373-6
20
CTUN
Internal tuning capacitor
-
ct
V
µA
250
µA
-
-
mV
64
-
pF
Min
Max
Unit
du
ro
t
e
l
o
)
s
(
100
-
eP
13.56 MHz
Unit
Table 9. AC characteristics(1)
Symbol
bs
fCC
Parameter
External RF signal frequency
O
)
MICARRIER Carrier modulation Index
tRFR, tRFF
uc
ASK modulation data jitter
d
o
r
P
e
s
b
O
MI=(A-B)/(A+B)
Minimum pulse width for start bit
tJIT
t
e
l
o
13.553 13.567
10% rise and fall times
tRFSBL
tMIN CD
t(s
Condition
8
14
%
0.8
2.5
µs
ETU = 128/fCC
Coupler to SRI512
Minimum time from carrier
generation to first data
9.44
µs
–2
+2
µs
5
-
ms
Subcarrier frequency
fCC/16
847.5
kHz
t0
Antenna reversal delay
128/fS
151
µs
t1
Synchronization delay
128/fS
151
µs
t2
Answer to new request delay
fS
14 ETU
132
-
µs
0
57
µs
tDR
Time between request characters
Coupler to SRI512
tDA
Time between answer characters
SRI512 to coupler
tW
Programming time for write
0
µs
With no auto-erase cycle
(OTP)
-
3
ms
With auto-erase cycle
(EEPROM)
-
5
ms
Binary counter decrement
-
7
ms
1. All timing measurements were performed on a reference antenna with the following characteristics:
External size: 75 mm x 48 mm
Number of turns: 3
Width of conductor: 1 mm
Space between 2 conductors: 0.4 mm
Value of the coil: 1.4 µH
Tuning Frequency: 14.4 MHz.
40/47
MHz
Doc ID13263 Rev 8
SRI512
DC and AC parameters
Figure 51. SRI512 synchronous timing, transmit and receive
ASK Modulated signal from the Reader to the Contactless device
A
tRFF
B
tRFR
ƒcc
tRFSBL
)
s
t(
tMIN CD
c
u
d
FRAME Transmission between the reader and the contactless device
tDR
tDR
0
1
DATA
1
e
t
le
EOF
FRAME Transmitted by the SRI512
in BPSK
FRAME Transmitted by the reader in ASK
o
s
b
847KHz
-O
t0
)
s
(
ct
o
r
P
SOF
11 0
t1
tDA
DATA
10
DATA
10
tDA
Data jitter on FRAME Transmitted by the reader in ASK
u
d
o
r
P
e
t
e
l
o
bs
tJIT
tJIT
tJIT
tJIT
tJIT
0
START
tRFSBL
tRFSBL
tRFSBL
tRFSBL
tRFSBL
Ai10951
O
Doc ID13263 Rev 8
41/47
46
Part numbering
11
SRI512
Part numbering
Table 10. Ordering information scheme
Example:
SRI512
–
SB12I
/ 1GE
Device type
SRI512
)
s
t(
Package
c
u
d
SB12I = 120 µm ± 10 µm bumped and sawn inkless wafer on 8-inch frame
Customer code
1GE = generic product
e
t
le
xxx = customer code after personalization
o
s
b
Note:
o
r
P
Devices are shipped from the factory with the memory content bits erased to 1.
O
)
For a list of available options (speed, package, etc.) or for further information on any aspect
of this device, please contact your nearest ST sales office.
s
(
t
c
u
d
o
r
P
e
t
e
l
o
s
b
O
42/47
Doc ID13263 Rev 8
SRI512
ISO 14443 Type B CRC calculation
Appendix A
ISO 14443 Type B CRC calculation
#include
#include
#include
#include
#define BYTE unsigned char
#define USHORT unsigned short
unsigned short UpdateCrc(BYTE ch, USHORT *lpwCrc)
{
ch = (ch^(BYTE)((*lpwCrc) & 0x00FF));
ch = (ch^(ch 8)^((USHORT)ch > 8) & 0xFF);
return;
}
o
s
b
O
)
s
(
t
c
u
d
o
r
P
e
s
b
O
t
e
l
o
int main(void)
{
BYTE BuffCRC_B[10] = {0x0A, 0x12, 0x34, 0x56}, First, Second, i;
printf("Crc-16 G(x) = x^16 + x^12 + x^5 + 1”);
printf("CRC_B of [ ");
for(i=0; i