Toggle imx8qm M40_GPIO0_01

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

Toggle imx8qm M40_GPIO0_01

Jump to solution
539 Views
eburley
Contributor III

Is it possible to use this pin as gpio?

I'm trying to toggle the M40_GPIO0_01 pin as an output.  No matter what I try, the pin stays low.

It is muxed to LPIO_GPIO0_09.

What I've tried:

echo 489 > /sys/class/gpio/export

echo out > /sys/class/gpio/gpio489/direction

echo 1 > /sys/class/gpio/gpio489/value

Result: Pin stays low.

I've also attempted to set the pin as an LED, with no luck.

I've also attempted to set it as an always on regulator, with no luck.

(I am able to toggle GPT1_Compare/LPIO_GPIO0_19 using the first technique.  This pin uses the same power group.)

0 Kudos
1 Solution
531 Views
igorpadykov
NXP Employee
NXP Employee
0 Kudos
1 Reply
532 Views
igorpadykov
NXP Employee
NXP Employee
0 Kudos