Configure the power key as a wakeup source in M4 MCU

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Configure the power key as a wakeup source in M4 MCU

1,026件の閲覧回数
vinothkumars
Senior Contributor IV

Hi All,

I am working on imx8qm-mek board with Android 9 Automotive. I needs to configure the power key as a wake-up source in M4 MCU (SDK_MEK-MIMX8QM, 2.5.1)

in fsl-imx8qm-device.dtsi file,

        sc_pwrkey: sc-powerkey {
                compatible = "fsl,imx8-pwrkey";
                linux,keycode = <KEY_POWER>;
                wakeup-source;
        };

Is there anyway to configure power key button as a wake up source in M4 MCU ?

Thanks & Regards,

VinothS,

Regards,
Vinothkumar Sekar
0 件の賞賛
返信
1 返信

1,008件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi VinothS

one can look at wake examples in M4 SDK_MEK-MIMX8QM   /power_mode_switch/../power_mode_switch.c

Welcome | MCUXpresso SDK Builder 

and try to reconfigure it in the same manner, may be useful:

https://community.nxp.com/docs/DOC-341481 

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

0 件の賞賛
返信