Question Support for Waveshare ILI9488 + RP2040 (Pico-ResTouch-LCD-3.5) #1554
Replies: 7 comments 16 replies
-
Yes, you can drive the display with SPI, I have only tested the ILI9486 though. You may find you need to limit the SPI clock rate to 20MHz, although 32MHz may work. That interface design requires 16 bit commands so you need to put #define RPI_DISPLAY_TYPE in the setup file. To use the display you need to defined the display driver and correct pins in the setup file, e.g. #define ILI9488_DRIVER The display appears to interface with SPI port 1 pins so you also need to include #define TFT_SPI_PORT 1 as the Pico defaults to using SP port 0. |
Beta Was this translation helpful? Give feedback.
-
Hi, Here is my working (20MHz) config used with the "Master" from 2022-01-13.
|
Beta Was this translation helpful? Give feedback.
-
Good to hear it is working for you. At the moment the PIO option does not support 16 bit commands, this will be added at some point. |
Beta Was this translation helpful? Give feedback.
-
MHS4.0 (with ST7796) display is sometimes available on Aliexpress. Similar displays are available from Waveshare but identifying the controller will take some research. Would be a risk buying one. One user reported the 3.5" Waveshare screen works and has an ILI9486 controller. I would not advise buying one though as I have not tested them. The ILI9488 data sheet is in error (based on my empirical testing). The 16 bit mode does not work with SPI. This is the reason for this code. Similarly the ILI9486 does not work in 16 bit colour mode for SPI. 18 bit parallel would work but is not supported by TFT_eSPI. The ILI9488 does support 16 bit colour in 8 bit parallel and 16 bit parallel modes. On Dustin's board you can "surface mount" the Pico direct on the board (pads are provided for this). I was going to do this on mine but luckily realised you do not have the height gap required to plug in a USB lead and would have to either source a very low profile lead or make one! Ideally the USB connector would be at the edge of the board but I guess that was not considered. |
Beta Was this translation helpful? Give feedback.
-
To ILI 16 bit SPI, or ST being generally better than ILI?
This Waveshare pico LCD is sold as IPS and seems to have very good viewing angels. No shifting of any kind. I don't know how to check 18 bit versus 16 bit color modes on it, if even possible. |
Beta Was this translation helpful? Give feedback.
-
Hi Guys, I found this conversation while looking for reasons why this WaveShare ResTouch is so slow, thinking it was something I was doing wrong. Looks like it isn't me getting something wrong. I wonder if I could ask a quick question as there is a level of expertise here far beyond mine! I have a load of 9341s that work well but was looking for a better looking display with better viewing angles. Are there any 9341 320x240 IPS displays with touchscreens anyone can recommend? |
Beta Was this translation helpful? Give feedback.
-
Thanks to all the great info above, I've been able to get my lcd display running with the RP2040. However, I have run into a problem when I try to run example code that accesses the SD card. The only Arduino example file I can find is the ESP32_SCcard_jpeg sketch under eTFT_SPI/Generic. When I compile it, a number of errors are generated relating to the fact that there are multiple SD libraries. I've forced the compile to use one SD library or another, which results in different errors, as each SD library is slightly different. I found the SD library related to the ESP32 board and it caused a different set of errors. I realize that the RP2040 is a recent port to the Arduino IDE, but I'm hoping someone has run across this issue and has figured it out. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hi,
Happy new Year and all the best for you.
Waveshare offers an nice ILI9488 based TFT for the RP2040 and it looks to me that it uses an SPI->16Bit design like your library supports for the 9486.
The ILI9486 RPi display must be of the Waveshare design and use a 16 bit serial interface based on the 74HC04, 74HC4040 and 2 x 74HC4094 logic chips.
https://www.waveshare.com/wiki/Pico-ResTouch-LCD-3.5
https://www.waveshare.com/w/upload/8/85/Pico-ResTouch-LCD-3.5_Sch.pdf
I just want to ask if your library is able to drive this TFT with the RP2040?
Many thanks for your Library
Regards
Beta Was this translation helpful? Give feedback.
All reactions