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

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

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

458 次查看
srinivas_123
Contributor III

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 项奖励
回复
2 回复数

417 次查看
Alejandro_Salas
NXP TechSupport
NXP TechSupport

Hello @srinivas_123 

 

Could you please share your device tree?

 

Best regards.

 

Salas.

0 项奖励
回复

401 次查看
srinivas_123
Contributor III

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 项奖励
回复