Skip to main content
Visitor II
March 10, 2023
Question

Console application gpiomon not working for all ports STM32MP157caa3

  • March 10, 2023
  • 1 reply
  • 3577 views

Hello,

I have rather a simple question. In my project, I have 16 discrete inputs. I need to test all but only if works or not. From a hardware engineer's point of view, it is sufficient. For the test, I try to use a simple console syntax

gpiomon --silent --num-events=1 gpiochip7 2

Unfortunately, I have 3 discrete inputs which not working and after the issue above I get

gpiomon: error waiting for events: No such device

I also checked using gpiomon and this particular gpio port is free.

	line 2: "PH2" unused input active-high

Thanks for the hints.

BR

Michal

    This topic has been closed for replies.

    1 reply

    MWoło.2Author
    Visitor II
    March 10, 2023

    when invoking gpiomon in the console I get

    stm32mp157-pinctrl soc:pinctrl@50002000: irq line 2 already requested.

    Why is it that, I never configure this pin as an interrupt?