ZHCU948B September   2020  – May 2022 BQ76952

 

  1.   使用前必读
    1.     电池表示法约定
    2.     商标
    3.     术语表
  2. 引言
  3. 器件描述
    1. 2.1 概述
    2. 2.2 功能方框图
  4. 器件配置
    1. 3.1 直接命令和子命令
    2. 3.2 使用 OTP 或寄存器进行配置
    3. 3.3 数据格式
      1. 3.3.1 无符号整数
      2. 3.3.2 整数
      3. 3.3.3 浮点
      4. 3.3.4 十六进制
  5. 测量子系统
    1. 4.1  电压测量
      1. 4.1.1 电压测量时间表
      2. 4.1.2 电芯与互连的 VC 引脚的使用情况
      3. 4.1.3 电芯互连电阻
    2. 4.2  通用的 ADCIN 功能
    3. 4.3  库仑计数器和数字滤波器
    4. 4.4  同步电压和电流测量
    5. 4.5  子命令 0x0071–0x0074 DASTATUS1-4()、电芯电压和同步电流计数
    6. 4.6  子命令 0x0075–0x0077 DASTATUS5–7()、其他测量值
    7. 4.7  内部温度测量
    8. 4.8  热敏电阻温度测量
    9. 4.9  电压 ADC 的出厂修整
    10. 4.10 电压校准(ADC 测量)
    11. 4.11 电压校准(COV 保护和 CUV 保护)
    12. 4.12 电流校准
    13. 4.13 温度校准
  6. 初级和次级保护子系统
    1. 5.1 保护概述
    2. 5.2 初级保护
      1. 5.2.1  初级保护概述
      2. 5.2.2  高侧 NFET 驱动器
      3. 5.2.3  保护 FET 配置和控制
        1. 5.2.3.1 FET 配置
        2. 5.2.3.2 FET 控制
          1. 5.2.3.2.1 PRECHARGE 模式
          2. 5.2.3.2.2 PREDISCHARGE 模式
      4. 5.2.4  电芯过压保护
      5. 5.2.5  电芯欠压保护
      6. 5.2.6  放电短路保护
      7. 5.2.7  充电过流保护
      8. 5.2.8  放电过流 1、2 和 3 保护
      9. 5.2.9  充电过热保护
      10. 5.2.10 放电过热保护
      11. 5.2.11 过热 FET 保护
      12. 5.2.12 内部过温保护
      13. 5.2.13 充电低温保护
      14. 5.2.14 放电低温保护
      15. 5.2.15 内部欠温保护
      16. 5.2.16 主机看门狗保护
      17. 5.2.17 预充电超时保护
      18. 5.2.18 负载检测功能
    3. 5.3 次级保护
      1. 5.3.1  次级保护概述
      2. 5.3.2  铜沉积 (CUDEP) 永久失效
      3. 5.3.3  欠压安全 (SUV) 永久失效
      4. 5.3.4  过压安全 (SOV) 永久失效
      5. 5.3.5  充电过流安全 (SOCC) 永久失效
      6. 5.3.6  放电过流安全 (SOCD) 永久失效
      7. 5.3.7  电芯过热安全 (SOT) 永久失效
      8. 5.3.8  FET 过热安全 (SOTF) 永久失效
      9. 5.3.9  充电 FET (CFETF) 永久失效
      10. 5.3.10 放电 FET (DFETF) 永久失效
      11. 5.3.11 二级保护器 (2LVL) 永久失效
      12. 5.3.12 静止模式电压不平衡 (VIMR) 永久失效
      13. 5.3.13 运行时电压不平衡 (VIMA) 永久失效
      14. 5.3.14 放电短路锁存永久失效
      15. 5.3.15 OTP 存储器签名永久失效
      16. 5.3.16 数据 ROM 存储器签名永久失效
      17. 5.3.17 指令 ROM 存储器签名永久失效
      18. 5.3.18 LFO 振荡器永久失效
      19. 5.3.19 电压基准永久失效
      20. 5.3.20 VSS 永久失效
      21. 5.3.21 保护比较器多路复用器永久失效
      22. 5.3.22 命令的永久失效
      23. 5.3.23 电池组顶部电压测量检查
      24. 5.3.24 电芯开路
  7. 器件状态和控制
    1. 6.1 0x00 Control Status() 和 0x12 Battery Status() 命令
    2. 6.2 0x0070 MANU_DATA() 命令
    3. 6.3 LDO
      1. 6.3.1 前置稳压器控制
      2. 6.3.2 REG1 和 REG2 LDO 控制
    4. 6.4 多功能引脚控制
    5. 6.5 CFETOFF、DFETOFF 和 BOTHOFF 引脚功能
    6. 6.6 ALERT 引脚运行
    7. 6.7 DDSG 和 DCHG 引脚运行
    8. 6.8 保险丝驱动
    9. 6.9 器件事件时序
  8. 工作模式
    1. 7.1 概述
    2. 7.2 NORMAL 模式
    3. 7.3 SLEEP 模式
    4. 7.4 DEEPSLEEP 模式
    5. 7.5 SHUTDOWN 模式
    6. 7.6 CONFIG_UPDATE 模式
  9. 器件安全性
    1. 8.1 概述
  10. 串行通信接口
    1. 9.1 串行通信概述
    2. 9.2 I2C 通信子系统
    3. 9.3 SPI 通信接口
      1. 9.3.1 SPI 协议
    4. 9.4 HDQ 通信接口
  11. 10电池平衡
    1. 10.1 电芯平衡操作
    2. 10.2 电芯平衡时序
  12. 11诊断
    1. 11.1 诊断概述
    2. 11.2 VREF2 与 VREF1 检查
    3. 11.3 VSS 测量
    4. 11.4 电池组顶部电压测量检查
    5. 11.5 LFO 振荡器监控器
    6. 11.6 保护比较器多路复用器检查
    7. 11.7 内部看门狗复位
    8. 11.8 内部存储器检查
  13. 12命令和子命令
    1. 12.1 直接命令
    2. 12.2 直接命令的位字段定义
      1. 12.2.1  控制状态寄存器
      2. 12.2.2  Safety Alert A 寄存器
      3. 12.2.3  Safety Status A 寄存器
      4. 12.2.4  Safety Alert B 寄存器
      5. 12.2.5  Safety Status B 寄存器
      6. 12.2.6  Safety Alert C 寄存器
      7. 12.2.7  Safety Status C 寄存器
      8. 12.2.8  PF Alert A 寄存器
      9. 12.2.9  PF Status A 寄存器
      10. 12.2.10 PF Alert B 寄存器
      11. 12.2.11 PF Status B 寄存器
      12. 12.2.12 PF Alert C 寄存器
      13. 12.2.13 PF Status C 寄存器
      14. 12.2.14 PF Alert D 寄存器
      15. 12.2.15 PF Status D 寄存器
      16. 12.2.16 电池状态寄存器
      17. 12.2.17 警报状态寄存器
      18. 12.2.18 警报原始状态寄存器
      19. 12.2.19 警报使能寄存器
      20. 12.2.20 FET 状态寄存器
    3. 12.3 仅限命令的子命令
    4. 12.4 带数据的子命令
    5. 12.5 子命令的位字段定义
      1. 12.5.1 PF Status A 寄存器
      2. 12.5.2 PF Status B 寄存器
      3. 12.5.3 PF Status C 寄存器
      4. 12.5.4 PF Status D 寄存器
      5. 12.5.5 制造状态寄存器
      6. 12.5.6 FET 控制寄存器
      7. 12.5.7 REG12 控制寄存器
      8. 12.5.8 OTP 写入检查结果寄存器
      9. 12.5.9 OTP 写入结果寄存器
  14. 13数据存储器设置
    1. 13.1 数据存储器访问
    2. 13.2 校准
      1. 13.2.1  Calibration:Voltage
        1. 13.2.1.1  Calibration:Voltage:Cell 1 Gain
        2. 13.2.1.2  Calibration:Voltage:Cell 2 Gain
        3. 13.2.1.3  Calibration:Voltage:Cell 3 Gain
        4. 13.2.1.4  Calibration:Voltage:Cell 4 Gain
        5. 13.2.1.5  Calibration:Voltage:Cell 5 Gain
        6. 13.2.1.6  Calibration:Voltage:Cell 6 Gain
        7. 13.2.1.7  Calibration:Voltage:Cell 7 Gain
        8. 13.2.1.8  Calibration:Voltage:Cell 8 Gain
        9. 13.2.1.9  Calibration:Voltage:Cell 9 Gain
        10. 13.2.1.10 Calibration:Voltage:Cell 10 Gain
        11. 13.2.1.11 Calibration:Voltage:Cell 11 Gain
        12. 13.2.1.12 Calibration:Voltage:Cell 12 Gain
        13. 13.2.1.13 Calibration:Voltage:Cell 13 Gain
        14. 13.2.1.14 Calibration:Voltage:Cell 14 Gain
        15. 13.2.1.15 Calibration:Voltage:Cell 15 Gain
        16. 13.2.1.16 Calibration:Voltage:Cell 16 Gain
        17. 13.2.1.17 Calibration:Voltage:Pack Gain
        18. 13.2.1.18 Calibration:Voltage:TOS Gain
        19. 13.2.1.19 Calibration:Voltage:LD Gain
        20. 13.2.1.20 Calibration:Voltage:ADC Gain
      2. 13.2.2  Calibration:Current
        1. 13.2.2.1 Calibration:Current:CC Gain
        2. 13.2.2.2 Calibration:Current:Capacity Gain
      3. 13.2.3  Calibration:Vcell Offset
        1. 13.2.3.1 Calibration:Vcell Offset:Vcell Offset
      4. 13.2.4  Calibration:V Divider Offset
        1. 13.2.4.1 Calibration:V Divider Offset:Vdiv Offset
      5. 13.2.5  Calibration:Current Offset
        1. 13.2.5.1 Calibration:Current Offset:Coulomb Counter Offset Samples
        2. 13.2.5.2 Calibration:Current Offset:Board Offset
      6. 13.2.6  Calibration:Temperature
        1. 13.2.6.1  Calibration:Temperature:Internal Temp Offset
        2. 13.2.6.2  Calibration:Temperature:CFETOFF Temp Offset
        3. 13.2.6.3  Calibration:Temperature:DFETOFF Temp Offset
        4. 13.2.6.4  Calibration:Temperature:ALERT Temp Offset
        5. 13.2.6.5  Calibration:Temperature:TS1 Temp Offset
        6. 13.2.6.6  Calibration:Temperature:TS2 Temp Offset
        7. 13.2.6.7  Calibration:Temperature:TS3 Temp Offset
        8. 13.2.6.8  Calibration:Temperature:HDQ Temp Offset
        9. 13.2.6.9  Calibration:Temperature:DCHG Temp Offset
        10. 13.2.6.10 Calibration:Temperature:DDSG Temp Offset
      7. 13.2.7  Calibration:Internal Temp Model
        1. 13.2.7.1 Calibration:Internal Temp Model:Int Gain
        2. 13.2.7.2 Calibration:Internal Temp Model:Int base offset
        3. 13.2.7.3 Calibration:Internal Temp Model:Int Maximum AD
        4. 13.2.7.4 Calibration:Internal Temp Model:Int Maximum Temp
      8. 13.2.8  Calibration:18K Temperature Model
        1. 13.2.8.1  Calibration:18K Temperature Model:Coeff a1
        2. 13.2.8.2  Calibration:18K Temperature Model:Coeff a2
        3. 13.2.8.3  Calibration:18K Temperature Model:Coeff a3
        4. 13.2.8.4  Calibration:18K Temperature Model:Coeff a4
        5. 13.2.8.5  Calibration:18K Temperature Model:Coeff a5
        6. 13.2.8.6  Calibration:18K Temperature Model:Coeff b1
        7. 13.2.8.7  Calibration:18K Temperature Model:Coeff b2
        8. 13.2.8.8  Calibration:18K Temperature Model:Coeff b3
        9. 13.2.8.9  Calibration:18K Temperature Model:Coeff b4
        10. 13.2.8.10 Calibration:18K Temperature Model:Adc0
      9. 13.2.9  Calibration:180K Temperature Model
        1. 13.2.9.1  Calibration:180K Temperature Model:Coeff a1
        2. 13.2.9.2  Calibration:180K Temperature Model:Coeff a2
        3. 13.2.9.3  Calibration:180K Temperature Model:Coeff a3
        4. 13.2.9.4  Calibration:180K Temperature Model:Coeff a4
        5. 13.2.9.5  Calibration:180K Temperature Model:Coeff a5
        6. 13.2.9.6  Calibration:180K Temperature Model:Coeff b1
        7. 13.2.9.7  Calibration:180K Temperature Model:Coeff b2
        8. 13.2.9.8  Calibration:180K Temperature Model:Coeff b3
        9. 13.2.9.9  Calibration:180K Temperature Model:Coeff b4
        10. 13.2.9.10 Calibration:180K Temperature Model:Adc0
      10. 13.2.10 Calibration:Custom Temperature Model
        1. 13.2.10.1  Calibration:Custom Temperature Model:Coeff a1
        2. 13.2.10.2  Calibration:Custom Temperature Model:Coeff a2
        3. 13.2.10.3  Calibration:Custom Temperature Model:Coeff a3
        4. 13.2.10.4  Calibration:Custom Temperature Model:Coeff a4
        5. 13.2.10.5  Calibration:Custom Temperature Model:Coeff a5
        6. 13.2.10.6  Calibration:Custom Temperature Model:Coeff b1
        7. 13.2.10.7  Calibration:Custom Temperature Model:Coeff b2
        8. 13.2.10.8  Calibration:Custom Temperature Model:Coeff b3
        9. 13.2.10.9  Calibration:Custom Temperature Model:Coeff b4
        10. 13.2.10.10 Calibration:Custom Temperature Model:Rc0
        11. 13.2.10.11 Calibration:Custom Temperature Model:Adc0
      11. 13.2.11 Calibration:Current Deadband
        1. 13.2.11.1 Calibration:Current Deadband:Coulomb Counter Deadband
      12. 13.2.12 Calibration:CUV
        1. 13.2.12.1 Calibration:CUV:CUV Threshold Override
      13. 13.2.13 Calibration:COV
        1. 13.2.13.1 Calibration:COV:COV Threshold Override
    3. 13.3 设置
      1. 13.3.1  Settings:Fuse
        1. 13.3.1.1 Settings:Fuse:Min Blow Fuse Voltage
        2. 13.3.1.2 Settings:Fuse:Fuse Blow Timeout
      2. 13.3.2  Settings:Configuration
        1. 13.3.2.1  Settings:Configuration:Power Config
        2. 13.3.2.2  Settings:Configuration:REG12 Config
        3. 13.3.2.3  Settings:Configuration:REG0 Config
        4. 13.3.2.4  Settings:Configuration:HWD Regulator Options
        5. 13.3.2.5  Settings:Configuration:Comm Type
        6. 13.3.2.6  Settings:Configuration:I2C Address
        7. 13.3.2.7  Settings:Configuration:SPI Configuration
        8. 13.3.2.8  Settings:Configuration:Comm Idle Time
        9. 13.3.2.9  Settings:Configuration:CFETOFF Pin Config
        10. 13.3.2.10 Settings:Configuration:DFETOFF Pin Config
        11. 13.3.2.11 Settings:Configuration:ALERT Pin Config
        12. 13.3.2.12 Settings:Configuration:TS1 Config
        13. 13.3.2.13 Settings:Configuration:TS2 Config
        14. 13.3.2.14 Settings:Configuration:TS3 Config
        15. 13.3.2.15 Settings:Configuration:HDQ Pin Config
        16. 13.3.2.16 Settings:Configuration:DCHG Pin Config
        17. 13.3.2.17 Settings:Configuration:DDSG Pin Config
        18. 13.3.2.18 Settings:Configuration:DA Configuration
        19. 13.3.2.19 Settings:Configuration:Vcell Mode
        20. 13.3.2.20 Settings:Configuration:CC3 Samples
      3. 13.3.3  Settings:Protection
        1. 13.3.3.1  Settings:Protection:Protection Configuration
        2. 13.3.3.2  Settings:Protection:Enabled Protections A
        3. 13.3.3.3  Settings:Protection:Enabled Protections B
        4. 13.3.3.4  Settings:Protection:Enabled Protections C
        5. 13.3.3.5  Settings:Protection:CHG FET Protections A
        6. 13.3.3.6  Settings:Protection:CHG FET Protections B
        7. 13.3.3.7  Settings:Protection:CHG FET Protections C
        8. 13.3.3.8  Settings:Protection:DSG FET Protections A
        9. 13.3.3.9  Settings:Protection:DSG FET Protections B
        10. 13.3.3.10 Settings:Protection:DSG FET Protections C
        11. 13.3.3.11 Settings:Protection:Body Diode Threshold
      4. 13.3.4  Settings:Alarm
        1. 13.3.4.1 Settings:Alarm:Default Alarm Mask
        2. 13.3.4.2 Settings:Alarm:SF Alert Mask A
        3. 13.3.4.3 Settings:Alarm:SF Alert Mask B
        4. 13.3.4.4 Settings:Alarm:SF Alert Mask C
        5. 13.3.4.5 Settings:Alarm:PF Alert Mask A
        6. 13.3.4.6 Settings:Alarm:PF Alert Mask B
        7. 13.3.4.7 Settings:Alarm:PF Alert Mask C
        8. 13.3.4.8 Settings:Alarm:PF Alert Mask D
      5. 13.3.5  Settings:Permanent Failure
        1. 13.3.5.1 Settings:Permanent Failure:Enabled PF A
        2. 13.3.5.2 Settings:Permanent Failure:Enabled PF B
        3. 13.3.5.3 Settings:Permanent Failure:Enabled PF C
        4. 13.3.5.4 Settings:Permanent Failure:Enabled PF D
      6. 13.3.6  Settings:FET
        1. 13.3.6.1 Settings:FET:FET Options
        2. 13.3.6.2 Settings:FET:Chg Pump Control
        3. 13.3.6.3 Settings:FET:Precharge Start Voltage
        4. 13.3.6.4 Settings:FET:Precharge Stop Voltage
        5. 13.3.6.5 Settings:FET:Predischarge Timeout
        6. 13.3.6.6 Settings:FET:Predischarge Stop Delta
      7. 13.3.7  Settings:Current Thresholds
        1. 13.3.7.1 Settings:Current Thresholds:Dsg Current Threshold
        2. 13.3.7.2 Settings:Current Thresholds:Chg Current Threshold
      8. 13.3.8  Settings:Cell Open-Wire
        1. 13.3.8.1 Settings:Cell Open-Wire:Check Time
      9. 13.3.9  Settings:Interconnect Resistances
        1. 13.3.9.1  Settings:Interconnect Resistances:Cell 1 Interconnect
        2. 13.3.9.2  Settings:Interconnect Resistances:Cell 2 Interconnect
        3. 13.3.9.3  Settings:Interconnect Resistances:Cell 3 Interconnect
        4. 13.3.9.4  Settings:Interconnect Resistances:Cell 4 Interconnect
        5. 13.3.9.5  Settings:Interconnect Resistances:Cell 5 Interconnect
        6. 13.3.9.6  Settings:Interconnect Resistances:Cell 6 Interconnect
        7. 13.3.9.7  Settings:Interconnect Resistances:Cell 7 Interconnect
        8. 13.3.9.8  Settings:Interconnect Resistances:Cell 8 Interconnect
        9. 13.3.9.9  Settings:Interconnect Resistances:Cell 9 Interconnect
        10. 13.3.9.10 Settings:Interconnect Resistances:Cell 10 Interconnect
        11. 13.3.9.11 Settings:Interconnect Resistances:Cell 11 Interconnect
        12. 13.3.9.12 Settings:Interconnect Resistances:Cell 12 Interconnect
        13. 13.3.9.13 Settings:Interconnect Resistances:Cell 13 Interconnect
        14. 13.3.9.14 Settings:Interconnect Resistances:Cell 14 Interconnect
        15. 13.3.9.15 Settings:Interconnect Resistances:Cell 15 Interconnect
        16. 13.3.9.16 Settings:Interconnect Resistances:Cell 16 Interconnect
      10. 13.3.10 Settings:Manufacturing
        1. 13.3.10.1 Settings:Manufacturing:Mfg Status Init
      11. 13.3.11 Settings:Cell Balancing Config
        1. 13.3.11.1  Settings:Cell Balancing Config:Balancing Configuration
        2. 13.3.11.2  Settings:Cell Balancing Config:Min Cell Temp
        3. 13.3.11.3  Settings:Cell Balancing Config:Max Cell Temp
        4. 13.3.11.4  Settings:Cell Balancing Config:Max Internal Temp
        5. 13.3.11.5  Settings:Cell Balancing Config:Cell Balance Interval
        6. 13.3.11.6  Settings:Cell Balancing Config:Cell Balance Max Cells
        7. 13.3.11.7  Settings:Cell Balancing Config:Cell Balance Min Cell V (Charge)
        8. 13.3.11.8  Settings:Cell Balancing Config:Cell Balance Min Delta (Charge)
        9. 13.3.11.9  Settings:Cell Balancing Config:Cell Balance Stop Delta (Charge)
        10. 13.3.11.10 Settings:Cell Balancing Config:Cell Balance Min Cell V (Relax)
        11. 13.3.11.11 Settings:Cell Balancing Config:Cell Balance Min Delta (Relax)
        12. 13.3.11.12 Settings:Cell Balancing Config:Cell Balance Stop Delta (Relax)
    4. 13.4 功率
      1. 13.4.1 Power:Shutdown
        1. 13.4.1.1 Power:Shutdown:Shutdown Cell Voltage
        2. 13.4.1.2 Power:Shutdown:Shutdown Stack Voltage
        3. 13.4.1.3 Power:Shutdown:Low V Shutdown Delay
        4. 13.4.1.4 Power:Shutdown:Shutdown Temperature
        5. 13.4.1.5 Power:Shutdown:Shutdown Temperature Delay
        6. 13.4.1.6 Power:Shutdown:FET Off Delay
        7. 13.4.1.7 Power:Shutdown:Shutdown Command Delay
        8. 13.4.1.8 Power:Shutdown:Auto Shutdown Time
        9. 13.4.1.9 Power:Shutdown:RAM Fail Shutdown Time
      2. 13.4.2 Power:Sleep
        1. 13.4.2.1 Power:Sleep:Sleep Current
        2. 13.4.2.2 Power:Sleep:Voltage Time
        3. 13.4.2.3 Power:Sleep:Wake Comparator Current
        4. 13.4.2.4 Power:Sleep:Sleep Hysteresis Time
        5. 13.4.2.5 Power:Sleep:Sleep Charger Voltage Threshold
        6. 13.4.2.6 Power:Sleep:Sleep Charger PACK-TOS Delta
    5. 13.5 系统数据
      1. 13.5.1 System Data:Integrity
        1. 13.5.1.1 System Data:Integrity:Config RAM Signature
    6. 13.6 保护功能
      1. 13.6.1  Protections:CUV
        1. 13.6.1.1 Protections:CUV:Threshold
        2. 13.6.1.2 Protections:CUV:Delay
        3. 13.6.1.3 Protections:CUV:Recovery Hysteresis
      2. 13.6.2  Protections:COV
        1. 13.6.2.1 Protections:COV:Threshold
        2. 13.6.2.2 Protections:COV:Delay
        3. 13.6.2.3 Protections:COV:Recovery Hysteresis
      3. 13.6.3  Protections:COVL
        1. 13.6.3.1 Protections:COVL:Latch Limit
        2. 13.6.3.2 Protections:COVL:Counter Dec Delay
        3. 13.6.3.3 Protections:COVL:Recovery Time
      4. 13.6.4  Protections:OCC
        1. 13.6.4.1 Protections:OCC:Threshold
        2. 13.6.4.2 Protections:OCC:Delay
        3. 13.6.4.3 Protections:OCC:Recovery Threshold
        4. 13.6.4.4 Protections:OCC:PACK-TOS Delta
      5. 13.6.5  Protections:OCD1
        1. 13.6.5.1 Protections:OCD1:Threshold
        2. 13.6.5.2 Protections:OCD1:Delay
      6. 13.6.6  Protections:OCD2
        1. 13.6.6.1 Protections:OCD2:Threshold
        2. 13.6.6.2 Protections:OCD2:Delay
      7. 13.6.7  Protections:SCD
        1. 13.6.7.1 Protections:SCD:Threshold
        2. 13.6.7.2 Protections:SCD:Delay
        3. 13.6.7.3 Protections:SCD:Recovery Time
      8. 13.6.8  Protections:OCD3
        1. 13.6.8.1 Protections:OCD3:Threshold
        2. 13.6.8.2 Protections:OCD3:Delay
      9. 13.6.9  Protections:OCD
        1. 13.6.9.1 Protections:OCD:Recovery Threshold
      10. 13.6.10 Protections:OCDL
        1. 13.6.10.1 Protections:OCDL:Latch Limit
        2. 13.6.10.2 Protections:OCDL:Counter Dec Delay
        3. 13.6.10.3 Protections:OCDL:Recovery Time
        4. 13.6.10.4 Protections:OCDL:Recovery Threshold
      11. 13.6.11 Protections:SCDL
        1. 13.6.11.1 Protections:SCDL:Latch Limit
        2. 13.6.11.2 Protections:SCDL:Counter Dec Delay
        3. 13.6.11.3 Protections:SCDL:Recovery Time
        4. 13.6.11.4 Protections:SCDL:Recovery Threshold
      12. 13.6.12 Protections:OTC
        1. 13.6.12.1 Protections:OTC:Threshold
        2. 13.6.12.2 Protections:OTC:Delay
        3. 13.6.12.3 Protections:OTC:Recovery
      13. 13.6.13 Protections:OTD
        1. 13.6.13.1 Protections:OTD:Threshold
        2. 13.6.13.2 Protections:OTD:Delay
        3. 13.6.13.3 Protections:OTD:Recovery
      14. 13.6.14 Protections:OTF
        1. 13.6.14.1 Protections:OTF:Threshold
        2. 13.6.14.2 Protections:OTF:Delay
        3. 13.6.14.3 Protections:OTF:Recovery
      15. 13.6.15 Protections:OTINT
        1. 13.6.15.1 Protections:OTINT:Threshold
        2. 13.6.15.2 Protections:OTINT:Delay
        3. 13.6.15.3 Protections:OTINT:Recovery
      16. 13.6.16 Protections:UTC
        1. 13.6.16.1 Protections:UTC:Threshold
        2. 13.6.16.2 Protections:UTC:Delay
        3. 13.6.16.3 Protections:UTC:Recovery
      17. 13.6.17 Protections:UTD
        1. 13.6.17.1 Protections:UTD:Threshold
        2. 13.6.17.2 Protections:UTD:Delay
        3. 13.6.17.3 Protections:UTD:Recovery
      18. 13.6.18 Protections:UTINT
        1. 13.6.18.1 Protections:UTINT:Threshold
        2. 13.6.18.2 Protections:UTINT:Delay
        3. 13.6.18.3 Protections:UTINT:Recovery
      19. 13.6.19 Protections:Recovery
        1. 13.6.19.1 Protections:Recovery:Time
      20. 13.6.20 Protections:HWD
        1. 13.6.20.1 Protections:HWD:Delay
      21. 13.6.21 Protections:Load Detect
        1. 13.6.21.1 Protections:Load Detect:Active Time
        2. 13.6.21.2 Protections:Load Detect:Retry Delay
        3. 13.6.21.3 Protections:Load Detect:Timeout
      22. 13.6.22 Protections:PTO
        1. 13.6.22.1 Protections:PTO:Charge Threshold
        2. 13.6.22.2 Protections:PTO:Delay
        3. 13.6.22.3 Protections:PTO:Reset
    7. 13.7 Permanent Fail
      1. 13.7.1  Permanent Fail:CUDEP
        1. 13.7.1.1 Permanent Fail:CUDEP:Threshold
        2. 13.7.1.2 Permanent Fail:CUDEP:Delay
      2. 13.7.2  Permanent Fail:SUV
        1. 13.7.2.1 Permanent Fail:SUV:Threshold
        2. 13.7.2.2 Permanent Fail:SUV:Delay
      3. 13.7.3  Permanent Fail:SOV
        1. 13.7.3.1 Permanent Fail:SOV:Threshold
        2. 13.7.3.2 Permanent Fail:SOV:Delay
      4. 13.7.4  Permanent Fail:TOS
        1. 13.7.4.1 Permanent Fail:TOS:Threshold
        2. 13.7.4.2 Permanent Fail:TOS:Delay
      5. 13.7.5  Permanent Fail:SOCC
        1. 13.7.5.1 Permanent Fail:SOCC:Threshold
        2. 13.7.5.2 Permanent Fail:SOCC:Delay
      6. 13.7.6  Permanent Fail:SOCD
        1. 13.7.6.1 Permanent Fail:SOCD:Threshold
        2. 13.7.6.2 Permanent Fail:SOCD:Delay
      7. 13.7.7  Permanent Fail:SOT
        1. 13.7.7.1 Permanent Fail:SOT:Threshold
        2. 13.7.7.2 Permanent Fail:SOT:Delay
      8. 13.7.8  Permanent Fail:SOTF
        1. 13.7.8.1 Permanent Fail:SOTF:Threshold
        2. 13.7.8.2 Permanent Fail:SOTF:Delay
      9. 13.7.9  Permanent Fail:VIMR
        1. 13.7.9.1 Permanent Fail:VIMR:Check Voltage
        2. 13.7.9.2 Permanent Fail:VIMR:Max Relax Current
        3. 13.7.9.3 Permanent Fail:VIMR:Threshold
        4. 13.7.9.4 Permanent Fail:VIMR:Delay
        5. 13.7.9.5 Permanent Fail:VIMR:Relax Min Duration
      10. 13.7.10 Permanent Fail:VIMA
        1. 13.7.10.1 Permanent Fail:VIMA:Check Voltage
        2. 13.7.10.2 Permanent Fail:VIMA:Min Active Current
        3. 13.7.10.3 Permanent Fail:VIMA:Threshold
        4. 13.7.10.4 Permanent Fail:VIMA:Delay
      11. 13.7.11 Permanent Fail:CFETF
        1. 13.7.11.1 Permanent Fail:CFETF:OFF Threshold
        2. 13.7.11.2 Permanent Fail:CFETF:OFF Delay
      12. 13.7.12 Permanent Fail:DFETF
        1. 13.7.12.1 Permanent Fail:DFETF:OFF Threshold
        2. 13.7.12.2 Permanent Fail:DFETF:OFF Delay
      13. 13.7.13 Permanent Fail:VSSF
        1. 13.7.13.1 Permanent Fail:VSSF:Fail Threshold
        2. 13.7.13.2 Permanent Fail:VSSF:Delay
      14. 13.7.14 Permanent Fail:2LVL
        1. 13.7.14.1 Permanent Fail:2LVL:Delay
      15. 13.7.15 Permanent Fail:LFOF
        1. 13.7.15.1 Permanent Fail:LFOF:Delay
      16. 13.7.16 Permanent Fail:HWMX
        1. 13.7.16.1 Permanent Fail:HWMX:Delay
    8. 13.8 安全性
      1. 13.8.1 Security:Settings
        1. 13.8.1.1 Security:Settings:Security Settings
      2. 13.8.2 Security:Keys
        1. 13.8.2.1 Security:Keys:Unseal Key Step 1
        2. 13.8.2.2 Security:Keys:Unseal Key Step 2
        3. 13.8.2.3 Security:Keys:Full Access Key Step 1
        4. 13.8.2.4 Security:Keys:Full Access Key Step 2
    9. 13.9 数据存储器汇总
  15. 15修订历史记录

