Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suspend cores while waiting #3

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

suspend cores while waiting #3

wants to merge 2 commits into from

Conversation

soyersoyer
Copy link
Owner

@soyersoyer soyersoyer commented Jan 23, 2025

It uses the WaitForEvent and SendIPI functions to signal between cores to sleep and wakeup.

I tested it with an USB power meter:

RPI3b+ with MiniLab 3
latest: 2.29W (idle)
this: 1.91W (idle)

RPI4 with MiniLab 3
latest: 2.81W (idle) 3.2W (play)
this: 2.45W (idle) 2.82W (play)

I tested it for two days, it worked without any problems.

Copy link

Build for testing:
MiniDexed_2025-01-23-b8f0574
Use at your own risk.

@soyersoyer soyersoyer marked this pull request as draft January 23, 2025 01:03
@soyersoyer soyersoyer marked this pull request as ready for review January 23, 2025 01:09
Copy link

Build for testing:
MiniDexed_2025-01-23-d9a7e47
Use at your own risk.

@soyersoyer soyersoyer marked this pull request as draft January 23, 2025 13:24
@soyersoyer soyersoyer marked this pull request as ready for review January 24, 2025 14:31
@soyersoyer soyersoyer changed the title suspend processors while waiting suspend cores while waiting Jan 24, 2025
Repository owner deleted a comment from github-actions bot Jan 24, 2025
Copy link

Build for testing:
MiniDexed_2025-01-24-2d48828
Use at your own risk.

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