This is the area to clarify hardware specification if there's anything unclear from the datasheet. If the specification is software related, please ask in the related software section.

All pins at PIN-Head as Input/Output pin?

Options
TimoK93
TimoK93 New Member Posts: 27 ✭✭

Hey all,

am I able to use all pins at the hat connector as GPIO for example to blink a light or react on a mechanical switch?

In this document https://wiki.up-community.org/Pinout_UP2 it sound like "yes":

On UP^2 at system start all the pin in the hat connector are configured in function mode.

So for example the hat pin 3 associated with I2C_SDA function at start is configured as an I2C channel

You can switch the function after booting accessing the gpio pin using linux sysfs gpio interface. For example the following commands will blink an led connected to pin 13 :

Am I right?
Timo

Tagged:

Comments

Tagged