FUNCTIONAL DEVICE OPERATION
LOGIC COMMANDS AND REGISTERS
C
S
B
CS
SCLLKK
S
C
I
SSI
D
7
D
6
D
5
D
2
D
1
D
0
D
7
*
D
6
*
D
5
*
D
2
*
D
1
*
D
0
*
S
O
O
D
7
O
D
6
O
D
5
O
D
2
O
D
1
O
D
0
D
7
D
6
D
5
D
2
D
1
D
0
SO
N
T
S
:
1
2
3
.
.
R
R
S
0
D
D
S
T
,
T
B
D
is i n
a
,
l o
. . . ,
g
a
ic
n
1
d
s
D
t a t e
d
u
r i n
g
t h
e
e
a
m
b
o
o
s
v
t
e
r e
o
c
p
e
e
n
r a t i o
r d
n
e
.
NotOesE
D
1
,
D
2
7
r e l a t e t o t h
t
o
r e
d
f
o
e
n
t r y
o
f
d
a
t a i n t o t h
e
S
s
P
d
s
S
a
d
S
t a
a
1. RST is a Logic [1] state during the above operation.
0
1
1
2
O
8
o
a
l t
n
a
d
n
s
d
t a t u
s
o
t a
u
o
t
u
o
t
f
o
t h
f
e
t h
d
e
e
S
v ic e .
P S S
2. D
4
7
.
. :D0
O
O r
e
0
laO
,
, t
O
eD
D
to,
,
th D
O
O e
D
m . . . ,
2
,
, o. .
s
. ,t a
a
red
n
n c
d
e
O
nD
D
t o r e
7
7 r
r
d l a
e
e
p
rt e
r
ee
dt o
s
e
e t h
n
nt
te
t
r
h
yf i r s
e
o
f
fi rts
d
t
ab
8
ta
b
ii
i t snt stoo
f
th
o
r der ed rde d
e
e
r evf a
d
icu
f
elt
a
.u
t a t u
3. D7*:D0* relate to the previous 8 bits (last command word) of data that was previously shifted into the device.
4. OD7:OD0 relate to the firstI 8G bitRs Eof 4obrd.ered fLauT lItPaLnd status data outSof thCeOdeviMce.
F
U
M
U
E
8
b i t
W
O
R
D
P
I
M
U N I C A T I O N
Figure 11. Multiple 8-Bit Word SPI Communication
Table 10, summarizes the SI registers. The registers are
addressed via D6:D4 of the incoming SPI word (Table 9).
SERIAL INPUT COMMUNICATION
SPI communication is accomplished using 8-bit
messages. A message is transmitted by the MCU starting
with the MSB, D7, and ending with the LSB, D0 (Table 9).
Each incoming command message on the SI pin can be
interpreted using the following bit assignments: the MSB (D7)
is the watchdog bit and in some cases a register address bit;
the next three bits, D6:D4, are used to select the command
register; and the remaining four bits, D3:D0, are used to
configure and control the output and its protection features.
Table 9. SI Message Bit Assignment
Bit Sig SI Msg Bit
Message Bit Description
Watchdog in: toggled to satisfy watchdog
requirements; also used as a register
address bit.
MSB
D7
Register address bits.
D6:D4
D3:D1
Multiple messages can be transmitted in succession to
accommodate those applications where daisy chaining is
desirable or to confirm transmitted data as long as the
messages are all multiples of eight bits. Any attempt made to
latch in a message that is not eight bits will be ignored.
Used to configure the inputs, outputs, and
the device protection features and SO
status content.
Used to configure the inputs, outputs, and
the device protection features and SO
status content.
LSB
D0
The 33982 has defined registers, which are used to
configure the device and to control the state of the output.
33982
Analog Integrated Circuit Device Data
Freescale Semiconductor
23