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.
ESP32 S3 i80 LCD issues
-
- Posts: 3
- Joined: Tue Sep 27, 2022 7:57 pm
ESP32 S3 i80 LCD issues
- Attachments
-
- i80_controller_example_main.c
- (19.19 KiB) Downloaded 213 times
-
- Posts: 3
- Joined: Tue Sep 27, 2022 7:57 pm
Re: ESP32 S3 i80 LCD issues
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);
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);
-
- Posts: 3
- Joined: Wed Oct 25, 2023 5:21 am
Re: ESP32 S3 i80 LCD issues
Hi tomatosoup,
Is only the 0x36 command need to set 16bit bus width or the all initial commands needs?
Thank you.
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: grantb and 122 guests