Datasheet
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 6 shows a timing
diagram of switch scanning and sampling. When the
inputs are not being polled, the sense resistors are dis-
con-nected, reducing the current consumption caused
from polling closed switches. For a continuous scan-
ning 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 hys-
teresis (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
tri-stated in scan mode (see the
Scan Mode
section).
Note that both the WEN and WEND bits need to be set
for wetting currents to be enabled on IN0 and IN1 (see
MAX13036
Automotive Contact Monitor
and Level Shifter
______________________________________________________________________________________ 13
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 6. 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










