KMA200 Programmable angle sensor Rev. 07 — 18 July 2008 Product data sheet 1. Product profile 1.1 General description The KMA200 is an angle sensor system. The MagnetoResistive (MR) element and the mixed signal Integrated Circuit (IC) are integrated in one package. This angle system is already pre-programmed, offsets are compensated and therefore, ready to use. Via the Serial Peripheral Interface (SPI) the KMA200 is user programmable. This allows user specific adjustments of the maximum angle, zero point, clamping level and a 32-bit identifier. The data is stored permanently in an Electrically Erasable Programmable Read-Only Memory (EEPROM). The device can be programmed to work either in analog or digital (SPI) output mode. Furthermore, different analog output characteristics are possible. The resolution is better than 0.05°. The implemented online diagnosis supervises the input and output signals as well as the data processing. Deviations and failures of the angle value are indicated in the output signal. Overall temperature supervision is implemented. 1.2 Features n Magnetic field angular sensing n High accuracy n Operating temperature range from −40 °C to +160 °C n Online diagnosis n Bidirectional digital interface (SPI) n Programmable maximum angle up to 180° n Pre-calibrated, ready to use device n One package angle sensor system n Resolution better than 0.05° n Digital or analog output signals (user programmable) n Overvoltage protection at all external pins n EEPROM (user programmable) n Programmable zero point KMA200 NXP Semiconductors Programmable angle sensor 1.3 Quick reference data Table 1. Quick reference data Symbol Parameter Conditions Min Typ Max Unit VDD supply voltage normal operation 4.5 5.0 5.5 V VDD(pr) programming supply voltage EEPROM 12 12.5 13 V Tamb ambient temperature < 1000 hours in life time at 160 °C −40 - +160 °C Tamb(pr) programming ambient temperature EEPROM 10 - 70 °C CL load capacitance at pin 2 and pin 3 27 nF RL(pu) pull-up load resistance RL(pd) pull-down load resistance Cext external capacitance between VDD and GND conducted closely to supply pins of KMA200 0.1 - [1] 5 - ∞ kΩ [2][3] 5 - 10 kΩ 82 - 120 nF [1] Diagnosis GND and VDD lost only possible with a pull-up resistor of 5 kΩ to 6 kΩ. [2] Diagnosis VDD lost only possible with a pull-down resistor of 5 kΩ to 6 kΩ. [3] Load resistor required to enable the diagnosis features. Infinite resistor load permitted for normal operation without the diagnosis features. 2. Pinning information Table 2. Pinning Pin Symbol Description 1 VDD supply voltage 2 DATA/OUT1 Simplified outline[1] data Input/Output (I/O) analog output 1 3 CLK/OUT2 data clock 4 GND ground 5 CS chip select analog output 2 (used for data transfer I/O) 1 2 3 4 5 [1] The other pins and lead frame parts must not be electrical connected. For operation of the device the external pins must/have to be used. 3. Ordering information Table 3. Ordering information Type number KMA200 Package Name Description Version - plastic single-ended multi-chip package; 6 interconnections; 5 in-line leads SOT637 KMA200_7 Product data sheet © NXP B.V. 2008. All rights reserved. Rev. 07 — 18 July 2008 2 of 32 xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx NXP Semiconductors KMA200_7 Product data sheet 4. Functional diagram DIGITAL PART MR-SENSOR ELEMENT WATCHDOGTIMER DEC.-FIL. ROM VOLTAGE LIMITER VDD EEPROM + / − /AND/OR DEC.-FIL. CALIBRATION MICROCONTROLLER +1 COUNTER SERIAL INTERFACE DATA/OUT1 Rev. 07 — 18 July 2008 CLK/OUT2 BIAS OSC, OSCFS MISC TEMP. SENSOR Vref AUX. ADC CS DIAGNOSTICS HVPROTECTION cosine bridge − sine bridge − BUFFER 1 REVERSE POLARITY PROTECTION H(z) ANALOG INPUT STAGE RESISTORSTRING D/A BUFFER 2 ANALOG OUTPUT STAGE OVER-VOLTAGE AND REVERSE POLARITY PROTECTION 006aaa296 Fig 1. Functional diagram KMA200 3 of 32 © NXP B.V. 2008. All rights reserved. Σ∆-MODULATOR GND Programmable angle sensor Σ∆-MODULATOR INSTR.- AMP. INSTR.- AMP. H(z) KMA200 NXP Semiconductors Programmable angle sensor 5. Functional description The KMA200 amplifies two orthogonal sinusoidal signals delivered by the MR-sensor element and converts them into the digital domain. Using the COordinate Rotation DIgital Computer (CORDIC) algorithm, the angle is calculated. Angle output is either analog or digital. The KMA200 comprises diagnostic features that ensure a complete online supervision of all essential functional blocks including verification of input and output signals and temperature supervision. In addition, the circuit is protected against reverse polarity, overvoltage and short circuit at all external pins. Two instrumentation amplifiers and ∑∆-modulators convert the amplified signals into two high-speed digital bit streams. The bit streams are filtered and decimated by two digital decimation filters to obtain digital signals with higher resolution at a lower speed. Further processing is done within an on-chip calibration microcontroller. This includes offset cancellation, calculation of the mechanical angle using the CORDIC algorithm, zero-angle and angular-range adjustment. In addition, the calibration microcontroller performs diagnostic tasks to ensure the validity of its results. The calibration microcontroller takes calibration constants from an on-chip EEPROM and stores intermediate results in a Random Access Memory (RAM). The calculated angle is given out either digitally with an SPI-compatible serial interface or analog via the analog output stage. Several output characteristics can be selected. In case of analog output the analog output stage is used for conversion of the angle information into two analog output voltages ratiometric to the supply voltages. For this purpose, the analog output stage contains two resistor-string Digital-to-Analog Converters (DACs) which share the same resistor string. The two analog output voltages are buffered by two offset-compensated amplifiers. The internal circuitry is protected against overvoltage with special protection circuits. Protection against reverse polarity is realized with the help of a current limiting circuit. In addition, there are various support circuits like bias generators, a free-running oscillator including an oscillator fail-safe circuit and a power-on reset circuit which generates a reset in dependence of the supply voltage. KMA200_7 Product data sheet © NXP B.V. 2008. All rights reserved. Rev. 07 — 18 July 2008 4 of 32 KMA200 NXP Semiconductors Programmable angle sensor 6. Diagnostic features The KMA200 includes diagnostic features to ensure the validity of its output signals. The diagnostic features can be configured with the control information words (ctrl) written to the user-programmable EEPROM. In the analog output modes a diagnostic error condition is signaled to the user by setting the outputs into the high-impedance state. The outputs are forced to lie in the upper or lower diagnostic range by external pull-up or pull-down resistors. With no external pull-up/pull-down resistors the output signal will be internally pulled up to upper diagnosis range. If digital output is selected, an error condition can also be signaled by setting the error flag in the digital output word. The least significant bits show the error code. The Table 4 shows the behavior in detail: Once a diagnostic error condition is reached, the KMA200 continues to work normally after a new external power-on reset or by itself, as described in the table below. It is possible to configure the KMA200 the way that the error condition has to be fulfilled more than once. The number of error conditions that is necessary can also be programmed with bits in the control information words. Table 4. Summary KMA200 behavior at diagnosis conditions in normal operation mode Error appearance Analog output Digital output Oscillator fail detection [1] high-impedance state [1] Cyclic Redundancy Check (CRC) [1] high-impedance state [1] diagnosis bit set Watchdog [1] high-impedance state [1] high-impedance state Input stage (including magnet lost) Output stage high-impedance state diagnosis bit set [1] high-impedance state - [1] high-impedance state Over-temperature warning Over-temperature shutdown high-impedance state - diagnosis bit set [1] high-impedance state Overvoltage high-impedance state high-impedance state Reverse polarity high-impedance state high-impedance state [1] Reactivation for angular measurement with valid angle information (normal operation mode) only by new external power-on reset Temperature supervision The chip temperature measured within the KMA200 can be used to detect over-temperature conditions. Two temperature levels are defined: the temperature warning level and the temperature shutdown level. The user can evaluate the temperature warning if digital output mode is selected. When the device temperature exceeds the warning level, the error flag in the digital output word is set. The other data bits still show the angle information. In the analog output modes, the device temperature warning is not available. If the temperature exceeds the over-temperature shutdown level, the KMA200 switches off. KMA200_7 Product data sheet © NXP B.V. 2008. All rights reserved. Rev. 07 — 18 July 2008 5 of 32 KMA200 NXP Semiconductors Programmable angle sensor Diagnosis of input stage For diagnosis of the input stage, the calibration microcontroller calculates the expected signal magnitude using the temperature information and the EEPROM constants and compares it to the signal magnitude based on the current measurement. If the difference of the two magnitudes is greater than an allowed deviation, an error condition is signaled to the user. The allowed difference depends on the bits DI1 and DI0 in the EEPROM control information word. Diagnosis of output stage Both analog outputs are supervised by the auxiliary ADC which reads the present analog signal and converts it back to the digital domain with a resolution of 8 bits. The digitized value is compared to the digital angle value originally sent. If the difference of these two values is greater than an error bound, an error condition is signaled by switching off the analog outputs. The allowed difference depends on the bits DO1 and DO0 in the EEPROM control information word. CRC check of EEPROM constants During normal operation mode a CRC code of the configuration constants taken from the EEPROM is calculated on a regular basis. This code is compared to a pre-calculated CRC code from the EEPROM (CRC). If there is a mismatch, an error condition is signaled to the user by setting the error flag in the digital output word or by switching off the analog outputs. The CRC code used is the CRC-16 code (ISO/IEC 3309:1993 and ITU-T V.42) Watchdog timer The KMA200 comprises a watchdog timer to supervise the flow of the program. After reset, the watchdog is automatically activated. During operation the watchdog timer must be toggled on a regular basis, as otherwise the error condition is signaled. The access to the watchdog timer is protected against unwanted operations using a fail-safe watchdog feed sequence. KMA200_7 Product data sheet © NXP B.V. 2008. All rights reserved. Rev. 07 — 18 July 2008 6 of 32 KMA200 NXP Semiconductors Programmable angle sensor Oscillator fail-safe circuit The function of the free-running oscillator is checked with re-triggered mono flop. If the mono flop is not triggered, the KMA200 signals an error. device situation VDD modes device damage undefined 32 V overvoltage protection for 400 ms reset high overvoltage protection 26.5 V reset overvoltage protection for infinite duration 13 V overvoltage protection, normal programming area, temp within 0 °C to 70 °C low overvoltage protection 12 V weak pull-up 7V overvoltage protection, programming area - unsufficient voltage specification parameters are not valid (*) (diagnosis functions available) operating 6V 5.5 V operation normal operation area operating 4.5 V specification parameters are not valid (*) (diagnosis functions available) 4.45 V 4.4 V operating power on/off reset switch-on reset 3.1 V low voltage off reverse polarity protection off 0V reverse polarity voltage protection device damage 006aaa297 Power supply behavior; the device operation dependencies to its power supply voltage KMA200_7 Product data sheet 2.9 V low voltage (device switched-off) −16.5 V undefined Fig 2. switch-off 0.05 V < hysteresis< 0.6 V © NXP B.V. 2008. All rights reserved. Rev. 07 — 18 July 2008 7 of 32 KMA200 NXP Semiconductors Programmable angle sensor 7. Outputs of KMA200 The output of the KMA200 is either digital or analog, depending on the control word stored in the EEPROM. The analog output consists of a standard and a programmable output stage. The programmable output stage allows four different characteristics; mode 1, mode 2, mode 3 or none output. The digital output has two different modes; mode 5 and mode 6. Analog output In the analog output mode the measured angle value is converted linear into a value that is ratiometric to the supply voltage VDD. This voltage is driven by the standard output stage to pin DATA/OUT1. The same value is fed to a second output stage that is connected to pin CLK/OUT2. This second output stage is programmable to one of four different output characteristics; mode 1, mode 2, mode 3 or high-impedance state output. A valid angle value is nominally mapped to an output voltage range of V(CL)l (default = 5 %) to V(CL)u (default = 95 %) of VDD at the standard output VOUT1 (see Figure 3). For mode 1 the valid output voltage range at pin CLK/OUT2 is identical to the output voltage range of the standard analog voltage but the output characteristic is inverted (see Figure 4). In mode 2 (see Figure 5) the valid output range at pin CLK/OUT2 is nominally V(CL)l/2 to V(CL)u/2 of VDD. A further possibility is to program the VOUT2 (mode 3, αthresh) as a comparator depending from the angle value (see Figure 6). When the KMA200 detects an error condition, it switches the analog outputs into high-impedance state. The outputs are forced to lie in the upper or lower diagnostic range by the external pull-up or pull-down resistors. Table 5. Setting the KMA200 output characteristics Output characteristics Pin assignment Mode setting of EEPROM (ctrl1) Mode Type DATA/OUT1 CLK/OUT2 OM2 OM1 OM0 Mode 1 analog standard inverted 1 0 0 Mode 2 analog standard half range 1 0 1 Mode 3 analog standard comparator 1 1 0 Mode 4 analog standard high-impedance state 1 1 1 Mode 5 digital serial data (SPI) (clock) 0 0 0 Mode 6 digital bit complement serial data (SPI) (clock) 0 0 1 KMA200_7 Product data sheet © NXP B.V. 2008. All rights reserved. Rev. 07 — 18 July 2008 8 of 32 KMA200 NXP Semiconductors Programmable angle sensor VOUT1/ VDD 100 % diagnostics area 96 % V(CL)u (180° − α max) / 2 V(CL)l 4% diagnostics area 0 Fig 3. α max 0° 180° 006aaa298 Standard analog output mode VOUT2 / VDD 100 % diagnostics area 96 % V(CL)u (180° − α max) / 2 V(CL)l 4% diagnostics area 0 Fig 4. α max 0° 006aaa299 Inverted analog output (mode 1) KMA200_7 Product data sheet 180° © NXP B.V. 2008. All rights reserved. Rev. 07 — 18 July 2008 9 of 32 KMA200 NXP Semiconductors Programmable angle sensor VOUT2/VDD 100 % diagnostics area 50 % V(CL)u/2 (180° − αmax)/2 V(CL)l/2 2% 0 diagnostics area αmax 0° Fig 5. 180° 006aaa300 Half range output mode (mode 2) VOUT2 / VDD 100 % HIGH 90 % VOUT2 VOUT1 (180° − α max) / 2 10 % LOW 0 Fig 6. 0° α thresh 180° 006aaa301 Comparator analog output (mode 3) KMA200_7 Product data sheet α max © NXP B.V. 2008. All rights reserved. Rev. 07 — 18 July 2008 10 of 32 KMA200 NXP Semiconductors Programmable angle sensor 8. Digital output (SPI) Standard digital output If the standard digital output mode is configured, output data can be read with the serial interface. Figure 7 shows the timing diagram of an interface access. The access is enclosed by a HIGH-to-LOW and LOW-to-HIGH transition of CS. DATA are clocked out at the falling edge of CLK and should be evaluated at the rising edge. The output data consist of 3 bytes (24 bits). The first two data bytes contain an error flag and 13 bits of angle information. The last data byte contains the measured temperature as 7-bit value. Every byte features a parity bit (odd parity). The data transmission can be interrupted at any time by deactivating CS. If, for instance, the temperature information is not desired, the data transfer can be finished by deactivating CS after reading the first two data bytes. If the error flag is 0, the 13 angle data bits contain the most significant bits of the calculated angle. If the error flag is 1, an error condition was detected. The two least significant angle data bits (A[1:0]) are replaced by an error code. All other angle data bits (A[12:2]) still show the current measurement value. Depending on the special error case, the measurement values are reliable or not. Error codes are described in Table 8. The output driver of the DATA pin is slew-rate limited. The rise and fall times of the DATA output can be programmed with the SL bit (ctrl EEPROM constant); see Table 12. Complementary digital output In complementary digital output mode the data transmitted is identical to the output data in standard digital output mode except that the angle and temperature information data bits are logically inverted. The error flag and the error code in bits A[1:0] when the error flag is set are coded as in case of standard digital output. The parity bits also use odd parity as standard digital output mode. angle (MSBs) angle (LSBs) temperature CS CLK P2 DATA P2, P1, P0 EF A12 to A0 T6 to T0 Fig 7. EF A12 A11 A7 P1 DATA HIGH-Z (HIGH by internal weak pullup) Parity bits (odd parity) Error flag 13-bit angle data 7-bit temperature data A5 A0 P0 T6 T5 T0 006aaa302 Digital output coding KMA200_7 Product data sheet A6 © NXP B.V. 2008. All rights reserved. Rev. 07 — 18 July 2008 11 of 32 KMA200 NXP Semiconductors Programmable angle sensor 9. Limiting values Table 6. Limiting values In accordance with the Absolute Maximum Rating System (IEC 60134). Symbol Parameter Conditions Min Max Unit VDD supply voltage pin VDD versus GND −16.5 +26.5 V at t < 400 ms - 32 V VX voltage on pins CS, DATA/OUT1, CLK/OUT2 versus GND 0 100 %VDD Tamb ambient temperature < 1000 hours in life time at 160 °C −40 +160 °C Tamb(pr) programming ambient temperature EEPROM 10 70 °C Tstg storage temperature −50 +150 °C EEPROM tret retention time Tmax(AV) = 50 °C 17 - year Nendu(W_ER) write or erase endurance Tmax(AV) = 70 °C for programming - 500 cycle KMA200_7 Product data sheet © NXP B.V. 2008. All rights reserved. Rev. 07 — 18 July 2008 12 of 32 KMA200 NXP Semiconductors Programmable angle sensor 10. Characteristics Table 7. Characteristics In homogenous magnetic field at saturation field strength of minimum 35 kA/m and external capacitance Cext between VDD and GND. Tamb = −40 °C to +160 °C; VDD = 4.5 V to 5.5 V. Symbol Parameter Conditions Min Typ Max Unit Supply voltage and operation currents VDD supply voltage normal operation 4.5 5.0 5.5 V VDD(pr) programming supply voltage EEPROM 12 12.5 13 V IDD supply current for normal operation mode 5 - 12 mA CL load capacitance at pin 2 and pin 3 RL(pu) pull-up load resistance RL(pd) pull-down load resistance Cext external capacitance between VDD and GND 0.1 - 27 nF [1] 5 - ∞ kΩ [2][3] 5 - 10 kΩ conducted closely to supply pins of KMA200 82 - 120 nF Power-on reset VDDon switch-on threshold voltage KMA200 switches on if VDD > VDDon 3.1 3.75 4.45 V VDDoff switch-off threshold voltage KMA200 switches off if VDD < VDDoff 2.9 - 4.4 V Vhys hysteresis voltage Vhys = VDDon − VDDoff 0.05 - 0.6 V 5 - 95 %VDD System performance Analog output VOUT1: standard output VOUT1(nom) nominal output voltage range on pin OUT1 VO(ldr) lower diagnostic range output voltage on OUT1 0 - 4 %VDD VO(udr) upper diagnostic range output voltage on OUT1 96 - 100 %VDD αmax maximum angle programmable from 0° to angle range αmax EEPROM address 3 0.1 - 180 deg V(CL)u upper clamping voltage level setting by EEPROM address 9 69.5 - 95 %VDD V(CL)l lower clamping voltage level setting by EEPROM address 9 5 - 30.5 %VDD - 0.04 0.05 deg αres angle resolution 4608 counts in nominal output voltage range (clamping level 5 %VDD to 95 %VDD) [4] No output noise peak to peak, 25 ms measurement time [4] - - 0.1 deg ∆V(CL) clamping voltage variation at 5 %VDD and 95 %VDD [4] −0.3 - +0.3 %VDD ∆ϕlin angle linearity error normal operation mode, deviation from reference line [4] −1.65 - +1.65 deg ∆ϕT angle temperature drift valid for temperature range −25 °C up to +125 °C (3 sigma) [4][5] −0.64 - +0.64 deg ∆ϕµlin microlinearity deviation at an angle step of 1° [4] −0.1 - +0.1 deg absolute value [4] 0 - 0.088 deg ∆ϕhys hysteresis KMA200_7 Product data sheet © NXP B.V. 2008. All rights reserved. Rev. 07 — 18 July 2008 13 of 32 KMA200 NXP Semiconductors Programmable angle sensor Table 7. Characteristics …continued In homogenous magnetic field at saturation field strength of minimum 35 kA/m and external capacitance Cext between VDD and GND. Tamb = −40 °C to +160 °C; VDD = 4.5 V to 5.5 V. Symbol Parameter Conditions Min Typ Max Unit 5 - 95 %VDD Analog programmable output VOUT2: mode 1 VOUT2(nom) nominal output voltage range on pin OUT2 VO(ldr) lower diagnostic range output voltage on OUT2 0 - 4 %VDD VO(udr) upper diagnostic range output voltage on OUT2 96 - 100 %VDD αmax maximum angle programmable from 0° to angle range αmax EEPROM address 3 0.1 - 180 deg V(CL)u upper clamping voltage level setting by EEPROM address 9 69.5 - 95 %VDD V(CL)l lower clamping voltage level setting by EEPROM address 9 5 - 30.5 %VDD αres angle resolution 4608 counts in nominal output voltage range (clamping level 5 %VDD to 95 %VDD) [4] - 0.04 0.05 deg No output noise peak to peak, 25 ms measurement time [4] - - 0.1 deg ∆V(CL) clamping voltage variation at 5 %VDD and 95 %VDD [4] −0.3 - +0.3 %VDD [4] −1.65 - +1.65 deg [4][5] −0.64 - +0.64 deg ∆ϕlin angle linearity error normal operation mode, deviation from reference line ∆ϕT angle temperature drift valid for temperature range −25 °C up to +125 °C (3 sigma) ∆ϕµlin microlinearity deviation at an angle step of 1° [4] −0.1 - +0.1 deg ∆ϕhys hysteresis absolute value [4] 0 - 0.088 deg plausibility VOUT1 to VOUT2 (mode 1) |VOUT1 + VOUT2 − VDD| ≤ Vpl(mode1) [4] −0.5 - +0.5 %VDD Vpl(mode1) KMA200_7 Product data sheet © NXP B.V. 2008. All rights reserved. Rev. 07 — 18 July 2008 14 of 32 KMA200 NXP Semiconductors Programmable angle sensor Table 7. Characteristics …continued In homogenous magnetic field at saturation field strength of minimum 35 kA/m and external capacitance Cext between VDD and GND. Tamb = −40 °C to +160 °C; VDD = 4.5 V to 5.5 V. Symbol Parameter Conditions Min Typ Max Unit 2.5 - 47.5 %VDD Analog programmable output VOUT2: mode 2 VOUT2(nom) nominal output voltage range on pin OUT2 VO(ldr) lower diagnostic range output voltage on OUT2 0 - 2 %VDD VO(udr) upper diagnostic range output voltage on OUT2 50 - 100 %VDD αres angle resolution 2304 counts in nominal output voltage range with clamping level 5 %VDD to 95 %VDD - 0.08 - deg αmax maximum angle programmable from 0° to angle range αmax EEPROM address 3 0.1 - 180 deg No output noise peak to peak, 25 ms measurement time [4] - - 0.2 deg ∆V(CL) clamping voltage variation at 2.5 %VDD and 47.5 %VDD [4] −0.3 - +0.3 %VDD [4] −2.0 - +2.0 deg −0.64 - +0.64 deg [4] ∆ϕlin angle linearity error normal operation mode, deviation from reference line ∆ϕT angle temperature drift valid for temperature range −25 °C up to +125 °C (3 sigma) ∆ϕµlin microlinearity deviation at an angle step of 1° [4] −0.2 - +0.2 deg [4] 0 - 0.088 deg −0.7 - +0.7 %VDD ∆ϕhys hysteresis absolute value Vpl(mode2) plausibility VOUT1 to VOUT2 (mode 2) |VOUT1 − 2 × VOUT2| ≤ Vpl(mode2) [4][5] Analog programmable output VOUT2: mode 3 VOUT2(L) LOW-level output voltage on pin OUT2 0 - 10 %VDD VOUT2(H) HIGH-level output voltage on pin OUT2 90 - 100 %VDD αth(res) threshold angle resolution - - 16 bit - 0.022 - deg/LSB setting by EEPROM address 4 Digital output and complement digital output αres(dig) digital angle resolution Ndig digital noise level noise: 10 measurements in sequence - - 4 LSB ∆ϕlin angle linearity error normal operation mode from reference line −1.65 - +1.65 deg ∆ϕT angle temperature drift −1.3 - +1.3 deg −0.5 - +0.5 deg valid for temperature range −25 °C up to +125 °C (3 sigma) ∆ϕµlin microlinearity ∆ϕhys hysteresis absolute value KMA200_7 Product data sheet −0.088 - +0.088 deg 0 0.088 - deg © NXP B.V. 2008. All rights reserved. Rev. 07 — 18 July 2008 15 of 32 KMA200 NXP Semiconductors Programmable angle sensor Table 7. Characteristics …continued In homogenous magnetic field at saturation field strength of minimum 35 kA/m and external capacitance Cext between VDD and GND. Tamb = −40 °C to +160 °C; VDD = 4.5 V to 5.5 V. Symbol Parameter Conditions Min Typ Max Unit On-chip temperature sensor characteristics Tsen sensor temperature chip temperature −50 - +180 °C Tsen(res) sensor temperature resolution chip temperature - 2 - °C/LSB ∆Tsen sensor temperature accuracy chip temperature −5 - +5 °C Twarn(res) warning temperature resolution setting by EEPROM address 6 - 2 - °C Tshut(res) shut-down temperature resolution setting by EEPROM address 6 - 2 - °C for VX = CLK, CS, DATA 0 - 25 %VDD SPI characteristics VIL LOW-level input voltage VIH HIGH-level input voltage for VX = CLK, CS, DATA 75 - 100 %VDD VOL LOW-level output voltage Isink < 2 mA 0 - 15 %VDD VOH HIGH-level output voltage Isource < 2 mA 85 - 100 %VDD IOM peak output current current limitation of the device - - 20 mA tr(o) output rise time normal operation mode from 10 %VDD to 90 %VDD, CL = 100 pF 100 - 400 ns 500 - 1300 ns (SL bit = 0) 100 - 400 ns (SL bit = 1) 500 - 1300 ns for VX = CLK 1 - 1000 kHz (SL bit = 0) (SL bit = 1) output fall time tf(o) clock frequency fclk Dynamics tpu power-up time until first valid result - - 10 ms fupd(meas) measurement update rate at oscillator frequency 3 4 5 kHz ts settling time after ideal input angle step until analog standard output reaches 90 % of final value, at nominal oscillator frequency, CL = 5 nF - 1 1.8 ms [1] Diagnosis GND and VDD lost only possible with a pull-up resistor of 5 kΩ to 6 kΩ. [2] Diagnosis VDD lost only possible with a pull-down resistor of 5 kΩ to 6 kΩ. [3] Load resistor required to enable the diagnosis features. Infinite resistor load permitted for normal operation without the diagnosis features. [4] Analog outputs need to be low-pass filtered (corner frequency about 1.3 kHz). [5] See Figure 9. KMA200_7 Product data sheet © NXP B.V. 2008. All rights reserved. Rev. 07 — 18 July 2008 16 of 32 KMA200 NXP Semiconductors Programmable angle sensor 11. Error codes Table 8. Error codes A[1:0] Description Angle valid 00 diagnosis error no 01 diagnosis error (input stage) no 10 over-temperature warning yes 11 (not occupied) - Standard digital output: 180° a = A[12:0] ⋅ ---------- ≈ A[12:0] ⋅ 0.022° 2 13 (1) Temperature = −50 °C + T[6:0] × 2 °C Complement digital output: 180° a = A[12:0] ⋅ ---------- ≈ A[12:0] ⋅ 0.022° 2 13 (2) Temperature = −50 °C + T[6:0] × 2 °C KMA200_7 Product data sheet © NXP B.V. 2008. All rights reserved. Rev. 07 — 18 July 2008 17 of 32 KMA200 NXP Semiconductors Programmable angle sensor 12. Definition of errors 12.1 General For the accuracy is assumed that the sensor operates in a homogeneous magnetic field at saturation field strength Hsat. Also, the zero angle register of the KMA200 is set at a mechanical reference point at room temperature (and zero degree). ϕ meas (°) 006aaa303 180 ∆ϕ lin output reference line 0 180 ϕ ref (°) ϕref: reference angle in degree ϕmeas: measured angle of the KMA200 in degree ∆ϕlin: deviation from reference line in degree Fig 8. Visualization of linearity behavior This reference line is valid for digital and analog outputs. The maximum angle is set to 180° and the clamping levels are programmed to V(CL)l = 5 %VDD and V(CL)u = 95 %VDD. 12.2 Linearity error The deviation from the reference line ∆ϕlin is called angle linearity error and defined as follows: ∆ϕlin = ϕlin(ϕref,Tj) − ϕref Tj: any ambient temperature in the specific range Following formula is used to calculate ϕmeas in degree from an analog voltage value: V OUT – 5 %V DD ϕ meas = ------------------------------------------------- ⋅ 180° 95 %V DD – 5 %V DD (3) VOUT: analog output of KMA200 [%VDD] For sensors the error of the analog output ∆ϕlin is only defined in the range from 5.5 %VDD to 94.5 %VDD. KMA200_7 Product data sheet © NXP B.V. 2008. All rights reserved. Rev. 07 — 18 July 2008 18 of 32 KMA200 NXP Semiconductors Programmable angle sensor 12.3 Temperature drift The temperature drift is defined as the envelope deviation of the angle value over the temperature range. It is considered as the pure thermal effect. ∆ϕ lin (°) temperature Tk temperature Tj ∆ϕ T ϕ ref (°) temperature Tm 006aaa304 ∆ϕ: temperature drift, deviation over temperature in degree ∆ϕlin: linearity error measured at different temperatures in degree Tj, Tk and Tm: any ambient temperature in the specified range (Tamb) Fig 9. Temperature drift behavior Following mathematical description is given for temperature drift value: ∆ϕT = ϕmeas(ϕref,Tj) − ϕmeas(ϕref,Tk) KMA200_7 Product data sheet © NXP B.V. 2008. All rights reserved. Rev. 07 — 18 July 2008 19 of 32 KMA200 NXP Semiconductors Programmable angle sensor 12.4 Microlinearity Microlinearity is the deviation between the device output and the reference line at any angle and for an angle step of 1°. The microlinearity is determined at a constant temperature. Vmeas (ϕ ref(i+1)) theoretical slope m ideal starting at output Vmeas (ϕ ref(i)) ∆ϕµlin voltage Videal (ϕ ref(i+1)) Vmeas (ϕ ref(i)) ∆ϕ ref = 1° = | ϕ ref(i) − ϕ ref(i+1) | 006aaa305 angle Fig 10. Microlinearity behavior The microlinearity is calculated as follows: ∆ϕµlin = Vmeas(ϕref(i+1)) − Videal(ϕref(i+1)) Videal(ϕref(i+1)) = Vmeas(ϕref(i)) + mideal × 1° = Vmeas(ϕref(i)) + 0.5 %VDD ∆ϕµlin: microlinearity Vmeas(ϕref(i)): measured voltage [%VDD] for angle position ϕref(i) mideal: ideal, theoretical slope; with 90 %VDD and maximum angle 180° The output slopes are monotonic by design. This figures can also be used for the definition of ∆ϕµlin in digital mode, as follows: assume that Vmeas(ϕref(i)) = ϕmeas(ϕref(i)) and Vmeas(ϕref(i+1)) = ϕmeas(ϕref(i+1)), whereas ϕmeas(X) is the output angle of the KMA200 at the angle position X. KMA200_7 Product data sheet © NXP B.V. 2008. All rights reserved. Rev. 07 — 18 July 2008 20 of 32 KMA200 NXP Semiconductors Programmable angle sensor 12.5 Hysteresis The hysteresis error is defined as the maximum difference between angle values given by the device output when performing a positive (clockwise) rotation and negative rotation (counter clockwise) over an angle range of 180°. ϕ meas (°) 006aaa306 180 ∆ϕ hys 180 ϕ ref (°) Fig 11. Hysteresis The hysteresis error is defined as follows: ∆ϕhys = |ϕmeas CW(ϕref) − ϕmeas CCW(ϕref)| ∆ϕhys: hysteresis ϕmeas: CW measured angle for clockwise rotation ϕmeas: CCW measured angle for counter clockwise rotation 13. Programming The KMA200 comprises two major modes of operation. These modes are: 13.1 Normal operation mode This is the default mode. The KMA200 starts in this mode without the need of writing to the serial interface. In this mode a continuous conversion of the input signals into the corresponding angles takes place. This mode is configured with the on-chip EEPROM. Once in normal operation mode, the KMA200 can be reactivated for command mode only by a new power-on reset. KMA200_7 Product data sheet © NXP B.V. 2008. All rights reserved. Rev. 07 — 18 July 2008 21 of 32 KMA200 NXP Semiconductors Programmable angle sensor 13.2 Command mode This mode is used for calibration and programming. The KMA200 is controlled with serial interface commands. To activate the command mode, the following initialization procedure must be executed during power-on reset. The pin CS must be constantly held on HIGH level and pin CLK/OUT2 must be constantly held on LOW level during power-on. This condition has to start during reset and must be valid during the following initialization phase of the KMA200 for at least 1 ms. CS and CLK are internally weak pull-up so that at least CLK must be actively driven. If these conditions are valid, the KMA200 starts in command mode. At all other combinations or if the levels are not constant for the minimum time of 1 ms, the KMA200 starts in normal operation mode. VDD max. 3 ms (ASIC internal Power-On-Reset) CS min. 1 ms CLK/OUT2 DATA/OUT1 006aaa307 Fig 12. Command mode The normal operation mode is configured with sixteen 16-bit constants stored in the on-chip EEPROM. 13.3 Notes to the programming The KMA200 sensor is delivered in a pre-calibrated and preprogrammed default condition. The EEPROM addresses 0, 1, 5, C, D and E are device dependent and pre-calibrated for each device. A changing of this contents to another value is not allowed, because the specified data, influenced by these addresses, are no longer valid. The EEPROM addresses A and B are used to store production related information. A changing of these values should not be done. Definition: Address A: storage the date code. Date code assembly center: day of the year (maximum 365) + year (maximum 99) KMA200_7 Product data sheet © NXP B.V. 2008. All rights reserved. Rev. 07 — 18 July 2008 22 of 32 KMA200 NXP Semiconductors Programmable angle sensor Address B: storage the assembly lot no. (maximum 65535) 13.4 Write RAM (0nh), read RAM (1nh) To write data to the RAM the command byte 0nh (n is the address of the data) followed by the 16-bit data has to be send. To read data from the RAM, the command byte 1nh has to be send. If CS is activated again, the RAM contents at the specified address is clocked out. Note that at power-on addresses 00h to 0Fh are read from the EEPROM into the RAM. 13.5 Calculate CRC-16 and program EEPROM (30h) To program the EEPROM, the configuration data has to be written to the RAM addresses 00h to 0Eh. Afterwards, the command byte 30h has to be sent and the EEPROM programming voltage has to be applied at the VDD pin. The KMA200 calculates the CRC-16 check sum and writes the RAM constants at addresses 00h to 0Fh to the EEPROM. This command is only executed when the EP bit in the control information word is logic 0 on power-on. If the EP bit is logic 1, this command is ignored. Table 9. EEPROM content Address Name Description 0 sensor_offset_1 dependent of individual production calibration results 1 sensor_offset_2 dependent of individual production calibration results 2 zero_angle mechanical 0° position relative to the zero point of the sensor output; used for zero-angle calibration default value: 0000h (0°) 3 angular_range definition of the angular input range that is mapped to the whole analog output signal range default value: 0000h (180°) 4 αthresh threshold for programmable output in mode 3 default value: internal CRC of the addresses 0, 1, 5, C, D and E 5 temp_vref, temp_offs dependent of individual production calibration results 6 Tshut(res), Twarn(res) temperature warning and temperature shutdown level; used for temperature supervision default value: FAF8h (temperature shutdown at 200 °C, warning at 198 °C) 7 ctrl1 control information word 1; used for selection of various operating modes default value: 4046h (output mode standard + mode 1) 8 ctrl2 control information word 2; configures the diagnostic functions default value: 0704h (temperature supervision is on; input stage diagnosis is on; output stage diagnosis is off) 9 V(CL)l, V(CL)u clamping voltage levels of analog outputs default value: 00FFh (clamping level LOW at 5 %VDD, clamping level HIGH at 95 %VDD) A id1 sensor identifier 1; this data is not evaluated by the KMA200 and is used for sensor identification B id2 sensor identifier 2; this data is not evaluated by the KMA200 and is used for sensor identification C anom, tc_anom dependent of individual production calibration results KMA200_7 Product data sheet © NXP B.V. 2008. All rights reserved. Rev. 07 — 18 July 2008 23 of 32 KMA200 NXP Semiconductors Programmable angle sensor Table 9. EEPROM content …continued Address Name Description D tc_offset_1 dependent of individual production calibration results E tc_offset_2 dependent of individual production calibration results F CRC-16 dependent of individual programming Table 10. Format of zero_angle, angular_range and αthresh zero_angle = A[15:0] × 0.00275°, angular_range = A[15:0] × 0.00275° and αthresh = A[15:0] × 0.00275°. MSB LSB 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 A[15] A[14] A[13] A[12] A[11] A[10] A[9] A[8] A[7] A[6] A[5] A[4] A[3] A[2] A[1] A[0] Table 11. Format of Tshut(res) and Twarn(res) Tshut(res) = −50 °C + TS[7:0] × 1 °C and Twarn(res) = −50 °C + TW[7:0] × 1 °C. MSB 15 14 13 12 11 10 9 8 TS [6] Table 12. 6 5 4 3 2 1 0 TW [3] TW [2] TW [1] TW [0] Twarn(res) Tshut(res) TS [7] 7 LSB TS [5] TS [4] TS [3] TS [2] TS [1] TS [0] TW [7] TW [6] TW [5] TW [4] 10[3] 9[3] 8[4] 7[4] 6[5] 5[5] 4[5] 3 2 1 0 DO1 DO0 DI1 DI0 OM2 OM1 OM0 0 1 1 0 Format of ctrl1 MSB 15 0 LSB 14 13[1] 12 11[2] 1 EP 0 SL [1] EP: EEPROM write protection: default value: 0 0 ≡ EEPROM programming possible 1 ≡ EEPROM not writable This bit is evaluated only if the CRC checksum is valid. [2] SL: rise and fall time of DATA output: default value: 0 0 ≡ nominal 150 ns 1 ≡ nominal 750 ns [3] DO[1:0]: diagnosis of output stage: default value: 00 00 ≡ level 0: |Vmeas(OUT) − Vexp(OUT)| < 10 %VDD 01 ≡ level 1: |Vmeas(OUT) − Vexp(OUT)| < 5 %VDD 10 ≡ level 2: |Vmeas(OUT) − Vexp(OUT)| < 2 %VDD 11 ≡ level 3: |Vmeas(OUT) − Vexp(OUT)| < 1 %VDD [4] DI[2:0]: diagnosis of input stage: default value: 000 000 ≡ level 0: |AMeas − ASoll| < 6.24 mV/V 001 ≡ level 1: |AMeas − ASoll| < 4.68 mV/V 010 ≡ level 2: |AMeas − ASoll| < 3.12 mV/V 011 ≡ level 3: |AMeas − ASoll| < 1.56 mV/V 100 ≡ level 4: |AMeas − ASoll| < 0.78 mV/V [5] OM[2:0]: output mode: default value: 100 000 ≡ digital output 001 ≡ complement digital output 100 ≡ analog output; standard + programmable output mode 1 101 ≡ analog output; standard + programmable output mode 2 110 ≡ analog output; standard + programmable output mode 3 111 ≡ analog output; standard output only KMA200_7 Product data sheet © NXP B.V. 2008. All rights reserved. Rev. 07 — 18 July 2008 24 of 32 KMA200 NXP Semiconductors Programmable angle sensor Table 13. Format of ctrl2 MSB 15 0 LSB 14 13 12 11[1] 0 0 0 DI2 10 9[2] 8[3] 7[4] 6[4] 5[5] 4[6] 3[6] 2[7] 1[8] 0[8] 1 FB ETS TC1 TC0 EDO CO1 CO0 EDI CI1 CI0 [1] DI[2:0]: diagnosis of input stage: default value: 000 000 ≡ level 0: |AMeas − ASoll| < 6.24 mV/V 001 ≡ level 1: |AMeas − ASoll| < 4.68 mV/V 010 ≡ level 2: |AMeas − ASoll| < 3.12 mV/V 011 ≡ level 3: |AMeas − ASoll| < 1.56 mV/V 100 ≡ level 4: |AMeas − ASoll| < 0.78 mV/V [2] FB: automatic fallback into normal operation mode: default value: 1 0 ≡ disabled 1 ≡ enabled This bit is evaluated only if the CRC checksum is valid. [3] ETS: enable temperature supervision: default value: 1 0 ≡ disabled 1 ≡ enabled [4] TC[1:0]: error counter temperature supervision: default value: 00 00 ≡ 0 01 ≡ 2 10 ≡ 4 11 ≡ 8 [5] EDO: enable diagnosis output stage: default value: 0 0 ≡ disabled 1 ≡ enabled [6] CO[1:0]: error counter diagnosis output stage: default value: 00 00 ≡ 0 01 ≡ 2 10 ≡ 4 11 ≡ 8 [7] EDI: enable diagnosis input stage: default value: 1 0 ≡ disabled 1 ≡ enabled [8] CI[1:0]: error counter diagnosis input stage: default value: 00 00 ≡ 0 01 ≡ 2 10 ≡ 4 11 ≡ 8 Table 14. Format of V(CL)l and V(CL)u Lower clamping level output voltage = 5 %VDD + V(CL)l × 0.1 %VDD and upper clamping level output voltage = 69.5 %VDD + V(CL)u × 0.1 %VDD. MSB 15 LSB 14 13 12 11 10 9 8 26 25 24 23 22 21 20 6 5 4 3 2 1 0 26 25 24 23 22 21 20 V(CL)u V(CL)l 27 7 27 KMA200_7 Product data sheet © NXP B.V. 2008. All rights reserved. Rev. 07 — 18 July 2008 25 of 32 KMA200 NXP Semiconductors Programmable angle sensor 14. ElectroMagnetic Interference (EMI) The following tests are performed with the sensor system KMA200. Details of the measurements and behavior are available on request. 14.1 Emission (CISPR 25) Conducted radio disturbance: tests according CISPR 25, chapter 11 (artificial network). Radiated radio disturbance: test according CISPR 25, chapter 13 (anechoic chamber component/module). 14.2 Radiated disturbances (ISO 11452-2, ISO 11452-5) Immunity against mobile phones and Absorber Lined Chamber and Strip line (ALCS); strip line measurements are performed up to 1 GHz. 14.3 Transients - pulses (ISO 7637-1, ISO 7637-3) Galvanic: line conducted pulses on the supply lines according ISO 7637-1 pulses 1, 2, 3a, 3b, 4 and 5 (for pulse no. 5 a suitable protection circuit must be used). Coupled: transient transmission by capacitive and inductive coupling via lines other than supply lines (interface, analog output) according ISO 7637-3 pulses 3a and 3b. 15. ElectroStatic Discharge (ESD) 15.1 Human body model The KMA200 must not be damaged at 4000 V, 100 pF, 1.5 kΩ to the human body model. The test is according to MIL-STD-883D method 3015.7. This protection must be ensured at all external pins (CLK/OUT2, CS and DATA/OUT1) including device supply (VDD, GND). For the interconnects (pins between upper and lower package part), the protection is up to 1500 V. 15.2 Machine model The KMA200 must not be damaged at 400 V to the machine model. The test is according to MIL-STD-883D method 3015.7. This protection must be ensured at all external pins (CLK/OUT2, CS and DATA/OUT1) including device supply (VDD, GND). For the interconnects (pins between upper and lower package part), the protection is up to 100 V. 16. Terminals Device terminals shall be compatible with laser welding and electrical welding. Lead frame material: CuZr with 0.1 % Zr, 99.9 % Cu Lead finish: pure tin, 8 µm ≤ thickness ≤ 13 µm KMA200_7 Product data sheet © NXP B.V. 2008. All rights reserved. Rev. 07 — 18 July 2008 26 of 32 KMA200 NXP Semiconductors Programmable angle sensor 17. Marking Package is SOT637 Marking paint: laser on package head and package body Letter height: 0.8 mm Marking of package head: batch number Marking of package body: type no., date code (x yyy z); x: m for manufacturing Manila, y: day of the year, z: year of production KMA200_7 Product data sheet © NXP B.V. 2008. All rights reserved. Rev. 07 — 18 July 2008 27 of 32 KMA200 NXP Semiconductors Programmable angle sensor 18. Package outline Plastic single-ended multi-chip package; 6 interconnections; 5 in-line leads SOT637 HE1 E A F1 Q1 R L1 bp1 F D D3 (1) D2 L D3 (1) A A HE SENSOR DIE POSITION centre of reading point D1 * B L4(1) Q1 L3 A L2 1 2 3 4 5 bp e v A 0.4 c bp2 HE2 0 α E1 2.5 5 mm scale view A-B L4(1) max. Q1 R max. v α 0.95 0.65 0.55 0.2 1.2 45° L L1 L2 min. L3 7.1 6.9 0.85 0.75 4.75 0.7 0.5 DIMENSIONS (mm are the original dimensions) UNIT A mm 1.65 1.45 bp bp1 0.41 1.57 0.34 1.47 bp2 c 0.31 0.30 0.24 0.24 D D1 D2 D3(1) max. E E1 e 4.1 3.9 8.1 7.9 2.55 0.35 5.45 5.25 0.5 1.27 F F1 HE HE1 HE2 max. 0.85 3.275 21.4 6.42 5.85 0.65 3.075 21.0 6.32 Note 1. Terminal dimensions within this zone are uncontrolled to allow for flow of plastic between and besides the leads. OUTLINE VERSION REFERENCES IEC JEDEC JEITA EUROPEAN PROJECTION ISSUE DATE 02-01-18 04-12-10 SOT637 Fig 13. Package outline SOT637 KMA200_7 Product data sheet © NXP B.V. 2008. All rights reserved. Rev. 07 — 18 July 2008 28 of 32 KMA200 NXP Semiconductors Programmable angle sensor 19. Handling information (2) 0.7 (1) 0.7 (1) R 0.25 min (2) 0.7 (1) R 0.25 min 006aaa246 Dimensions in mm (1) No bending allowed (2) Plastic body and interface plastic body - leads: application of bending forces not allowed Fig 14. Bending recommendation KMA200_7 Product data sheet © NXP B.V. 2008. All rights reserved. Rev. 07 — 18 July 2008 29 of 32 KMA200 NXP Semiconductors Programmable angle sensor 20. Revision history Table 15. Revision history Document ID Release date Data sheet status Change notice Supersedes KMA200_7 20080718 Product data sheet - KMA200_6 Modifications: • Section 16: The lead finish thickness has been changed. KMA200_6 20070102 Product data sheet - KMA200_5 KMA200_5 20050816 Product data sheet - KMA200_4 KMA200_4 20020325 Objective specification - KMA200_3 KMA200_3 20010620 Objective specification - KMA200_2 KMA200_2 20000920 Objective specification - KMA200_1 KMA200_1 20000907 Objective specification - - KMA200_7 Product data sheet © NXP B.V. 2008. All rights reserved. Rev. 07 — 18 July 2008 30 of 32 KMA200 NXP Semiconductors Programmable angle sensor 21. Legal information 21.1 Data sheet status Document status[1][2] Product status[3] Definition Objective [short] data sheet Development This document contains data from the objective specification for product development. Preliminary [short] data sheet Qualification This document contains data from the preliminary specification. Product [short] data sheet Production This document contains the product specification. [1] Please consult the most recently issued document before initiating or completing a design. [2] The term ‘short data sheet’ is explained in section “Definitions”. [3] The product status of device(s) described in this document may have changed since this document was published and may differ in case of multiple devices. The latest product status information is available on the Internet at URL http://www.nxp.com. 21.2 Definitions Draft — The document is a draft version only. The content is still under internal review and subject to formal approval, which may result in modifications or additions. NXP Semiconductors does not give any representations or warranties as to the accuracy or completeness of information included herein and shall have no liability for the consequences of use of such information. Short data sheet — A short data sheet is an extract from a full data sheet with the same product type number(s) and title. A short data sheet is intended for quick reference only and should not be relied upon to contain detailed and full information. For detailed and full information see the relevant full data sheet, which is available on request via the local NXP Semiconductors sales office. In case of any inconsistency or conflict with the short data sheet, the full data sheet shall prevail. 21.3 Disclaimers General — Information in this document is believed to be accurate and reliable. However, NXP Semiconductors does not give any representations or warranties, expressed or implied, as to the accuracy or completeness of such information and shall have no liability for the consequences of use of such information. Right to make changes — NXP Semiconductors reserves the right to make changes to information published in this document, including without limitation specifications and product descriptions, at any time and without notice. This document supersedes and replaces all information supplied prior to the publication hereof. Suitability for use — NXP Semiconductors products are not designed, authorized or warranted to be suitable for use in medical, military, aircraft, space or life support equipment, nor in applications where failure or malfunction of an NXP Semiconductors product can reasonably be expected to result in personal injury, death or severe property or environmental damage. NXP Semiconductors accepts no liability for inclusion and/or use of NXP Semiconductors products in such equipment or applications and therefore such inclusion and/or use is at the customer’s own risk. Applications — Applications that are described herein for any of these products are for illustrative purposes only. NXP Semiconductors makes no representation or warranty that such applications will be suitable for the specified use without further testing or modification. Limiting values — Stress above one or more limiting values (as defined in the Absolute Maximum Ratings System of IEC 60134) may cause permanent damage to the device. Limiting values are stress ratings only and operation of the device at these or any other conditions above those given in the Characteristics sections of this document is not implied. Exposure to limiting values for extended periods may affect device reliability. Terms and conditions of sale — NXP Semiconductors products are sold subject to the general terms and conditions of commercial sale, as published at http://www.nxp.com/profile/terms, including those pertaining to warranty, intellectual property rights infringement and limitation of liability, unless explicitly otherwise agreed to in writing by NXP Semiconductors. In case of any inconsistency or conflict between information in this document and such terms and conditions, the latter will prevail. No offer to sell or license — Nothing in this document may be interpreted or construed as an offer to sell products that is open for acceptance or the grant, conveyance or implication of any license under any copyrights, patents or other industrial or intellectual property rights. Quick reference data — The Quick reference data is an extract of the product data given in the Limiting values and Characteristics sections of this document, and as such is not complete, exhaustive or legally binding. 21.4 Trademarks Notice: All referenced brands, product names, service names and trademarks are the property of their respective owners. 22. Contact information For more information, please visit: http://www.nxp.com For sales office addresses, please send an email to: [email protected] KMA200_7 Product data sheet © NXP B.V. 2008. All rights reserved. Rev. 07 — 18 July 2008 31 of 32 KMA200 NXP Semiconductors Programmable angle sensor 23. Contents 1 1.1 1.2 1.3 2 3 4 5 6 7 8 9 10 11 12 12.1 12.2 12.3 12.4 12.5 13 13.1 13.2 13.3 13.4 13.5 14 14.1 14.2 14.3 15 15.1 15.2 16 17 18 19 20 21 21.1 21.2 21.3 Product profile . . . . . . . . . . . . . . . . . . . . . . . . . . 1 General description. . . . . . . . . . . . . . . . . . . . . . 1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Quick reference data. . . . . . . . . . . . . . . . . . . . . 2 Pinning information . . . . . . . . . . . . . . . . . . . . . . 2 Ordering information . . . . . . . . . . . . . . . . . . . . . 2 Functional diagram . . . . . . . . . . . . . . . . . . . . . . 3 Functional description . . . . . . . . . . . . . . . . . . . 4 Diagnostic features . . . . . . . . . . . . . . . . . . . . . . 5 Outputs of KMA200 . . . . . . . . . . . . . . . . . . . . . . 8 Digital output (SPI). . . . . . . . . . . . . . . . . . . . . . 11 Limiting values. . . . . . . . . . . . . . . . . . . . . . . . . 12 Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . 13 Error codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Definition of errors. . . . . . . . . . . . . . . . . . . . . . 18 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Linearity error . . . . . . . . . . . . . . . . . . . . . . . . . 18 Temperature drift. . . . . . . . . . . . . . . . . . . . . . . 19 Microlinearity . . . . . . . . . . . . . . . . . . . . . . . . . 20 Hysteresis . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Programming . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Normal operation mode . . . . . . . . . . . . . . . . . 21 Command mode . . . . . . . . . . . . . . . . . . . . . . . 22 Notes to the programming . . . . . . . . . . . . . . . 22 Write RAM (0nh), read RAM (1nh) . . . . . . . . . 23 Calculate CRC-16 and program EEPROM (30h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 ElectroMagnetic Interference (EMI) . . . . . . . . 26 Emission (CISPR 25) . . . . . . . . . . . . . . . . . . . 26 Radiated disturbances (ISO 11452-2, ISO 11452-5) . . . . . . . . . . . . . . . . . . . . . . . . . 26 Transients - pulses (ISO 7637-1, ISO 7637-3) 26 ElectroStatic Discharge (ESD) . . . . . . . . . . . . 26 Human body model. . . . . . . . . . . . . . . . . . . . . 26 Machine model . . . . . . . . . . . . . . . . . . . . . . . . 26 Terminals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Package outline . . . . . . . . . . . . . . . . . . . . . . . . 28 Handling information. . . . . . . . . . . . . . . . . . . . 29 Revision history . . . . . . . . . . . . . . . . . . . . . . . . 30 Legal information. . . . . . . . . . . . . . . . . . . . . . . 31 Data sheet status . . . . . . . . . . . . . . . . . . . . . . 31 Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 21.4 22 23 Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Contact information . . . . . . . . . . . . . . . . . . . . 31 Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 Please be aware that important notices concerning this document and the product(s) described herein, have been included in section ‘Legal information’. © NXP B.V. 2008. All rights reserved. For more information, please visit: http://www.nxp.com For sales office addresses, please send an email to: [email protected] Date of release: 18 July 2008 Document identifier: KMA200_7