Hi again!
Sorry, it´s me again.
I have just tested the ESP32 with an Ili9341, but no luck Again Im I doing somithing wrong or? Please I have checked connection many time. It work on Arduino.
Br Jorgen
ESP32 & Ili9341 not working
-
- Posts: 615
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 509 times
- Been thanked: 132 times
ESP32 & Ili9341 not working
- Attachments
-
- ESP32 NOT Working with ILI9341.fcfx
- (13.6 KiB) Downloaded 157 times
-
- Valued Contributor
- Posts: 760
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 150 times
- Been thanked: 171 times
Re: ESP32 & Ili9341 not working
Hi Jorgen
I'm also fight with an ESP32 and Ili9341.
There are two Ili9341 driver in FC9.
Ili9341 SPI,
Ili9341 Serial, 8Bit Interface,16Bit Interface
And it's a mix of PortA , PortB ,Pin and GPIO
Is there a way for ESP32 to understand PortA , PortB ?
Can you have a look if we work on the same way to connect the display?
Page 4 from regards
Stefan
I'm also fight with an ESP32 and Ili9341.
There are two Ili9341 driver in FC9.
Ili9341 SPI,
Ili9341 Serial, 8Bit Interface,16Bit Interface
And it's a mix of PortA , PortB ,Pin and GPIO
Is there a way for ESP32 to understand PortA , PortB ?
Can you have a look if we work on the same way to connect the display?
Page 4 from regards
Stefan
- Attachments
-
- esp32_datasheet_en (1).pdf
- (1.05 MiB) Downloaded 174 times
-
- Matrix Staff
- Posts: 1756
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 446 times
- Been thanked: 606 times
Re: ESP32 & Ili9341 not working
Hello,
Here is the program with connections reworked for the M5 board,
PortA is GPIO pins 0-31
PortB is GPIO pins 32-63
We have just numbered them like this to allow the GPIO to work with the Flowcode style ports.
Here is the program with connections reworked for the M5 board,
PortA is GPIO pins 0-31
PortB is GPIO pins 32-63
We have just numbered them like this to allow the GPIO to work with the Flowcode style ports.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Matrix Staff
- Posts: 1756
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 446 times
- Been thanked: 606 times
Re: ESP32 & Ili9341 not working
Hi Jorgen,
Yes that looks fine.
Yes that looks fine.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Posts: 615
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 509 times
- Been thanked: 132 times
Re: ESP32 & Ili9341 not working
Well ok Ben. With your modifyed program it look like the display initialise and try to delete, very slowly, but half the way it stop and is half white and half black?
Jorgen
Jorgen
-
- Matrix Staff
- Posts: 1756
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 446 times
- Been thanked: 606 times
Re: ESP32 & Ili9341 not working
Hello Jorgen,
Hmm ok does swapping the horizontal and vertical pixel size properties do anything to help?
Strange it's slow. The io isn't the fastest but it shouldn't be slow. Maybe try the spi version of the component in hardware mode?
Hmm ok does swapping the horizontal and vertical pixel size properties do anything to help?
Strange it's slow. The io isn't the fastest but it shouldn't be slow. Maybe try the spi version of the component in hardware mode?
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Posts: 615
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 509 times
- Been thanked: 132 times
Re: ESP32 & Ili9341 not working
Yes strange. I try to swap it tomorrow, but however it should have shown something in the display? And I though the ESP32 is a very fast device, therefor I would use this with Ili9341.
Hope you can fix something
Jorgen
Hope you can fix something
Jorgen
-
- Matrix Staff
- Posts: 1756
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 446 times
- Been thanked: 606 times
Re: ESP32 & Ili9341 not working
We did have IO related speed issues prior to release and I did manage to speed up the IO significantly. I think it's just not as straightforward on the silicon as a PIC or an AVR plus you have an RTOS running to handle the WIFI/Bluetooth comms and this likely interferes with the IO speed.
Saying this the display should be working so maybe something else is interfering? Maybe try on other pins?
Saying this the display should be working so maybe something else is interfering? Maybe try on other pins?
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Posts: 89
- Joined: Wed Dec 02, 2020 10:06 am
- Location: Italy
- Has thanked: 37 times
- Been thanked: 10 times
Re: ESP32 & Ili9341 not working
Hi
I have a problem with the SetFontScaler function.
in simulation everything is ok but when I go to compile it gives me the following error
"GSM_003_3G.o: In function` main ':
GSM_003_3G.c . Text.startup.main + 0xcc): undefined reference to `FCD_0ba71_Base_GLCD__SetFontScaler '
collect2.exe: error: ld returned 1 exit status
Error (s) in build
"
I am using a stm32f030rc
Kind Regards
I have a problem with the SetFontScaler function.
in simulation everything is ok but when I go to compile it gives me the following error
"GSM_003_3G.o: In function` main ':
GSM_003_3G.c . Text.startup.main + 0xcc): undefined reference to `FCD_0ba71_Base_GLCD__SetFontScaler '
collect2.exe: error: ld returned 1 exit status
Error (s) in build
"
I am using a stm32f030rc
Kind Regards