-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix recover from overvoltage/undervoltage state in bms_bq769x0.c (#18)
BMS with BQ76930 did not recover from state "overvoltage" or "undervoltage" and needed a reset to enable CHG/DSG MOSFETs again. The SYS_STAT register should be checked each time as an alert interrupt is only generated once if the error persists. (ALERT pin stays high) Also fixing MOSFET "switch on" to use ov_reset and uv_reset. Fixes #19
- Loading branch information
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
be7f58a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The patch is working successful on real-world application.
be7f58a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great!