Ili9341 seriel versus SPi and parallel!

For general Flowcode discussion that does not belong in the other sections.
Post Reply
jgu1
Posts: 774
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 669 times
Been thanked: 173 times

Ili9341 seriel versus SPi and parallel!

Post by jgu1 »

Hi!

First, Flowcode Ili9341 component working excellent ;) but:

I have made a test on the Ili9341 display with diferent communication mode. I use a Stm32F0308. The fastes device I can find. I see other who use Arduino IDE is much faster.

Seriel Ok fast.
Spi, very slow
Parallel, approx. same speed as seriel.

I though, that Spi and parallel is the fastest. Is the above ok, I mean is it the Seial always will be the fastest? :|
Equal in simulation but not in real world.

Thank´s in advance

Jorgen
Attachments
308 SPI ILI.fcfx
(17.52 KiB) Downloaded 477 times

BenR
Matrix Staff
Posts: 1924
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 501 times
Been thanked: 684 times

Re: Ili9341 seriel versus SPi and parallel!

Post by BenR »

Hi Jorgen,

They should go like this in order of slowest to fastest.

Software SPI
Serial
Hardware SPI - With a low prescaler
Parallel

For the parallel mode did you have Use Ports ticked and have a complete port loaded? If you can't use a complete port for the data then yes this will have a similar speed to Serial as you loose the speed advantage.

jgu1
Posts: 774
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 669 times
Been thanked: 173 times

Re: Ili9341 seriel versus SPi and parallel!

Post by jgu1 »

Hi Ben!

Thank you.

Yes for parallel I have rolled all pin out.

Br Jorgen

Post Reply