Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unnamed GPIO with gpiod on CB1 #174

Open
stantonik opened this issue Apr 2, 2024 · 3 comments
Open

Unnamed GPIO with gpiod on CB1 #174

stantonik opened this issue Apr 2, 2024 · 3 comments

Comments

@stantonik
Copy link

stantonik commented Apr 2, 2024

I want to control GPIO on the CB1. I saw that it is possible with gpiod. In my case, pin names don't appear but there are more than 300 pin and without the alias I can't know what is who. Do you know how to solve it ? I saw that I need to make a .dts file in the root but where can I find which line of a "$sudo gpioinfo" corresponds to which GPIO ?

@BadFlamingo666
Copy link

I am also having this problem. I have applied the "light" overlay in BoardEnv.txt but that seems not to work.

@sergei-iliev
Copy link

Here is my finding on 'gpiochip0' up until now
Header pin 7 ,PC7, corresponds to line 71
Header pin 37 ,PC15 , corresponds to line 79
Header pin 40 , PC8 , corresponds to line 72
I can toggle those header pins using libgpiod C/C++ lib

@Pneumanifest
Copy link

The user manual has the information about the gpio numbering, but here's a screenshot to help.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants