SLVSCE5B November 2013 – July 2016 DRV3203E-Q1
A watchdog monitors the PRN signal and VCC supply level and generates a reset to the MCU through the RES pin if the status of PRN is not normal or VCC is lower than the specified threshold level. Detection of a special pattern on the PRN input during power up can disable the watchdog.
Setting device configuration and reading out diagnostic information is via SPI. SPI operates in slave mode. SPI uses four signals according to the timing chart of Figure 2.
The MCU uses CS to select the IC. CS is normally high, and communication is possible only when it is forced low. When CS falls, communication between the IC and the MCU starts. The transmitted data are latched and the DOUT output pin leaves high impedance. When CS rises, communication stops. The DOUT output pin goes into high impedance. The next falling edge starts another communication. There is a minimum waiting time between the two communications (twait). The pin has an internal pullup.
The MCU uses SCK to synchronize communication. SCK is normally low, and the valid clock-pulse number is 16. At each falling edge, the MCU writes a new bit on the DIN input, and this IC writes a new bit on the DOUT output pin. At each rising edge, this IC reads the new bit on DIN, and the MCU reads the new bit on DOUT. The maximum clock frequency is 4 MHz. The pin has an internal pulldown.
DIN receives 16-bit data. The order of received bits is from the MSB (first) to the LSB (last). The pin has an internal pulldown. Update of the internal register with the received bits occurs only if the number of clock pulses is 16 while CS is low.
DOUT transmits 16-bit data. It is a three-state output, and it is in the high-impedance state when CS is high. The order of serial data-bit transmission is from the MSB (first) to the LSB (last).
The charge-pump block generates a supply for the high-side and low-side pre-drivers to maintain the gate voltage on the external FETs. Use of an external storage capacitor (CCP) and bucket capacitors (C1, C2) supports pre-driver slope and switching-frequency requirements. R1 and R2 reduce switching current if required. The charge pump has voltage-supervisor functions such as over- and undervoltage, and selectable stop conditions for pre-drivers.
The pre-driver block provides three high-side pre-drivers and three low-side pre-drivers to drive external N-channel MOSFETs. The turnon side of the high-side pre-drivers supplies the large N-channel transistor current for quick charge, and PMOS supports output voltages up to PDCPV. The turnoff side of the high-side pre-drivers supplies the large N-channel transistor current for quick discharge. The low-side pre-drivers supply the large N-channel transistor current for charge and discharge. VCP12 (created by a charge pump) controls the output voltage of the low-side pre-driver to output less than 18 V. The pre-driver has a stop condition in some fault conditions (Fault Detection) and SPI set (Serial Port I/F).
The three-channel comparator module monitors the external FETs by detecting the drain-source voltage across the high-side and low-side FETs. PHTM is the threshold level of the comparators usable for sensorless communication. Figure 12 shows an example of the threshold level.
The operational amplifier operates with an external resistor network for higher flexibility to adjust the current measurement to application requirements. The first-stage amplifier operates with the external resistor and the output voltage up to VB at ALFB. External resistors adjust the amplifier gain by 10 to 30 times. The second-stage amplifier is buffered to MCU at ALV. The current sense has a comparator for motor overcurrent (OVAD). ADTH is the overcurrent threshold level and is the value set by SPI. Figure 13 shows the curve of detection level. ALFB is divided by 2. Compare this value with ADTH. In recommended application, the zero-point adjustment is required as large error offset in initial condition.
The regulator block offers 3.3-V LDOs. The VCC LDO regulates VB down to 3.3 V with an external PNP controlled by the regulator block. This 3.3-V LDO is supplied to MCU and other components.
The VDD regulator regulates VB down to 3.3 V with internal FET and controller. The 3.3-V LDO with the external PNP is protected against short to GND fault. Overvoltage and undervoltage events of both supplies are detected. The under voltage of the 3.3-V LDO with the external PNP is set by SPI.
The VB monitoring system has two comparators for under- and overvoltage, and has pre-driver stop-controlling system. Overvoltage provides a selectable pre-driver stop condition (SPI control), while undervoltage must stop pre-driver operation under detection (no selectable). The system should return to normal operation automatically after undetected level.
The device has temperature sensors that produce pre-driver stop condition if the chip temperature exceeds 175°C.
The oscillator block generates two 10-MHZ clock signals. OSC1 is the primary clock used for internal logic-synchronization and timing control. OSC2 is the secondary clock used to monitor the status of OSC1.
PIN NAME | DESCRIPTION | TERMINATION |
---|---|---|
TEST | Test mode input | OPEN |
ITEMS | SPI FLTFLG | Pre Driver(1) | FAULT(2) | RES | Others |
---|---|---|---|---|---|
VB - Overvoltage | VBOV | Disable | L | H | |
VB - Undervoltage | VBUV | Disable | L | H | |
CP - Overvoltage | CPOV | Disable | L | H | |
CP - Undervoltage | CPUV | Disable | L | H | |
VCC - Overvoltage | VCCOV | Disable | L | H | |
VCC - Under Voltage | - | Disable(3) | H | L | |
VCC - Overcurrent | VCCOC | Disable | L | H | |
Motor - Overcurrent | MTOC | Disable | L | H | |
VDD - Overvoltage | VDDOV | Disable | L | H | |
VDD - Undervoltage | - | Disable(3) | H | L | |
Thermal shutdown | TSD | Disable | L | H | |
Watch Dog | - | - | H | L | |
Clock Monitor | - | - | H | L | |
SPI format error | - | - | H | H | SPI serial out error bit |
MSB | D14 | D13 | D12 | D11 | D10 | D9 | D8 |
DIN | RW[1] | RW[0] | Addr[5] | Addr[4] | Addr[3] | Addr[2] | Addr[1] | Addr[0] |
D7 | D6 | D5 | D4 | D3 | D2 | D1 | LSB |
DIN | Data[7] | Data[6] | Data[5] | Data[4] | Data[3] | Data[2] | Data[1] | Data[0] |
MSB | D14 | D13 | D12 | D11 | D10 | D9 | D8 |
DOUT | 0 | Frame fault | 0 | 0 | 0 | 0 | 0 | 1 |
D7 | D6 | D5 | D4 | D3 | D2 | D1 | LSB |
DOUT | Data[7] | Data[6] | Data[5] | Data[4] | Data[3] | Data[2] | Data[1] | Data[0] |
SPI serial input and output format | ||
RW[1:0] | : | 01: write mode; 00: read mode |
Addr[5:0] | : | Address of SPI access |
Data[7:0] | : | Input data to write or output data to read |
Frame fault | : | 0: No error exists in the previous SPI frame. |
: | 1: Error exists in the previous SPI frame. |
Register Name | Addr (Hex) |
b7 | b6 | b5 | b4 | b3 | b2 | b1 | b0 | Reset (Hex) |
---|---|---|---|---|---|---|---|---|---|---|
Reserved | 00 | RSVD | 00 | |||||||
CFGUNLK | 01 | RSVD | CFGUNLK | 00 | ||||||
FLTCFG | 02 | FLGLATCH_EN | MTOCTH | RSVD | VCCUVTH | VBUVTH | 00 | |||
Reserved | 03 | RSVD | 00 | |||||||
FLTEN0 | 04 | FE_MTOC | FE_VCCOC | FE_VCCOV | FE_VDDOV | FE_CPOV | FE_CPUV | FE_VBOV | FE_VBUV | FF |
FLTEN1 | 05 | RSVD | FE_TSD | 01 | ||||||
SDNEN0 | 06 | SE_MTOC | SE_VCCOC | SE_VCCOV | SE_VDDOV | SE_CPOV | SE_CPUV | SE_VBOV | SE_VBUV | FF |
SDNEN1 | 07 | RSVD | SE_TSD | 01 | ||||||
FLTFLG0 | 08 | MTOC | VCCOC | VCCOV | VDDOV | CPOV | CPUV | VBOV | VBUV | 00 |
FLTFLG1 | 09 | RSVD | TSD | 00 | ||||||
CSCFG | 0A | RSVD | CSOFFSET | 00 | ||||||
PDCFG | 0B | RSVD | DEADT | 00 | ||||||
DIAG | 0C | RSVD | VCCUVRST | WDTRST | CMRST | 00 | ||||
SPARE | 0D | SPARE | SEL_COMP_HYS | 00 | ||||||
Reserved | 0E-3F | RSVD | 00 |
Access type: R = Read and W = Write.
Reserved register: Read of reserved bits return 0 and write has no effect.
Bit | Name | Type | Reset | Description |
---|---|---|---|---|
3:0 | CFGUNLK | RW | 0000 | DRV3203E-Q1 SPI register map has lock and unlock mode, and it is in lock mode by default. MCU can write values of the following registers in unlock mode; |
● FLTCFG | ||||
● FLTEN0 and FLTEN1 | ||||
● SDNEN0 and SDNEN1 | ||||
● CSCFG | ||||
● PDCFG | ||||
● WDCFG | ||||
In lock mode, read returns the values, but writing the registers have no effect. | ||||
Device enters unlock mode by writing 0x5, 0x8, 0x7 to CFGUNLK register in series. Device exits from unlock mode by writing 0x0. |
Bit | Name | Type | Reset | Description |
---|---|---|---|---|
7 | FE_MTOC | RW | 1 | FAULT pin enable of FLTFLG0 register bits. 0: Assertion of the FAULT pin does not occur when the fault flag bit is 1 1: Assertion of the FAULT pin to low level occurs when the fault flag bit is 1. See Figure 23 |
6 | FE_VCCOC | RW | 1 | |
5 | FE_VCCOV | RW | 1 | |
4 | FE_VDDOV | RW | 1 | |
3 | FE_CPOV | RW | 1 | |
2 | FE_CPUV | RW | 1 | |
1 | FE_VBOV | RW | 1 | |
0 | FE_VBUV | RW | 1 |
Bit | Name | Type | Reset | Description |
---|---|---|---|---|
7:1 | RSVD | R | 0000 000 | Reserved |
0 | FE_TSD | RW | 1 | FAULT pin enable of TSD flag bit 0: Assertion of the FAULT pin does not occur when the fault flag bit is 1 1: Assertion of the FAULT pin to low level occurs when the TSD flag bit is 1. See Figure 23 |
Bit | Name | Type | Reset | Description |
---|---|---|---|---|
7 | SE_MTOC | RW | 1 | Pre-driver shutdown enable of FLTFLG0 register bits 0: Disabling of the pre-driver outputs does not occur when the fault flag bit is 1. 1: Disabling of the pre-driver outputs occurs when the fault flag bit is 1. Both the high-side and low-side FETs turn off. See Figure 24. |
6 | SE_VCCOC | RW | 1 | |
5 | SE_VCCOV | RW | 1 | |
4 | SE_VDDOV | RW | 1 | |
3 | SE_CPOV | RW | 1 | |
2 | SE_CPUV | RW | 1 | |
1 | SE_VBOV | RW | 1 | |
0 | SE_VBUV | RW | 1 |
Bit | Name | Type | Reset | Description |
---|---|---|---|---|
7:1 | RSVD | R | 0000 000 | Reserved |
0 | SE_TSD | RW | 1 | Pre-driver shutdown enable of TSD flag bits 0: Disabling of the pre-driver outputs does not occur when the TSD flag bit is 1. 1: Disabling of the pre-driver outputs occurs when the TSD flag bit is 1. Both the high-side and low-side FETs turn off. See Figure 24. |
Bit | Name | Type(1) | Reset | Description | |
---|---|---|---|---|---|
Fault flag bits of the following conditions;(2) | |||||
7 | MTOC | RW | 0 | MTOC: Motor overcurrent. (OVAD) | |
6 | VCCOC | RW | 0 | VCCOC: VCC overcurrent | |
5 | VCCOV | RW | 0 | VCCOV: VCC overvoltage | |
4 | VDDOV | RW | 0 | VDDOV: VDD overvoltage | |
3 | CPOV | RW | 0 | CPOV: Charge-pump overvoltage | |
2 | CPUV | RW | 0 | CPUV: Charge-pump undervoltage | |
1 | VBOV | RW | 0 | VBOV: VB overvoltage | |
0 | VBUV | RW | 0 | VBUV: VB undervoltage | |
If FLTCFG.FLGLATCH_EN = 1 | |||||
0: | Read = No fault condition exists since last cleared. | ||||
Write = No effect | |||||
1: | Read = Fault condition exists. | ||||
Write = Clear the flag. | |||||
If FLTCFG.FLGLATCH_EN = 0 | |||||
0: | Read = No fault condition | ||||
Write = No effect | |||||
1: | Read = Fault condition | ||||
Write = No effect |
Bit | Name | Type(1) | Reset | Description | |
---|---|---|---|---|---|
7:1 | RSVD | R | 0000 000 | Reserved | |
0 | VBUV | RW | 1 | Fault flag bit of thermal shutdown condition.(2)
If FLTCFG.FLGLATCH_EN = 1 |
|
0: | Read = No fault condition exists since last cleared. | ||||
Write = No effect | |||||
1: | Read = Fault condition exists. | ||||
Write = Clear the flag | |||||
If FLTCFG.FLGLATCH_EN = 0 | |||||
0: | Read = No fault condition | ||||
Write = No effect | |||||
1: | Read = Fault condition | ||||
Write = No effect |
Bit | Name | Type(1) | Reset | Description |
---|---|---|---|---|
7:3 | RSVD | R | 0000 0 | Reserved |
2:0 | CSOFFSET | RW | 000 | Current-sense offset 000: 0.5 V 001: 1 V 010: 1.5 V Others: 0.5 V |
Bit | Name | Type(1) | Reset | Description |
---|---|---|---|---|
7:2 | RSVD | R | 0000 00 | Reserved |
1:0 | DEADT | RW | 00 | Dead time (= tdead)
00: 2.1 µs 01: 1.6 µs 10: 1.1 µs 11: 0.6 µs The actual dead time has ±0.1-µs variation from the typical value. |
Bit | Name | Type | Reset | Description | |
---|---|---|---|---|---|
7:3 | RSVD | R | 0000 0 | Reserved | |
2 | VCCUVRST | R | 0 | nRES reset source information | |
1 | WDTRST | R | 0 | Bit 2 = VCCUVRST - VCC undervoltage | |
0 | CMRST | R | 0 | Bit 1 = WDTRST - watchdog timer | |
Bit 0 = CMRST - clock monitor | |||||
0: | Read = Reset has not occurred. | ||||
Write = No effect | |||||
1: | Read = A corresponding reset source caused the last reset condition. | ||||
Write = No effect | |||||
Read access to this register clears the bits. |
Bit | Name | Type(1) | Reset | Description |
---|---|---|---|---|
7:2 | SPARE | RW | 0000 00 | Spare registers for future use. Read and write have no effect. |
1:0 | SEL_COMP_HYS | RW | 00 | Select phase comparator hysteresis voltage. The following show the typical values. MM 00: 0 V MM 01: 25 mV MM 10: 50 mV MM 11: 100 mV |