How to control the power switch in imx6q

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to control the power switch in imx6q

1,270 次查看
laxmankumar
Contributor II

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

标签 (1)
0 项奖励
回复
2 回复数

1,218 次查看
weidong_sun
NXP TechSupport
NXP TechSupport

Hello laxman,

    Please see schematic of i.MX6Q SabreSDB board!

pastedImage_1.png

SW1 is what you want. try it , please!

Have a nice day!

BR,

NXP TIC weidong

0 项奖励
回复

1,218 次查看
laxmankumar
Contributor II

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

0 项奖励
回复