English
Language : 

33793 Datasheet, PDF (23/27 Pages) Freescale Semiconductor, Inc – Distributed System Interface (DSI) Sensor Interface
TYPICAL APPLICATIONS
In case there is a bus error (due to induced noise or a bus
fault), both the master and slave devices will read bad data.
The slave reacts to bad data by not sending a response
during the next frame. The master will detect a CRC error
once it receives the corrupted data sent by the slave, and
once again when the slave fails to respond. This is illustrated
in Figure 7. When this error occurs, the system software
needs to acknowledge this condition and resend a command
(any command of same size) so that it can receive the
Bus Error
CRC
Error
previous response just prior to the bus fault condition (in this
case, Command N).
Failure to take corrective action will result in unintended
errors as shown in Figure 7. In this case, the master will miss
Responses N+1 and N+2 and will mistake them for N+3 and
N+4. The master should send another N+1 command after
the error is acknowledged to re-synchronize the command-
response sequence.
CRC
Error
Data misinterpreted by Master
Master
Command N
Command N+1 Command N+2
Command N+3
Command N+4
Slave
Response N-1
Response N
No Response
Response N
Response N+3
CRC
Error
Figure 7. Bus Traffic With Receive Errors (Master Reads Incorrect Data)
POWER UP RESET
When power is first applied to the DSI bus, the system
must allow enough time for the internal 5 volt regulator of
each device to come up to a proper level. This implies that
H_CAP must charge up to VRECT + 5 V, or approximately 6
volts. The time this takes is a function of the size of H_CAP,
and the current drive of the Master. The following equation
can be used to estimate the minimum time to wait before
sending an Initialization Command:
tMIN ≅ (H_CAP x 6V) / ICHARGE
where ICHARGE is the charging current provided by the DSI
Master.
The above assumes a daisy-chain type of bus topology,
and enough time must be allowed for all down-stream
devices in the chain to charge up. For example, if device #1
has it’s switch closed after its Initialization Command, then
the system must wait for device #2 to power up before
sending its Initialization Command, and so on down the line.
If the devices are attached in a parallel or point-to-point
bus configuration, then the total capacitor value is the sum of
all H_CAPS.
In addition to the charge up time, enough time must be
allocated for the bus fault test (see next section).
BUS FAULTS
A bus fault is defined as an external voltage on the
“Inactive Side” of the Bus Switch that is greater than 3V
(typical). Inactive refers to the side of the bus that is not yet
connected to the bus. Just before a device is Forward
Initialized, the inactive side is defined as BUSOUT. Similarly,
just before a device is Reverse Initialized, the BUSIN is
defined as the inactive side.
The test for a bus fault is only performed once during
Forward or Reverse Initialization (when BS bit is set) by
applying an 11mA pull-down current to the inactive side of the
Bus Switch and monitoring the voltage. The fault test takes
approximately 200uS. If no fault is detected, the bus switch
will be closed, and if a fault is detected, the bus switch will not
close. The fault test applies to both programmed and
unprogrammed devices.
Exception: In the case of a daisy-chain bus topology where
the last device BUSOUT line connects to BUSIN of the first
device (loop-back), then the fault test will NOT be executed
since both BUSIN and BUSOUT are connected to active
busses. It is up to the system software to run the appropriate
diagnostic tests to resolve this special case. (One alternative
is to use a separate DSI Master to handle the loop-back
signal path. This second DSI Master is only activated in the
case of a bus fault so that the last device can be accessed by
means of a reverse initialization.)
GLOBAL ADDRESS 0
Any time an Initialization or Reverse Initialization
command is sent to the 33793 with an address of 0x0 (global
address), the device behaves as follows:
• Device initializes to address 0.
• Bus switch remains open. This implies that in a daisy-
chain bus topology, all devices past the first device will
remain off.
• NV and BS bits are not stored and have no effect.
Analog Integrated Circuit Device Data
Freescale Semiconductor
33793
23