ILI9341 SPI wont work

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
CSM2711
Posts: 47
Joined: Mon Apr 16, 2018 10:28 am
Location: Germany
Has thanked: 1 time
Been thanked: 9 times
Contact:

ILI9341 SPI wont work

Post by CSM2711 »

Hello,

next display next Problem.....
I try to communicate wit a ILI9341 by use a PIC16F1827 but it wont work...
The only the backlight of the tft will light up :lol:
Maby someone can say me whats my mistake ?!?
Attachments
schematic.JPG
schematic.JPG (62.05 KiB) Viewed 2205 times
analog_to_display3.fcfx
(11.11 KiB) Downloaded 185 times

CSM2711
Posts: 47
Joined: Mon Apr 16, 2018 10:28 am
Location: Germany
Has thanked: 1 time
Been thanked: 9 times
Contact:

Re: ILI9341 SPI wont work

Post by CSM2711 »

OK, i found the Problem.
The supply voltage was higher then 3V ......
But the display is very very slow, I try to colorize the background by draw a rectangle with red background color but it will take along time ......
Has someone an Idea or is that normal for this type of display?

viktor_au
Posts: 342
Joined: Fri Jan 26, 2018 12:30 pm
Location: South Australia
Has thanked: 43 times
Been thanked: 60 times
Contact:

Re: ILI9341 SPI wont work

Post by viktor_au »

Hello CSM2711

Read: http://www.matrixtsl.com/mmforums/viewt ... 76&t=20410

Try the next:
1. Move the background colors/draw to init stage (out of the main loop).
2. The Clear iLi display function takes a lot of time, don't use it, just 'print' the empty space over the text (erase it).
3. Use for communication between the microcontroller and iLi9341 the level shifter.

PS
I use iLi with Arduino.
The display is good for my weather station, but not fast.

Post Reply