TLE4998C4 Infineon Technologies, TLE4998C4 Datasheet - Page 41
![no-image](/images/manufacturer_photos/0/3/327/infineon_technologies_sml.jpg)
TLE4998C4
Manufacturer Part Number
TLE4998C4
Description
IC HALL SENSOR LINEAR SSO-4
Manufacturer
Infineon Technologies
Type
Linear - Programmabler
Datasheet
1.TLE4998C4.pdf
(42 pages)
Specifications of TLE4998C4
Sensing Range
-200mt Trip ~ 200mT Release
Voltage - Supply
4.5 V ~ 5.5 V
Current - Supply
8mA
Current - Output (max)
5mA
Output Type
Digital, PWM (Current)
Operating Temperature
-40°C ~ 150°C
Package / Case
4-SIP, SSO-4-01
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Features
-
Other names
SP000440972
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
12.7
The Checksum nibble is a 4-bit CRC of the data nibbles including the status nibble. The
CRC is calculated using a polynomial x
In the TLE4998C3C it is implemented as a series of XOR and shift operations as shown
in the following flowchart:
Figure 15
A microcontroller implementation may use an XOR command plus a small 4-bit lookup
table to calculate the CRC for each nibble.
Figure 16
Data Sheet
// Fast way for any µC with low memory and compute capabilities
char Data[8] = {…}; // contains the input data (status nibble , 6 data nibble , CRC)
// required variables and LUT
char CheckSum, i;
char CrcLookup[16] = {0, 13, 7, 10, 14, 3, 9, 4, 1, 12, 6, 11, 15, 2, 8, 5};
CheckSum= 5; // initialize checksum with seed "0101"
for (i=0; i<7; i++) {
}
; // finally check if Data [7] is equal to CheckSum
CheckSum = CheckSum ^ Data[i];
CheckSum = CrcLookup[CheckSum];
Checksum Nibble Details
Pre-initialization :
SEED = 0101 , use this
GENERATOR = 1101
CRC Calculation
Example Code for CRC Generation
constant as old CRC
value at first call
next Nibble
4
CRC calculation
+x
41
3
VALUE xor
xor SEED
+ x
VALUE
xor only if MSB = 1
<<1
SEED
GENPOLY
2
Nibble
VALUE
SEED
+ 1 with a seed value of 0101.
xor
0
SPC Output Definition
4x
TLE4998C3C
Rev 1.1, 2009-09