Hi Jorgen,
I may have one in the office I can try, What if you set the toggle CS property to Yes? I did something with this and may have broken things for the No setting?
Wrong delay when use "delay ms" ESP32
-
- Matrix Staff
- Posts: 1924
- http://meble-kuchenne.info.pl
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 501 times
- Been thanked: 684 times
Re: Wrong delay when use "delay ms" ESP32
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: 774
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 669 times
- Been thanked: 173 times
Re: Wrong delay when use "delay ms" ESP32
Hi Ben!
It was on yes, but when I set to No, something happend. Picture is comming but background is striped and is still slow... No change in prescaler..
Jorgen
It was on yes, but when I set to No, something happend. Picture is comming but background is striped and is still slow... No change in prescaler..
Jorgen
- Attachments
-
- SPI.jpg (39.42 KiB) Viewed 8148 times
-
- Posts: 774
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 669 times
- Been thanked: 173 times
Re: Wrong delay when use "delay ms" ESP32
Hi Ben!
Kindly. Dare to ask you, something new concerning the highspeed SPI forILI9341
If you not have display I can send one for you
Jorgen
Kindly. Dare to ask you, something new concerning the highspeed SPI forILI9341



Jorgen
-
- Matrix Staff
- Posts: 1924
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 501 times
- Been thanked: 684 times
Re: Wrong delay when use "delay ms" ESP32
Hi Jorgen,
I've managed to get my hands on my display so I'll have a go at firing it up tomorrow.
I've managed to get my hands on my display so I'll have a go at firing it up tomorrow.
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: 774
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 669 times
- Been thanked: 173 times
Re: Wrong delay when use "delay ms" ESP32
Perfect perfect Ben
So if you manage (I am sure you can) to speed the SPI up on the Ili9341 does this also mean that the it will be speeded up on all other device´s I mean Arduino and Pic or is it only for ESP32?
Jorgen.


So if you manage (I am sure you can) to speed the SPI up on the Ili9341 does this also mean that the it will be speeded up on all other device´s I mean Arduino and Pic or is it only for ESP32?
Jorgen.
-
- Matrix Staff
- Posts: 1924
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 501 times
- Been thanked: 684 times
Re: Wrong delay when use "delay ms" ESP32
Hi Jorgen,
Sorry I've got the display sat next to me but I've not found half an hour to hook it up yet. Not enough hours in the day.
I'll try and have a go for you now.
edit. hooked it all up and atm having no joy out of either component. Think it's my ESP board so will try a known working one and see how I get on with that.
Sorry I've got the display sat next to me but I've not found half an hour to hook it up yet. Not enough hours in the day.
I'll try and have a go for you now.
edit. hooked it all up and atm having no joy out of either component. Think it's my ESP board so will try a known working one and see how I get on with that.
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: 774
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 669 times
- Been thanked: 173 times
Re: Wrong delay when use "delay ms" ESP32
Hi Ben!
No sorry, I know you are a busy guy. I am glad you will try to speed the display up, take your time.
Look forward to see what is possible
Thank´s in advance
Br jorgen.
No sorry, I know you are a busy guy. I am glad you will try to speed the display up, take your time.

Look forward to see what is possible

Thank´s in advance
Br jorgen.
-
- Matrix Staff
- Posts: 1924
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 501 times
- Been thanked: 684 times
Re: Wrong delay when use "delay ms" ESP32
Hi Jorgen,
Right finally managed to find some more free time to have a go with this and have managed to get the SPI component working again and pushed the speed right up.
For me it's working with a SPI frequency of 30MHz. 40MHz seems to kill it but that's maybe down to the length of my wires.
There are maybe further optimisations to make for example the clear is very fast but drawing large filled rectangles can be seen being coloured in, however this is hopefully now more down in the detail.
Right finally managed to find some more free time to have a go with this and have managed to get the SPI component working again and pushed the speed right up.
For me it's working with a SPI frequency of 30MHz. 40MHz seems to kill it but that's maybe down to the length of my wires.
There are maybe further optimisations to make for example the clear is very fast but drawing large filled rectangles can be seen being coloured in, however this is hopefully now more down in the detail.
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: 774
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 669 times
- Been thanked: 173 times
Re: Wrong delay when use "delay ms" ESP32
Hi Ben!
Thank you very much.
I have update and perform a test. Now there is no stripe´s on the display anymore and look good, and the speed is a little faster, but slow compared to the seriel mode. I try to change the speed up to 80 mHz and toogle the CS, no change.
I att. my testprogram with Seriel and SPI. You can switch in the Macro in Main.
If you still are very busy, then don´t use more time for that, the seriel is fast, and can live with that, but again when I see on Utube the ILI9341 it is really fast
Could be nice i FC9
EDIT: Ben, you are a master
I switch from software to Channel1 "Oh my good" First test the display is so fast it is almost jumping over my table
WOOOOOW. Nice job.
I try to make some more test and stress the display, thank´s . You hear
Br jorgen
Thank you very much.
I have update and perform a test. Now there is no stripe´s on the display anymore and look good, and the speed is a little faster, but slow compared to the seriel mode. I try to change the speed up to 80 mHz and toogle the CS, no change.
I att. my testprogram with Seriel and SPI. You can switch in the Macro in Main.
If you still are very busy, then don´t use more time for that, the seriel is fast, and can live with that, but again when I see on Utube the ILI9341 it is really fast


EDIT: Ben, you are a master


I try to make some more test and stress the display, thank´s . You hear




Br jorgen
- Attachments
-
- ESP32 ILI9341 BR .fcfx
- (49.38 KiB) Downloaded 498 times