Skip to content

Power down radio domain - #6074

Open
bjoernQ wants to merge 2 commits into
esp-rs:mainfrom
bjoernQ:power-down-radio-domain
Open

Power down radio domain#6074
bjoernQ wants to merge 2 commits into
esp-rs:mainfrom
bjoernQ:power-down-radio-domain

Conversation

@bjoernQ

@bjoernQ bjoernQ commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

This spawned from investigating #6042. I wasn't able to measure any difference as mentioned in the issue, however there were some things worth a change.

Radio teardown never powered the modem down: deinit() left the modem power domain powered and clocks ungated, and the 802.15.4 driver had no clock teardown at all. This aligns deinit with ESP-IDF

Also the qa-tests added here revealed that we introduced a bug for C2 - after tear-down/re-create, it just wasn't working. Seems like a speculative change in #5700 which is fixed here.

Changelog

esp-radio

  • Fixed: Power down the modem power domain and gate the modem clocks when the last radio driver is deinitialized.
  • Fixed: Gate the 802.15.4 modem clocks (including clk_coex_en on ESP32-C6) when the driver is dropped.
  • Fixed: ESP32-C2 dropping and re-creating WifiController left the radio inoperational

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