i want to blink the external led using gpio pins in nxp imx8mplus (imx8mp-lpddr4-evk) board

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

i want to blink the external led using gpio pins in nxp imx8mplus (imx8mp-lpddr4-evk) board

401 Views
srinivas_123
Contributor II

srinivas_123_0-1710768631683.jpeg

 

srinivas_123_4-1710769544567.jpeg

I would like to use 13,14,15,16th number pins to blink leds.

 

 

I  build the  yocto linux ->imx-linux-mickledore ,imx-6.1.55-2.2.0.xml.

I added the libgpiod package to image .

after execute the command :gpioset gpiochip5 9=1 , it gives gpioset: invalid line value :'gpiochip5'

is this the correct syntax(way) to execute the above gpioset  command . suppose if it is correct ,what is the actual output of that command.

whether i need to connect externally(any hardware) to the board to work this commands.it means is it requires  to connect the led to the board to  get actual output. 

how to avoid invalid line value error?

what is the correct approach to blink the led using gpio's  on the board?

0 Kudos
Reply
2 Replies

360 Views
Alejandro_Salas
NXP TechSupport
NXP TechSupport

Hello @srinivas_123 

 

Could you please share your device tree?

 

Best regards.

 

Salas.

0 Kudos
Reply

344 Views
srinivas_123
Contributor II

dear @Alejandro_Salas 

i attached the dts file , could you please help me out how to approach and why this gpioset  or gpioget commands are not working.

could you please let me know what is the best approach to use GPIO'S for blinking the external or internal leds on evk board.

 

Thanks &Regards

 

0 Kudos
Reply