Is it possible to use the interrupt line as a wakeup signal from suspend on i.MX8QXP ?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Is it possible to use the interrupt line as a wakeup signal from suspend on i.MX8QXP ?

跳至解决方案
1,710 次查看
mamorukanou
Contributor IV

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?

pastedImage_4.png

I referred to the following URL.

How to add iMX8QXP PAD(GPIO) Wakeup 

Best Regards,

Kanou

0 项奖励
回复
1 解答
1,646 次查看
igorpadykov
NXP Employee
NXP Employee

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

SCFW Porting Kit

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,647 次查看
igorpadykov
NXP Employee
NXP Employee

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

SCFW Porting Kit

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复