English
Language : 

33884 Datasheet, PDF (13/21 Pages) Freescale Semiconductor, Inc – Switch Monitor Interface
FUNCTIONAL DEVICE OPERATION
LOGIC COMMANDS AND REGISTERS
LOGIC COMMANDS AND REGISTERS
PROGRAMMING AND CONFIGURATION
DESCRIPTION
SPI Commands from Microcontroller / Command Protocol
(Data into SI)
Table 5. SPI Command Protocol
Command
MSB
16 15 14 13 12 11
10
9
8
7
6
5
4
LSB
3
2
1
Sleep (Default) 0 0 0 0
x
x
x
x
x
x
x
x
x
x
x
x
Run
0 0 0 1 MOD2 MOD1 ST3 ST2 ST1 — WT2 WT1 CP4 CP3 CP2 CP1
Tri-State
0 0 1 1 TG6 TG5 TG4 TG3 TG2 TG1 TP4 TP3 TP2 TP1 TB2 TB1
Metallic
0 1 0 1 MG6 MG5 MG4 MG3 MG2 MG1 MP4 MP3 MP2 MP1 MB2 MB1
IC Test Mode
1xxx
x
x
x
x
x
x
x
x
x
x
x
x
Reset Values:
Run Register
———— U
U
U
U
U
U
U
U
U
U
U
U
Tri-State
Register
———— 0
0
0
0
0
0
0
0
0
0
0
0
Metallic Register — — — — U
U
U
U
U
U
U
U
U
U
U
U
U =Unknown value coming out of Sleep mode. It be must configured with
Run and Metallic commands. Note: the remaining combinations of bits
[16;13] are non-functional (0010. 0100. 0110. 0111).
MOD[2:1] = Operating mode
CP[4:1] = Configure programmable switch
TG[6:1] = Tri-State switch-to-ground
TB[2:1] = Tri-State switch-to-battery
TP[4:1] = Tri-State programmable switch
ST[3:1] = Sample OFF time
WT[3:1] = Wake up time
MG[6:1] = Metallic switch-to-ground
MB[2:1] = Metallic switch-to-battery
MP[4:1] = Metallic programmable switch
SLEEP COMMAND
The Sleep command places the IC in Sleep mode and
essentially turns the part OFF. By definition, a hardware reset
sends/keeps the IC in Sleep mode. All inputs are Tri-Stated,
disabling all input blocks and all internal pull-ups/pull downs.
Only a SPI command can take the IC out of Sleep mode.
Exiting this mode requires a valid Run, Tri-State, or Metallic
command.
Table 6. Sleep Command
MSB
LSB
Command
16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
Sleep (Default) 0 0 0 0 x
x
x
x
x
x
x
x
x
x
x
x
Analog Integrated Circuit Device Data
Freescale Semiconductor
33884
13