This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BQ27742 參數設定

Other Parts Discussed in Thread: BQSTUDIO, BQ27742-G1

關於bq27742 遇到下列問題

 

1.只要修改Prot OC Confing  和  Prot OV Confing  原始值就會無輸出 如附件

 

2. 另外通訊畫面 Dsg 都呈現關閉狀態  但能輸出 不知原因   8080.參數與圖表.rar

  • 您好
    1,需要更新Protection Checksum,详细请参考TRM 5.3.8.4 Protector Checksum
    2,MOS关闭能输出,是否能放电?请确认电路是否有问题。
  • 1. 有試著手動修改Protection Checksum 0000 , 7FFF  但都失敗 , 也不知要如何驗證更新這

      TRM 5.3.8.4 也未說明表格

    請問你看我壓縮檔參數表 是否有建議修改的值

    2. MOS 旗標關閉  確有輸出的   線路圖 1513.TP01S031線路圖.pdf

  • 您好,校验和提示错误是在bqStudio中吗?
    当期望值与编程的值不匹配时,将显示错误,确定对新修改的设置在芯片中是否已更新? 更改值后,可以通过刷新dataflash进行检查。
  • Dear Star

    如附件訊息  請查收  8662.bqStudio.xlsx

  • 您好,请参考下面的内容
    The DSG bit in flags() only indicates if the gauge is in discharge mode, if they had just calibrated the gauge CC then it will be high until the timeout.

    The checksum of the new protection config must be updated in the gauge DF, you can check the TRM:

    4.1.1.18 PROTECTOR_CHKSUM: 0x001A Instructs the fuel gauge to calculate protector checksum as a 16-bit unsigned integer sum of Prot OV Cfg and Prot OC Cfg excluding device specific variables. The most significant bit (MSB) of the checksum is masked yielding a 15-bit checksum. This checksum is compared with value stored in the data flash Prot Checksum. If the value matches, the MSB is cleared to indicate pass. If it does not match, the MSB is set to indicate failure. The checksum can verify the integrity of the protector configuration.

    NOTE: The fuel gauge will disable the CHG and DSG FETs while the programmed Prot Checksum is invalid (that is, does not match the computed checksum). This protects against safety events due to accidental protector misconfiguration.
  • Dear Star

    BQ27742-G1 设计了保护参数的Checksum 功能,叫Prot Checksum。
    Prot Checksum 应该设成OV Prot Cfg 与OC Prot Cfg 的和。BQ27742-G1 每一秒钟都会自动计算Prot Checksum
    的实际值,并与事先写在Data Flash 里的Prot Checksum 对比,如果不匹配,则会把SafetyStatus()里的
    INV_PROT_CHKSUM bit 置起来,并且强制关断充电管和放电管。只有在每秒钟自动计算Prot Checksum 的实际
    值,与事先写在Data Flash 里的Prot Checksum 匹配,才会清除INV_PROT_CHKSUM bit 和把充电管和放电管重
    新打开。所以如果修改了两个保护相关的参数OV Prot Cfg 与OC Prot Cfg,则必须重新计算Prot Checksum 并写
    到Data Flash 里的Prot Checksum 里,充电管和放电管才会重新打开。

    0x001A 詳細操作 與 Prot Checksum  計算 是否能提供實際操作流程

  • 您好,BQ27742-G1 的 Prot Checksum 的具体操作方法跟前面第三节介绍的方法类似,请参考下面的文档第三节
    www.ti.com.cn/.../zhcaa20.pdf
  • Dear Star

    試著 Advanced Comm I2C 校驗  STATIC_DF_CHKSUM: 0x0019 是讀的到的

    但 PROTECTOR_CHKSUM: 0x001A  指令是讀不到

    而且在 Commands 系列欄位 也未有 PROTECTOR_CHKSUM   指令欄位

    是否能協助詳細做

    如附件1732.PROTECTOR_CHKSUM 0x001A.pdf

  • 您好,请参考下面的链接
    e2e.ti.com/.../2032850
  • Dear Star

    請您指教一下小弟

    修改Prot OC Confing 和 Prot OV Confing 後 1A00 驗證讀取 是 8002

    但在 Prot Checksum 卻無法填入  8002

    如附件8738.1A00 驗證.pdf

    另外如附件  修改的Prot OC Confing 和 Prot OV Confing  計算總和會是多少呢?

  • 演算法 已解決