HY28A-LCDB SPI (ILI9320 + XPT2046)

2.8" 320x240 TFT LCD Display Module with SPI Interface (ILI9320) and Touch controller (XPT2046 = ADS7843).

Hello World

Import programKL25Z_ILI9320_Demo

KL25Z driving an ILI9320 LCD board with touch panel (HY28A-LCDB SPI)

Library

Import librarySPI_TFT_ILI9320

SPI Library for 240x320 TFT LCD with ILI9320, ILI9325 and ILI9328 chip

Pinout

Datasheet

http://mbed.org/media/uploads/frankvnk/ili9320ds_v0.51.pdf

Notes

Note

The ILI9320 library has been adapted to auto-detect following LCD drivers: ILI9320, ILI9325 and ILI9328

Schematic

HY28A-LCDB

Description

LCD ControllerILI9320
Touch Screen ControllerADS7843 or XPT2046
LCD TypeTFT
LCD InterfaceSPI
Touch Screen InterfaceSPI
BacklightLED
Colours65536
Resolution320*240
Pin pitch2.00 mm

Pinout

PINSYMBOLDESCRIPTIONFUNCTION
15V_IN5V power supplyWhen powered from 5V supply, Pin 20 & Pin 21 ( 3V3_IN & 3V3_OUT ) provide 3.3V output.
2GNDGroundPower Ground
3LCDB_SCKLCD SPI clockconnects to SPI SCK
4LCDB_CSLCD chip selectActive low
5LCDB_SDOLCD SPI data outputconnects to SPI MISO
6LCDB_SDILCD SPI data inputconnects to SPI MOSI
7..14NC
15RESETReset the controller chipActive low
16..18NC
19GNDGroundPower Ground
203V3_IN3.3V power supply3V3_IN = 3V3OUT, When powered from 3.3V supply DO NOT CONNECT 5V_IN
213V3_OUT3.3V power supply3V3_IN = 3V3OUT, When powered from 3.3V supply DO NOT CONNECT 5V_IN
22GNDGroundPower Ground
23..31NC
32TP_CSTouch screen chip selectActive low
33TP_SCKTouch screen SPI clockconnects to SPI SCK
34TP_SDITouch screen data inputconnects to SPI MOSI
35TP_SDOTouch screen data outputconnects to SPI MISO
36TP_IRQTouch screen interrupt outputActive low
37, 38NC
39GNDGroundPower Ground
40BL_CTRLBacklight brightness adjustmentControl the backlight brightness via PWM

You need to log in to post a discussion

Questions