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

1,065件の閲覧回数
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 返答(返信)

1,024件の閲覧回数
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello @srinivas_123 

 

Could you please share your device tree?

 

Best regards.

 

Salas.

0 件の賞賛
返信

1,008件の閲覧回数
srinivas_123
Contributor III

dear @Manuel_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 件の賞賛
返信