Hi Chad,
The Pico and RPI3 should both be free targets in v10 so no need to purchase for these devices.
Faster spi on the rp2040
-
- Matrix Staff
- Posts: 1895
- http://meble-kuchenne.info.pl
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 491 times
- Been thanked: 664 times
Re: Faster spi on the rp2040
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
Re: Faster spi on the rp2040
I am only talking about v10 now.
Channel 1 spi0 : 956ms to do a setbackground color +clear display
Software: 176ms to do a setbackground color +clear display
c
Just for fun: V9: 300ms to do a setbackground color +clear display
Channel 1 spi0 : 956ms to do a setbackground color +clear display
Software: 176ms to do a setbackground color +clear display
c
Just for fun: V9: 300ms to do a setbackground color +clear display
-
- Matrix Staff
- Posts: 1895
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 491 times
- Been thanked: 664 times
Re: Faster spi on the rp2040
Ok thanks for letting us know that's interesting, what prescaler do you have on the hardware SPI?
I've not played muych witht he Pico but maybe there are other things we can do to improve things. I assume you have the pixel queue property enabled when using the SPI mode.
I'll also have another look and make sure the SPI transfer we're using is the fast way of doing it.
I've not played muych witht he Pico but maybe there are other things we can do to improve things. I assume you have the pixel queue property enabled when using the SPI mode.
I'll also have another look and make sure the SPI transfer we're using is the fast way of doing it.
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
Re: Faster spi on the rp2040
The prescaler was blank and I didn't change it. I just set it to 80mhz, and I am now getting 88ms update. That's better. I'll try different prescales. For the pixel queue size, It is set at 240. I am running the display in landscape and have it rotated. What should I set it to? If I set it to 320 I get two lines through the display. my display is 320x240.
Thanks,
Chad
Thanks,
Chad