ESP32 S3 i80 LCD issues

tomatosoup
Posts: 3
Joined: Tue Sep 27, 2022 7:57 pm

ESP32 S3 i80 LCD issues

Postby tomatosoup » Sun Oct 23, 2022 8:12 pm

Hello

I'm trying to get the ESP32 S3 i80 controller working with two LCD controllers. ili9488 and R61529.

Both LCD controllers are working fine with simple SW Bit Bang implementation. But both LCD controllers aren't working with the i80 controller. I've used the i80 example in idf as a guideline.

Attached is my software file which can switch between i80 and SW Bit Bang with the `SW` flag.

In i80 mode, it looks like the initialization already doesn't work. The display just keeps being black. After init sequence, it should show random data.

Both displays are hooked up with the same pins as described in the example. 16 Bit Parallel.
Attachments
i80_controller_example_main.c
(19.19 KiB) Downloaded 219 times

tomatosoup
Posts: 3
Joined: Tue Sep 27, 2022 7:57 pm

Re: ESP32 S3 i80 LCD issues

Postby tomatosoup » Tue Feb 21, 2023 11:45 pm

The issue was 16 Bit bus width. The function esp_lcd_panel_io_tx_param expects a byte and not frame count.

This doesn't work:
esp_lcd_panel_io_tx_param(io_handle, 0x36, (uint8_t[]) { 0x00 }, 1);

This works:
esp_lcd_panel_io_tx_param(io_handle, 0x36, (uint16_t[]) { 0x00 }, 1 * 2);

kevin88.liao
Posts: 3
Joined: Wed Oct 25, 2023 5:21 am

Re: ESP32 S3 i80 LCD issues

Postby kevin88.liao » Wed Oct 25, 2023 5:24 am

Hi tomatosoup,

Is only the 0x36 command need to set 16bit bus width or the all initial commands needs?

Thank you.

Who is online

Users browsing this forum: No registered users and 325 guests