Skip to content

fix(heltec_t096): battery life improvement - fix lna_enable in LoRaFEMControl and code cleanup#2633

Open
NickDunklee wants to merge 1 commit into
meshcore-dev:devfrom
NickDunklee:heltec-t096-power-improvements
Open

fix(heltec_t096): battery life improvement - fix lna_enable in LoRaFEMControl and code cleanup#2633
NickDunklee wants to merge 1 commit into
meshcore-dev:devfrom
NickDunklee:heltec-t096-power-improvements

Conversation

@NickDunklee
Copy link
Copy Markdown

@NickDunklee NickDunklee commented May 27, 2026

Minor change for Heltec T096, it seemed to be consuming more power than what other nRF52-based boards do. Looks like a Heltec v4 optimization needed to be added. Also removed a few lines of dead code that doesn't apply to nRF52.

Fix:

  • Set lna_enabled=true in LoRaFEMControl so KCT8103L enters RX/LNA mode (CTX=LOW) during receive instead of remaining in TX mode. Matching Heltec V4 default for the same chip. Reduces idle power draw during the dominant receive state.
  • Remove setRxModeEnableWhenMCUSleep() — dead code on nRF52. Unlike ESP32 deep sleep, nRF52 preserves GPIO state automatically.

Test:

Tested on Heltec T096 - battery life was significantly improved.

- Set lna_enabled=true in LoRaFEMControl so KCT8103L enters RX/LNA
  mode (CTX=LOW) during receive instead of remaining in TX mode.
  Matching Heltec V4 default for the same chip. Reduces idle power
  draw during the dominant receive state.

- Remove setRxModeEnableWhenMCUSleep() — dead code on nRF52. Unlike
  ESP32 deep sleep, nRF52 preserves GPIO state automatically.
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