SLVSHC8 May 2023 DRV8334-Q1
PRODMIX
Table 7-9 lists the memory-mapped registers for the CONTROL registers. All register offset addresses not listed in Table 7-9 are considered as reserved locations and the register contents are not to be modified.
| Address | Acronym | Register Name | Section |
|---|---|---|---|
| 1Ah | IC_CTRL1 | IC Control Register 1 | Section 7.2.1 |
| 1Bh | IC_CTRL2 | IC Control Register 2 | Section 7.2.2 |
| 1Ch | IC_CTRL3 | IC Control Register 3 | Section 7.2.3 |
| 1Eh | GD_CTRL1 | Gate Drive Control Register 1 | Section 7.2.4 |
| 1Fh | GD_CTRL2 | Gate Drive Control Register 2 | Section 7.2.5 |
| 21h | GD_CTRL3 | Gate Drive Control Register 3 | Section 7.2.6 |
| 22h | GD_CTRL3B | Gate Drive Control Register 3B | Section 7.2.7 |
| 23h | GD_CTRL4 | Gate Drive Control Register 4 | Section 7.2.8 |
| 24h | GD_CTRL5 | Gate Drive Control Register 5 | Section 7.2.9 |
| 25h | GD_CTRL6 | Gate Drive Control Register 6 | Section 7.2.10 |
| 26h | GD_CTRL7 | Gate Drive Control Register 7 | Section 7.2.11 |
| 29h | CSA_CTRL | CSA Control Register | Section 7.2.12 |
| 2Bh | MON_CTRL1 | Monitor Control Register 1 | Section 7.2.13 |
| 2Ch | MON_CTRL2 | Monitor Control Register 2 | Section 7.2.14 |
| 2Dh | MON_CTRL3 | Monitor Control Register 3 | Section 7.2.15 |
| 2Eh | MON_CTRL4 | Monitor Control Register 4 | Section 7.2.16 |
| 36h | SPI_TEST | SPI Test Register | Section 7.2.17 |
| 48h | OTP_USR | OTP User control | Section 7.2.18 |
Complex bit access types are encoded to fit into small table cells. Table 7-10 shows the codes that are used for access types in this section.
| Access Type | Code | Description |
|---|---|---|
| Read Type | ||
| R | R | Read |
| R-0 | R -0 | Read Returns 0s |
| Write Type | ||
| W | W | Write |
| Reset or Default Value | ||
| -n | Value after reset or the default value | |
IC_CTRL1 is shown in Table 7-11.
Return to the Summary Table.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-1 | RESERVED | R | 0b | Reserved |
| 0 | VDDSDO_SEL | R/W | 0b | VDDSDO regulator output selection bit. The bit determines VOH level of SDO and
PHCx between 3.3V mode or 5V mode. The VIH/VIL of
input buffers are not affected by VDDSDO_SEL bit.
Before VDDSDO_SEL is set, VDDSDO_MON_LVL needs to be
correctly configured.
|
IC_CTRL2 is shown in Table 7-12.
Return to the Summary Table.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15 | ENABLE_DRV | R/W | 0b | Enable predriver bit.
The bit is cleared to 0b if one or multiple predriver shutdown
conditions are detected and fault flags are set to 1b and if ALL_CH is 1b, or if DRVOFF is driven high. The ENABLE_DRV bit is forced to 0b by device while the fault condition exists or while DRVOFF is high. At power up, write access to ENABLE_DRV is ignored and the bit cannot be set to 1 until nFAULT goes high. After nFAULT goes high, wait 5us and set ENABLE_DRV to 1b. During initial setup, it's recommended to set the gate drive current IDRVx settings before ENABLE_DRV is set to 1b.
|
| 14 | MODE_NSLEEP | R/W | 0b | nSLEEP Mode.
|
| 13 | CFG_CRC_EN | R/W | 0b | Enable configuration data CRC function
|
| 12 | CLKMON_EN | R/W | 0b | Clock monitor enable
|
| 11 | CSA_EN | R/W | 0b | Current Sense Amplifier Enable. If GVDD_UV_MODE is 0b (Warning mode), MCU must
maintain GVDD_UV flag is 0b before CSA_EN bit is set
to 1b. If GVDD_UV_MODE is 1b (Fault mode), IC
disables CSA amplifier when GVDD_UV is detected.
|
| 10 | CSA_AZ_DIS | R/W | 0b | Current Sense Amplifier Auto Zero function disable
|
| 9 | RESERVED | R | 0b | Reserved |
| 8 | GVDD_MODE | R/W | 0b | GVDD Charge pump LDO mode control
|
| 7-6 | VCP_MODE | R/W | 00b | VCP/TCP mode control
|
| 5-4 | RESERVED | R | 0b | Reserved |
| 3-1 | LOCK | R/W | 011b | Lock and unlock the register setting Bit settings not listed have no effect.
|
| 0 | CLR_FLT | R/W | 0b | Clear fault. After fault event is detected and fault flag is set, TI recommends
to issue CLR_FLT command first, then ENABLE_DRV
command next in a separate SPI frame. If CLR_FLT and
ENABLE_DRV commands are issued in the same SPI
frame, CLR_FLT is higher priority and ENABLE_DRV is
not set if the fault flag is already latched and the
device is waiting CLR_FLT.
|
IC_CTRL3 is shown in Table 7-13.
Return to the Summary Table.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15 | SPI_CRC_EN | R/W | 1b | SPI CRC Enable
|
| 14 | WARN_MODE | R/W | 0b | Warning nFAULT mode; Control nFAULT response for warning events
|
| 13 | RESERVED | R | 0b | Reserved |
| 12 | DIS_SSC | R/W | 0b | TI Internal design parameter: No change is required unless notified by TI.
The bit disables Spread Spectrum Clocking feature of the device internal oscillator
|
| 11 | RESERVED | R | 0b | Reserved |
| 10 | TCP_EN_DLY | R/W | 0b | Delay time to activate trickle charge pump after the device detects PWM inactive (INHx=INLx=Low)
|
| 9 | DRVOFF_PDSEL_HS | R/W | 0b | DROVFF Pull-down select for high-side gate driver
|
| 8 | DRVOFF_PDSEL_LS | R/W | 0b | DROVFF Pull-down select for low-side gate driver
|
| 7-4 | RESERVED | R | 0b | Reserved |
| 3 | OT_LVL | R/W | 1b | Overtemperature shutdown threshold selection
|
| 2 | RESERVED | R | 0b | Reserved |
| 1-0 | OTSD_MODE | R/W | 01b | Overtemperature shutdown mode
|
GD_CTRL1 is shown in Table 7-14.
Return to the Summary Table.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15 | RESERVED | R | 0b | Reserved |
| 14-12 | PWM_MODE | R/W | 000b | PWM mode.
|
| 11 | RESERVED | R | 0b | Reserved |
| 10-9 | SGD_MODE | R/W | 00b | Smart Gate Drive mode
|
| 8 | SGD_TMP_EN | R/W | 1b | Enable dynamic temperature control of Smart Gate Drive.
|
| 7 | STP_MODE | R/W | 0b | Shoot-through protection report mode Note:
Other than PWM_MODE 000b, STP_MODE shall be set to
1b, otherwise a false STP_FLT flag is reported.
|
| 6 | RESERVED | R | 0b | Reserved |
| 5-3 | DEADT | R/W | 111b | Gate driver dead time
|
| 2 | DEADT_MODE | R/W | 0b | Dead Time Insertion Mode.
|
| 1-0 | DEADT_MODE_6X | R/W | 00b | Dead Time Violation Response Mode for 6 PWM mode only.
NOTE: Other than 6 PWM mode, dead time is always inserted regardless of the DEADT_MODE bit and no fault is reported to the MCU.
|
GD_CTRL2 is shown in Table 7-15.
Return to the Summary Table.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-12 | RESERVED | R | 0b | Reserved |
| 11-8 | TDRVP | R/W | 0111b | Peak source pull up drive timing
|
| 7-4 | TDRVN_D | R/W | 0001b | Peak sink pull down pre-discharge timing
|
| 3-0 | TDRVN | R/W | 0111b | Peak sink pull down drive timing. Refer to TDRVP |
GD_CTRL3 is shown in Table 7-16.
Return to the Summary Table.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-12 | RESERVED | R | 0b | Reserved |
| 11-8 | TDRVN_SDD | R/W | 0111b | Smart shutdown discharge timing. Refer to TDRVN_D |
| 7-6 | RESERVED | R | 0b | Reserved |
| 5-0 | IDRVN_SD | R/W | 000000b | Smart shutdown drive current. |
GD_CTRL3B is shown in Table 7-17.
Return to the Summary Table.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-14 | RESERVED | R | 0b | Reserved |
| 13-8 | IDRVN_D_H | R/W | 000000b | Peak sink pull down pre-discharge current for high-side gate driver. Refer to IDRIVE description |
| 7-6 | RESERVED | R | 0b | Reserved |
| 5-0 | IDRVN_D_L | R/W | 000000b | Peak sink pull down pre-discharge current for low-side gate driver. Refer to IDRIVE description |
GD_CTRL4 is shown in Table 7-18.
Return to the Summary Table.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15 | PWM1X_COM | R/W | 0b | 1x PWM Commutation Control
|
| 14 | PWM1X_DIR | R/W | 0b | 1x PWM Direction. In 1x PWM mode this bit is ORed with the INHC (DIR) input |
| 13-12 | PWM1X_BRAKE | R/W | 00b | 1x PWM output configuration
|
| 11-10 | RESERVED | R | 0b | Reserved |
| 9 | IDRVP_CFG | R/W | 0b | IDRVP configuration mode
|
| 8 | IHOLD_SEL | R/W | 0b | Select IHOLD pull-up and pull-down current. IHOLD_SEL bit must be configured while PWM is inactive (ENABLE_DRV is 0b).
|
| 7-6 | RESERVED | R | 0b | Reserved |
| 5 | DRV_GHA | R/W | 0b | Drive GHA by SPI command. PWM_MODE = 101b (SPI gate drive mode) only. This bit is valid when ENABLE_DRV is 1b.
|
| 4 | DRV_GHB | R/W | 0b | Drive GHB by SPI command. PWM_MODE = 101b (SPI gate drive mode) only. This bit is valid when ENABLE_DRV is 1b.
|
| 3 | DRV_GHC | R/W | 0b | Drive GHC by SPI command. PWM_MODE = 101b (SPI gate drive mode) only. This bit is valid when ENABLE_DRV is 1b.
|
| 2 | DRV_GLA | R/W | 0b | Drive GLA by SPI command. PWM_MODE = 101b (SPI gate drive mode) only. This bit is valid when ENABLE_DRV is 1b.
|
| 1 | DRV_GLB | R/W | 0b | Drive GLB by SPI command. PWM_MODE = 101b (SPI gate drive mode) only. This bit is valid when ENABLE_DRV is 1b.
|
| 0 | DRV_GLC | R/W | 0b | Drive GLC by SPI command. PWM_MODE = 101b (SPI gate drive mode) only. This bit is valid when ENABLE_DRV is 1b.
|
GD_CTRL5 is shown in Table 7-19.
Return to the Summary Table.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-3 | RESERVED | R | 0b | Reserved |
| 2 | DRVEN_A | R/W | 1b | DRVEN_A = 0 enforces GHA and GLA low with active pull down without shutdown sequence. This bit is valid for any PWM_MODE settings. This bit is valid when ENABLE_DRV is 1b.
|
| 1 | DRVEN_B | R/W | 1b | DRVEN_B = 0 enforces GHB and GLB low with active pull down without shutdown sequence. This bit is valid for any PWM_MODE settings. This bit is valid when ENABLE_DRV is 1b.
|
| 0 | DRVEN_C | R/W | 1b | DRVEN_C = 0 enforces GHC and GLC low with active pull down without shutdown sequence. This bit is valid for any PWM_MODE settings. This bit is valid when ENABLE_DRV is 1b.
|
GD_CTRL6 is shown in Table 7-20.
Return to the Summary Table.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-14 | RESERVED | R | 0b | Reserved |
| 13-8 | IDRVP_H | R/W | 000000b | High-side peak source pull up current. IDRVP_H is valid if IDRVP_CFG = 1b. IDRVP_H is not valid and ignored if IDRVP_CFG = 0b. |
| 7-6 | RESERVED | R | 0b | Reserved |
| 5-0 | IDRVP_L | R/W | 000000b | Low-side peak source pull up current. IDRVP_L is valid if IDRVP_CFG = 1b. IDRVP_H is not valid and ignored if IDRVP_CFG = 0b. |
GD_CTRL7 is shown in Table 7-21.
Return to the Summary Table.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-14 | IDRV_RATIO_H | R/W | 00b | High-side IDRVP and IDRVN ratio. IDRV_RATIO_H is valid if IDRVP_CFG = 0b and if the range of IDRVN_H is from 00000b (0.7mA) to 100011b (typ 247mA). IDRIVE_RATIO_H doesn't affect gate driver performance if IDRVN_H is 100100b(600mA) or higher setting. If IDRVP_CFG = 1b, IDRV_RATIO_H is not valid and ignored.
|
| 13-8 | IDRVN_H | R/W | 000000b | High-side peak sink pull down current. Refer to Electrical Characteristics table, IDRVN parameter. |
| 7-6 | IDRV_RATIO_L | R/W | 00b | Low-side IDRVP and IDRVN ratio. IDRV_RATIO_L is valid if IDRVP_CFG = 0b and if the range of IDRVN_H is from 00000b (0.7mA) to 100011b (typ 247mA). IDRIVE_RATIO_L doesn't affect gate driver performance if IDRVN_H is 100100b(600mA) or higher setting. If IDRVP_CFG = 1b, IDRV_RATIO_L is not valid and ignored.
|
| 5-0 | IDRVN_L | R/W | 000000b | Low-side peak sink pull down current. Refer to Electrical Characteristics table, IDRVN parameter. |
CSA_CTRL is shown in Table 7-22.
Return to the Summary Table.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15 | AREF_DIV | R/W | 0b | VREF dividing ratio
|
| 14-12 | RESERVED | R | 0b | Reserved |
| 11-8 | CSA_GAIN_A | R/W | 0000b | CSA Gain of SOA. Gain can be updated during PWM operation. Undefined settings (1001b - 1111b) are 40.
|
| 7-4 | CSA_GAIN_B | R/W | 0000b | CSA Gain of SOB. Gain can be updated during PWM operation. Undefined settings (1001b - 1111b) are 40.
|
| 3-0 | CSA_GAIN_C | R/W | 0000b | CSA Gain of SOC. Gain can be updated during PWM operation. Undefined settings (1001b - 1111b) are 40.
|
MON_CTRL1 is shown in Table 7-23.
Return to the Summary Table.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-14 | VDRAIN_OV_LVL | R/W | 01b | VDRAIN Overvoltage threshold level
|
| 13 | VDRAIN_MON_MODE | R/W | 0b | VDRAIN monitor mode for under and over voltage monitors
|
| 12 | BST_OV_MODE | R/W | 0b | BST pin overvoltage monitor mode
|
| 11 | BST_UV_LATCH | R/W | 0b | BST pin undervoltage latch mode
|
| 10 | BST_UV_MODE | R/W | 0b | BST pin monitor mode. If BST_UV_LATCH is 1b, BST_UV_MODE determines Warning mode or Fault mode. Refer to BST_UV_LATCH register bit.
|
| 9 | BST_UV_LVL | R/W | 0b | BST pin undervoltage threshold level VBST_UV
|
| 8 | DVDD_OV_MODE | R/W | 0b | DVDD monitor mode of over voltage monitor
|
| 7 | GVDD_OV_MODE | R/W | 0b | GVDD monitor mode of over voltage monitor
|
| 6 | GVDD_UV_MODE | R/W | 0b | GVDD monitor mode of under voltage monitor
|
| 5 | VCP_OV_MODE | R/W | 0b | VCP monitor mode of over voltage monitor
|
| 4 | VCP_UV_MODE | R/W | 0b | VCP monitor mode of under voltage monitor
|
| 3 | PVDD_UVW_LVL | R/W | 0b | PVDD UV Warning threshold level |
| 2-1 | PVDD_OV_LVL | R/W | 01b | PVDD OV threshold level |
| 0 | PVDD_OV_MODE | R/W | 0b | PVDD OV threshold monitor mode
|
MON_CTRL2 is shown in Table 7-24.
Return to the Summary Table.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-14 | VDS_MODE | R/W | 00b | VDS overcurrent mode
|
| 13-11 | VDS_BLK | R/W | 010b | VDS overcurrent blanking time |
| 10-8 | VDS_DEG | R/W | 001b | VDS overcurrent deglitch time |
| 7-6 | VGS_MODE | R/W | 00b | VGS monitor mode
|
| 5-3 | VGS_BLK | R/W | 000b | VGS monitor blanking time |
| 2-0 | VGS_DEG | R/W | 001b | VGS monitor deglitch time |
MON_CTRL3 is shown in Table 7-25.
Return to the Summary Table.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-9 | RESERVED | R | 0b | Reserved |
| 8 | VGS_LVL | R/W | 0b | Gate voltage monitor threshold level when INLx/INHx = High. VGS_LVL_H
|
| 7-6 | SNS_OCP_MODE | R/W | 00b | Monitor mode of VSENSE overcurrent protection (Rshunt monitor)
|
| 5-3 | SNS_OCP_LVL | R/W | 111b | Threshold voltage of VSENSE overcurrent protection (Rshunt monitor)
|
| 2 | RESERVED | R | 0b | Reserved |
| 1-0 | SNS_OCP_DEG | R/W | 11b | Deglitch time of VSENSE overcurrent protection (Rshunt monitor)
|
MON_CTRL4 is shown in Table 7-26.
Return to the Summary Table.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-6 | RESERVED | R | 0b | Reserved |
| 5 | WDT_FLT_MODE | R/W | 0b | Watchdog Time Fault Mode
|
| 4 | WDT_CNT | R/W | 0b | Watchdog Time Fault Count
|
| 3 | WDT_MODE | R/W | 0b | Watchdog Time MODE
|
| 2-1 | WDT_W | R/W | 00b | Watchdog Timer window tWDL (lower window) and tWDU (upper window)
|
| 0 | WDT_EN | R/W | 0b | Watchdog Time Enable
|
SPI_TEST is shown in Table 7-27.
Return to the Summary Table.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-0 | SPI_TEST | R/W | 0000000000000000b | SPI Test register. Write access to this register has no effect on device operation. |
OTP_USR is shown in Table 7-28.
Return to the Summary Table.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-5 | RESERVED | R | 0b | Reserved |
| 4 | OTP_USR_P_VER | R/W | 0b | Enables memory verification of User OTP Program. The bit is used after user OTP is programmed by user. MCU waits until the bit is cleared to 0 by the device, and then MCU must check OTP_USR_CRC_FLT for the verification result. OTP_USR_PRG and OTP_USR_P_VER shall never be set to 1b at the same time.
|
| 3-1 | OTP_USR_P_ACC | R/W | 000b | Access control of User OTP Program and User OTP Verification. The write access of
OTP_USR_PRG bit is not available unless the
following value is written in sequence; 0x2, 0x1,
0x4. Any other undefined values are ignored and the
reset the internal sequence logic. The device
returns read 0x7 if the sequence values are
accepted. After the sequence is accepted by device
(read =0x7), any write access (including 0x2, 0x1,
0x4) to this register resets the sequence logic
(read = 0x0).
|
| 0 | OTP_USR_PRG | W | 0b | Program User OTP. MCU sets the bit to 1 to enable OTP program. MCU waits until the bit is cleared to 0 by the device. OTP_USR_PRG and OTP_USR_P_VER shall never be set to 1b at the same time. When OTP_USR_PRG is set to 1, the following SPI register bits shall be configured accordingly; ENABLE_DRV=0, ADC_EN=0, ADC_EN2=0, PWSPI_EN=0, WDT_EN=0, VCP_MODE=11, CLKMON_EN=0, DRVEN_A=0, DRVEN_B=0, DRVEN_C=0, CSA_EN=0, GVDD_MODE=1.
|