GPIO handling after shutdown IMX6ULL

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

GPIO handling after shutdown IMX6ULL

跳至解决方案
1,375 次查看
amiraj_patel
Contributor I

hello,

we are using the IMX6ull Processor and used with our device and we want to add the power/reset switch to the device.

we are using yocto image dunfell.

so for graceful shutdown we have used the command "shutdown -h now"

after the successful execution all peripherals and interfaces are disabled but however the GPIO still hold it's state,

1. is there any way to shutdown and also clear the GPIOs after executing shutdown ? 

2. if yes, how we can do so ?

标签 (1)
0 项奖励
回复
1 解答
1,305 次查看
Chavira
NXP TechSupport
NXP TechSupport

Hi @amiraj_patel!

 

I am not sure if that switch can be implpemented in the toradex board.

 

I recommend contacting Toradex Support.

 

https://community.toradex.com/

 

Best Regards!

Chavira

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,350 次查看
Chavira
NXP TechSupport
NXP TechSupport

Hi @amiraj_patel!

 

Thank you for contacting NXP Support!

 

By default when you turn off the processor all ports are turned off too.

 

For this case I recommend the next:

 

1) Check your power on/off sequence and compare it with the datasheet.

 

2) Check your schematic and see how is connected your LED to the processor.

if is possible share your schematic.

 

Best Regards!

Chavira

0 项奖励
回复
1,324 次查看
amiraj_patel
Contributor I

we are using right now the imx6ull of Toradex,

here is the link for some and the carrier board

SOM - https://www.toradex.com/computer-on-modules/colibri-arm-family/nxp-imx6ull?utm_term=imx6ull&utm_camp...

Carrier Board - https://www.toradex.com/products/carrier-board/viola-carrier-board?srsltid=AfmBOop7Ua0jZdnIPaAIB_9te...

I want to use one GPIO as a Power on/off button and the GPIO needs to be clear after a successful shutdown operation.

and I also want the functionality of power on with the same can you suggest anything?

we are planning to use the power kill switch - https://www.analog.com/media/en/technical-documentation/data-sheets/2954fb.pdf

let me know if there are any other details you want to know.

0 项奖励
回复
1,306 次查看
Chavira
NXP TechSupport
NXP TechSupport

Hi @amiraj_patel!

 

I am not sure if that switch can be implpemented in the toradex board.

 

I recommend contacting Toradex Support.

 

https://community.toradex.com/

 

Best Regards!

Chavira

0 项奖励
回复