Up squared change a GPIO pin (HAT) from input to output (or reversed)?
I have 2 Up Squared boards and I can not change the state of any GPIO pins (HAT) from input to output (or reversed) on Linux.
I saw that GPIO pins are connected to an FPGA and the IO state must be redefined in the BIOS setting. Is it possible to change the GPIO state on the software/OS side?
Answers
-
Hi @nhattan,
Yes it is possible. Kindly go through the guide in the links below.
https://github.com/up-board/up-community/wiki/Ubuntu_18.04#install-ubuntu-kernel-540-from-ppa-on-ubuntu-1804
https://github.com/up-board/up-community/wiki/Ubuntu_18.04#install-upboard-extras
https://github.com/up-board/up-community/wiki/Ubuntu_18.04#enable-the-hat-functionality-from-userspace
https://github.com/up-board/up-community/wiki/Ubuntu_18.04#add-groupshttps://github.com/up-board/up-community/wiki/Pinout_UP2#gpio
Best Regards,
Tagged
Categories
- All Categories
- 63 Announcements & News
- 48 Product News - New Product/Product Change Notice/ End-of-life
- 96 Welcome Developers!
- 45 Unboxing & Project Sharing
- 22 Tech Updates
- 3.4K UP Products
- 15 UP 7000
- 1 UP Squared i12
- 11 UP Xtreme i12
- 13 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 23 UP Squared V2
- 65 UP 4000
- 23 UP Xtreme i11
- 34 UP Squared 6000
- 56 UP Squared Pro
- 136 UP Xtreme
- 820 UP Squared
- 1.4K UP Board
- 74 UP Core Plus
- 217 UP Core
- 3 UP Xtreme Lite
- 40 UP AI Edge
- 264 Starter Kits & Peripheral