Skip to content

Add nrf52 power management for RAK3401#1984

Open
samschlegel wants to merge 1 commit intomeshcore-dev:devfrom
samschlegel:samschlegel/rak3401-power-management
Open

Add nrf52 power management for RAK3401#1984
samschlegel wants to merge 1 commit intomeshcore-dev:devfrom
samschlegel:samschlegel/rak3401-power-management

Conversation

@samschlegel
Copy link

@samschlegel samschlegel commented Mar 10, 2026

Summary

  • Enable nrf52 power management for RAK3401, ported from the RAK4631 configuration

Test plan

  • Verify boot protection triggers below 3300mV
  • Verify LPCOMP wake from SYSTEMOFF when voltage recovers
  • Verify normal boot path is unaffected above threshold

@samschlegel samschlegel marked this pull request as ready for review March 10, 2026 03:42
@samschlegel
Copy link
Author

samschlegel commented Mar 10, 2026

Will get a verified commit pushed up shortly

EDIT: Done!

@samschlegel samschlegel force-pushed the samschlegel/rak3401-power-management branch 2 times, most recently from c9c33fb to 5646ae4 Compare March 10, 2026 03:45
@samschlegel samschlegel force-pushed the samschlegel/rak3401-power-management branch from 5646ae4 to bfdbcd8 Compare March 10, 2026 03:49
;-D MESH_DEBUG=1
build_src_filter = ${rak3401.build_src_filter}
+<helpers/ui/SSD1306Display.cpp>
+<../examples/simple_sensor> No newline at end of file
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can remove if desired. I have a pretty minimal VSCode setup and I'm pretty sure this is just the default so maybe work keeping?

}

#ifdef NRF52_POWER_MANAGEMENT
void RAK3401Board::initiateShutdown(uint8_t reason) {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

had to move the block for power_config to be defined before begin and figured it made sense to just move it all

@samschlegel samschlegel changed the base branch from main to dev March 10, 2026 04:39
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.

2 participants