Closed martinjaeger closed 1 year ago
Not sure if I understand this situation completely, wouldn't the internal pull up on STM32 help?
You are right, that's probably sufficient. Will double-check this next week.
An internal pull-up does not help IMO:
The BTN_SIGNAL is read by the MCU and the BTN_1 is floating after wake-up, which means we cannot detect any button-switch with BTN_SIGNAL pulled up either.
New circuit introduced in new design. Will close the issue after testing.
Fixed in current board design.
The TS2 / WAKE pin of the bq76952 is only pulled up during shutdown mode, but not during operation. Thus, the MCU cannot detect if the button is long-pressed to put the battery pack into sleep mode.
Even though the TS2 pin is a multi-purpose pin, it cannot be configured as an output, but only as a general purpose ADC input.
We need something like an additional external pull-up to the 3V3 rail.