NCV7720
www.onsemi.com
15
Table 2. SPI STATUS OUTPUT DEFINITIONS
Channels 6 – 1 (If Previous Input Bit # 14 = 0)
Bit# Name Function Status* Scope
PRE_15 TSD Latched Thermal Shutdown 1 = Fault Global Notification;
Per Half−Bridge Operation
15 OCS Latched Overcurrent
Shutdown 1 = Fault Notification per HBSEL;
Per Half−Bridge Operation
14 PSF VS1 and/or VS2
Undervoltage or Overvoltage 1 = Fault Global Notification and
Global Operation
13 ULD Underload Detect 1 = Fault Notification per HBSEL;
Per Half−Bridge Operation
12 HBST6 Half−Bridge 6 Output Status
0 = Hi−Z
1 = Enabled Per Half−Bridge
11 HBST5 Half−Bridge 5 Output Status
10 HBST4 Half−Bridge 4 Output Status
9 HBST3 Half−Bridge 3 Output Status
8 HBST2 Half−Bridge 2 Output Status
7 HBST1 Half−Bridge 1 Output Status
6 HBCR6 Half−Bridge 6 Config Status
0 = LS On, HS Off
1 = LS Off, HS On** Per Half−Bridge
5 HBCR5 Half−Bridge 5 Config Status
4 HBCR4 Half−Bridge 4 Config Status
3 HBCR3 Half−Bridge 3 Config Status
2 HBCR2 Half−Bridge 2 Config Status
1 HBCR1 Half−Bridge 1 Config Status
0 TW Thermal Warning 1 = Fault Global Notification;
Per Half−Bridge Operation
*All status output bits are set to 0 at Vcc power−on reset (POR).
**HBCRx is forced to 0 when HBSTx = 0 via POR, SPI, or fault.
Frame Error Detection
The NCV7720 employs frame error detection to help
ensure input data integrity. SCLK is compared to an n x 8 bit
counter and a valid frame (CSB H−L−H cycle) has integer
multiples of 8 SCLK cycles. For the first 16 bits shifted into
SI, SCLK is compared to a modulo16 counter (n = 2), and
SCLK is compared to a modulo 8 counter (n = 1, 2, ...m)
thereafter. This variable modulus facilitates daisy chain
operation with devices using different word lengths.
The last 16 bits clocked into SI are transferred to the
NCV7720’s data register if no frame error is detected,
otherwise the entire frame is ignored and the previous input
data is preserved.
Daisy Chain Operation
Daisy chain operation is possible with multiple 16−bit and
8−bit devices that have a compatible SPI protocol. The clock
phase and clock polarity with respect to the data for all the
devices in the chain must be the same as the NCV7720.
CSB and SCLK are parallel connected to every device in
the chain while SO and SI are series connected between each
device.
The master’s MOSI is connected to the SI of the first
device and the first device’s SO is connected to the next
device’s SI. The SO of the final device in the chain is
connected to the master’s MISO.
The hardware configuration for the NCV7720 daisy
chained with an 8− bit SPI device is shown in Figure 13. A
24−bit frame made of 16−bit word ‘A’ and 8−bit word ‘B’ is
sent from the master. Command word B is sent first followed
by word A. The master simultaneously receives status word
B first followed by word A. The progression of data from the
MCU through the sequential devices is illustrated in
Figure 14.
Compliance with the illustrated frame format is required
for proper daisy chain operation. Situations should be
avoided where an incorrect multiple of 8 bits is sent to the
devices, but the frame length does not cause a frame error in
the devices. For example, the word order could be
inadvertently interleaved or reversed. Invalid data is
accepted b y the NCV7720 in such scenarios and possibly by
other devices in the chain, depending on their frame error
implementation. Data is received as a command by the
device a t the beginning of the chain, but the device at the end
of the chain may receive status data from the preceding
device as a command.