KMA199E,115 NXP Semiconductors, KMA199E,115 Datasheet - Page 19
![IC SENSOR PROG ANGLE SOT880](/photos/27/2/270220/kma199e_sml.jpg)
KMA199E,115
Manufacturer Part Number
KMA199E,115
Description
IC SENSOR PROG ANGLE SOT880
Manufacturer
NXP Semiconductors
Datasheet
1.KMA199E115.pdf
(31 pages)
Specifications of KMA199E,115
Position - Sensing
180°
Sensor Type
Angular - Magnetoresistive
Voltage - Supply
4.5 V ~ 5.5 V
Operating Temperature
-40°C ~ 160°C
Supply Current
10 mA
Maximum Operating Temperature
+ 160 C
Minimum Operating Temperature
- 40 C
Supply Voltage (max)
5.5 V
Supply Voltage (min)
4.5 V
Package / Case
SOT-880
Output Type
Analog - Voltage
Operating Temperature (min)
-40C
Operating Supply Voltage (typ)
5V
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Other names
568-4329-2
934061291115
KMA199E T/R
KMA199E T/R
934061291115
KMA199E T/R
KMA199E T/R
NXP Semiconductors
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
KMA199E_1
Product data sheet
#include <stdio.h.>
// calc_crc accepts unsigned 16-bit data in data
int calc_crc(int crc, unsigned int data)
{
}
int main(void)
{
}
const int gpoly = 0x107; // generator polynomial
int i;
for (i = 15; i >= 0; i--)
}
return crc;
int crc, crc_res, i;
// 8 LSB are CRC field filled with 0
unsigned int data_seq[] = {0x1111, 0x2222, 0x3333, 0x4444,
// calculate checksum over all data
crc = 0xFF;
printf(“Address\tValue\n”);
for (i = 0; i <= 15; i++)
{
}
crc_res = crc;
printf(“\nChecksum\n0x%02X\n”, crc_res);
// check procedure for above data sequence
crc = 0xFF;
for (i = 0; i <= 14; i++)
// last word gets crc inserted
crc = calc_crc(crc, data_seq[i]
printf(“\nCheck procedure for data sequence: must be 0x00 is 0x%02X.\n”,crc);
return 1;
13.4.1 Software example in C
crc <<= 1;
crc = (int) ((data & (1u<<i))>>i);
// XOR of with generator polynomial when MSB(9) = HIGH
if (crc & 0x100) crc ^= gpoly;
printf(“0x%1X\t0x%04X\n”, i, data_seq[i]);
crc = calc_crc(crc, data_seq[i]);
crc = calc_crc(crc, data_seq[i]);
The checksum of this data sequence is 6Fh.
//index variable
//shift left
0x5555, 0x6666, 0x7777, 0x8888,
0x9999, 0xAAAA, 0xBBBB, 0xCCCC,
0xDDDD, 0xEEEE, 0xFFFF, 0x4200};
// start value of crc register
// crc_res = 0x6F
Rev. 01 — 18 October 2007
{
crc_res);
Programmable angle sensor
KMA199E
© NXP B.V. 2007. All rights reserved.
19 of 31