How to config wakeup source from gpio interrupt in imx8 nano

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to config wakeup source from gpio interrupt in imx8 nano

456 Views
CraigTsai
Contributor I

Hi expert,

I want to config two gpio (GPIO1_GPIO7 and GPIO1_GPIO14) to be wakeup sources.

But all the issues from community are discussed in iMx8 QM. The reference link I found is as below:

https://community.nxp.com/t5/i-MX-Processors/Wakeup-the-system-from-gpio-interrupt/m-p/945209 

How could I config the gpio to be wakeup source? Should it be the same with iMx8 QM?

If yes, 

How to set the parameter definition in pad-wakeup function in iMx8 nano BSP? Because the parameter like SC_P_QSPI0A_SCLK and SC_PAD_WAKEUP_LOW_LVL don't be defined in iMx8 nano.

If no,

Where is the reference information about how to do it?

 

Many thanks!

Labels (1)
0 Kudos
0 Replies