Hello,
Currently I've not made any progress, I've looked at it again several times and so far nothing I do makes any difference. Even the data readback is not working so there could be something fundemental I'm missing. I've got it hooked up to a digital analyser so I know the comms out to the display looks ok. Next step might be to try it in Arduino with the various libs there and see if I can make it work that way, that might give me a stable base to base things on.
STM32-SPI-ILI9488
-
- Matrix Staff
- Posts: 1926
- http://meble-kuchenne.info.pl
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 501 times
- Been thanked: 686 times
Re: STM32-SPI-ILI9488
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
-
- Matrix Staff
- Posts: 1926
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 501 times
- Been thanked: 686 times
Re: STM32-SPI-ILI9488
Hello,
I've finally got the screen working correctly and pushed a new version of the component to the library update system. I'm still not happy with it as it seems to be very dark but I've been through a lot of the settings trying different values and nothing seems to make any difference. At least it's doing something now.
Let me know how you are getting on if you have a go.
I've finally got the screen working correctly and pushed a new version of the component to the library update system. I'm still not happy with it as it seems to be very dark but I've been through a lot of the settings trying different values and nothing seems to make any difference. At least it's doing something now.
Let me know how you are getting on if you have a go.
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
-
- Posts: 774
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 669 times
- Been thanked: 173 times
Re: STM32-SPI-ILI9488
Hii Ben!
Big progress, it work now
Yes you are rigth, little dark? I have test with a ESP32, compared with ili9341 3.2" it also little slow. I could imagine it´s because it is bigger?
The Ili9341 3.2" is really fast with the maximium of the prescaler at 30 mhz (max) and also max for the Ili9488 3.5".
But anyway, big progress, hope you can fix the "darkness" too
So far, many thank´s for your great job Ben.
att. My test...
Br jorgen
Big progress, it work now

Yes you are rigth, little dark? I have test with a ESP32, compared with ili9341 3.2" it also little slow. I could imagine it´s because it is bigger?
The Ili9341 3.2" is really fast with the maximium of the prescaler at 30 mhz (max) and also max for the Ili9488 3.5".
But anyway, big progress, hope you can fix the "darkness" too

So far, many thank´s for your great job Ben.
att. My test...
Br jorgen
- Attachments
-
- Ili9488.fcfx
- (11.41 KiB) Downloaded 525 times
-
- Valued Contributor
- Posts: 997
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 190 times
- Been thanked: 217 times
Re: STM32-SPI-ILI9488
Hi Jorgen
You mentioned that you used an esp32 with an ili display. Which board was that?
I have few small problems with my board and the display. I would like to fix these problems.
It would be useful for me to know if your hardware is working properly or has the same.
The problems are only
light dark is reversed (also with the colors)
X,Y values are partly reversed
reset pin is not working
In general, the display works very well.
Stefan
You mentioned that you used an esp32 with an ili display. Which board was that?
I have few small problems with my board and the display. I would like to fix these problems.
It would be useful for me to know if your hardware is working properly or has the same.
The problems are only
light dark is reversed (also with the colors)
X,Y values are partly reversed
reset pin is not working
In general, the display works very well.
regardsI use ESP32. If I use ILI9341 work very nice including the touch...
Stefan
-
- Matrix Staff
- Posts: 1926
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 501 times
- Been thanked: 686 times
Re: STM32-SPI-ILI9488
Hello,
Glad the 9488 is working better now. Took some digging but think we got there in the end.
The ILI9488 is 320 x 480 (153,600 pixels) and for some reason forces 3 byte per pixel 18-bit colours via SPI (460,800 bytes).
So that's 3x the amount of bytes it needs to send for a clear screen and probably explains it being noticably slower.
With short wires and/or properly terminated wires it might be possible to drive the SPI to higher speeds.
Glad the 9488 is working better now. Took some digging but think we got there in the end.
The ILI9341 is 240 x 320 (76,800 pixels) and allows 2 byte per pixel 16-bit colours via SPI (153,600 bytes).compared with ili9341 3.2" it also little slow. I could imagine it´s because it is bigger?
The ILI9488 is 320 x 480 (153,600 pixels) and for some reason forces 3 byte per pixel 18-bit colours via SPI (460,800 bytes).
So that's 3x the amount of bytes it needs to send for a clear screen and probably explains it being noticably slower.
With short wires and/or properly terminated wires it might be possible to drive the SPI to higher speeds.
The ILI9341 should be ok on ESP, both the SPI and Parrallel versions have been tested. There is maybe an invert colour property to allow you to invert the display if the colours are inverted. I think there is also an X and Y flip property to sort out any mirroring.light dark is reversed (also with the colors)
X,Y values are partly reversed
This seems odd, which pin are you using to drive the reset?reset pin is not working
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
-
- Valued Contributor
- Posts: 997
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 190 times
- Been thanked: 217 times
Re: STM32-SPI-ILI9488
Hi Ben
Ok. It's not the reset pin. It's the backlight pin B0. If I set the pin by set port, the display is working.
Flip x, Flip y I saw the propertie and it's fine now.
Color:
I have the cyan color on my display if i expect red.
If it's possible to add this color invert command ?
or few commands more like this?
And a remark: On my board is a ILI9342 controller and it's working fine even with the ILI9341 component
regards
Stefan
Ok. It's not the reset pin. It's the backlight pin B0. If I set the pin by set port, the display is working.
Flip x, Flip y I saw the propertie and it's fine now.
Color:
I have the cyan color on my display if i expect red.
If it's possible to add this color invert command ?
or few commands more like this?
And a remark: On my board is a ILI9342 controller and it's working fine even with the ILI9341 component
regards
Stefan
-
- Matrix Staff
- Posts: 1926
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 501 times
- Been thanked: 686 times
Re: STM32-SPI-ILI9488
Hopefully both issues solved for you now via library updates.
I've fixed the LED pin problem and also added a new property to allow the colour to be inverted/uninverted.
I can expose the send reg and send data macros if that would help to allow for full control.
I've fixed the LED pin problem and also added a new property to allow the colour to be inverted/uninverted.
I can expose the send reg and send data macros if that would help to allow for full control.
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
-
- Valued Contributor
- Posts: 997
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 190 times
- Been thanked: 217 times
Re: STM32-SPI-ILI9488
Hi BEN
It's perfect now. Thanks a lot.
Colors are correct and and the pin is working.
Yes please expose the "send reg and send data macros"
I hope I can set some power save mode for the display.
regards
Stefan
It's perfect now. Thanks a lot.
Colors are correct and and the pin is working.
Yes please expose the "send reg and send data macros"
I hope I can set some power save mode for the display.
regards
Stefan