User button as a wake up source in IMX8ULP EVK9

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

User button as a wake up source in IMX8ULP EVK9

426 Views
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?

Labels (1)
0 Kudos
Reply
0 Replies