-
Notifications
You must be signed in to change notification settings - Fork 792
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
Trouble compiling Esp_lcd_st7701 test_apps (AEGHB-883) #430
Comments
Thank you for your question. You should compile the component's test_case instead of the component itself. Specifically, you should compile: https://github.com/espressif/esp-iot-solution/tree/master/components/display/lcd/esp_lcd_st7701/test_apps. Regarding the initialization parameters, you are correct that in DCS, a Long Write is 0x39, and a Short Write is 0x05. However, in ESP's MIPI-DSI driver, users do not need to specify these commands manually. The driver will automatically send 0x39 or 0x05 based on the length of your parameters. You only need to write the registers and their corresponding parameters in the initialization settings. For further details, you can consult the display manufacturer. |
Thanks for the answer, And where can I find this driver and study it? |
Users do not need to worry about the specific implementation of the driver. You only need to update the initialization parameters and timing parameters of your display. Of course, if you want to learn more details, you can refer to the ST7701 datasheet to understand the functionality of some display registers (https://dl.espressif.com/AE/esp-iot-solution/ST7701S_SPEC_%20V1.4.pdf). As for the MIPI-DSI driver, you can refer to the DSI driver section in ESP-IDF (https://github.com/espressif/esp-idf/tree/master/components/esp_lcd/dsi). |
Thank you for your reply, you helped me a lot. |
Answers checklist.
IDF version.
Version: 3.1.0 Build id: 20241007-0706
Espressif SoC revision.
ESP32-P4 v1.4
Operating System used.
Windows
How did you build your project?
Eclipse IDE
If you are using Windows, please specify command line type.
None
Development Kit.
ESP32-P4 v1.4 Fuction EV board
Steps to reproduce.
Hi,
I'm having trouble compiling the example from this link: esp_lcd_st7701
I get the following error:
Also, the compiler is complaining about the CMake version, even though I'm using a recent version. Here's the warning:
Additionally, I wanted to ask about the display initialization code in this example. It looks like this:
{0xB0, (uint8_t []){0x00, 0x0B, 0x12, 0x0D, 0x10, 0x06, 0x02, 0x08, 0x07, 0x1F, 0x04, 0x11, 0x0F, 0x29, 0x31, 0x1E}, 16, 0}
How is this line constructed? It doesn't seem to match either the common ESP32 LCD panel commands or the MIPI DSI standard, which requires lines to start with
0x39 (DCS Long Write)
or0x05 (DCS Short Write)
. Can someone provide some insight into this?Build Logs.
More Information.
No response
The text was updated successfully, but these errors were encountered: