Skip to content

Comments

Reduce panda power usage#2340

Merged
elkoled merged 83 commits intomasterfrom
reduce-power
Feb 19, 2026
Merged

Reduce panda power usage#2340
elkoled merged 83 commits intomasterfrom
reduce-power

Conversation

@elkoled
Copy link
Contributor

@elkoled elkoled commented Feb 18, 2026

Panda Power Optimization
Reduces OBD-C port power by 77% (225 mW -> 52 mW) in low power state.

The panda STM32H7 MCU on comma four runs at 240 MHz on VOS1 voltage scaling. In its stock configuration with all peripheral clocks enabled it draws 225 mW in low power state.
This can be reduced to 52 mW in 3 main steps:

  • Disable clocks and power to peripherals we don't need in standby
  • Drop voltage scaling from VOS1 (High Performance) to VOS3 (Low Power)
  • Enter deep sleep

Each optimization was measured individually on comma four hardware.

SIL2 considerations:
Stop mode is only entered from SAFETY_SILENT when no safety function is active, fulfilling rule CoU_3 of UM2331.

image

@adeebshihadeh
Copy link
Contributor

Can we also store a reset count or some other debug info in memory?

@elkoled
Copy link
Contributor Author

elkoled commented Feb 18, 2026

There is a 32bit RTC backup register that could be used for saving a reset counter, it resets on VBAT power loss.

@elkoled
Copy link
Contributor Author

elkoled commented Feb 18, 2026

NVIC_SystemReset wrapper and save reset counter is a good separate PR.

@elkoled elkoled merged commit e1da7dc into master Feb 19, 2026
7 checks passed
@elkoled elkoled deleted the reduce-power branch February 19, 2026 22:14
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.

3 participants