Skip to content

Feat/suspend resume clk gating#80

Draft
peter-marcisovsky wants to merge 1 commit into
release/v0.20from
feat/suspend_resume_clk_gating
Draft

Feat/suspend resume clk gating#80
peter-marcisovsky wants to merge 1 commit into
release/v0.20from
feat/suspend_resume_clk_gating

Conversation

@peter-marcisovsky

@peter-marcisovsky peter-marcisovsky commented Apr 9, 2026

Copy link
Copy Markdown
Collaborator

Add clock gating to the device suspend/resume sequence to decrease power consumption on the Device side.

Measurements

SoC current was measured on esp32s31 dev board featuring current measurement jumper.

Currents mA
Resumed 65.8
Suspended (NO DWC2 clk gating ) 61.4
Suspended (DWC2 clk gating) 54.8

The measurements show, that the added clk gating saved more than 10% more power when compared to the suspended state without clk gating.

@peter-marcisovsky peter-marcisovsky self-assigned this Apr 9, 2026
@peter-marcisovsky peter-marcisovsky force-pushed the feat/suspend_resume_clk_gating branch from c6a1d1f to 0657be5 Compare April 13, 2026 10:19
@peter-marcisovsky peter-marcisovsky force-pushed the feat/suspend_resume_clk_gating branch 2 times, most recently from 14b20b9 to 9f4bc36 Compare June 9, 2026 11:56
@tore-espressif

Copy link
Copy Markdown
Collaborator

@peter-marcisovsky thanks!

We expect TinyUSB release 0.21 this week. So I propose the following:

  1. Let us sync with upstream master at git tag 0.21
  2. Merge this feature

@peter-marcisovsky peter-marcisovsky force-pushed the feat/suspend_resume_clk_gating branch from 9f4bc36 to 6886cb8 Compare June 11, 2026 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants