Arduino shield GPIO on Aster board

Hello,
I wonder if there is any DTB configuration running the Arduino shield out of the box.
I am struggling to figure out how to use the GPIOs on connector X17.

The Aster seems a limited carrier board and is not well documented as the other like Iris for example.

For example, the only document available for GPIO and Aster is for MX7 and the details are not complete:
https://developer.toradex.com/getting-started/module-3-hardware-peripherals/basic-gpio-usage-aster-carrier-board-colibri-imx7

For example I want to test UNO_GPIO1 (X17 pin 3) which is connected to SODIMM pin 45
If I run the GPIO tool and I select GPIO and OUTPUT it doesn’t work.

If I set the GPIO 54 as output (corresponding to GPIO2_02)

	echo 54 > /sys/class/gpio/export
	echo "out" > /sys/class/gpio/gpio54/direction
	echo 0 > /sys/class/gpio/gpio54/value
	echo 1 > /sys/class/gpio/gpio54/value

Doesn’t work.

Any help would be appreciated.
Thanks

But according to this developer website article GPIO2_IO02 would actually rather correspond to GPIO 34. Plus did you set JP2 accordingly?

It was a typo, sorry.
As you may know the Arduino Connector (X17) PIN #3 is on GPIO2_IO22, so /sys/class/gpio/gpio54.

Any clue?

And you did mux the pin properly in the device tree as per the following article?

I expected that the default Aster configuration and dts,dtsi was already ready to use for the carrier board.
Does one have to set up it properly?

Hi

  • What exact SW version are you using?
  • Did you change to use the ‘imx6dl-colibri-aster.dtb’ file?
  • Did you set JP2 to your needs as Marcel mentioned above?
  • Why do you know that the output does not work?

Max

I bought a Viola Plus board and everything works out of the box.
Thank you

Thanks for you Input. So you don’t use the Aster Carrier Board anymore?

Hi Jasky, sorry I have no time to debug your DT, I’ll keep Aster in the drawer :wink:

Ok, that’s fine. You can take Aster ou once you need it and feel free to ask then questions.