參數(shù)資料
型號: LRI512
廠商: 意法半導(dǎo)體
英文描述: Memory TAG IC 512 bit High Endurance EEPROM 13.56MHz, ISO 15693 Standard Compliant with E.A.S.
中文描述: 內(nèi)存標(biāo)簽集成電路的512位高耐力的EEPROM 13.56,ISO 15693標(biāo)準(zhǔn)符合標(biāo)準(zhǔn)的防盜
文件頁數(shù): 41/54頁
文件大小: 351K
代理商: LRI512
41/54
LRI512
APPENDIX B
The CRC Error Detection Method
The Cyclic Redundancy Check (CRC) is calculat-
ed on all data contained in a message, from the
start of the Flags through to the end of Data. This
CRC is used from the VCD to the LRI512, and
from the LRI512 to the VCD.
Table 54. CRC Definition
To add extra protection against shift errors, a fur-
ther 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 two CRC
bytes are often also included in the re-calculation,
for ease of use. In this case, given the expected
C-Example to calculate or check the CRC16 according to ISO/IEC 13239
value for the generated CRC is the residue of
F0B8h
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 POLYNOMIAL0x8408// x^16 + x^12 + x^5 + 1
#define PRESET_VALUE0xFFFF
#define CHECK_VALUE0xF0B8
#define NUMBER_OF_BYTES4// Example: 4 data bytes
#define CALC_CRC1
#define CHECK_CRC0
void main()
{
unsigned int current_crc_value;
unsigned char array_of_databytes[NUMBER_OF_BYTES + 2] = {1, 2, 3, 4, 0x91, 0x39};
int number_of_databytes = NUMBER_OF_BYTES;
int calculate_or_check_crc;
int i, j;
calculate_or_check_crc = CALC_CRC;
// calculate_or_check_crc = CHECK_CRC;// This could be an other example
if (calculate_or_check_crc == CALC_CRC)
{
number_of_databytes = NUMBER_OF_BYTES;
}
else // check CRC
{
number_of_databytes = NUMBER_OF_BYTES + 2;
}
current_crc_value = PRESET_VALUE;
for (i = 0; i < number_of_databytes; i++)
{
current_crc_value = current_crc_value ^ ((unsigned int)array_of_databytes[i]);
for (j = 0; j < 8; j++)
{
if (current_crc_value & 0x0001)
{
CRC Definition
CRC Type
Length
Polynomial
Direction
Preset
Residue
ISO/IEC 13239
16 bits
X
16
+ X
12
+ X
5
+ 1 = Ox8408
Backward
0xFFFF
0xF0B8
相關(guān)PDF資料
PDF描述
LRI512-C40 EEPROM
LRI64-W4 Memory TAG IC, 64-bit Unique ID with WORM User Area 13.56MHz, ISO 15693 Standard Compliant
LRI64 Memory TAG IC, 64-bit Unique ID with WORM User Area 13.56MHz, ISO 15693 Standard Compliant
LRI64-A1S Memory TAG IC, 64-bit Unique ID with WORM User Area 13.56MHz, ISO 15693 Standard Compliant
LRI64-A1T CONN HOUSING 2MM 18POS POLARIZED
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
LRI512-A1S/ISOR 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:EEPROM
LRI512-A1T/ISOR 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:EEPROM
LRI512-A2T/ISOK 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:EEPROM
LRI512-A7T/2GE 制造商:STMicroelectronics 功能描述:
LRI512-C40 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:EEPROM