Home/Support/Support Forum/ConnectCore 6UL SBC Pro DEY 3.0 r2 gpiomon not working
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

ConnectCore 6UL SBC Pro DEY 3.0 r2 gpiomon not working

0 votes
Hello

A console image was generated with DEY 3.0 r2 on Nov. 3rd. 2020.

While gpiodetect, gpioinfo, gpioset, gpioread were working properly
gpiomon was not working.

These were my attempts:
root@btc:~# gpiomon 6 4
gpiomon: error waiting for events: No such device
root@btc:~# gpiomon ioexp-gpio 4
gpiomon: error waiting for events: No such device
root@btc:~# gpiomon --num-events 1 --rising-edge ioexp-gpio 4
gpiomon: error waiting for events: No such device
root@btc:~# gpiomon --num-events 1 --rising-edge gpiochip6 4
gpiomon: error waiting for events: No such device
root@btc:~# gpioget ioexp-gpio 4
1
root@btc:~# gpioget ioexp-gpio 4
0
root@btc:~# gpiomon ioexp-gpio 4
gpiomon: error waiting for events: No such device
root@btc:~# gpiomon gpiochip6 4
gpiomon: error waiting for events: No such device
root@btc:~# gpiomon gpiochip5 4
gpiomon: error waiting for events: No such device
root@btc:~# gpiomon gpiochip5 3
gpiomon: error waiting for events: No such device
root@btc:~# gpiomon --format="%e %o %s %n" --falling-edge gpiochip6 4
gpiomon: error waiting for events: No such device

Regards
Uwe
asked Nov 5, 2020 in Embedded Devices by uwel New to the Community (4 points)

Please log in or register to answer this question.

1 Answer

0 votes
The pin has to be configured as GPIO for this to work.
on SBC Pro:
https://www.digi.com/resources/documentation/digidocs/embedded/dey/3.0/cc6ul/bsp_r_gpio_6ul

On the ConnectCore 6UL SBC Pro GPIO connector:

Pad Signal GPIO
12 EXP_GPIO_2 GPIO1_IO03

root@ccimx6ulsbc:~# gpiomon gpiochip1 3
root@ccimx6ulsbc:~# gpiomon gpiochip4 14
root@ccimx6ulsbc:~# gpiomon gpiochip1 5
And it works for me. Can you please check?
Please note that GPIO mon is only working for pins that are Interrupt (IRQ) capable.
answered Nov 6, 2020 by LeonidM Veteran of the Digi Community (4,359 points)
edited Nov 9, 2020 by LeonidM
...