English
Language : 

TLE8104E Datasheet, PDF (20/27 Pages) Infineon Technologies AG – Smart Quad Channel Powertrain Switch
TLE8104E
Smart Quad Channel Powertrain Switch
SPI Control
6.1
SPI Examples
Below are examples of the different SPI command words and the resulting behavior of the output channels and
Seiral Output pin.
6.1.1 Example: Diagnosis Only
The contents of the diagnosis register will be returned during the next SPI access. This command is only active
once unless the next control command is again “Diagnosis only” (see Figure 14).
In the example shown in Figure 14, the standard diagnosis reports short circuit to ground for channel 1 (00), open
load for channel 2 (01), over load / over temperature for channel 3 (10) and normal operation for channel 4 (11).
CS
Diagnosis Only
SI
0 00 0X XX X
SO
X XX XX XX X
t
XX XX XX XX
Standard Diagnosis
t
11 10 01 00
t
Figure 14 Diagnosis Only
6.1.2 Example: Read Back Input and 1-bit Diagnosis
The first four bits of SO during the next SPI access give the state of the parallel inputs, denoted by INn. The
second four-bit word fed out at SO contains 1-bit diagnosis information of the output (1 = no fault, 0 = fault),
denoted by Fn (see Figure 15).
CS
Read Back Input and 1-bit Diagnosis
SI
1 01 0X XX X
SO
X XX XX XX X
t
XX XX XX XX
States of INn 1-bit Diagnosis
t
IN4 IN3 IN2 IN1 F4 F3 F2 F1
t
Figure 15 Read Back Input and 1-bit Diagnosis
6.1.3 Example: Echo Function of SPI
This function can be used to check the proper function of the serial interface. This command connects directly the
SI to the SO during the next CS period. This internal connection is only active once unless the next control
command is again “Echo function of SPI” (see Figure 16).
Data Sheet
20
V1.4, 2010-04-26