2024-07-01 11:35 PM
Hello, I'm studying the kit you provided and the stsw-l9661bms program to implement a low-capacity BMS. According to the datasheet, there are instructions to set thresholds for OverCurrent in the program. However, I couldn't find these settings in the provided Demo1~4.
Datasheet: VOVC_CHG_TH
Configuration Expected program statement: app_bms_demo.C
.CurrTh = {
.OverCurrentDischargeTh = 0, /* Over Current Discharge Threshold = 0mV /
.OverCurrentChargeTh = 0, / Over Current Charge Threshold = 0mV /
.PersistOverCurrentTh = 0, / Persist Over Current Threshold = 0mV /
.ShockCircuitPersistTh = 0, / Short Circuit Persist Threshold = 50mV /
.ShockCircuitTh = 0, / Short Circuit Threshold = 50mV */
.OverCurrentDischargeTh , .OverCurrentChargeTh Could you please provide guidance on how to set these values if I want OCP to trigger?