User button as a wake up source in IMX8ULP EVK9

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

User button as a wake up source in IMX8ULP EVK9

407件の閲覧回数
dhruvinrajpura
Contributor III

Hello,

I'm using the IMX8ULP EVK9 board, which has two push buttons: SW2 and SW4, connected to pins PTE17 and PTF26. I want to set up these buttons as wake-up sources so that when the A core is in sleep mode, pressing either button will wake it up, and I will also receive an event in my code.

What changes do I need to make in the Device Tree (DTS) file, and how can I capture the event in my C code?

ラベル(1)
0 件の賞賛
返信
0 返答(返信)