SPI 协议

SPI 事务的第一个字节包含一个 R/W 位(R=0,W=1),后跟一个 7 位地址,MSB 在最前面。如果控制器(主机)正在写入,第二个字节将是要写入的数据。如果控制器正在读取,将忽略 SPI_MOSI 上发送的第二个字节(CRC 计算除外)。

如果启用了 CRC,控制器必须将 8 位 CRC 代码作为第三个字节发送,该代码是通过前两个字节计算得出的。如果 CRC 正确,会将在时钟沿输入的值放入接收缓冲区。如果 CRC 不正确,会将发送缓冲区设置为 0xFFFF,并将发送的 CRC 设置为 0xAA(在下一个事务的时钟沿输出)。

在此事务期间,逻辑将在时钟沿输出发送缓冲区的内容。如果自上次事务以来未更新发送缓冲区,逻辑将在时钟沿输出 0xFFFF,如果在时钟沿进行 CRC,CRC 将在时钟沿输出 0x00(如启用)。因此,0xFFFF00 将向控制器指示发送缓冲区在事务发生之前未被内部逻辑更新。当器件没有足够的时间更新连续事务之间的缓冲区时,就会发生这种情况。

当内部逻辑从接口逻辑中获取写入数据并对其进行处理时,该内部逻辑还会将 R/W 位、地址和数据复制到发送缓冲区中。在下一个事务中,此数据将在时钟沿被发送回控制器。

