XPT2046 Device Tree Overlay for Orange Pi PC Plus
Budget: $30 – $250 USD
Create a Device Tree Overlay for Orange Pi PC Plus enabling the Touch Controller - XPT2046
We want to enable the touch controller XPT2046 and use it in Orange Pi PC Plus
Requirements:
- Hardware: Orange Pi PC Plus
- The Linux Distro: https://www.armbian.com/orange-pi-pc/ - Armbian based 5.10.y
- The display: http://www.lcdwiki.com/3.5inch_HDMI_Display-B
- Touch Controller: XPT2046 - https://ldm-systems.ru/f/doc/catalog/HY-TFT-2,8/XPT2046.pdf
- Usage of the SPI0 of the Orange PI PC Plus
- The touch controller will need an IRQ. We want to use the PA2, the final configuration will be:
# SPI0
PC0
PC1
PC2
PC3
# IRQ / GPIO
PA2
We need the source code (dts) enabled for this distro (Armbian)
We want to enable the touch controller XPT2046 and use it in Orange Pi PC Plus
Requirements:
- Hardware: Orange Pi PC Plus
- The Linux Distro: https://www.armbian.com/orange-pi-pc/ - Armbian based 5.10.y
- The display: http://www.lcdwiki.com/3.5inch_HDMI_Display-B
- Touch Controller: XPT2046 - https://ldm-systems.ru/f/doc/catalog/HY-TFT-2,8/XPT2046.pdf
- Usage of the SPI0 of the Orange PI PC Plus
- The touch controller will need an IRQ. We want to use the PA2, the final configuration will be:
# SPI0
PC0
PC1
PC2
PC3
# IRQ / GPIO
PA2
We need the source code (dts) enabled for this distro (Armbian)