Spec:
Item Type: Color Display LCD Module
Material: PCB
Purpose: DIY Study, Test, Experiment
Working Voltage: 2.6 ~ 5.5V
Resolution: 240 x 135pixels
Communication Interface: 4-Wire SPI
Display Size: Approx. 24.91 x 14.86mm / 1 x 0.6in
Display Panel: IPS
Size: 0.1101 x 0.1035mm
Control Chip: ST7789
Product Size: Approx. 52.00 x 25.00mm / 2 x 1in
Package List:
1 x Color Display LCD Module
How To Use:
1. The difference from the traditional SPI protocol is because it only needs to be displayed, the data line sent from the machine to the host is concealed. is reset, pulled low when the module is powered on, usually set to 1.
2. CSX is the slave chip select, the chip will be enabled only when CS is low.
3. D/CX is the data and command control pin of the chip, when DC is 0, write command, when DC is 1, write data.
4. SDA is the transmitted data, namely RGB data; SCL is the SPI communication clock.
5. For SPI communication, data has a transmission sequence, that is, a combination of clock phase () and clock polarity (CPOL): the level of determines whether the serial synchronous clock is collected on the first clock transition or the second clock transition . When is 0, data collection is performed on the first transition .
6. The level of CPOL determines the idle state level of the serial synchronous clock, CPOL is 0, which is the low level.
7. When the first falling of SCLK starts to transmit data, 8bit data is transmitted in one clock cycle, using SPI0, bit‑by‑bit transmission, high‑order first, low‑order second.