|
TLE6220GP_07 Datasheet, PDF (8/19 Pages) Infineon Technologies AG – Smart Quad Low-Side Switch Short Circuit Protection | |||
|
◁ |
Data Sheet TLE 6220 GP
Serial Control of the Outputs: SPI protocol
Each output is independently controlled by an output latch and a common reset line, which dis-
ables all four outputs. The Serial Input (SI) is read on the falling edge of the serial clock. A logic
high input 'data bit' turns the respective output channel ON, a logic low 'data bit' turns it OFF.
CS must be low whilst shifting all the serial data into the device. A low-to-high transition of CS
transfers the serial data input bits to the output control buffer.
As mentioned above, the serial input byte consists of a 4 bit control word and a 4 bit data word.
Via the control word, the specific mode of the device is programmable.
MSB
LSB
C1C2C3C D1D2D3D : Serial input byte
Control Bits Data Bits
Five specific control words are recognised, having the following functions:
No. Serial Input Byte
Function
1
LLLL XXXX Only 'Full Diagnosis' performed. No change to output states.
2
HHLL XXXX State of four parallel inputs and '1-bit Diagnosis' outputted.
3
HLHL XXXX Echo-function of SPI; SI direct connected to SO
4
LLHH DDDD IN1...4 and serial data bits 'OR'ed. 'Full Diagnosis' performed.
5
HHHH DDDD IN1...4 and serial data bits 'AND'ed. 'Full Diagnosis' performed.
Note: 'X' means 'don't care', because this bit will be ignored
'D' represents the data bit, either being H (=ON) or L (=OFF)
1. LLLL XXXX - Diagnosis only
By clocking in this control byte, it is possible to get pure diagnostic information (two bits per
channel) in accordance with Figure 1 (page 11). The data bits are ignored, so that the state of
the outputs are not influenced. This command is only active once unless the next control com-
mand is again "Diagnosis only".
2. HHLL XXXX - Reading back of input, and â1-bit Diagnosisâ
If the TLE 6220 GP is used as bare die in a hybrid application, it is necessary to know if proper
connections exist between the µC-port and parallel inputs. By entering âHHLLâ as the control
word, the first four bits of the SO give the state of the parallel inputs, depending on the µC sig-
nals. By comparing the four IN-bits with the corresponding µC-port signal, the necessary con-
nection between the µC and the TLE 6220 can be verified - i.e. âread back of the inputsâ.
The second 4-bit word fed out at the serial output contains â1-bitâ fault information of the out-
puts ( H = no fault, L = fault ). In the expression given below for the output byte, âFXâ is the fault
bit for channel X.
MSB
LSB
IN4 IN3 IN2 IN1 F4 F3 F2 F1 : Serial Output byte
V2.1
Page 8
2007-05-03
|
▷ |