LRI64-SBN18/1GE STMicroelectronics, LRI64-SBN18/1GE Datasheet - Page 45
![no-image](/images/manufacturer_photos/0/6/637/stmicroelectronics_sml.jpg)
LRI64-SBN18/1GE
Manufacturer Part Number
LRI64-SBN18/1GE
Description
IC EEPROM MEMORY TAG WAFER
Manufacturer
STMicroelectronics
Series
LRI64r
Datasheet
1.LRI64-W41GE.pdf
(49 pages)
Specifications of LRI64-SBN18/1GE
Rf Type
Write Once Read Many (WORM)
Frequency
13.56MHz
Features
ISO15693, ISO18000-3
Package / Case
Wafer
For Use With
497-5538 - DEMO KIT LONG-RANGE
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
LRI64
Appendix B
22.1
The cyclic redundancy check (CRC) is calculated on all data contained in a message, from
the start of the flags through to the end of Data. This CRC is used from VCD to LRI64 and
from LRI64 to VCD.
To add extra protection against shifting errors, a further transformation on the calculated
CRC is made. The One’s Complement of the calculated CRC is the value attached to the
message for transmission.
For checking of received messages the 2 CRC bytes are often also included in the re-
calculation, for ease of use. In this case, given the expected value for the generated CRC is
the residue of F0B8h
Table 17.
CRC calculation example
This example in C language illustrates one method of calculating the CRC on a given set of
bytes comprising a message.
#define
#define
#define
#define
#define
#define
void main()
{
4, 0x91, 0x39};
// calculate_or_check_crc = CHECK_CRC;// This could be an other
example
CRC Type
unsigned char array_of_databytes[NUMBER_OF_BYTES + 2] = {1, 2, 3,
unsigned int
int
int
int
calculate_or_check_crc = CALC_CRC;
if (calculate_or_check_crc == CALC_CRC)
{
}
ISO/IEC
13239
number_of_databytes = NUMBER_OF_BYTES;
POLYNOMIAL0x8408//
PRESET_VALUE0xFFFF
CHECK_VALUE0xF0B8
NUMBER_OF_BYTES4// Example: 4 data bytes
CALC_CRC1
CHECK_CRC0
C-example to calculate or check the CRC16
according to ISO/IEC 13239
CRC definition
Length
16 bits
C-example to calculate or check the CRC16 according to ISO/IEC 13239
current_crc_value;
number_of_databytes = NUMBER_OF_BYTES;
calculate_or_check_crc;
i, j;
X
16
+ X
12
+ X
Polynomial
5
+ 1
CRC definition
x^16 + x^12 + x^5 + 1
= Ox8408
Direction
Backward
Preset
FFFFh
Residue
F0B8h
45/49