buydisplay.com
EastRising
ER-TFT028A2-4-5465 “UartTFT.ini” example as follow:
[INFO]
PCVersion: V10 // SW Version : 0x10=V1.0, 0x11=V1.1, 0x12=V1.2 .....
COMPort: UART // COM Port: 0x00=UART, 0x01=SPI, 0x02=I2C
Baudrate: 115200 // UART Baudrate
PCBVersion: V10 // PCB Version : 0x10=V1.0, 0x11=V1.1, 0x12=V1.2 .....
MCUBit: 32 // MCU Data Bus: 0x00 = 8bit, 0x01 = 16bit, 0x02 = 32bit
MCUType: EastRising // MCU Maker: 0x00 = EastRising, 0x01 = STM, 0x02 = STC
MCUIF: SPI // MCU to ER-TFT028A2-4-5465 I/F: 0x00 = 8080, 0x01 = SPI, 0x02 = I2C
768Type: 268B // 0x00: 7680A, 0x01: 7680B, 0x02: 7681, 0x03: 7683,
// 0x04: 7686, 0x05: 7688, 0x06: 268A, 0x07: 268B
768IF: SPI // MCU to LT768 I/F: 0x00 = 8080-8,0x01 = 8080-16,
// 0x02 = SPI, 0x03 = I2C
XSIZE: 240 // TFT Panel X-Size
YSIZE: 320 // TFT Panel Y-Size
VBPD: 23 // Vsync Back-Porch
VFPD: 22 // Vsync Front-Porch
VSPW: 3 // Vsync Pulse Width
HBPD: 46 // Hsync Back-Porch
HFPD: 210 // Hsync Front-Porch
HSPW: 20 // Hsync Pulse Width
PCLKRISING: 1 // 0: Panel fetches XPDAT at XPCLK rising edge,1:falling edge
HSYNCPolarity: 0 // 0 : Low active, 1 : High active.
VSYNCPolarity: 0 // 0 : Low active, 1 : High active.
DEPolarity: 1 // 0 : Low active, 1 : High active.
RGBSequence: RGB // 000b : RGB,001b : RBG,010b : GRB,011b : GBR,100b : BRG,101b : BGR
ColorDepth: 16 // Color Depth: 0x00 = 8bit, 0x01 = 16bit, 0x02 = 24bit
FlashType: NOR // FlashType: 0x00 = NOR Flash, 0x01 = NAND Flash
FlashSize: 128 // Flash Size, Unit: 1MByt
[USERCMD]
9Ah #00: 0x80, 0x00, 0xD9, 0x00, 0xA0, 0x00 //Boot
A0h #00: 6, 0, 79, 150, 0x80, 0x01, 0xA0, 0x01
A0h #01: 7, 1, 82, 270, 0x80, 0x02, 0x80, 0x04, 0x80, 0x08, 0xA0, 0x02 //Home
A0h #02: 7, 1, 82, 270, 0x80, 0x02, 0x88, 0x00, 0xA0, 0x03
A0h #03: 7, 1, 82, 270, 0x80, 0x02, 0xD9, 0x01, 0xA0, 0x04
A0h #04: 7, 1, 82, 270, 0x80, 0x02, 0x80, 0x09, 0x81, 0x00, 0x81, 0x01, 0x81, 0x02, 0xA0, 0x05
A0h #05: 7, 1, 82, 270, 0x80, 0x02, 0x80, 0x0A, 0xA0, 0x06
A0h #06: 7, 1, 82, 270, 0x80, 0x03, 0x81, 0x03, 0xA0, 0x07
A0h #07: 5, 1, 82, 270, 0x9A, 0x00
80h #00: 0, 0, 0, 0 // Show Picture 1
80h #01: 1, 0, 0, 0 // Show - Fruit
80h #02: 2, 0, 0, 0 // Show Picture 2
80h #03: 3, 0, 0, 0 // Show Picture 3
80h #04: 4, 1, 23, 105 // Cmp
80h #05: 5, 0, 82, 270 // Home
80h #06: 6, 0, 90, 156 // ER-TFT028A2-4-5465 PKG
80h #07: 7, 0, 82, 270 // Next
80h #08: 8, 1, 145, 120 // Winner
80h #09: 12, 1, 31, 82 // Bar-1
80h #0A: 13, 0, 15, 85 // Font
80h #0B: 45, 0, 0, 0 // Show Picture 4
80h #0C: 46, 0, 0, 0 // Show Picture 5
80h #0D: 47, 0, 0, 0 // Show Picture 6