Skip to content
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

Driver ILI9488 renders only a portion of the screen #66

Closed
Djaison opened this issue Mar 3, 2020 · 7 comments
Closed

Driver ILI9488 renders only a portion of the screen #66

Djaison opened this issue Mar 3, 2020 · 7 comments

Comments

@Djaison
Copy link

Djaison commented Mar 3, 2020

Describe the issue
Hello! I place my question here, because I think that the error is due to driver ILI9488.
I ported the project to ESP32 according to the readme. I use Waveshare_ILI9486 display. After compiling and downloading, I see on the screen an incomplete picture, besides an inverted 90 degrees. Screen resolution 320x480, this parameters I save to sdkconfig, all other parameters I use the default. SPI frequency = 10 MHz, I use HSPI, but at higher frequencies there is no picture at all, perhaps because of the wired connection. With what may be due to this problem?

ESP-IDF version
last master

Development kit used
ESP-WROOM32

Development machine OS
Windows

If possible, copy the compilation log into a file and attach it here
Info: lv_init ready (../components/lvgl/lvgl/src/lv_core/lv_obj.c #117)
ILI9488 initialization.
Enabling backlight.
Info: Screen create ready (../components/lvgl/lvgl/src/lv_core/lv_obj.c #211)
Info: Screen create ready (../components/lvgl/lvgl/src/lv_core/lv_obj.c #211)
Info: Screen create ready (../components/lvgl/lvgl/src/lv_core/lv_obj.c #211)
Info: image created (../components/lvgl/lvgl/src/lv_objx/lv_img.c #108)
Info: lv_img_set_src: LV_IMG_SRC_VARIABLE type found (../components/lvgl/lvgl/src/lv_objx/lv_img.c #152)
Info: container created (../components/lvgl/lvgl/src/lv_objx/lv_cont.c #113)
Info: button matrix created (../components/lvgl/lvgl/src/lv_objx/lv_btnm.c #127)
Info: tab view created (../components/lvgl/lvgl/src/lv_objx/lv_tabview.c #184)
Info: container created (../components/lvgl/lvgl/src/lv_objx/lv_cont.c #113)
Info: container created (../components/lvgl/lvgl/src/lv_objx/lv_cont.c #113)
Info: page created (../components/lvgl/lvgl/src/lv_objx/lv_page.c #167)
Info: container created (../components/lvgl/lvgl/src/lv_objx/lv_cont.c #113)
Info: container created (../components/lvgl/lvgl/src/lv_objx/lv_cont.c #113)
Info: page created (../components/lvgl/lvgl/src/lv_objx/lv_page.c #167)
Info: container created (../components/lvgl/lvgl/src/lv_objx/lv_cont.c #113)
Info: container created (../components/lvgl/lvgl/src/lv_objx/lv_cont.c #113)
Info: page created (../components/lvgl/lvgl/src/lv_objx/lv_page.c #167)
Info: container created (../components/lvgl/lvgl/src/lv_objx/lv_cont.c #113)
Info: container created (../components/lvgl/lvgl/src/lv_objx/lv_cont.c #113)
Info: page created (../components/lvgl/lvgl/src/lv_objx/lv_page.c #167)
Info: label created (../components/lvgl/lvgl/src/lv_objx/lv_label.c #154)
Info: text area created (../components/lvgl/lvgl/src/lv_objx/lv_ta.c #193)
Info: container created (../components/lvgl/lvgl/src/lv_objx/lv_cont.c #113)
Info: container created (../components/lvgl/lvgl/src/lv_objx/lv_cont.c #113)
Info: page created (../components/lvgl/lvgl/src/lv_objx/lv_page.c #167)
Info: list created (../components/lvgl/lvgl/src/lv_objx/lv_list.c #148)
Info: container created (../components/lvgl/lvgl/src/lv_objx/lv_cont.c #113)
Info: button created (../components/lvgl/lvgl/src/lv_objx/lv_btn.c #145)
Info: image created (../components/lvgl/lvgl/src/lv_objx/lv_img.c #108)
Info: label created (../components/lvgl/lvgl/src/lv_objx/lv_label.c #154)
Info: container created (../components/lvgl/lvgl/src/lv_objx/lv_cont.c #113)
Info: button created (../components/lvgl/lvgl/src/lv_objx/lv_btn.c #145)
Info: image created (../components/lvgl/lvgl/src/lv_objx/lv_img.c #108)
Info: label created (../components/lvgl/lvgl/src/lv_objx/lv_label.c #154)
Info: container created (../components/lvgl/lvgl/src/lv_objx/lv_cont.c #113)
Info: button created (../components/lvgl/lvgl/src/lv_objx/lv_btn.c #145)
Info: image created (../components/lvgl/lvgl/src/lv_objx/lv_img.c #108)
Info: label created (../components/lvgl/lvgl/src/lv_objx/lv_label.c #154)
Info: container created (../components/lvgl/lvgl/src/lv_objx/lv_cont.c #113)
Info: button created (../components/lvgl/lvgl/src/lv_objx/lv_btn.c #145)
Info: image created (../components/lvgl/lvgl/src/lv_objx/lv_img.c #108)
Info: label created (../components/lvgl/lvgl/src/lv_objx/lv_label.c #154)
Info: container created (../components/lvgl/lvgl/src/lv_objx/lv_cont.c #113)
Info: button created (../components/lvgl/lvgl/src/lv_objx/lv_btn.c #145)
Info: image created (../components/lvgl/lvgl/src/lv_objx/lv_img.c #108)
Info: label created (../components/lvgl/lvgl/src/lv_objx/lv_label.c #154)
Info: container created (../components/lvgl/lvgl/src/lv_objx/lv_cont.c #113)
Info: button created (../components/lvgl/lvgl/src/lv_objx/lv_btn.c #145)
Info: image created (../components/lvgl/lvgl/src/lv_objx/lv_img.c #108)
Info: label created (../components/lvgl/lvgl/src/lv_objx/lv_label.c #154)
Info: container created (../components/lvgl/lvgl/src/lv_objx/lv_cont.c #113)
Info: button created (../components/lvgl/lvgl/src/lv_objx/lv_btn.c #145)
Info: image created (../components/lvgl/lvgl/src/lv_objx/lv_img.c #108)
Info: label created (../components/lvgl/lvgl/src/lv_objx/lv_label.c #154)
Info: container created (../components/lvgl/lvgl/src/lv_objx/lv_cont.c #113)
Info: label created (../components/lvgl/lvgl/src/lv_objx/lv_label.c #154)
Info: mesasge box created (../components/lvgl/lvgl/src/lv_objx/lv_mbox.c #125)
Info: button matrix created (../components/lvgl/lvgl/src/lv_objx/lv_btnm.c #127)
Info: chart created (../components/lvgl/lvgl/src/lv_objx/lv_chart.c #140)
Info: bar created (../components/lvgl/lvgl/src/lv_objx/lv_bar.c #116)
Info: slider created (../components/lvgl/lvgl/src/lv_objx/lv_slider.c #104)
Info: image draw: cache miss, cached to an empty entry (../components/lvgl/lvgl/src/lv_draw/lv_img_cache.c #109)

20200303_102630

@C47D
Copy link
Collaborator

C47D commented Mar 3, 2020

Hi,

Hey. I place my question here, because I think that the error is due to driver ILI9488.
I ported the project to ESP32 according to the readme. I use Waveshare_ILI9486 display.

Is your display using the ILI9488 or ILI9486 controller? Right now the repo only supports ILI9341, ILI9488, ST7789 and soon HX8357D. The configuration might be different from ILI9486 to ILI9488.

Have you tested your display with other libraries? Maybe using the ESP32 as Arduino, this way we can be sure the display is working properly.

Regards

@Djaison
Copy link
Author

Djaison commented Mar 3, 2020

Yes, my display still has ILI9486 controller, but I decided that it should work with the driver ILI9488, since some resources on the Internet, he is referred to as ILI9486 / ILI9488. Probably knows the exact answer ILI9488 driver developer. This display exactly working, I used it with a library from Arduino Waveshare on ArduinoMega. Thanks for the quick response!

Regards

@C47D
Copy link
Collaborator

C47D commented Mar 3, 2020

Ok, I will take a look at the code, last weekend i was using the ILI9488 and had no issues.

If you can paste here the gpio numbers you used to connect your display.

@Djaison
Copy link
Author

Djaison commented Mar 4, 2020

Pins are configured as follow
pin_map

@Djaison
Copy link
Author

Djaison commented Mar 4, 2020

Could you provide your project sdkconfig on ili9488? I use the demo example, maybe the problem is in the wrong dma configuration?

@C47D
Copy link
Collaborator

C47D commented Mar 4, 2020

Maybe your repo clone is somewhat old, the repo has been renamed to lv_port_esp32.

You can get the latest repo with:

$ git clone --recurse-submodules https://github.com/littlevgl/lv_port_esp32.git
$ cd lv_port_esp32
$ idf.py menuconfig
/* Go to Components->Littlevgl (LVGL) TFT display controller->Select a display controller model and choose ILI9488 */
/* Then set your pin assignments */

@Djaison
Copy link
Author

Djaison commented Mar 5, 2020

The problem is similar to the display. I use this.
image
Most likely the problem is spi converter, which is located on the reverse side, maybe he realizes not all the functionality. Successfully launched with other display who has a ST7789 driver. Sorry to bother you, I think the question can be closed, thanks again for your help!

@Djaison Djaison closed this as completed Mar 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants