Hi both!
Just correct the SPI_Cal as the same as yours Martin, but still the same, only run in Softwaremode, but I cange the prcaler to /4 that speed it a bit up.
Your examble doesnt´work at all for me, no matter SW mode or SPI
Maybe it is the level shifter which is my problem?
You wrote:
### What I do is use 10K pullups to 3V3 then use Schottky diodes to allow microcontroller to pull the pins to 0.2V
Cathode of diode connects to the data pin of microcontroller. Anode to 10K pullup and data pin of the graphical display. ###
I would be glad if you will make a sheet to me, then I will test that.
Thank´s in advance
GLCD ILI9341 component not working correctly in FC 10 - Part 2
-
- Posts: 797
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 686 times
- Been thanked: 177 times
Re: GLCD ILI9341 component not working correctly in FC 10 - Part 2
- Attachments
-
- Cal_Spi.png (88.11 KiB) Viewed 2906 times
-
- Matrix Staff
- Posts: 1966
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 629 times
- Been thanked: 659 times
Re: GLCD ILI9341 component not working correctly in FC 10 - Part 2
I have just created a schematic for you.
- Attachments
-
- Level voltage shifter.pdf
- (17.3 KiB) Downloaded 134 times
Martin
-
- Posts: 797
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 686 times
- Been thanked: 177 times
Re: GLCD ILI9341 component not working correctly in FC 10 - Part 2
How brilliant Martin, I haven't thought of doing it that way, schottky is very fast. I will test ASAP and you will hear the result, thank you very much.
Jorgen

Jorgen
Re: GLCD ILI9341 component not working correctly in FC 10 - Part 2
Just to add that I have the same level shifting PCB as Jorgen and my display is working well (That is once I reconfigured the CS, D/C and Reset back to my SPI particular configuration)
I am still a little puzzled as to the slight difference in operation compared with FC 8 but it does not really matter, I am now happy and will upgrade to FC 10 sometime soon. Thank you both Martin and Jorgen for your contributions.
I will try Jorgen's suggestion of using the ILI9341 with an ESP 32 for the speed improvement.
I have been following the forum since Flowcode V3 and I continue to be impressed by the speed and level of response from the Matrix staff and the forum contributors.
Kind Regards
Martin
I am still a little puzzled as to the slight difference in operation compared with FC 8 but it does not really matter, I am now happy and will upgrade to FC 10 sometime soon. Thank you both Martin and Jorgen for your contributions.
I will try Jorgen's suggestion of using the ILI9341 with an ESP 32 for the speed improvement.
I have been following the forum since Flowcode V3 and I continue to be impressed by the speed and level of response from the Matrix staff and the forum contributors.
Kind Regards
Martin
-
- Posts: 797
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 686 times
- Been thanked: 177 times
Re: GLCD ILI9341 component not working correctly in FC 10 - Part 2
As soon I have 5 min. extra I will test Martins suggest with the Diode and 10k resistor with arduino and display.
Yes try the ESP32-dev1 with the ili9341 display.. If you want I have my "standard setup" you can test.
jorgen
Yes try the ESP32-dev1 with the ili9341 display.. If you want I have my "standard setup" you can test.
jorgen
-
- Posts: 797
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 686 times
- Been thanked: 177 times
Re: GLCD ILI9341 component not working correctly in FC 10 - Part 2
Hi Martin!
I made your levelshifter, and change to CH1, you are rigth (as always)
Now it work, perfect and the speed is much faster. Perfect. For me push the new component to update.
Hopefully it not influence if I use ESP32, have some project with thiis device I still working on?
Have a nice weekend and thank´s.
Br Jorgen
I made your levelshifter, and change to CH1, you are rigth (as always)

Now it work, perfect and the speed is much faster. Perfect. For me push the new component to update.

Hopefully it not influence if I use ESP32, have some project with thiis device I still working on?
Have a nice weekend and thank´s.
Br Jorgen
Re: GLCD ILI9341 component not working correctly in FC 10 - Part 2
@Jorgen
Thank you
Kind regards
Martin
It would be very helpful if you can share your "standard setup". I am getting a couple ESP 32 to try.
Thank you
Kind regards
Martin
-
- Posts: 797
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 686 times
- Been thanked: 177 times
Re: GLCD ILI9341 component not working correctly in FC 10 - Part 2
Hi Martin!
As promised, hereby my standard program. I always use this program (when using ESP) as start program, Then I know it has working from beginning
But after using Martins levelschifter and CH1 with Arduino, it have speed the ILI diplay up, and can now be used, good
Not so fast as ESP.
Good luck and let me hear.
Br jorgen
As promised, hereby my standard program. I always use this program (when using ESP) as start program, Then I know it has working from beginning

But after using Martins levelschifter and CH1 with Arduino, it have speed the ILI diplay up, and can now be used, good

Good luck and let me hear.
Br jorgen
- Attachments
-
- StandardIli9341Firs.fcfx
- (36.63 KiB) Downloaded 108 times
-
- Posts: 797
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 686 times
- Been thanked: 177 times
Re: GLCD ILI9341 component not working correctly in FC 10 - Part 2
Dare to ask Martin, have you push this to update gLCD_ILI9341_SPI.fcpx? Can´t see when I update, maybe it is because I already have done it manually
Br Jorgen

Br Jorgen