Data Sheet TLE 6240 GP
Second access:
CS
CS
SI
SI
SO
Control Byte2 Data Byte2
16 bit Diagnosis
Control Byte2 Data Byte2
DIAG_2 (Ch. 9 to 16)
SO
SI command: Control Byte 2 programs the
operation mode of channels 9 to 16.
Data Byte 2 gives the input information (on
or off) for Channel 9 to 16.
SI command: Control Byte 2 programs the
operation mode of Channels 9 to 16.
Data Byte 2 gives the input information (on
or off) for Channel 9 to 16.
SO diagnosis: Diagnosis information of
channel 1 to 8 or 9 to 16, depending on the
SI control word before.
SO diagnosis: 16 bit diagnosis information
(two bit per channel) of channels 9 to 16
Detailed Description
As mentioned above, the serial input information consist of a control byte and a data byte. Via
the control byte, the specific mode of the device is programmable.
MSB
LSB
CCCCCCCC DDDDDDDD : 16 bit serial input information
ꢀ"" ""!ꢀ"" ""!
Control Byte
Data Byte
Ten specific control words are recognised, having the following functions:
No.
1
SI Contol and Data Byte
Function
LLLL LLLL XXXX XXXX 'Full Diagnosis' (two bits per channel) performed for
channels 1 to 8. No change to output states.
HHLL LLLL XXXX XXXX State of the eight parallel inputs and '1-bit Diagnosis'
for channel 1 to 8 is provided
2
HLHL LLLL XXXX XXXX Echo-function of SPI; SI direct connected to SO
LLHH LLLL DDDDDDDD IN1...4 and serial data bits 'OR'ed. 'Full Diagnosis' per-
formed for channels 1 to 8.
3
4
HHHH LLLL DDDDDDDD IN1...4 and serial data bits 'AND'ed. 'Full Diagnosis'
performed for channels 1 to 8.
5
6
7
LLLL HHHH XXXX XXXX 'Full Diagnosis' (two bits per channel) performed for
channels 9 to 16. No change to output states.
HHLL HHHH XXXX XXXX State of the eight parallel inputs and '1-bit Diagnosis'
for channel 9 to 16 is provided.
HLHL HHHH XXXX XXXX Echo-function of SPI; SI direct connected to SO
LLHH HHHH DDDDDDDD IN9...12 and serial data bits 'OR'ed. 'Full Diagnosis'
performed for channels 9 to 16.
8
9
HHHH HHHH DDDDDDDD IN9...12 and serial data bits 'AND'ed. 'Full Diagnosis'
performed for channels 9 to 16.
10
Note: Control Byte: Channel Selection via Bit 0 to 3
Bits 0 to 3 = L
Bits 0 to 3 = H
Channels 1 to 8 selected
Channels 9 to 16 selected
Data byte:
'X' means 'don't care', because this data bits will be ignored
'D' represents the data bits, either being H (= ON) or L (= OFF)
V3.1
Page
26.Aug 2002
10