Page 2 of 2
Re: Can't compile the ESP32 With Display gLCD TLT9341
Posted: Thu Jun 15, 2023 9:18 am
by monie
user: esp-idf-v5.0.1
Re: Can't compile the ESP32 With Display gLCD TLT9341
Posted: Thu Jun 15, 2023 9:28 am
by medelec35
Hi Monie
You have not followed the instructions as they state to install esp-idf 4.2.
Any version higher is not officially supported yet so there is no guarantee your project would even compile.
Ben is working on v5 but that is very much work in progress.
All you can do is report that the component (in your case the gLCD TLT9341) does not work. with esp-idf 5
Then if you want it to work, revert back to esp-idf 4.2.
Re: Can't compile the ESP32 With Display gLCD TLT9341
Posted: Thu Jun 15, 2023 9:52 am
by mnfisher
Hi Monie,
I posted a brief video of 'downgrading' v5 to v4.
See
https://youtu.be/SzQahST-EzU
Martin
Re: Can't compile the ESP32 With Display gLCD TLT9341
Posted: Fri Jun 16, 2023 8:07 pm
by monie
Hi mnfisher
Look here:

- Installations ha failed with exit code 1.jpg (43.22 KiB) Viewed 3389 times
Monie
Re: Can't compile the ESP32 With Display gLCD TLT9341
Posted: Fri Jun 16, 2023 8:31 pm
by mnfisher
Hi Monie,
Odd - you have Setup - ESP-IDF Tools 2.3 and a directory of c:\users\sun\desktop.....
Maybe an old version on your machine running instead?
In the video (sorry it's a bit fuzzy) - it is definitely v4. so something is not right.
It is definitely worth trying to install in c:\espressif - the default? It might use the path of an 'existing' install if there is one. Have you tried uninstalling everything (Start->Add or Remove programs) ?
Martin
Re: Can't compile the ESP32 With Display gLCD TLT9341
Posted: Mon Jun 19, 2023 6:12 am
by monie
Hej Martin
I have now uninstalled everything related to Flowcode v10 !
And reinstalled Flowcode v10. And also installed the ESP-IDF Toolchain again.
And Flowcode v10 compiles without problems.
But Can't get Esp32 Ch340g Wemos Board Uno R3 D1 R32 and SPI ILI9341 to work together. Do you have a suggestion for Connect between ESP32 og Display as well as a simple code example?
Monie
Re: Can't compile the ESP32 With Display gLCD TLT9341
Posted: Mon Jun 19, 2023 8:25 am
by mnfisher
Hi Monie,
Compiling for the esp32 is working. Excellent.
The SPI Il9341 display should work well - the usual problem is choosing the correct pins. One tip is to connect to the esp32 using a terminal emulator (I usually use Putty or RealTerm) and see if it outputs any helpful info (it might for example give 'pin not supported for SPI' or words to that effect.
So - I used pins MOSI - A26, MISO A25 , CLK A27, ChipSelect A15, DC A12, Reset A14 and (optional) LED A2 - but see Ben's message about using high-speed SPI (
viewtopic.php?f=3&t=1851&p=10866&hilit= ... ben#p10866)
Martin
Re: Can't compile the ESP32 With Display gLCD TLT9341
Posted: Mon Jun 19, 2023 10:33 am
by monie
Hi mnfisher
pins: Esp32 Ch340g Wemos Board Uno R3 D1 R32 and TFT SPI ILI9341
Attached image:

- ESP32 Wemos Board Uno R3 D1 R32.jpg (94.24 KiB) Viewed 3335 times
Would you be helpful with SPI ILI9341 about which pen need to Esp32 Wemos Board Uno R3 D1 R32 to be used Display.
The connections are not specified here MOSI = A26 0g MISO = A25 etc.
Where Esp32 Wemos Board Uno is listed as IO18 and IO19 etc.
Monie
Re: Can't compile the ESP32 With Display gLCD TLT9341
Posted: Mon Jun 19, 2023 10:46 am
by mnfisher
If the board is compatible with Arduino d13 is SCLK d12 is MISO, d11 is MOSI and D10 (usually CS) these are labelled on the board as : 18, 19, 23 and 5 respectively - so try those first.
The board maybe doesn't break out all the I/O pins.
There is a pin diagram at
https://www.botnroll.com/en/esp/3639-we ... inout.html
Martin