Generic ST7789V Display Shield
Overview
This is a generic shield for display shields based on ST7789V display controller. More information about the controller can be found in ST7789V Datasheet [1].
Pins Assignment of the Generic ST7789V Display Shield
Arduino Connector Pin |
Function |
|
|---|---|---|
D3 |
TC IRQ |
|
D5 |
SPI CS SD |
(SD Card Chip Select) |
D6 |
SPI CS TC |
(Touch Screen Chip Select) |
D8 |
ST7789V Reset |
|
D9 |
ST7789V DC |
(Data/Command) |
D10 |
SPI SS |
(Serial Slave Select) |
D11 |
SPI MOSI |
(Serial Data Input) |
D12 |
SPI MISO |
(Serial Data Out) |
D13 |
SPI SCK |
(Serial Clock Input) |
TI BoosterHeader connector: +———————–+——————————————–+ | BoosterHeader Pin | Function | +=======================+===============+============================+ | P3 | SPI CS SD | (SD Card Chip Select) | +———————–+—————+—————————-+ | P4 | ST7789V Reset | | +———————–+—————+—————————-+ | P7 | SPI SCK | (Serial Clock Input) | +———————–+—————+—————————-+ | P14 | SPI MISO | (Serial Data Out) | +———————–+—————+—————————-+ | P15 | SPI MOSI | (Serial Data Input) | +———————–+—————+—————————-+ | P18 | SPI CS LCD | (LCD Chip Select) | +———————–+—————+—————————-+ | P30 | ST7789V DC | (Data/Command) | +———————–+—————+—————————-+ | P37 | SPI CS TC | (Touch Screen Chip Select) | +———————–+—————+—————————-+ | P38 | TC IRQ | (Touch Screen Interrupt) | +———————–+—————+—————————-+
Current supported displays
Display |
Shield Designation |
|---|---|
TL019FQV01 |
st7789v_tl019fqv01 |
Waveshare 240x240 1.3inch IPS LCD |
st7789v_waveshare_240x240 |
Waveshare 240x320 2.8inch TFT TOUCH SCREEN |
st7789v_waveshare_240x320 |
Requirements
This shield can only be used with a board that provides a configuration for Arduino connectors and defines node aliases for SPI and GPIO interfaces (see Shields for more details).
Programming
Set --shield st7789v_tl019fqv01 when you invoke west build. For example:
# From the root of the zephyr repository
west build -b nrf52840dk/nrf52840 --shield st7789v_tl019fqv01 samples/subsys/display/lvgl