Hi,
We are developing a system board that connects a gyroscope to the i.MX8QXP.
This board is running Linux (L4.14.98_2.0.0) and will go into suspend mode if idle time lasts for some time.
After that, it wakeup when the interrupt signal of the gyroscope changes.
That is, the interrupt signal and the WAKEUP signal from the suspend function as the same pin.
Specifically, it uses GPIO1_15 pin.
Q)
According to our experiment, WAKEUP does not occur even if a Gyro interrupt signal is input during suspend state,
but there is no problem if used only for GPIO_WAKEUP, not as an interrupt.
In My understanding, GPIO_WAKEUP can be supported as the Wakeup signal from Suspend.
Is it possible to use this GPIO as a normal interrupt line at the same time?
I referred to the following URL.
How to add iMX8QXP PAD(GPIO) Wakeup
Best Regards,
Kanou
Solved! Go to Solution.
Hi Kanou
>In My understanding, GPIO_WAKEUP can be supported as the Wakeup signal from Suspend.
>Is it possible to use this GPIO as a normal interrupt line at the same time?
yes this GPIO can be used as a normal interrupt too, wake-up mask will not affect the functionality
of GPIO in normal operation. More details can be found in documentation included in
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Kanou
>In My understanding, GPIO_WAKEUP can be supported as the Wakeup signal from Suspend.
>Is it possible to use this GPIO as a normal interrupt line at the same time?
yes this GPIO can be used as a normal interrupt too, wake-up mask will not affect the functionality
of GPIO in normal operation. More details can be found in documentation included in
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------