ESP32-S3 LCD and I2S FULL documentation

Baldhead
Posts: 468
Joined: Sun Mar 31, 2019 5:16 am

ESP32-S3 LCD and I2S FULL documentation

Postby Baldhead » Wed Nov 17, 2021 11:45 pm

Hi,

I'm migrating a project from esp32 to esp32-s3.

In the esp32 i wrote a i2s lcd driver with the help of @ESP_houwenxiang because some hardware "bugs" and bad documentation.

From what i have read and researched the new i2s module of esp32-s3 is quite different from the i2s module of esp32.

I did not find a decent documentation for the lcd module or the i2s module of the esp32-s3 chip.

I need a full documentation of theses modules, to implement my lcd driver.

@ESP_houwenxiang or @rudi ;-) or someone would help me ?

Thank's.

ESP_Sprite
Posts: 9757
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32-S3 LCD and I2S FULL documentation

Postby ESP_Sprite » Thu Nov 18, 2021 3:19 am

Fyi, wrt the LCD HW, we have a TRM chapter for that, but unfortunately it's not out yet... you can look at the ESP-LCD component in ESP-IDF wrt how to use it, and if you have any more specific questions, feel free to ask them here.

Baldhead
Posts: 468
Joined: Sun Mar 31, 2019 5:16 am

Re: ESP32-S3 LCD and I2S FULL documentation

Postby Baldhead » Thu Nov 18, 2021 6:12 am

Probably one of the doubts will be in relation to the dma of the HW LCD.

Does lcd hw use gdma or have dedicated dma ?

How to set dma in lcd hw to use static ram ?
How to set dma in lcd hw to use spi ram ?

Thank's @ESP_Sprite.

ESP_Sprite
Posts: 9757
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32-S3 LCD and I2S FULL documentation

Postby ESP_Sprite » Fri Nov 19, 2021 8:55 am

It can use GDMA or EDMA, indeed, so you can access stuff on SPI RAM as well. I can't entirely describe the process to init it, but you can look at ESP-IDF to see working source code for the process.

Baldhead
Posts: 468
Joined: Sun Mar 31, 2019 5:16 am

Re: ESP32-S3 LCD and I2S FULL documentation

Postby Baldhead » Fri Nov 19, 2021 9:11 pm

Hi @ESP_Sprite,

Does the esp32-s3 lcd module have any relationship with the i2s module ?
Or are these modules completely separate ?

How do i know this file specifically refers to the HW_LCD of the esp32-s3 chip ?
https://github.com/espressif/esp-idf/bl ... l_io_i80.c

That way espressif make my life too complicated :(

Could you send me the manual for the esp32-s3 lcd module by email ?
Do i need to sign a contract for this ?

Thank's.

ESP_Sprite
Posts: 9757
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32-S3 LCD and I2S FULL documentation

Postby ESP_Sprite » Sat Nov 20, 2021 12:59 pm

In the S3, the modules are entirely separate. I don't think I really can send the docs yet, they're still a work in progress, sorry. I agree that the code is complicated if you want to know how to poke the hardware; that's the price for drivers that are more universal and common on the range...

Baldhead
Posts: 468
Joined: Sun Mar 31, 2019 5:16 am

Re: ESP32-S3 LCD and I2S FULL documentation

Postby Baldhead » Sat Nov 20, 2021 5:30 pm

@ESP_Sprite,

I really need you to confirm for sure which esp-idf file(s) use the esp32-s3 HW-LCD module ?

This file ?
https://github.com/espressif/esp-idf/bl ... l_io_i80.c

Other files ?

Thank's.
Last edited by Baldhead on Mon Nov 22, 2021 5:14 am, edited 1 time in total.

ESP_Sprite
Posts: 9757
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32-S3 LCD and I2S FULL documentation

Postby ESP_Sprite » Mon Nov 22, 2021 3:25 am

The lcd_ll_* and lcd_hal_* are calls into the abstraction layer for the LCD peripheral; you can assume that any code that calls those uses the LCD peripheral.

Baldhead
Posts: 468
Joined: Sun Mar 31, 2019 5:16 am

Re: ESP32-S3 LCD and I2S FULL documentation

Postby Baldhead » Thu Nov 25, 2021 8:25 pm

@ESP_Sprite,

if i'm not wrong, i will have to understand the peripherals gdma/edma, and these peripherals don't have documentation too.

I am in a fix ;)

ESP_Sprite
Posts: 9757
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32-S3 LCD and I2S FULL documentation

Postby ESP_Sprite » Fri Nov 26, 2021 2:01 am

Well, you could use the ll/hal drivers up to a point... What specifically are you trying to pull off using these peripherals anyway?

Who is online

Users browsing this forum: No registered users and 69 guests