ILI9341 SPI (slow) speed with PIC24F16KA101
Posted: Fri Dec 18, 2020 8:46 pm
Hello.
I wish to update some numerical parameter on a display ILI9341 as fast as possible with PIC24F16KA101 running at 32 MHz.
With a simple program that write the same word in different combinations of R-G-B colours just for a speed test and using software SPI (if I'm not wrong), I measure a clock frequency of ~ 900 KHz and the result isn't so good.
This display should operate at a much higher speed; I've seen some web videos with impressive graphical updating speed with arduino perhaps. I saw some other posts about that "issue" but I don't know what I can do to get it working faster. For example there is a post where Leigh suggest removing some instructions in the PIC16BIT_CAL_SPI.c file ...
https://www.matrixtsl.com/mmforums/view ... 250#p85250
... but it seems to allow only a modest speed increase of 20% or similar (not tested yet) but I hope to jump to a clock of 5 - 10 MHz if it is possible.
Maybe some wrong SPI settings or wrong project options?
Any suggestion ?
Anotgher issue: the macro Print " " useful to delete text from the display, seems not to work.
Thanks and best regard
Rov
I wish to update some numerical parameter on a display ILI9341 as fast as possible with PIC24F16KA101 running at 32 MHz.
With a simple program that write the same word in different combinations of R-G-B colours just for a speed test and using software SPI (if I'm not wrong), I measure a clock frequency of ~ 900 KHz and the result isn't so good.
This display should operate at a much higher speed; I've seen some web videos with impressive graphical updating speed with arduino perhaps. I saw some other posts about that "issue" but I don't know what I can do to get it working faster. For example there is a post where Leigh suggest removing some instructions in the PIC16BIT_CAL_SPI.c file ...
https://www.matrixtsl.com/mmforums/view ... 250#p85250
... but it seems to allow only a modest speed increase of 20% or similar (not tested yet) but I hope to jump to a clock of 5 - 10 MHz if it is possible.
Maybe some wrong SPI settings or wrong project options?
Any suggestion ?
Anotgher issue: the macro Print " " useful to delete text from the display, seems not to work.
Thanks and best regard
Rov