The latest development version of this page may be more current than this released 2.2.0 version.

Adafruit 2.8” TFT Touch Shield v2

Overview

The Adafruit 2.8” TFT Touch Shield v2 with a resolution of 320x240 pixels, is based on the ILI9341 controller. This shield comes with a resistive (STMPE610 controller) or capacitive (FT6206 controller) touchscreen. While the Zephyr RTOS supports display output to these screens, it currently does not support touchscreen input. More information about the shield can be found at the Adafruit 2.8” TFT Touch Shield v2 website 1.

Pins Assignment of the Adafruit 2.8” TFT Touch Shield v2

Shield Connector Pin

Function

D4

MicroSD SPI CSn

D8

STMPE610 SPI CSn (Resistive Touch Version)

D9

ILI9341 DC (Data/Command)

D10

ILI9341 SPI CSn

D11

SPI MOSI (Serial Data Input)

D12

SPI MISO (Serial Data Out)

D13

SPI SCK (Serial Clock Input)

SDA

FT6206 SDA (Capacitive Touch Version)

SCL

FT6206 SCL (Capacitive Touch Version)

Requirements

This shield can only be used with a board which provides a configuration for Arduino connectors and defines node aliases for SPI and GPIO interfaces (see Shields for more details).

Programming

Set -DSHIELD=adafruit_2_8_tft_touch_v2 when you invoke west build. For example:

# From the root of the zephyr repository
west build -b nrf52840_pca10056 samples/gui/lvgl -- -DSHIELD=adafruit_2_8_tft_touch_v2