New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ILI9481 troubles ... not working in SPI 4 wires (or 3 wires) #968
Comments
2 more informations :
|
ok, it finally works. It was a speed issue. I cannot go higher than 15MHz. may be the wire lenght (20cm) ? |
Well done for finding the solution so fast. The display data sheet here page 138 indicates a maximum rated speed of 10MHz (100ns write cycle time) so it looks like the ILI9481 cannot be overclocked by much. Some more recently designed displays (ST7796) have a higher rated speed ~25MHz but work reliably at 40MHz (and sometimes up to 80MHz). Long wires can have an effect and a short (or multiple) GND lines help. IF thet are long (>150mm) try reducing wires to 100mm or less if you can. It may not make much difference though if the limiting factor is the ILI9481 display. |
You will be able to update the display faster if you use 8 bit parallel connections since the write cycle is still 100ns (10MHz), then 8 bits are being loaded in the same period instead of 1. The library does not support 16 bit parallel interfaces. ILI9481 displays are available in UNO format and can be plugged into a UNO style ESP32. If you do this, note the modifications given in the ReadMe. |
thanks a lot for your answer..i already shorten the wires to 10cm
centimeters. no change.
i also found the 100ns in the datasheet.
i was surprised because i could overclock the ili9341 to 60 mhz. ahahha.
once again, that's a lot for your answers. i trashed the adafruit lib to
use your lib 😉
interesting the ST7796 !
i am looking for an ips 3.5 inch screen with fast spi refresh (at least
40mhz, and no need for 'high bits colors'). any idea if i can find somthing
like that on aliexpress ?
Le sam. 30 janv. 2021 à 19:03, Bodmer <notifications@github.com> a écrit :
… You will be able to update the display faster if you use 8 bit parallel
connections since the write cycle is still 100ns (10MHz), then 8 bits are
being loaded in the same period instead of 1. The library does not support
16 bit parallel interfaces.
ILI9481 displays are available in UNO format and can be plugged into a UNO
style ESP32. If you do this, note the modifications given in the ReadMe.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#968 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACXMP3CGYXJTAFVLAG2XJK3S4RCWPANCNFSM4W2O3YFQ>
.
|
oh yes, and for the 8 bits parallel interface, impossible, I already use all the IOs of the ESP32 😂
Le sam. 30 janv. 2021 à 19:03, Bodmer <notifications@github.com> a écrit :
… You will be able to update the display faster if you use 8 bit parallel
connections since the write cycle is still 100ns (10MHz), then 8 bits are
being loaded in the same period instead of 1. The library does not support
16 bit parallel interfaces.
ILI9481 displays are available in UNO format and can be plugged into a UNO
style ESP32. If you do this, note the modifications given in the ReadMe.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#968 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACXMP3CGYXJTAFVLAG2XJK3S4RCWPANCNFSM4W2O3YFQ>
.
--
Francois Deslandes
|
It looks liek display prices have increased significantly over the las tfew months due parts shortages. This is the ST7796S SPI display I mentioned. Unfortunately these seem scarce these days and the ones that are available have doubled in price. There is a design fault on them but this is quite easily fixed, see discussion here. The RPi MHS 4.0 display is good too as it has a controller than seems to work at 80MHz SPI rate with the ESP32 (40MHz with ESP8266). |
ok, if it's only the touch driver, I don't care, I don't need it ;) thanks for your feedback. |
@Koxx3 hello there, the pinout for the IM0, IM1 etc were left as in the original post?, I noticed I bought a screen and I was given the same table u did. |
Hello !
I am struggling with my ILI9841.
Vendor link : https://fr.aliexpress.com/item/32829704426.html?spm=a2g0s.9042311.0.0.7e9d6c372FZSoE
I am using an FPC adapter.
I wired the screen with this configuration :
WARNING : I am not sure about the wiring ... chinese documentation... Is SPI_A0 = TFT_DC ?
I launched the "Read_User_Setup" with this result :
`
[code]
TFT_eSPI ver = 2.3.59
Processor = ESP32
Frequency = 240MHz
Transactions = Yes
Interface = SPI
Display driver = 9481
Display width = 320
Display height = 480
MOSI = GPIO 23
MISO = GPIO 19
SCK = GPIO 18
TFT_CS = GPIO 22
TFT_DC = GPIO 2
TFT_RST = GPIO 17
Font GLCD loaded
Font 2 loaded
Font 4 loaded
Font 6 loaded
Font 7 loaded
Font 8 loaded
Smooth font enabled
Display SPI frequency = 20.00
[/code]`
Nothing is visible on the screen with this one or another sketch.
Any help please ?
The text was updated successfully, but these errors were encountered: