Skip to content

v0.1.7

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 05 Nov 07:45
· 15 commits to main since this release

STM32F103 PMIC firmware v0.1.7 (engineering candidate)

SUPERSEDED: Do not flash this release for charge-indicator use. Hardware GPIO testing on 2026-11-05 confirmed PA4 drives the red charge LED and PA5 drives the green charge LED. This v0.1.7 image has those colors reversed. The corrected v0.1.8-left application has been flashed and read back on the STM32F103C8 test board; use a newer release once published.

  • Left layout: FW_VER 0.1.7-left. PA4 drives the green charge LED while charging below 54 V battery/output voltage. PA5 drives the red LED while charging at or above 54 V. Both are off when charging is disabled.
  • PA6 is high when the PA1 ADC pin reads 1.39-1.50 V, inclusive. PA7 is high at 1.21-<1.39 V. At 1.39 V, PA6 takes priority. Both are off outside these ranges or after an ADC sampling failure.
  • Left-layout host R/G writes no longer override the automatic status LEDs. Right-layout firmware behavior and FW_VER 0.1.2-right remain unchanged.
  • Select the matching board archive. Bootloader address: 0x08000000. Application address: 0x08001000. The left layout does not support serial OTA; use SWD.

Validation: host boundary tests, command guard, HIL protocol self-test, and left/right cross-builds passed. CI built this tag. v0.1.7-left has not been flashed or tested on the board. The earlier v0.1.5-left control logic was tested at 5 V and 20 V with no battery pack connected.

This is not production-qualified charging firmware. The 54 V threshold changes only the lamp, not the charge control or termination. A battery pack with independent charge cutoff protection is required. External LED voltages, loaded charge current, temperature, ADC calibration, and charge termination remain unverified.