ZHCSOY8B September   2021  – February 2022 DRV8311

PRODUCTION DATA  

  1. 特性
  2. 应用
  3. 说明
  4. Revision History
  5. Device Comparison Table
  6. Pin Configuration and Functions
  7. Specifications
    1. 7.1 Absolute Maximum Ratings
    2. 7.2 ESD Ratings
    3. 7.3 Recommended Operating Conditions
    4. 7.4 Thermal Information
    5. 7.5 Electrical Characteristics
    6. 7.6 SPI Timing Requirements
    7. 7.7 SPI Secondary Device Mode Timings
    8. 7.8 Typical Characteristics
  8. Detailed Description
    1. 8.1 Overview
    2. 8.2 Functional Block Diagram
    3. 8.3 Feature Description
      1. 8.3.1  Output Stage
      2. 8.3.2  Control Modes
        1. 8.3.2.1 6x PWM Mode (DRV8311S and DRV8311H variants only)
        2. 8.3.2.2 3x PWM Mode (DRV8311S and DRV8311H variants only)
        3. 8.3.2.3 PWM Generation Mode (DRV8311S and DRV8311P Variants)
      3. 8.3.3  Device Interface Modes
        1. 8.3.3.1 Serial Peripheral Interface (SPI)
        2. 8.3.3.2 Hardware Interface
      4. 8.3.4  AVDD Linear Voltage Regulator
      5. 8.3.5  Charge Pump
      6. 8.3.6  Slew Rate Control
      7. 8.3.7  Cross Conduction (Dead Time)
      8. 8.3.8  Propagation Delay
      9. 8.3.9  Pin Diagrams
        1. 8.3.9.1 Logic Level Input Pin (Internal Pulldown)
        2. 8.3.9.2 Logic Level Input Pin (Internal Pullup)
        3. 8.3.9.3 Open Drain Pin
        4. 8.3.9.4 Push Pull Pin
        5. 8.3.9.5 Four Level Input Pin
      10. 8.3.10 Current Sense Amplifiers
        1. 8.3.10.1 Current Sense Amplifier Operation
        2. 8.3.10.2 Current Sense Amplifier Offset Correction
      11. 8.3.11 Protections
        1. 8.3.11.1 VM Supply Undervoltage Lockout (NPOR)
        2. 8.3.11.2 Under Voltage Protections (UVP)
        3. 8.3.11.3 Overcurrent Protection (OCP)
          1. 8.3.11.3.1 OCP Latched Shutdown (OCP_MODE = 010b)
          2. 8.3.11.3.2 OCP Automatic Retry (OCP_MODE = 000b or 001b)
          3. 8.3.11.3.3 OCP Report Only (OCP_MODE = 011b)
          4. 8.3.11.3.4 OCP Disabled (OCP_MODE = 111b)
        4. 8.3.11.4 Thermal Protections
          1. 8.3.11.4.1 Thermal Warning (OTW)
          2. 8.3.11.4.2 Thermal Shutdown (OTSD)
    4. 8.4 Device Functional Modes
      1. 8.4.1 Functional Modes
        1. 8.4.1.1 Sleep Mode
        2. 8.4.1.2 Operating Mode
        3. 8.4.1.3 Fault Reset (CLR_FLT or nSLEEP Reset Pulse)
    5. 8.5 SPI Communication
      1. 8.5.1 Programming
        1. 8.5.1.1 SPI and tSPI Format
  9. DRV8311 Registers
  10. 10Application and Implementation
    1. 10.1 Application Information
    2. 10.2 Typical Applications
      1. 10.2.1 Three-Phase Brushless-DC Motor Control
        1. 10.2.1.1 Detailed Design Procedure
          1. 10.2.1.1.1 Motor Voltage
        2. 10.2.1.2 Driver Propagation Delay and Dead Time
        3. 10.2.1.3 Delay Compensation
        4. 10.2.1.4 Current Sensing and Output Filtering
        5. 10.2.1.5 Application Curves
    3. 10.3 Three Phase Brushless-DC tSPI Motor Control
      1. 10.3.1 Detailed Design Procedure
    4. 10.4 Alternate Applications
  11. 11Power Supply Recommendations
    1. 11.1 Bulk Capacitance
  12. 12Layout
    1. 12.1 Layout Guidelines
    2. 12.2 Layout Example
    3. 12.3 Thermal Considerations
      1. 12.3.1 Power Dissipation and Junction Temperature Estimation
  13. 13Device and Documentation Support
    1. 13.1 支持资源
    2. 13.2 Trademarks
    3. 13.3 Electrostatic Discharge Caution
    4. 13.4 术语表
  14. 14Mechanical, Packaging, and Orderable Information