当控制器开始读取时,内部逻辑会将 R/W 位和地址连同请求的数据一起放入发送缓冲区中。如果启用了 CRC,接口将对发送缓冲区中的两个字节计算 CRC,并在时钟沿将结果返回至控制器(如上所述,与 0xFFFF 相关的异常情况)。下面显示了使用 CPOL=0 时,三个使用 CRC 和不使用 CRC 的事务序列图。

图 9-5 使用 CRC 的 SPI 事务 1
图 9-6 使用 CRC 的 SPI 事务 2
图 9-7 使用 CRC 的 SPI 事务 3
图 9-8 不使用 CRC 的 SPI 事务 1
图 9-9 不使用 CRC 的 SPI 事务 2
图 9-10 不使用 CRC 的 SPI 事务 3

器件处理命令和子命令所需的时间将根据每个命令的具体情况而有所不同。例如,当发送 0x0071 DASTATUS1() 子命令时,器件需要大约 200μs 才能将 32 字节的数据加载到内部子命令缓冲区。如果主机在开始读取缓冲区(从地址 0x40 读回地址 0x5F)之前提供足够的时间完成此加载,器件将使用有效数据而不是 0xFFFF00 进行响应。当数据已经加载到子命令缓冲区时,可以在 SPI 事务之间以大约 50μs 的间隔读回该数据。

