Due + ILI9488 SPI - Problem

Good day.
My project designed by Arduino Due.
There is a need to switch to TFT SPI display.
I bought a display on the ILI9488.
http://www.lcdwiki.com/3.5inch_SPI_Module_ILI9488_SKU:MSP3520

Please tell me which libraries you can use.
Of particular interest is the possibility of using the UTFT library, since a large code has already been written with its use.

UTFT - does not work.
MCUFRIEND_kbv + UTFTGLUE - does not support SPI.

TFT_eSPI - does not work
... or I have crooked hands

Up!
Need help!

ILI9488 SPI is painful. You need 3 bytes per pixel. i.e. 24-bits per pixel.

You can only configure the SAM3X for 8-16 bits per SPI. Which works nicely for 565 format 16-bit pixels. And for DMA.

It would be pretty straightforward to implement 24-bit pixels on UTFT. After all, UTFT is designed to be SLOW. 24-bit pixels can only help to make it SLOWER.

Bodmer supports ILI9488 with TFT_eSPI. This runs on STM32, ESP8266, ESP32.

I presume that you have already bought your ILI9488 display. The easiest solution is to buy an STM32, ESP8266 or ESP32 board.

Alternatively, buy ST7796S or HX8357-D SPI displays. These support both 16-bit pixels and 24-bit pixels.
Or use ILI9341 SPI displays e.g. with Bodmer's TFT_ILI9341 or Marek's ILI9341_due library.
And of course UTFT supports ILI9341 straight out of the box.

David.

Good afternoon.
Thanks for the detailed answer.

Yes, I already bought such a display.

I'm quite comfortable with UTFT speed.
All I need to do is display the sensors once a second.

Unfortunately, I do not have such deep knowledge to finish UTFT for ILI9488.
Throwing away the display is a pity.

For the future, of course I will consider your advice.

For UTFT from SPI, only SPI ILI9341 is suitable?

From UTFT.h

#define ITDB18SP		9	// ST7735   (Serial 5Pin)
#define LPH9135			10	// PCF8833	(Serial 5Pin)
#define DMTFT28105      25  // ILI9341  (Serial 5Pin)
#define DMTFT18101      30  // HX8353C  (Serial 5Pin)

It would be much easier and cheaper to buy an ESP8266, ESP32, STM32 board and use Bodmer's TFT_eSPI

David.

My project is designed for Due.
It is very big. And I constantly lack pins.
Although I use PCF8574 and PCF8575.

I have everything built on the UTFT, URTouch and UTFT_Buttons libraries.

Therefore, I would very much like to change the displays on the SPI bus.

ESP32 are also used in my project as peripherals.
But for what I can’t come up with a display.