3,6 TFTlcd ST7793 white screen

Hello. I bought 3,6 TFTlcd display with 240x400 resolution. It is was working very good with mcufriend library, but then it is showing only white screen.
There is something to show from diagnose_tft_support.ino

Diagnose whether this controller is supported
There are FAQs in extras/mcufriend_how_to.txt

tft.readID() finds: ID = 0x7490

MCUFRIEND_kbv version: 3.0.0


This ID is not supported
look up ID in extras/mcufriend_how_to.txt
you may need to edit MCUFRIEND_kbv.cpp
to enable support for this ID
e.g. #define SUPPORT_8347D

New controllers appear on Ebay often
If your ID is not supported
run LCD_ID_readreg.ino from examples/
Copy-Paste the output from the Serial Terminal
to a message in Displays topic on Arduino Forum
or to Issues on GitHub

Note that OPEN-SMART boards have diff pinout
Edit the pin defines in LCD_ID_readreg to match
Edit mcufiend_shield.h for USE_SPECIAL
Edit mcufiend_special.h for USE_OPENSMART_SHIELD_PINOUT

And serial output from LCD_ID_readreg.ino

Read Registers on MCUFRIEND UNO shield
controllers either read as single 16-bit
e.g. the ID is at readReg(0)
or as a sequence of 8-bit values
in special locations (first is dummy)

reg(0x0000) 74 90	ID: ILI9320, ILI9325, ILI9335, ...
reg(0x0004) 00 00 00 00	Manufacturer ID
reg(0x0009) 09 09 09 09 09	Status Register
reg(0x000A) 0A 0A	Get Power Mode
reg(0x000C) 00 00	Get Pixel Format
reg(0x0061) 01 01	RDID1 HX8347-G
reg(0x0062) 02 02	RDID2 HX8347-G
reg(0x0063) 03 03	RDID3 HX8347-G
reg(0x0064) 00 00	RDID1 HX8347-A
reg(0x0065) 01 01	RDID2 HX8347-A
reg(0x0066) 02 02	RDID3 HX8347-A
reg(0x0067) 03 03	RDID Himax HX8347-A
reg(0x0070) 00 00	Panel Himax HX8347-A
reg(0x00A1) 01 01 01 01 01	RD_DDB SSD1963
reg(0x00B0) 00 00	RGB Interface Signal Control
reg(0x00B4) 00 00	Inversion Control
reg(0x00B6) 02 02 02 02 02	Display Control
reg(0x00B7) 03 03	Entry Mode Set
reg(0x00BF) 03 03 03 03 03 03	ILI9481, HX8357-B
reg(0x00C0) 00 00 00 00 00 00 00 00 00	Panel Control
reg(0x00C8) 00 00 00 00 00 00 00 00 00 00 00 00 00	GAMMA
reg(0x00CC) 00 00	Panel Control
reg(0x00D0) 00 00 00	Power Control
reg(0x00D2) 02 02 02 02 02	NVM Read
reg(0x00D3) 03 03 03 03	ILI9341, ILI9488
reg(0x00D4) 00 00 00 00	Novatek ID
reg(0x00DA) 02 02	RDID1
reg(0x00DB) 03 03	RDID2
reg(0x00DC) 00 00	RDID3
reg(0x00E0) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00	GAMMA-P
reg(0x00E1) 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01	GAMMA-N
reg(0x00EF) 03 03 03 03 03 03	ILI9327
reg(0x00F2) 02 02 02 02 02 02 02 02 02 02 02 02	Adjust Control 2
reg(0x00F6) 02 02 02 02	Interface Control

What can i do to fix it?

Sometimes this is showing 0xD3D3 ID, or 0x101 or 0x0

Have you tried the libraries for these?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.