SPOC - BTS5572E
Serial Peripheral Interface (SPI)
9.5
SPI Protocol
CS1)
7
6
5
0
x
4
OUT4
x
3
OUT3
x
2
OUT2
x
1
OUT1
x
0
OUT0
0
Write OUT Register
SI
SI
SI
SI
SI
SO
1
0
Read OUT Register
0
0
Write Configuration Register
DATA
1
1
ADDR
ADDR
Read Configuration Register
0
1
x
x
x
0
Read Standard Diagnosis
0
x
x
x
x
x
x
x
1
Standard Diagnosis
LHI
TER
0
ERR4
OUT4
ERR3
OUT3
ERR2
OUT2
ERR1
OUT1
ERR0
OUT0
Second Frame of Read Command
SO
SO
TER
TER
1
1
0
1
0
DATA
ADDR
1) The SO pin shows this information between CS hi -> lo and first SCLK lo -> hi transition.
Note:Reading a register needs two SPI frames. In the first frame the RD command is sent. In the second frame
the output at SPI signal SO will contain the requested information. A new command can be executed in the
second frame.
Field
Bits
Type
Description
RB
6
rw
Register Bank
0
Read / write to the OUTx channel
1
Read / write to the other register
TER
CS
x
r
Transmission Error
0
Previous transmission was successful (modulo 8 clocks received)
Previous transmission failed or first transmission after reset
1
OUTx
x = 4 to 0
rw
Output Control Register of Channel x
0
1
OFF
ON
ADDR
DATA
LHI
5:4
3:0
6
rw
rw
r
Address
Pointer to register for read and write command
Data
Data written to or read from register selected by address ADDR
Limp Home Enable
0
1
L-input signal at pin LHI
H-input signal at pin LHI
ERRx
x = 4 to 0
x
r
Diagnosis of Channel x
0
No failure
1
Over temperature, over load or short circuit
Data Sheet
41
Rev. 1.0, 2008-05-15