MCUFRIEND Ardunio UNO 3.5" ILI9488 colors off

Hi,I i have MCUFRIEND_KBV library for the ILi9488 MCUFRIEND Display made for Ardunio UNO and i confirmed it with the test sketch and it works but there were lines and boxes and it looked terrible and the colors were completely off!
I changed the following settings in the .cpp file from0x3A, 1, 0x55, //Interlace Pixel Format [XX] to
0x3A, 1, 0x36, //Interlace Pixel Format [XX] and it made improvement but the colors were not 'punchy' like red,green,blue were bit off. Any Solutions?
LCD_ID sketch:
reg(0x0000) 00 00 ID: ILI9320, ILI9325, ILI9335, ...
reg(0x0004) 00 54 80 66 Manufacturer ID
reg(0x0009) 00 00 61 00 00 Status Register
reg(0x000A) 00 08 Get Power Mode
reg(0x000C) 00 06 Get Pixel Format
reg(0x0061) 00 00 RDID1 HX8347-G
reg(0x0062) 00 00 RDID2 HX8347-G
reg(0x0063) 00 00 RDID3 HX8347-G
reg(0x0064) 00 00 RDID1 HX8347-A
reg(0x0065) 00 00 RDID2 HX8347-A
reg(0x0066) 00 00 RDID3 HX8347-A
reg(0x0067) 00 00 RDID Himax HX8347-A
reg(0x0070) 00 00 Panel Himax HX8347-A
reg(0x00A1) 00 93 30 93 30 RD_DDB SSD1963
reg(0x00B0) 00 00 RGB Interface Signal Control
reg(0x00B4) 00 02 Inversion Control
reg(0x00B6) 00 02 02 3B 3B Display Control
reg(0x00B7) 00 06 Entry Mode Set
reg(0x00BF) 00 00 00 00 00 00 ILI9481, HX8357-B
reg(0x00C0) 00 0E 0E 0E 0E 0E 0E 0E 0E Panel Control
reg(0x00C8) 00 B0 B0 B0 B0 B0 B0 B0 B0 B0 B0 B0 B0 GAMMA
reg(0x00CC) 00 03 Panel Control
reg(0x00D0) 00 00 00 Power Control
reg(0x00D2) 00 00 00 00 0D NVM Read
reg(0x00D3) 00 00 94 88 ILI9341, ILI9488
reg(0x00D4) 00 97 00 00 Novatek ID
reg(0x00DA) 00 54 RDID1
reg(0x00DB) 00 80 RDID2
reg(0x00DC) 00 66 RDID3
reg(0x00E0) 00 00 07 0C 05 13 09 36 AA 46 09 10 0D 1A 1E 0F GAMMA-P
reg(0x00E1) 00 00 20 23 04 10 06 37 56 49 04 0C 0A 33 37 0F GAMMA-N
reg(0x00EF) 00 00 00 00 00 00 ILI9327
reg(0x00F2) 00 58 04 12 02 22 22 FF 0A 90 14 88 Adjust Control 2
reg(0x00F6) 00 00 00 00 Interface Control

First off. Your TouchScreen glass is broken.
If it arrived like that, ask for your money back.

You have an ILI9488 controller with the 9488_555 hardware problem.
If you intend to display photos, you will never get perfect colours.
If you only want graphics, my kludge will give you some colours.

Update your library with the IDE Library Manager. Current Release is v2.9.7
From memory, the #define SUPPORT_9488_555 is already enabled in MCUFRIEND_kbv.cpp

If you installed an obsolete version from a ZIP, you should:

  1. leave IDE.
  2. Delete the directory.
  3. Start the IDE.
  4. Install from the Library Manager

David.

it worked thanks :smiley: (maybe i broke it :P)

You should get "reasonable" colour grades in the penguin screens.

I would expect your Tiger to look "better" than your photo. I will look at my 9488_555 screen.

Have you asked for your money back ?

David.

do not need too because its my fault for breaking it not his although i ordered it a year ago :stuck_out_tongue: + the touchscreen did work until i used a pencil and that what gave it another crack in the middle ill order one soon if i am satisfied with the result (which i am :D)
indeed it does look better in real life unlike before where the image was broken and and twice as much shades of blue and green.
Speaking with SPI the datasheet suggested that the lcd it self got 3 'modes' SPI,8 bit parallel and 16 bit too on the pins of the display and i am wondering if can solder pins on the display ribbon and see if i can use SPI (if that is the case) i am 20% sure it exists and 80% sure it does not.if those displays do exist notify me :stuck_out_tongue:

Last question before i abandon this post:which display do you recommend to all in terms of size and 'speed'?

320x480 is a convenient size. But 240x320 is very usable.

All MIPI controllers are faster than an AVR can manage. If you can wire the data bus to contiguous GPIO PORT bits the displays are very fast.
The shield "speed" depends on how well the data bus is mapped to the Arduino header sockets.

David.

Thanks for helping me :smiley: i am done now