Open wiigor opened 1 year ago
This issue of another user seems to be the same issue: https://forum.hacf.fr/t/esphome-et-ecran-3-5-3-5-tft-spi-480-320-v2-0/22401
He also gets the => Failed to init Memory: YES! message. if the replaces the board by a ili9341 then it works
i have the same issue with a ili9488 (+model: ILI9488 in the yaml). Changing the lcd screen to an ili9341 (+ changing with model: ILI9341 in the yaml ) with the same pin connections works perfectly.
Hi, same problem here, using a "3.5inch RPi Display" device with an ESP32S v4 and display fails to initialise. When using ILI9341 there is no "Failed to init memory" message but it obviously does not work.
any fix would be appreciated !
@Gyosa3 could you give more details about which display you have (link to the display) and how you connecting it and what is exactly the YAML file look like. Any logs are also welcome,
The problem
I have an ILI9488 display. I used this tutorial to make the display work using arduino IDE and this library: TFT_eSPI. The display works correctly and displays all examples from the library.
Now without changing any hardware connections using the same hardware setup I try to run the display using esphome. And the screen does not work. It flickers after flash or reboot but does not display the text given i nthe lambda also in the log seems to be a possible error related to the display:
: [16:29:18][C][ili9xxx:068]: => Failed to init Memory: YES! Could this be the reason the display does not work?
Which version of ESPHome has the issue?
2023.3.2
What type of installation are you using?
pip
Which version of Home Assistant has the issue?
2023.3.2
What platform are you using?
ESP32
Board
lolin_d32
Component causing the issue
ILI9xxx TFT LCD Series
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
Working config of the TFT_eSPI library in arduino IDE that leads the screen to work with the same hardware configuration:
define ILI9488_DRIVER // WARNING: Do not connect ILI9488 display SDO to MISO if other devices share the SPI bus (TFT SDO does NOT tristate when CS is high)
`// ###### EDIT THE PIN NUMBERS IN THE LINES FOLLOWING TO SUIT YOUR ESP32 SETUP ######
// For ESP32 Dev board (only tested with ILI9341 display) // The hardware SPI can be mapped to any pins
define TFT_MISO 19
define TFT_MOSI 23
define TFT_SCLK 18
define TFT_CS 15 // Chip select control pin
define TFT_DC 2 // Data Command control pin
define TFT_RST 4 // Reset pin (could connect to RST pin)`
The display with the lolin_d32 board works great using all examples in arduino IDE using TFT_eSPI .