ODYSSEY – STM32MP157C trouble to find correct GPIO

Hi,

I wondering how I can find the correct pin input/output on linux?
I want to connect a dht22 sensor to STM32MP157C through a gpio but I can’t figure out how to find correct pin in linux…
I don’t have any directory called GPIO in /sys/class and when I’m looking at gpiochip,I’m just confused.

I’m programming in C, if there a library for gpio, I’m happy to know.

thanks in advance.

/Joel

Hi @jofen:
we got python to control gpio maybe it can help you. and there exist pin-map about the 40pin of stm32p1 in our wiki.

1 Like