cancel
Showing results for 
Search instead for 
Did you mean: 

Console application gpiomon not working for all ports STM32MP157caa3

MWoło.2
Senior II

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

1 REPLY 1
MWoło.2
Senior II

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?