封装选项

机械数据 (封装 | 引脚)
散热焊盘机械数据 (封装 | 引脚)
订购信息

SPI and tSPI Format

SPI Format - with Parity

The SDI input data word is 24 bits long and consists of the following format:

  • 1 read or write bit, W (bit B23)
  • 6 address bits, A (bits B22 through B17)
  • Parity bit, P (bit B16)
  • 15 data bits with 1 parity bit, D (bits B15 through B0)

The SDO output data word is 24 bits long. The most significant bits are status bits and the least significant 16 bits are the data content of the register being accessed.

Table 8-7 SDI Input Data Word Format for SPI
R/WADDRESSPARITYPARITYDATA
B23B22B21B20B19B18B17B16B15B14B13B12B11B10B9B8B7B6B5B4B3B2B1B0
W0A5A4A3A2A1A0PPD14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
Table 8-8 SDO Output Data Word Format
STATUSDATA
B23B22B21B20B19B18B17B16B15B14B13B12B11B10B9B8B7B6B5B4B3B2B1B0
S7S6S5S4S3S2S1S0D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0

tSPI Format - with Parity

The SDI input data word is 32 bits long and consists of the following format:

  • 1 read or write bit, W (bit B31)
  • 4 secondary device ID bits, AD (bits B30 through B27)
  • 8 address bits, A (bits B26 through B19)
  • 2 reserved bits, 0 (bits B18, bit B17)
  • Parity bit, P (bit B16)
  • 15 data bits with 1 parity bit, D (bits B15 through B0)

The SDO output data word is 24 bits long. The first 8 bits are status bits and the last 16 bits are the data content of the register being accessed. The format is same as standard SPI shown in Table 8-8

Table 8-9 tSPI with Parity - SDI Input Data Word Format
R/W Secondary device ID ADDRESS 00 PARITY PARITY DATA
B31 B30 B29 B28 B27 B26 - B19 B18 B17 B16 B15 B14 - B0
W0 0 0 AD1 AD0 A7 - A0 0 0 P P D14 - D0

The details of the bits used in SPI and tSPI frame format are detailed below.

Read/Write Bit (R/W) : R/W (W0) bit being 0 indicates a SPI/tSPI Write transaction. For a read operation RW bit needs to be 1.

Secondary device ID Bits (AD) : Each tSPI secondary device on the same chip select should have a unique identifier. Secondary device ID field is the 4-bit unique identifier of the tSPI secondary device. For a successful Read/Write transaction the secondary device ID field should match with the secondary device address. In DRV8311 the two most significant bits of secondary device addresses are set to 00. The least two significant bits of the secondary device address can be configured using the AD1 and AD0 pins. The secondary device address 15 (0xF) is reserved for general call, all the devices on the same bus accept a write operation when the secondary device ID field is set to 15. Hence the valid tSPI secondary device addresses for DRV8311 range from 0 to 3 and 15 (general call address).

Address Bits (A) : A tSPI secondary device takes 8-bit register address whereas SPI secondary device takes 6-bit register address. Each tSPI secondary device has two dedicated 8-bit address pointers, one for read and one for write. During a sequential read transaction, the read address pointer gets incremented automatically. During a sequential write transaction, both write address pointer and read address pointer will be incremented automatically.

Parity Bit (P) : Both header and data fields of a SPI/tSPI input data frame include a parity bit for single bit error detection. The parity scheme used is even parity i.e., the number of ones in a block of 16-bits (including the parity bit) is even. Data will be written to the internal registers only if the parity check is successful. During a read operation, the tSPI secondary device inserts a parity bit at the MSB of read data. Parity checks can be enabled or disabled by configuring the SPI_PEN bit of SYS_CTRL register. Parity checks are disabled by default.

Note: Though parity checks are disabled by default, TI recommends enabling parity checks to safeguard against single-bit errors.

Error Handling

Parity Error: Upon detecting a parity error, the secondary device responds in the following ways. Parity error gets latched and reported on nFAULT. The error status is available for read on SPI_PARITY field of SYS_STS register. A parity error in the header will not prevent the secondary device from responding with data. The SDO will be driven by the secondary device being addressed. Updates to write address pointer and the device registers will be ignored when parity error is detected. In a sequential write, upon detection of parity error any subsequent register writes will be ignored.

Frame Error :Any incomplete tSPI Frame will be reported as Frame error. If the number of tSPI clock cycles is not a multiple of 16, then the transfer is considered to be incomplete. Frame errors will be latched in FRM_ERR field of SYS_STS register and indicated on nFAULT.

