feat(firmware): Power management — sleep modes + wake sources + power consumption profiling #178

Closed
opened 2026-03-02 10:37:20 -05:00 by sl-jetson · 0 comments
Collaborator

Summary

STM32 power management for extending battery life during idle periods.

Requirements

  • Sleep modes: Enter STOP2 mode when robot is idle (no cmd_vel for 30s), wake on CRSF/serial/IMU
  • Wake sources: CRSF frame, Jetson serial command, IMU motion detect (significant motion interrupt)
  • Peripheral gating: Disable unused peripherals (I2S, SPI, unused UARTs) when not needed
  • Power profiling: Report current consumption per subsystem via telemetry
  • Sleep indicator: LED pattern for sleep mode (slow pulse), distinct from error blink
  • Fast wake: <50ms from STOP2 to full operation
  • ROS2 integration: Jetson can command STM32 sleep/wake via serial protocol

Agent: sl-firmware

Labels: phase-2, power

## Summary STM32 power management for extending battery life during idle periods. ## Requirements - **Sleep modes**: Enter STOP2 mode when robot is idle (no cmd_vel for 30s), wake on CRSF/serial/IMU - **Wake sources**: CRSF frame, Jetson serial command, IMU motion detect (significant motion interrupt) - **Peripheral gating**: Disable unused peripherals (I2S, SPI, unused UARTs) when not needed - **Power profiling**: Report current consumption per subsystem via telemetry - **Sleep indicator**: LED pattern for sleep mode (slow pulse), distinct from error blink - **Fast wake**: <50ms from STOP2 to full operation - **ROS2 integration**: Jetson can command STM32 sleep/wake via serial protocol ## Agent: sl-firmware ## Labels: phase-2, power
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: seb/saltylab-firmware#178
No description provided.