Application Note 22 of 31 Rev. 1.30
2022-03-01
Current Sensor TLI4971
Programming Guide and User Manual
Table 15 CRC calculation specification
[0xAA
hex
] XOR
[EEPROM_line_03_bit15_downto_bit8]
The CRC calculation starts with the content
of the upper 8 bits in the EEPROM line 3
CRC_3_1 XOR
[EEPROM_line_03_bit07_downto_bit0]
Continue calculating the CRC with the lower
8 bits stored in the EEPROM line 3
CRC_3_2 XOR
[EEPROM_line_04_bit15_downto_bit8]
CRC_4_1 XOR
[EEPROM_line_04_bit07_downto_bit0]
Proceed calculation until EEPROM line 17
CRC_n_1 XOR
[EEPROM_line_17_bit07_downto_bit0]
CRC_n stands for CRC_17 to represent the
CRC calculation with the content of the last
line (17) of the EEPROM
CRC_n_2 XOR
[EEPROM_line_00_bit15_downto_bit8]
Continue calculating the CRC with the
content of EEPROM line 0
Proceed calculation until EEPROM line 2
CRC_k-1_2 XOR
[EEPROM_line_02_bit15_downto_bit8]
CRC_k represents the CRC value calculated
with the EEPROM content of the third
EEPROM line (line 2).
The CRC has to be stored into the lower 8
bits of the EEPROM line 2.