GPIO handling after shutdown IMX6ULL

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

GPIO handling after shutdown IMX6ULL

Jump to solution
361 Views
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 ?

Labels (1)
0 Kudos
Reply
1 Solution
291 Views
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

View solution in original post

0 Kudos
Reply
3 Replies
336 Views
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 Kudos
Reply
310 Views
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 Kudos
Reply
292 Views
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 Kudos
Reply