GPIO state when waking up from deep sleep

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

GPIO state when waking up from deep sleep

1,956件の閲覧回数
roman_gorbenkov
Contributor I

Dear all,

I failed to find in documentation any explicit information on what happens to i.mx6 GPIOs when it is suspended to RAM (DORMANT mode)? Do GPIOs retain their values or are they reset to default? And what is the GPIO behaviour on wakeup?

ラベル(1)
タグ(1)
3 返答(返信)

1,770件の閲覧回数
karangajjar
Senior Contributor II

Hi Roman Gorbenkov,

Can you please refer below thread and let us know if that answers your query:

can the gpio pull up state keep in mem sleep mode ? 

Regards,

Karan Gajjar

1,770件の閲覧回数
roman_gorbenkov
Contributor I

Hello karan.gajjar@volansystech.com,

It does answer the first part of my question, thanks for heads up. However, I'm still not sure what happens on wakeup - is GPIO configuration restored to whatever it was before sleep? Or does it stay default, requiring reconfiguration?

Thank you for your time,
Roman

0 件の賞賛
返信

1,770件の閲覧回数
karangajjar
Senior Contributor II

Hi Roman Gorbenkov,

Sorry for late response. 

Yes, GPIO will keep the previous state on suspend/resume. You can use following example to export the GPIO and to suspend/resume the evk.

Freescale i.MX 6 & linux & gpio led example - Toradex Community 

https://community.nxp.com/thread/308143 

Regards,

Karan Gajjar