After update!

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
jgu1
Posts: 960
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 889 times
Been thanked: 216 times

Flowcode v10 After update!

Post by jgu1 »

Hi!

I have worked on a project for a while with an Ili9488 and an ESP 32, before Ben has made the Highspeed 80 mhz prescaler. The display has been fairly fast with the pin config I use in this project, up to 30 mhz working ok.

Now I have program the device again, not change anything, but now the display is suddently extremly slow :cry:

I have a backup backup try to program this also, same.

I started the project in FC9 and continue in FC10 all work until now. I try to program with FC9 (older) then it is fast.

Just like prescaler is on 6mhz.
please could this be fixed back again??

A project I have had a pcb manufactured for and spent many hours on this project, so not easy to change to the highspeed SPI

Jorgen
Attachments
NewSun.fcfx
(180.95 KiB) Downloaded 354 times
(view online)

WingNut
Posts: 286
Joined: Tue Jul 13, 2021 1:53 pm
Has thanked: 56 times
Been thanked: 43 times

Re: After update!

Post by WingNut »

To be honest I've noticed the same with a Pic16f18877 project that i've been working on. Timing seems to be way off at 32Mhz. approx 4 seconds on a 1 second delay

Edit - sorry i should have said 'in hardware'

chipfryer27
Valued Contributor
Posts: 2112
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 471 times
Been thanked: 701 times

Re: After update!

Post by chipfryer27 »

Hi Wingnut

Four seconds on a one second delay sounds a bit PLL related. Is/Isn't 4xPLL enabled when it should / shouldn't?

I'd have a look at those as it's very easy to overlook in the configs.

Regards

jgu1
Posts: 960
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 889 times
Been thanked: 216 times

Re: After update!

Post by jgu1 »

Hi again!

@wingnut I don´t know what happen with your project and your device, but mine is for ESP32 dev and the ILI displays.

Trying to investergate to get my old project to run again. I have perform some test The Ili9488 ESP32 SPI High Speed Modes is also slow.

The Ili 9341 and the ST7796 working still inESP32 SPI High Speed Modes, but slow if i not use high speed they are very slow.

Concerning my project which file do I have to roll back so I at least can try to finish my project, is it file for the display or the Esp32, please?

Jorgen

WingNut
Posts: 286
Joined: Tue Jul 13, 2021 1:53 pm
Has thanked: 56 times
Been thanked: 43 times

Re: After update!

Post by WingNut »

It appears that the options had changed to external oscillator. Strange as i've been working on this for a while .. but its corrected

BenR
Matrix Staff
Posts: 2305
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 637 times
Been thanked: 847 times

Re: After update!

Post by BenR »

Hi Jorgen,

The display component has new properties specific to the esp32. Make sure the fast pixels property is set to yes and give a generous buffer size. Maybe 40 or 80. Hopefully the display will be much faster than it was before.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel

jgu1
Posts: 960
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 889 times
Been thanked: 216 times

Re: After update!

Post by jgu1 »

Hi Ben.

Many thanks for the info and fast reply, I didn't know that, but yes, I'm back again and it works as it should. Lovely.
Continue to have a nice weekend. :D

Br Jorgen

Post Reply