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
disables 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
Control Bits Data Bits
CCCC DDDD
: Serial input byte
! !
Five specific control words are recognised, having the following functions:
No.
1
2
3
4
5
Serial Input Byte
LLLL XXXX
HHLL XXXX
HLHL XXXX
LLHH DDDD
HHHH DDDD
Function
Only 'Full Diagnosis' performed. No change to output states.
State of four parallel inputs and '1-bit Diagnosis' outputted.
Echo-function of SPI; SI direct connected to SO
IN1...4 and serial data bits 'OR'ed. 'Full Diagnosis' performed.
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
command is again "Diagnosis only".
2.
HHLL XXXX
- Reading back of input, and 鈥?-bit Diagnosis鈥?/div>
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 鈥楬HLL鈥?as the control
word, the first four bits of the SO give the state of the parallel inputs, depending on the 碌C
signals. By comparing the four IN-bits with the corresponding 碌C-port signal, the necessary
connection between the 碌C and the TLE 6220 can be verified - i.e. 鈥榬ead back of the inputs鈥?
The second 4-bit word fed out at the serial output contains 鈥?-bit鈥?fault information of the out-
puts ( H = no fault, L = fault ). In the expression given below for the output byte, 鈥楩X鈥?is the
fault bit for channel X.
MSB
LSB
IN4 IN3 IN2 IN1 F4 F3 F2 F1
: Serial Output byte
V1.1
Page
8
26.Aug. 2002
prev
next