注: 某些命令或子命令可能需要超过 200μs 才能完成。一个例外是 IROM_SIG() 子命令,其大约需要 9ms 才能完成。

主机软件应包含重试可能不成功的事务的方案。例如,如果器件在 SPI_MISO 上返回 0xFFFFFF,说明内部时钟未通电,需要重试事务。类似地,如果器件在一个事务上返回 0xFFFFAA,这表明以前的事务遇到 CRC 错误,因此必须重试前一个事务。如上所述,如果器件返回 0xFFFF00,说明当前事务发送时之前的事务尚未完成,这可能意味着应该重试之前的事务,或者至少需要更多的时间才能完成。

根据特定命令或子命令完成操作所需的大致时间如下所示。请注意,这些时间只是近似值,可能会因当时的系统操作而变化。因此,主机处理器必须包含来自主机处理器的重试方案,以处理操作期间可能发生的通信错误或延迟。

表 9-2 命令/子命令运行时间
命令/子命令地址 命令/子命令名称 完成操作的时间(近似值)
0x00 Control Status() 50μs
0x02 - 0x07 Safety Alert() 和 Safety Status() 50μs
0x0A-0x11 PF Alert() 和 PF Status() 50μs
0x12 Battery Status() 50μs
0x14-0x32 Cell Voltages() 50μs
0x34 Stack Voltage() 50μs
0x36 PACK Pin Voltage() 50μs
0x38 LD Pin Voltage() 50μs
0x3A CC2 Current() 50μs
0x62 Alarm Status() 50μs
0x64 Alarm Raw Status() 50μs
0x66 Alarm Enable() 50μs
0x68 Internal Temperature() 50μs
0x6A-0x7A Thermistor Temperatures() 50μs
0x0001 DEVICE_NUMBER() 400μs
0x0002 FW_VERSION() 400μs
0x0003 HW_VERSION() 400μs
0x0004 IROM_SIG() 8500μs
0x0005 STATIC_CFG_SIG() 450μs
0x0009 DROM_SIG() 650μs
0x000E EXIT_DEEPSLEEP() 500μs
0x000F DEEPSLEEP() 500μs
0x0010 SHUTDOWN() 500μs
0x001C PDSGTEST() 550μs
0x001D FUSE_TOGGLE() 500μs
0x001E PCHGTEST() 900μs
0x001F CHGTEST() 550μs
0x0020 DSGTEST() 550μs
0x0022 FET_ENABLE() 500μs
0x0024 PF_ENABLE() 500μs
0x0030 SEAL() 500μs
0x0053 SAVED_PF_STATUS() 500μs
0x0057 MANUFACTURING STATUS() 605μs
0x0070 MANU_DATA() 660μs
0x0071 - 0x0077 DASTATUS1-7() 660μs
0x0080 CUV_SNAPSHOT() 660μs
0x0081 COV_SNAPSHOT() 660μs
0x0082 RESET_PASSQ() 600μs
0x0083 CB_ACTIVE_CELLS() 560μs
0x0084 CB_SET_LVL() 480μs
0x0085 - 0x0087 CBSTATUS1-3() 575μs
0x008A PTO_RECOVER() 500μs
0x0090 SET_CFGUPDATE() 2000μs
0x0092 EXIT_CFGUPDATE() 1000μs
0x0093 DSG_PDSG_OFF() 550μs
0x0094 CHG_PCHG_OFF() 550μs
0x0095 ALL_FETS_OFF() 550μs
0x0096 ALL_FETS_ON() 500μs
0x0097 FET_CONTROL() 495μs
0x0098 REG12_CONTROL() 450μs
0x0099 SLEEP_ENABLE() 500μs
0x009A SLEEP_DISABLE() 500μs
0x009B OCDL_RECOVER() 500μs
0x009C SCDL_RECOVER() 500μs
009x0D LOAD_DETECT_RESTART() 500μs
0x009E LOAD_DETECT_ON() 500μs
0x009F LOAD_DETECT_OFF() 500μs
0x00A0 OTP_WR_CHECK() 580μs
0x2800 - 0x2818 GPO HI 和 LO 子命令 500μs
0x2857 PF_FORCE_A() 500μs
0x29A3 PF_FORCE_B() 800μs
0x29BC SWAP_COMM_MODE() 500μs
0x29E7 SWAP_TO_I2C() 500μs
0x7C35 SWAP_TO_SPI() 500μs
0x7C40 SWAP_TO_HDQ() 500μs
0xF081 READ_CAL1() 630μs