SPI Read / Write Sequence

SPI Read Sequence: The SPI read transaction comprises of an 8-bit header (R/W - 1 bit, Address - 6 bits, and party -1 bit) followed by 16-bit dummy data words. Upon receiving the first byte of header, the secondary device responds with an 8-bit device status information. The read address pointer gets updated immediately after receiving the address field of the header. The read address from the header acts as the starting address for the register reads. The read address pointer gets incremented automatically upon completion of a 16-bit transfer. The length of data transfer is not restricted by the secondary device. The secondary device responds with data as long as the primary device transmits dummy words. If parity error check is enabled, the MSB of read data will be replaced with computed parity bit

SPI Write Sequence: SPI write transaction comprises of an 8-bit header followed by 16-bit data words to be written into the register bank. Similar to a read transaction, the addressed secondary device responds with an 8-bit device status information upon receiving the first byte of header. Once the header bytes are received, the write address pointer gets updated. The write address from the header acts as the starting address for sequential register writes. The read address pointer will retain the address of the register being read in the previous tSPI transaction. The length of data transfer is not restricted by the secondary device. Both read and write address pointers will be incremented automatically upon completion of a 16-bit transfer. While receiving data from the primary device, the SDO will be driven with the register data addressed by read address pointer.

tSPI Communication Sequence

The tSPI interface is similar to regular SPI interface in functionality but add support for multiple devices under the same Chip Select (nSCS). Any existing SPI primary device would be able to communicate with the tSPI secondary devices with modifications in the frame format. A valid tSPI frame must meet the following conditions (similar to SPI interface):

  • The SCLK pin should be low when the nSCS pin transitions from high to low and from low to high. A high to low transition at the nSCS pin is the start of frame and a low to high transition is the end of the frame.
  • When the nSCS pin is pulled high, any signals at the SCLK and SDI pins are ignored and the SDO pin is placed in the Hi-Z state.
  • Data is captured on the falling edge of the SCLK signal and data is driven on the rising edge of the SCLK signal.
  • The most significant bit (MSB) is shifted in and out first.
  • A minimum of 16 SCLK cycles must occur for transaction to be valid & the number of SCLK cycles in a single transaction must me a multiple of 16.
  • If the data word sent to the SDI pin is not a multiple of 16 bits, a frame error occurs and the excess SCLK cycles are ignored.
GUID-A6145A6F-774C-4AC8-808B-19912689F9DC-low.gifFigure 8-34 tSPI Block Diagram with Multiple Devices on Same Chip Select
GUID-E26A8F32-9E59-4092-B2B7-5F956AE406B5-low.gifFigure 8-35 tSPI with PWM_SYNC

tSPI Read Sequence: A tSPI read transaction has a 16-bit header (R/W - 1 bit, Secondary device ID - 4 bits, Address - 8 bits, reserved -2 bits and party -1 bit) followed by 16-bit dummy data words. Upon receiving the first byte of header, the secondary device being addressed with matching secondary device ID field (configured using AD0 and AD1 pins), responds with an 8-bit device status information. The read address from the header acts as the starting address for the register reads. The address gets incremented automatically upon completion of a 16-bit transfer. The length of data transfer is not restricted by the secondary device. The secondary device responds with data as long as the primary device transmits dummy words. If parity error check is enabled, the MSB of read data will be replaced with computed parity bit.

tSPI Write Sequence: A tSPI write transaction has a 16-bit header followed by 16-bit data words to be written into the register bank. Similar to a read transaction, the addressed secondary device responds with an 8-bit device status information upon receiving the first byte of header. The write address from the header acts as the starting address for sequential register writes. The length of data transfer is not restricted by the secondary device. Both write and read address pointers will be incremented automatically upon completion of a 16-bit transfer. While receiving data from the primary device, the SDO will be driven with the register data addressed by read address pointer

tSPI Read Address Update Sequence: The independent read and write address pointers in the secondary device would allow reading data from one set of registers while writing data to another set of registers. To achieve this, the primary device should first send a read address update frame before the tSPI write transaction. A read address frame is nothing but just the tSPI read sequence with just the header. The first tSPI transaction updates the read address pointer to desired register address. The second tSPI transaction is a register write sequence. During this sequence, the data send on SDO by the secondary device will be from the register pointed by read address pointer which was initialized in the previous tSPI read sequence.

The tSPI read/write sequence with parity is shown in Figure 8-36. The SPI frame header is marked as CMD[15:8] and CMD[7:0].

Figure 8-36 tSPI Read/Write with Parity