MAX13037/MAX13038
Automotive Contact Monitor and
Level Shifters with LDO Regulator
16 ______________________________________________________________________________________
Notes:
Bit 15: Wetting Current Mode (WTOFF)
Set the WTOFF bit to configure the wetting currents as
continuous on closed switches. Clear the WTOFF bit to
configure the wetting current as a pulse where the wet-
ting current is turned on for a set duration of 20ms after
a switch closes (and the debounce is timed out). After
20ms elapses, the wetting current is turned off. Either
wetting current mode is only applicable to switches that
have wetting currents enabled (see WEN and WEND
bits). In scan mode, the wetting currents are on for the
polling time of 250µs (typ) and are pulsed at the pro-
grammed scanning period. When WTOFF is set, the
wetting current continuously pulses at the programmed
scanning period. When WTOFF is cleared, the wetting
current pulses at the programmed scanning period, but
turns off after 20ms elapses.
Bits 14, 13, 12: Scanning Period (SC2, SC1, SC0)
The SC2, SC1, and SC0 bits are used to program the
scanning period as depicted in Table 3. Switch inputs
are simultaneously polled for a finite duration of 250µs
(typ), and polling occurs at a period selected through
the SC2, SC1, and SC0 inputs. Figure 8 shows a timing
diagram of switch scanning and sampling. When the
inputs are not being polled, the sense resistors are dis-
connected, reducing the current consumption caused
from polling closed switches. For a continuous scanning
period ([SC2:SC1:SC0] = [1:1:1] or [1:1:0]), the switch
inputs are constantly being monitored and the sense
resistors are always connected. The state [SC2:SC1:SC0]
= [1:1:0] also disables adjustable hysteresis (normally set
by R
HYST
) and fixes hysteresis at 0.166 x V
BATREF
. When
adjustable hysteresis is not needed, it is recommended to
disable this feature to reduce power consumption.
Bit 11: Global Wetting Current Enable (WEN)
The WEN bit is a global enable for the wetting currents
on all the channels. Set the WEN bit to enable wetting
currents on all channels and clear the WEN bit to dis-
able wetting currents. Even with wetting currents glob-
ally enabled, the wetting currents and sense resistors
on IN0 and IN1 can still be turned off with the WEND bit
(see Table 4).
Bit 10: IN0 and IN1 Wetting Current Enable (WEND)
The WEND bit is used to turn on wetting currents and
sense resistors on inputs IN0 and IN1. Set the WEND
bit to enable wetting currents on IN0 and IN1 and clear
the WEND bit to turn off the wetting current and sense
resistors on IN0 and IN1. When the wetting currents
and sense resistors are disabled (WEND = 0), IN0 and
IN1 are configured as direct inputs with level-shifted
outputs on DO0 and D01. DO0 and DO1 can only be
used as level-shifted outputs in normal mode and are
three-stated in scan mode (see the
Scan Mode
sec-
tion). Note that both the WEN and WEND bits need to
be set for wetting currents to be enabled on IN0 and
Table 3. Programmable Scanning Period
SC2 SC1 SC0 SCANNING PERIOD (ms)
000 64
001 32
010 16
011 8
100 4
101 2
110
Continuous/adjustable
hysteresis off
1 1 1 Continuous
GND-CONNECTED
SWITCH INPUT
SWITCHES ARE
POLLED FOR 250μs
SWITCH
DEBOUNCE
STARTS
INT
t
SCAN
t
SCAN-P
t
DEB
SWITCH
CLOSES
STATUS REGISTERS AND
INT ARE UPDATED
AFTER t
DEB
Figure 8. Switch Sampling in Scan Mode
Table 4. Truth Table for WEN and WEND
WEN WEND
WETTING CURRENT
(IN0, IN1)
16kΩ SENSE RESISTOR
(IN0, IN1)
WETTING CURRENT
(IN2–IN7)
16kΩ SENSE RESISTOR
(IN2–IN7)
0 0 Off Off Off On
0 1 Off On Off On
1 0 Off Off On On
1 1 On On On On
IN1 (see Table 4). The DO0 and DO1 outputs are three-
stated when WEND = 1. When programmed as direct
inputs (WEND = 0), any input changes on IN0 and IN1
are not reflected by the status register.
Bits 9 and 8: Switch Configuration for IN7–IN4 (M1, M0)
The M1 and M0 bits set the switch configuration in
groups of two for IN7 through IN4 (see Table 5). Set M1
to configure IN7 and IN6 for battery-connected switches
and clear M1 for ground-connected switches. Set M0 to
configure IN5 and IN4 for battery-connected switches
and clear M0 for ground-connected switches.
Bits 7–0: Interrupt Enable for IN7–IN0 (P7–P0)
The P7 through P0 bits allow independent control of
whether inputs IN7 through IN0 generate an interrupt
(INT). Set any bit to disable interrupts on the corre-
sponding input and clear the bit to enable interrupts on
the corresponding channel. An interrupt is asserted
when any input configured for interrupts changes state.
IN0 and IN1 do not generate an interrupt when confi-
gured as direct inputs (WEND = 0).
Operating Modes
The MAX13037/MAX13038 feature three modes of oper-
ation: normal mode, scan mode, and shutdown mode.
Normal mode is entered when the scanning period bits
in the command register are configured for continuous
scanning ([SC2:SC1:SC0] = [1:1:1] or [1:1:0]). Scan
mode is entered when the scanning period bits are set
for a periodic scanning time as shown in Table 3.
Shutdown mode is entered by driving the shutdown
input (SD) low. The default mode after power-up is scan
mode (when SD = high) with a scan period of 64ms.
Normal Mode (Continuous Scanning)
In normal mode, the input sense resistors are always
connected to the switch inputs to detect any input status
change (except IN0 and IN1 when WEND = [0]). Wetting
currents are enabled according to the WEN, WEND, and
WTOFF bits in the command register. If adjustable hys-
teresis is not required, this feature can be disabled to
reduce power consumption (see the
Typical Operating
Characteristics
) by setting the scanning period bits in the
command register to ([SC2:SC1:SC0] = [1:1:0]). The
hysteresis is set to 0.166 x V
BATREF
when adjustable
hysteresis is disabled.
Scan Mode
In scan mode, each sense resistor is connected for a
finite duration of 250µs (typ) and is repeated at a period
according to the scanning period bits SC2, SC1, and SC0
(see Table 3). All input resistors are connected simultane-
ously and the inputs are polled at the same time. When all
external switches are open and the scanning period is set
to 64ms the scanning mode reduces current consump-
tion to typically 28µA (LDO on) and 17µA (LDO off).
Wetting currents (if enabled) are applied to closed
switches during the polling time of 250µs (typ) and are
pulsed at the programmed scanning period. When
WTOFF is set, the wetting current continuously pulses at
the programmed scanning period. When WTOFF is
cleared, the wetting current pulses at the programmed
scanning period, but turns off after 20ms elapses. Inputs
IN0 and IN1 cannot be used as direct inputs (WEND = 0)
in scan mode. When configured as direct inputs in scan
mode, the outputs DO0 and DO1 are high impedance.
The quiescent current for a given scan mode can be cal-
culated by the following formula (LDO off):
Where V
BAT
= SD = +14V, I
BAT
is the BAT current
expressed in microamps and t
SCAN_P
is the scanning
period expressed in milliseconds.
Shutdown Mode
In shutdown mode, the LDO is disabled, all switch
inputs are high impedance and the external switches
are no longer monitored, reducing current consumption
on BAT to 2.85µA (typ). The MAX13037/MAX13038
reset upon entering shutdown mode and the contents
of the command register are lost. Exit shutdown mode
by bringing the voltage on SD above +2.4V. The SD
input is compatible with voltages up to V
BAT
. The
MAX13037/MAX13038 take 200µs (typ) to exit shutdown
I
t
BAT( A)
SCAN P(ms)
μ
+
16 1
1
_
MAX13037/MAX13038
Automotive Contact Monitor and
Level Shifters with LDO Regulator
______________________________________________________________________________________ 17
Table 5. Switch Configuration Controlled by M1 and M0
M1 M0
IN7 AND IN6 SWITCH
CONFIGURATION
IN5 AND IN4 SWITCH
CONFIGURATION
IN3–IN0 SWITCH
CONFIGURATION
0 0 Ground Ground Ground
0 1 Ground Battery Ground
1 0 Battery Ground Ground
1 1 Battery Battery Ground
MAX13037/MAX13038
at which point the command register is restored to its
power-up default (0x00) and the MAX13037/
MAX13038 enter scan mode. Note that SD is compati-
ble with both logic and BAT voltage levels. Having SD
compatible to V
BAT
allows the MAX13037/MAX13038 to
retain the settings in the command register as well as
input monitoring even when V
LO
is disabled, provided
that SD = V
BAT
.
Applications Information
Automotive Considerations
Reverse-Battery Tolerance
The BATREF and IN0–IN7 inputs can withstand voltages
down to -45V without damage so that reverse battery is
not an issue. The BAT input should be protected with a
reverse-battery diode as shown in the
Typical Application
Circuit
. The shutdown (SD) and REGON inputs can be
controlled from a battery-level source, but should be pro-
tected against reverse battery in the application.
Power Dissipation
Wetting currents and the LDO output current can result in
overheating the MAX13037/MAX13038. At the early ther-
mal warning threshold of +135°C (typ), wetting currents
are disabled. This allows the LDO output to remain
enabled if overheating is caused by the wetting currents.
At temperatures above +170°C, the LDO is also turned
off to avoid damage to the device.
It is important to consider the effects of wetting currents
on the power dissipated by the MAX13037/MAX13038.
For example, assume all inputs are configured for a
continuous wetting current of 25mA, all external switch-
es have an on-resistance of 1Ω and the battery voltage
is +16V. If all switches are simultaneously closed, the
corresponding power dissipated due to wetting currents
only is (16V - (25mA x 1Ω)) x 25mA x 8 = 3.12W, which
is higher than the absolute maximum power dissipation
of 2857mW at +70°C.
The LDO is a second source of power dissipation. For
example, if V
LO
= +3.3V, I
LO
= 100mA and V
BAT
=
+16V, the power dissipated by the LDO is (16V - 3.3V)
+ (0.1) = 1.27W. Both the LDO and wetting currents
should be taken into account for correct use of the
MAX13037/MAX13038.
ESD Protection
As with all Maxim devices, ESD-protection structures
are incorporated on all pins to protect against electro-
static discharges encountered during handling and
assembly. The IN7–IN0 inputs have extra protection
against static electricity. Maxim’s engineers have
developed state-of-the-art structures to protect these
pins against ESD of ±8kV without damage.
Human Body Model
The MAX13037/MAX13038 IN7–IN0 pins are charac-
terized for ±8kV ESD protection using the Human
Body Model. Figure 7a shows the Human Body Model,
and Figure 7b shows the current waveform it gener-
ates when discharged into a low impedance. This
model consists of a 100pF capacitor charged to the
ESD voltage of interest, which is then discharged into
the device through a 1.5kΩ resistor.
Automotive Contact Monitor and
Level Shifters with LDO Regulator
18 ______________________________________________________________________________________
CHARGE-CURRENT-
LIMIT RESISTOR
DISCHARGE
RESISTANCE
STORAGE
CAPACITOR
C
s
100pF
R
C
1MΩ R
D
1500Ω
HIGH-
VOLTAGE
DC
SOURCE
DEVICE
UNDER
TEST
Figure 7a. Human Body ESD Test Model
I
P
100%
90%
36.8%
t
RL
TIME
t
DL
CURRENT WAVEFORM
PEAK-TO-PEAK RINGING
(NOT DRAWN TO SCALE)
I
r
10%
0
0
AMPERES
Figure 7b. Human Body Model Current Waveform

MAX13038ATI+

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Interface - Specialized Auto Contact Monitor & Level Shift w/LDO
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet