Skip to content

2.2.9: fix shutdown drain from P0.6 - #294

Merged
TobiasRoeddiger merged 2 commits into
mainfrom
2.2.9
Sep 28, 2026
Merged

TobiasRoeddiger merged 2 commits into
mainfrom
2.2.9

Conversation

@TobiasRoeddiger

@TobiasRoeddiger TobiasRoeddiger commented Sep 28, 2026 •

Copy link
Copy Markdown
Member

PPG initialization drives P0.6/IO4 high and leaves it high after shutdown. On the Main v2.7/flex assembly, PPG LDO_EN is supplied by V_LS; driving IO4 can back-power the switched rail and cause excessive off-state drain.

Remove that GPIO output configuration so P0.6 remains in its reset high-impedance state. Keep the existing PPG load-switch controls and startup delay.

This is the focused 2.2.9 release. Its diff against main contains only:

The PPG rate improvements, Bosch/BMA580 FIFO changes, audio/sensor fixes, throughput work and gauge interval change belong to the separate 2.2.10 development line.

Validation

  • Verified the release diff contains exactly those two files and passes git diff --check.
  • The fix is the same GPIO change previously tested in fix(ppg): leave P0.6 disconnected #290: instrumented 2.2.8 measurements fell from approximately 1,791 µA to 38 µA; after the single-ear Android tester sequence, the final 120-second off-state capture averaged 38.16 µA.
  • Those are archived measurements of the original diagnostic validation, not a new hardware run of this release branch. Manual acoustic/fixture confirmations were assumed and do not constitute a manufacturing pass.
  • A reset during the firmware update clears the old GPIO output configuration. This patch does not actively rewrite the pin on an already-running old image.

The production firmware in the current main matches v2.2.8 before this patch; later main-only documentation/tool changes are inherited without adding other firmware fixes. No additional regression tests are added.

The broader release is tracked in #295 on branch 2.2.10.

@github-actions

Copy link
Copy Markdown

✅ Unit tests passed

2 passed, 0 failed/error, 0 skipped — view workflow run

Test scenario Platform Result
sensor_component/openearable.unit.sensor_component native_sim/native/64 ✅ passed
ring_buffer/openearable.unit.ring_buffer native_sim/native/64 ✅ passed

Download the unit-test-results artifact for full Twister reports and logs.

@github-actions

Copy link
Copy Markdown

Compiler warnings

The extended-warning build completed successfully.

Application compiler warnings

None.

View this workflow run

@github-actions

Copy link
Copy Markdown

Build output available:
openearable_v2_firmware.elf.zip
openearable_v2_fota.zip

@github-actions

Copy link
Copy Markdown

CodeChecker static analysis

✅ No non-style issues found.

@TobiasRoeddiger
TobiasRoeddiger merged commit 095514b into main Sep 28, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant