-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
tests: Add pm.wakeup_external_interrupt test. #81522
base: main
Are you sure you want to change the base?
tests: Add pm.wakeup_external_interrupt test. #81522
Conversation
When it comes to wakeups, I would expect us to simply monitor for the boot banner? seems a bit more stable than looking solely at increases in current consumption, that could be due to many things :) |
I see. Let me read more about the boot banner. I need to dive into this topic. However, relying only on the boot banner does not confirm whether the system successfully entered the intended low-power state before waking up. For a complete validation, monitoring power consumption or another indicator of the low-power state is still necessary. |
What is triggering the external interrupt BTW? I find it hard to find in the commits :)
Since the test suite is run on the target, we would need to allow the test suite to be restarted by twister, without triggering RESET pin, we would essentially have a current measurement test suite, which ends with Starts to get complicated fast :D |
The wake up is triggering by pytest under twister. The PS: I tried to automatize the waking up the board by external interrupt. |
0d92ba1
to
fdedbad
Compare
5ce31f0
to
3e8d4a0
Compare
923e7dd
to
e17e0cd
Compare
This commits adds pm tests based on the new aproach. Signed-off-by: Arkadiusz Cholewinski <arkadiuszx.cholewinski@intel.com>
Proposal: A new test verifies that the system can wake up from sleep modes using an external interrupt, based on a new approach outlined in #80989.
pm.wakeup_external_interrupt
The test consists of two components:
The external interrupt is implemented using a simple GPIO pin to signal between the two components. For more details read the
README.md
file.This pr is marked as DNM because of
Debug
commit and going discussion in RFC. #80989.