LabWired The easy way to build hardware
SPI device

ILI9341 TFT

The ILI9341 TFT is an SPI device in the LabWired part catalog. Its catalog type is ili9341. It connects to the MCU over SPI. It has 8 pins. A registered peripheral model runs in the engine: the firmware talks to it over the real bus and gets device-accurate responses.

Key facts

CategorySPI devices
Catalog typeili9341
InterfaceSPI
Pins8
DatasheetIlitek ILI9341 datasheet

What LabWired simulates

What is simulated

Simulated device model

How it was validated

Built from the datasheet. Implemented from the part’s register documentation and exercised by automated tests. Nothing physical was ever placed next to it.

ILI9341 TFT pinout

PinElectrical typeFunction
VCC Power input Supply
GND Power input Supply
CS Input SPI chip select (CS)
RESET Input GPIO
DC Input GPIO
MOSI Input SPI data out of the MCU (MOSI)
SCK Input SPI clock (SCK)
LED Input PWM

How to simulate the ILI9341 TFT in LabWired

  1. Open the Playground at app.labwired.com and place an MCU board.
  2. Add the ILI9341 TFT (catalog type ili9341).
  3. Connect VCC and GND to the supply and ground of the board.
  4. Connect SCK and MOSI to the SPI pins of the board.
  5. Connect CS to the chip-select pin of the board, or to a free GPIO.
  6. Connect LED to a pin that can output PWM.
  7. Connect RESET and DC to free GPIO pins.
  8. Run the firmware. It selects the part and moves bytes over the simulated SPI bus as on hardware.

Related SPI devices

All SPI devices · All parts

Further reading

Modelled from Ilitek ILI9341 datasheet.