OPEN SMART LGDP4524 Unable to get anything at all

Hello @david_prentice

I hope you are doing well. I'm having trouble getting a tft to work and I was hoping you'd help me. I wasnt able to get anything other than white screen with any examples present.

I bought an OPEN-SMART 2.0" LCD w/Touch - Driver IC : LGDP4524 / red PCB with 18 pins.

My board is a keyestudio UNO r3 plus ( the one with 3.3v logic and all the extra pins ) and the screen wiring is, am guessing correct.


LCD_RST A4
LCD_CS A3
LCD_RS A2
LCD_WR A1
LCD_RD A0
LCD_D0 8
LCD_D1 9
LCD_D2 2
LCD_D3 3
LCD_D4 4
LCD_D5 5
LCD_D6 6
LCD_D7 7

Here is the readreg output:

|10:40:08.076 -> reg(0x0000) 45 24|ID: ILI9320, ILI9325, ILI9335, ...|
|---|---|
|10:40:08.122 -> reg(0x0004) 00 00 00 00|Manufacturer ID|
|10:40:08.168 -> reg(0x0009) 00 00 00 00 00|Status Register|
|10:40:08.214 -> reg(0x000A) 45 24|Get Power Mode|
|10:40:08.214 -> reg(0x000C) 00 00|Get Pixel Format|
|10:40:08.260 -> reg(0x0061) 00 00|RDID1 HX8347-G|
|10:40:08.306 -> reg(0x0062) 45 24|RDID2 HX8347-G|
|10:40:08.352 -> reg(0x0063) 45 24|RDID3 HX8347-G|
|10:40:08.398 -> reg(0x0064) 45 24|RDID1 HX8347-A|
|10:40:08.398 -> reg(0x0065) 45 24|RDID2 HX8347-A|
|10:40:08.444 -> reg(0x0066) 45 24|RDID3 HX8347-A|
|10:40:08.491 -> reg(0x0067) 45 24|RDID Himax HX8347-A|
|10:40:08.537 -> reg(0x0070) 45 24|Panel Himax HX8347-A|
|10:40:08.583 -> reg(0x00A1) 00 00 00 00 00|RD_DDB SSD1963|
|10:40:08.629 -> reg(0x00B0) 00 00|RGB Interface Signal Control|
|10:40:08.676 -> reg(0x00B4) 00 00|Inversion Control|
|10:40:08.722 -> reg(0x00B6) 00 00 00 00 00|Display Control|
|10:40:08.768 -> reg(0x00B7) 00 00|Entry Mode Set|
|10:40:08.768 -> reg(0x00BF) 00 00 00 00 00 00|ILI9481, HX8357-B|
|10:40:08.814 -> reg(0x00C0) 00 00 00 00 00 00 00 00 00|Panel Control|
|10:40:08.907 -> reg(0x00C8) 45 24 45 24 45 24 45 24 45 24 45 24 45|GAMMA|
|10:40:08.954 -> reg(0x00CC) 45 24|Panel Control|
|10:40:09.000 -> reg(0x00D0) 45 24 45|Power Control|
|10:40:09.000 -> reg(0x00D2) 45 24 45 24 45|NVM Read|
|10:40:09.046 -> reg(0x00D3) 45 24 45 24|ILI9341, ILI9488|
|10:40:09.093 -> reg(0x00D4) 45 24 45 24|Novatek ID|
|10:40:09.139 -> reg(0x00DA) 45 24|RDID1|
|10:40:09.185 -> reg(0x00DB) 45 24|RDID2|
|10:40:09.185 -> reg(0x00DC) 45 24|RDID3|
|10:40:09.231 -> reg(0x00E0) 00 FF 00 FF 00 FF 00 FF 00 FF 00 FF 00 FF 00 FF|GAMMA-P|
|10:40:09.278 -> reg(0x00E1) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|GAMMA-N|
|10:40:09.370 -> reg(0x00EF) 45 24 45 24 45 24|ILI9327|
|10:40:09.416 -> reg(0x00F2) 00 00 00 00 00 00 00 00 00 00 00 00|Adjust Control 2|
|10:40:09.462 -> reg(0x00F6) 45 24 45 24|Interface Control|

The datasheet I found on this IC: https://www.displayfuture.com/Display/datasheet/controller/LGDP4524.pdf

The actual pic of the screen:

Thanks a bunch in advance and have a nice sunday ahead.
Let me know if you need any other info!

I don't currently support it. I do have the datasheet already.
Yes, your wires are correct.

It is painful to have Dupont cables. If you had bought the Open-Smart Air board the screen would plug straight in !!

I will probably post something on GitHub later.

Looking at the datasheet the 4524 uses different registers and bitfields to ILI9225. It would be quite a lot of work just for one user (unless several readers have LGDP4524)

I presume that Open-Smart have a ZIP that you can use out of the box. (hacked from an obsolete MCUFRIEND_kbv version)

David.

oh boy. thats not good!

You mean i should have a driver cd or something like that when i bought the tft? It just came in a esd bag with no doc or media whatsoever :frowning:

Just ask Open-Smart (or the shop that you bought it from)

e.g. a similar item https://www.aliexpress.com/item/32762075013.html

They sell all sorts of boards but say things like

Part List **(**Schematics and program can be sent, Please contact us)
and

Please Note That (Note: After you buy the product, the documents can be send, Please contact us)

I would be happy to cooperate with Open-Smart. They have some good products. But obviously they will not send "Schematics and program" to me.

The "LGPD4524" doesn't seem to be directly supported by any Arduino library. It IS related to the "HX8357" but the Adafruit library that supports the HX8357 uses an SPI interface.

The good news is that the Adafruit HX8357 Library is just a subclass of the SPITFT part of the Adafruit GFX Library and the SPITFT object has a constructor that can use an 8-bit or 16-bit parallel interface instead of SPI.

The bad news is that all 8 bits of the 8-bit interface HAVE to be in a single port. The only full 8-bit port available on the UNO is PORTD (Arduino pins 0 through 7). That means you CAN'T use Serial (Pins 0 and 1) on an Arduino UNO while using the LCD.

Yes, they are both TFT controllers.
One is an obsolete 176x220 made by LG using 8080-8 parallel interface
The other is 320x480 made by Himax. (with Mipi-style control registers)

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