MC33972EW/R2 FREESCALE [Freescale Semiconductor, Inc], MC33972EW/R2 Datasheet - Page 10

no-image

MC33972EW/R2

Manufacturer Part Number
MC33972EW/R2
Description
Multiple Switch Detection Interface with Suppressed Wake-up
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
provide systems with ultra-low quiescent sleep / wake-up
modes, and a robust interface between switch contacts and
a microprocessor. The 33972 replaces many of the discrete
components required when interfacing to microprocessor-
based systems, while providing switch ground offset
protection, contact wetting current, and a system wake-up.
switch-to-battery inputs and 14 switch-to-ground inputs. All
CHIP SELECT (CS)
communication using the chip select (CS) pin. With the CS in
a logic LOW state, command words may be sent to the 33972
via the serial input (SI) pin, and switch status information can
be received by the MCU via the serial output (SO) pin. The
falling edge of CS enables the SO output, latches the state of
the INT pin, and the state of the external switch inputs.
LOW and LOW-to-HIGH transitions of the CS signal occur
only when SCLK is in a logic LOW state. A clean CS is
needed to ensure no incomplete SPI words are sent to the
device. Internal to the 33972 device is an active pull-up to
V
wake up the 33972 device. Data received from the device
during CS wake-up may not be accurate.
SYSTEM CLOCK (SCLK)
register of the 33972. The SI data is latched into the input
shift register on the falling edge of SCLK signal. The SO pin
shifts the switch status bits out on the rising edge of SCLK.
The SO data is available for the MCU to read on the falling
edge of SCLK. False clocking of the shift register must be
avoided to ensure validity of data. It is essential the SCLK pin
be in a logic LOW state whenever
For this reason, it is recommended, that the SCLK pin is
commanded to a logic LOW state as long as the device is not
accessed and
10
33972
FUNCTIONAL DESCRIPTION
INTRODUCTION
DD
1. Disables the SO driver (high-impedance)
2. INT pin is reset to logic [1], except when additional
3. Activates the received command word, allowing the
The 33972 device is an integrated circuit designed to
The 33972 features 8-programmable switch-to-ground or
The system MCU selects the 33972 to receive
Rising edge of the CS initiates the following operation:
To avoid any spurious data, it is essential the HIGH-to-
In Sleep mode, the negative edge of CS (V
The system clock (SCLK) pin clocks the internal shift
on CS.
switch changes occur during CS LOW. (See
on page 9.)
33972 to act upon new data from switch inputs.
CS
is in a logic HIGH state. When the
CS
makes any transition.
FUNCTIONAL DESCRIPTION
FUNCTIONAL PIN DESCRIPTION
DD
applied) will
Figure 6
CS
INTRODUCTION
is in
switch inputs may be read as analog inputs through the
analog multiplexer (AMUX). Other features include a
programmable wake-up timer, programmable interrupt timer,
programmable wake-up /interrupt bits, and programmable
wetting current settings.
applications, but may be used in a variety of other
applications such as computer, telecommunications, and
industrial controls.
a logic HIGH state, any signal on the SCLK and SI pins will
be ignored and the SO pin is tri-state.
SPI SLAVE IN (SI)
information is latched into the input register on the falling
edge of SCLK. A logic HIGH state present on SI will program
a one in the command word on the rising edge of the
signal. To program a complete word, 24 bits of information
must be entered into the device.
SPI SLAVE OUT (SO)
remains tri-stated until the
state. All open switches are reported as zero, all closed
switches are reported as one. The negative transition of
enables the SO driver.
data bit 24 available on the SO pin. Each successive positive
clock will make the next status data bit available for the MCU
to read on the falling edge of SCLK. The SI / SO shifting of the
data follows a first-in, first-out protocol, with both input and
output words transferring the most significant bit (MSB) first.
iNTERRUPT (INT)
The INT pin is an open-drain output with an internal pull-up to
V
INT pin (when enabled). The INT pin and INT bit in the SPI
register are latched on the falling edge of CS. This permits
the MCU to determine the origin of the interrupt. When two
33972 devices are used, only the device initiating the
interrupt will have the INT bit set. The INT pin is cleared on
the rising edge of CS. The INT pin will not clear with rising
edge of CS if a switch contact change has occurred while CS
was LOW.
V
33972s in Normal mode.
DD
DD
This device is designed primarily for automotive
The SI pin is used for serial instruction data input. SI
The SO pin is the output from the shift register. The SO pin
The first positive transition of SCLK will make the status
The INT pin is an interrupt output from the 33972 device.
In a multiple 33972 device system with WAKE HIGH and
. In Normal mode, a switch state change will trigger the
in (Sleep Mode), the falling edge of INT will place all
Analog Integrated Circuit Device Data
CS
pin transitions to a logic LOW
Freescale Semiconductor
CS
CS

Related parts for MC33972EW/R2