Fine Ben, thank´s for the explanation. Anyway it work now that´s the best. But please let me hear if you managed to speed the pin´s up a bit
Would be nice with such a small powerfull device at full speed
I have played a lot with the font scaler, very good.
For a while ago you wrote:
The ESP processor is very fast but it seems the IO is not. I have done a bit of hacking away at the ESP IDF toolchain already to strip away some layers and this sped up the IO a fair bit but it's still a bit slow when compared to other MCUs.
I have just perform a test, but look like it´s still the same speed. Please som progress?
The updates I have done recently involve the PWM (also used for the servo motor component) and the RMT CAL (Used for high speed bit banging with the WS2811). I am hoping to leverage the RMT and use it to drive serial GLCDs but at the moment haven't filled in all the blanks in terms of synching a data and clock together.
My next port of call is to investigate 1-wire and try to add improvements here but I will keep GLCDs as another area to explore in the near future.
I've made some changes to the SPI CAL for ESP32 now and it might be worth trying the ILI9341 SPI component and see how you get on. Before the max clock speed was 2.5MHz but now you should be able to ramp it right the way up to 10MHz so hopefully a big difference.
Let me know how you get on.
edit. Actually it seems we can maybe push this further, much further 10MHz could potentially become 80MHz. Anyway try it at 10 and let me know.
I couldn't help myself and I've now added the ability to clock the SPI right up to 80MHz. Please note that for 80MHz operation the traces must be very small. Using wires won't work at this kind of speed. I would try at say 10MHz and then try slowly increasing the speed until it becomes unstable then backing off a bit.
I've been playing around with the basic I/O code a bit more and I've managed to get the I/O running almost 2x faster by inlining the I/O functions. This will increase the overall code size but should allow much faster operation of things like GLCDs.
I'll push the change for you now, please let me know how you get on.
WoooW Ben, from snailspeed to Gepardspeed I agree almost twice the speed. I think it is the fastes device for the Gldc display in Flowcode now. For me Ili9341 3.2" seriel. I have made some test with some different devices and before it was the STM32F0308 Disco which was the fastest, now is ESP 32 winner
Do you think it is faster with SPI?
Hopefully this update not have any bad influence in other thing in the device..