Hi,
I'm using imx6q sabresd board.
My question is how to control the power switch for Android based on normal press and long press...
What exactly have to do? Which pin have to make enable according to power button press.
I'm not understood that how that actually works for normal press and long press..
Please help me..
Thank you,
Regards,
Laxman
Hello laxman,
Please see schematic of i.MX6Q SabreSDB board!
SW1 is what you want. try it , please!
Have a nice day!
BR,
NXP TIC weidong
Thank you so much for reply,
Now i came to know the switch.
My requirement is handle the power switch. That power switch should work like as our android mobile power switch. I mean if a press 5 sec then only it should begin the boot and boot should happen and vise versa during power off. In which file i have to see the switch bounce and how can i handle the switch for long press to boot the processor. how does processor detects the long press and how it works accordingly.
Thank you so much,
Regards,
laxman