Arduino Due LCD TFT Touchscreen SPI example in Microchip Studio 7

preview_player
Показать описание
In this video:
- example implementation of LCD Display with ILI9341 driver,
- example use of resistive touchscreen with XPT2046 driver,
- interface with SPI.

SUPER IMPORTANT!!!
SPI has to be in mode 3 for the xpt2046 to give valid x-y position data! This means clock polarity set to 1 and phase set to 1.

NOTICE
On my LCD board the SPI lines of the touch controller are soldered to SPI lines of the display in order T_DO = SDO(MISO), T_DIN = SDI(MOSI), T_CLK = SCK, since the Arduino Due has only one SPI instance on the pin headers.

Link to the repo of the projects:

Other useful links:
Рекомендации по теме