-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: bms_ic: rework balancing control
Switching between automatic and manual balancing requires to enter config update mode for the bq769x2. During config update mode, all measurements and protections are disabled. As also stated in the datasheet, this mode should only be activated for initial configuration (before actual operation of the battery). This means that we have to decide regarding automatic or manual balancing operation at the very beginning and only allow manually setting the switches if we are not in automatic balancing mode. This behavior makes sense also for other drivers than the bq769x2, as an application firmware would either control balancing itself or let the chip/driver control balancing autonomously. It is not required to switch between automatic and manual balancing while the BMS is in operation.
- Loading branch information
1 parent
58d2384
commit c9ba27e
Showing
6 changed files
with
99 additions
and
86 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
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
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
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
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
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