The MAX9921 provides a single chip solution to interface
two 2-wire Hall-effect sensors to a low-voltage microprocessor (µP). This device supplies and monitors the current drawn by two Hall-effect sensors, filters the sensed
current level, and outputs the corresponding logic level.
The MAX9921 includes input diagnostics and fault protection. These features allow the device to determine fault
conditions such as open inputs, inputs shorted to the battery, and inputs shorted to ground. If the MAX9921
detects any of these conditions at either IN1 or IN2, the
device shuts off the current to the corresponding input.
The MAX9921 protects the Hall sensors from supply transients up to 60V at the BAT supply. Normal operating
supply voltage ranges from 6V to 18V. If the battery voltage is out of range, the MAX9921 shuts off the current to
the Hall sensors.
The MAX9921 provides an 80µs blanking time following
Hall sensor power-up or restart. The open-drain logic
outputs are compatible with logic levels up to 5.5V.
The MAX9921 is available in a small 10-pin µMAX
®
package and is specified over the -40°C to +125°C
automotive temperature range.
Applications
Features
♦ Withstands 60V at BAT Supply and Hall Inputs
♦ 6V to 18V Operating Voltage Range
♦ Provides Supply Current and Interfaces to Two
2-Wire Hall Sensors
♦ Error Output with Diagnostics of Hall Inputs and
= 63.4kΩ, RPU= 10kΩ at ERR, OUT1 and OUT2, TA= -40°C
to +125°C, unless otherwise noted. Typical values are at T
A
= +25°C.) (Note 1)
Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. These are stress ratings only, and functional
operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to
absolute maximum rating conditions for extended periods may affect device reliability.
BAT to GND............................................................-0.3V to +60V
ISET to BAT ...........................................................-2.0V to +0.3V
IN1, IN2 to GND..........-5.0V to the lower of +60V or (V
BAT
+ 1V)
DIAG, OE to GND..................................................-0.3V to +6.0V
OUT1, OUT2, ERR to GND....................................-0.3V to +6.0V
Short-Circuit Duration of OUT1, OUT2, ERR to GND
or to 5.5V (individually)............................................Continuous
Current into Any Pin Except IN1, IN2 ...............................±20mA
Current into IN1, IN2.......................................................±100mA
Battery Power Supply. Connect BAT to the positive supply through an external reverse-polarity diode. Bypass BAT
to ground with a 0.1µF capacitor.
Current-Setting Input. Connect a 63.4kΩ, 1% resistor (R
thresholds for Hall current sensing. Make no other connections to ISET. All routing must have low parasitic
capacitance.
Hall-Effect Sensor Input 1. Bypass IN1 to BAT or GND with a 0.01µF capacitor. Terminate an unused input with a
1.5kΩ resistor from IN1 to GND to prevent false error diagnostics.
Hall-Effect Sensor Input 2. Bypass IN2 to BAT or GND with a 0.01µF capacitor. Terminate an unused input with a
1.5kΩ resistor from IN2 to GND to prevent false error diagnostics.
Open-Drain Output Signal 2. OUT2 is the signal translated from Hall Sensor 2. Connect a 10kΩ or larger pullup
resistor to logic supply.
Open-Drain Output Signal 1. OUT1 is the signal translated from Hall Sensor 1. Connect a 10kΩ or larger pullup
resistor to logic supply.
Open-Drain Diagnostic and Error Output. Connect a 10kΩ or larger pullup resistor to logic supply. If DIAG is
asserted low, a high on ERR indicates that there is no fault while a low on ERR indicates that either the battery
voltage is out of range or there is a fault condition. If DIAG is high, ERR provides diagnostic information in
conjunction with OUT1 and OUT2. See Tables 1 and 2. If OE is low or while in shutdown, ERR is high impedance.
Output Enable Input. OE has an internal 80kΩ resistor to GND. Drive OE high to enable the outputs ERR, OUT1,
and OUT2. Drive OE low to place the outputs in high impedance. If OE and DIAG are both low for more than 40µs,
the device enters shutdown and all outputs are in high impedance. While in shutdown, if either OE or DIAG
transitions low to high, the device exits shutdown mode.
Diagnostic Enable Input. DIAG has an internal 80kΩ resistor to GND. Drive DIAG low for normal operation. In this
mode, ERR, OUT1, and OUT2 provide Hall sensor information. Drive DIAG high for diagnostic operation. A high-tolow transition initiates an attempt to restart, with a blanking cycle any Hall input that has been shut down. See
Tables 1 and 2 (diagnostic truth tables). If OE and DIAG are both low for more than 40µs, the device enters
shutdown mode with all outputs in high impedance. While in the shutdown mode, if either OE or DIAG transitions
low to high, the device exits shutdown mode.
) between BAT and ISET to set the standard current
ISET
Detailed Description
The MAX9921 connects two 2-wire Hall-effect sensors to
a low-voltage µP. This device supplies current through
IN1 and IN2 to Hall sensors and monitors the current
level drawn by the Hall sensors. The MAX9921 outputs a
high or low logic-level to the corresponding open-drain
output (OUT1 or OUT2). If the current flowing out of
either IN1 or IN2 exceeds the high input current threshold, the corresponding output goes high. If the current
flowing out of either IN1 or IN2 is lower than the low input
current threshold, the corresponding output goes low.
Hall Input Diagnostic
Normal Mode
In normal mode, DIAG is driven low. In this case, if ERR
is high, the outputs (OUT1 and OUT2) indicate the high
or low state of the corresponding Hall sensors (IN1 and
IN2). In normal mode, a low ERR indicates a fault. If
ERR is low, the outputs may be pulled low and may not
indicate the high or low state of the Hall sensors. This
can happen during the power-up, restart, or blanking
cycles of the Hall inputs, or due to a fault on one or
both of the Hall inputs, or when V
BAT
is out of range,
while the error output is low. If one output continues
signaling and the other output is low, the output with
the low logic-level indicates a fault or a restart and
blanking cycle on the corresponding Hall input. Table 1
summarizes normal mode operation.
Diagnostic Mode
When DIAG is driven high, the MAX9921 enters diagnostic mode. In this mode, OUT1 and OUT2 output diagnostic information. IN1 takes precedence over IN2. IN2’s
diagnostics remain masked until a fault on IN1 is cleared.
For diagnostics and troubleshooting, when IN1 or IN2
shuts off due to an input short to ground, it continues to
source 50µA. A falling edge at DIAG restarts a Hall input
that has been shut off due to a short to ground.
Diagnostic indications are never latched internally and
they indicate the real-time state of IN1 or IN2. Table 2
summarizes diagnostic mode operation.
Hall Input Fault Detection
If a fault is detected, the ERR output is asserted low to
notify the µP. This condition can occur due to the Hall
input being shorted to ground, shorted to battery,
or open.
MAX9921
Dual, 2-Wire Hall-Effect Sensor Interface
with Diagnostics
IN1 and IN2 shut off current to both Hall sensors and
ERR, OUT1, and OUT2 go low. When V
BAT
returns to
the proper range, both IN1 and IN2 restart, following a
blanking cycle.
Hall Inputs Open Condition
If either IN1 or IN2 is open (IIN< 2mA), the corresponding input shuts off current to the Hall sensor. If IN1 or
IN2 is loaded, it exits the open input fault condition and
restarts the corresponding Hall input, following a blanking cycle.
Hall Input Shorted to Battery
If either IN1 or IN2 is shorted to the battery (VIN> V
BAT
+ 100mV), the MAX9921 shuts off current to the corresponding Hall sensor. In this case, if IN1 or IN2 is more
than 1V above V
BAT
, it may back-drive current into
BAT. In such a condition, the current level in the Hall
input should not exceed 100mA. Therefore, all the
MAX9921s together can share a separate reversepolarity protection diode to avoid powering up other circuitry sharing a common diode (Figure 4).
Table 2. Diagnostic Truth Table (Diagnostic Mode)
Figure 4. Several MAX9921s Connected to a Common Reverse-Polarity Diode
INPUTOUTPUT
DIAGERROUT1OUT2
1000No fault
1001IN1 open circuit, or IN1 open circuit and fault on IN2
1010IN1 shorted to battery, or IN1 shorted to battery and fault on IN2
1011IN1 shorted to ground, or IN1 shorted to ground and fault on IN2
V
out of range, or power-up or restart and blanking cycle (dominant
1100
1101IN2 open circuit
1110IN2 shorted to battery
1111IN2 shorted to ground
BAT
fault masks all other faults)
DIAGNOSIS
BATTERY
REVERSE-POLARITY DIODE
R
ISET
MAX9921
BAT
ISET
IN1
IN2
GND
DIAG
OE
ERR
OUT1
OUT2
FOR MAX9921s
R
ISET
MAX9921
BAT
ISET
IN1
IN2
GND
DIAG
ERR
OUT1
OUT2
REVERSE-POLARITY DIODE
FOR OTHER CIRCUITRY
BAT
OE
OTHER
CIRCUITRY
GND
MAX9921
Hall Input Short-to-Ground
The Hall input shorted-to-ground fault is effectively a
latched condition if the input remains loaded by the Hall
switch when the shorting condition is removed. The current required to power the Hall switch is shut off and only
a 50µA pullup current remains. The Hall input can be
manually re-energized or it can be re-energized by the
ECU. A falling edge at DIAG initiates a restart with a
blanking cycle of any Hall input that has been shut down
due to the shorted-to-ground condition. During startup or
restart, it is possible for a Hall input to charge up an external capacitance of 0.02µF without tripping into a shortedto-ground latched state. All other fault conditions are not
latched and when these other faults are removed, ERR
goes high and the Hall input is again functional.
Manual Method for Re-Energizing Hall Sensor
and Means for Diagnosing an Intermittent
Hall Sensor Connection
Figure 5 shows the behavior of the MAX9921 when a
Hall input is open. Figure 6 shows the behavior of the
MAX9921 when the open input is reconnected to a Hall
sensor. Figures 5 and 6 demonstrate how a shorted-toground Hall input can be reset.
Resetting a shorted-to-ground Hall input involves
three steps:
1) Relieve the short to ground at the Hall sensor.
2) Disconnect the Hall input from the Hall sensor (open
input fault condition).
3) Reconnect the Hall input to the Hall sensor.
The MAX9921 restarts the Hall input with a blanking
cycle. If the Hall input is disconnected from the Hall
sensor for 10ms, it allows the Hall input to be pulled up
by the 50µA pullup current to register the open-input
fault condition. Then, reconnecting the Hall input to the
Hall sensor restarts the Hall input with a blanking cycle.
This provides a manual means of re-energizing a Hall
input without having to resort to the ECU to reset it. This
also demonstrates that an intermittent connection to a
Hall sensor can recover without intervention of the ECU.
This gives the ECU a means of diagnosing an intermittent connection to a Hall sensor by using the diagnostic
mode to detect a diagnostic sequence of “open-circuit”
to “blanking cycle” to “no fault.”
Dual, 2-Wire Hall-Effect Sensor Interface
with Diagnostics
Figure 6. Hall Input Re-Energized When Open Input is Reconnected to Hall Sensor
Table 3. Summary of Fault Protection and Recovery
IN_
11.5mA
I
IN_
14V
V
- 500mV
8V
HALL INPUT
RECONNECTED
TO HALL SENSOR
0V
4mA/μs
BAT
TIME
0A
FAULT
DESCRIPTION
V
< 6V—Asserted low
BAT
V
> 18V—Asserted low
BAT
Hall input openIIN < 2mAAsserted low
Hall input shorted
to battery
Hall input shorted
to ground
CRITERION
V
> V
IN
to external
reverse-battery
protection
I
IN
due
BAT
Asserted low
diode
> 23mAAsserted low
OUTPUT
MAX9921 ACTIONS
ERR
Shutoff current to both Hall
sensors
Shutoff current to both Hall
sensors
Shutoff current to
corresponding Hall sensor
Shutoff current to
corresponding Hall sensor
Shutoff current to
corresponding Hall sensor.
50µA of pullup current is
sourced to IN1 or IN2 to
aid in troubleshooting.
HALL INPUT RESPONSE
TIME
COMMENT/RECOVERY
Both IN1 and IN2 are restarted with blanking
cycle when V
Both IN1 and IN2 are restarted with blanking
cycle when V
When a Hall input is again loaded, terminating
open input condition, the Hall input are restarted
with blanking cycle.
If a Hall input is pulled more than 1V above
V
, the input may back drive current into the
BAT
BAT supply and pull V
condition, current levels in the Hall inputs should
never exceed 100mA. For this reason, it is
recommended that one or more MAX9921s be
powered together and share a reverse-polarity
diode separate from other circuitry.
A falling edge at DIAG initiates a restart with a
blanking cycle of any Hall input that has been
shut off due to a short to ground. See Hall input
short-to-ground description.
returns to proper range.
BAT
returns to proper range.
BAT
up with it. In this
BAT
MAX9921
Dual, 2-Wire Hall-Effect Sensor Interface
with Diagnostics
The MAX9921 is optimized for use with 2-wire Halleffect switches or with 3-wire Hall-effect switches connected as 2-wire (Figure 7). When using a 3-wire Hall
sensor, the resistor R is chosen so that the current
drawn by the Hall sensor crosses the MAX9921 current
threshold when the magnetic threshold of the Hall sensor is exceeded.
Table 4 shows a partial list of mostly 2-wire Hall switches, which can be used with the MAX9921.
Hall Input Bypass Capacitor
The MAX9921 is optimized for use with external protection 0.01µF capacitors from both IN1 and IN2 to BAT.
These are essential to ensure robustness against automotive transients. These capacitors may be tied to
GND instead of to BAT, but the connection to BAT is
recommended.
Low-Voltage Operation
To ensure correct operation of the Hall sensor at low
input voltages, it is important to consider the voltage
drop of the MAX9921 with low battery voltages. This
dropout voltage can be calculated using the formula:
V
DROPOUT
= I
HALL
x R
PU
I
HALL
is the maximum current which must be supplied to
the Hall sensor and RPUis the internal resistance of the
MAX9921, nominally 50Ω (see the Input Pullup
Resistance vs. V
BAT
graph in the
Typical Operating
Characteristics
). As an example, assume the use of a
HAL573 sensor, which draws a maximum current of
17mA. The dropout voltage is then 850mV and the
approximate minimum voltage supplied to the Hall sensor
is 6V - 0.85V = 5.15V, which is higher than the minimum
operating voltage of 3.75V specified for the HAL573.
Figure 7. 3-Wire Hall-Effect Switches Configured as 2-Wire
Table 4. Partial List of Compatible Hall Switches
R
V
CC
x_
MAX9921
IN_
GND
PARTMANUFACTURERWEBSITECOMMENT
HAL573-6Micronaswww.micronas.com2-wire
HAL556/560/566Micronaswww.micronas.com2-wire
HAL581/584Micronaswww.micronas.com2-wire
A1140/1/2/3Allegrowww.allegromicro.com2-wire
3161Allegrowww.allegromicro.com
TLE4941/CInfineonwww.infineon.com2-wire
3-wire, optimized for 2-wire use without added
resistor
MAX9921
Dual, 2-Wire Hall-Effect Sensor Interface
with Diagnostics
Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are
implied. Maxim reserves the right to change the circuitry and specifications without notice at any time.
Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 ____________________