English | ä¸ć–‡
Version | Update date | Update description |
---|---|---|
T-Display-P4_V1.0 | 2025-06-13 | Original version |
Product | SOC | FLASH | PSRAM | Link |
---|---|---|---|---|
T-Display-P4_V1.0 | NULL | NULL | NULL | NULL |
The T-Display-P4 is a versatile development board based on the ESP32-P4 core. Its features include:
- High Processing Power: Equipped with the high-performance ESP32-P4 core processor, it can handle more complex graphics and video tasks, delivering smoother display performance.
- Low Power Design: Offers multiple selectable power modes to effectively reduce energy consumption and extend battery life.
- High-Resolution Display: Supports high resolution (default with a large MIPI interface screen at 540x1168px), providing sharp and clear visuals.
- Rich Peripheral Support: Onboard peripherals include an HD MIPI touchscreen, ESP32-C6 module, speaker, microphone, LoRa module, GPS module, Ethernet, a linear vibration motor, an independent battery gauge for monitoring battery health and percentage, and an MIPI camera. Multiple GPIOs of both the ESP32-P4 and ESP32-C6 are exposed, enhancing the device's expandability.
- Chip: ESP32-P4
- FLASH: 16M
- Related Documents:
- Module: ESP32-C6-MINI-1U
- Chip: ESP32-C6-FH4
- PSRAM: 4M
- FLASH: -
- Communication Protocol: SDIO
- Other: For more information, please visit Espressif ESP32-C6-MINI-1U datasheet
- Display Size (Diagonal): 4.05 inch
- LCD Type: α-Si TFT
- Resolution: 540(H) Ă— 1168(V) px
- Active Area: 41.9904(H) Ă— 91.1040(V) mm
- Module Dimensions: 44(H) Ă— 95.5(V) Ă— 1.46(T) mm
- Display Colors: 16.7M
- Display Interface: MIPI
- Touch Interface: IIC
- Display & Touch Driver IC: HI8561
- Maximum touch points: 10-point touch
- Luminance on surface: 550 cd/m²
- View Direction: All
- Contrast ratio: 1200:1
- Color gamut: 70%
- PPI: 326
- Window effect: No all-black
- Cover plate surface effect: No AF/AG
- Operating Temperature: -20~70 ºC
- Storage Temperature: -30~80 ºC
- Related Documents:
- Display Size (Diagonal): 4.1 inch
- LCD Type: α-Si AMOLED
- Resolution: 568(H) Ă— 1232(V) px
- Active Area: 43.55(H) Ă— 94.47(V) mm
- Module Dimensions: 45.6(H) Ă— 97.22(V) Ă— 0.7(T) mm
- Display Colors: 16.7M
- Display Interface: MIPI
- Touch Interface: IIC
- Display Driver IC: RM69A10
- Touch Driver IC: GT9895
- Maximum touch points: 10-point touch
- Luminance on surface: 500 cd/m²
- View Direction: All
- Contrast ratio: 20000:1
- Color gamut: 100%
- PPI: 190
- Window effect: No all-black
- Cover plate surface effect: No AF/AG
- Operating Temperature: -20~70 ºC
- Storage Temperature: -30~80 ºC
- Related Documents:
- Dependent Libraries:
- DAC Chip: ES8311
- Amplifier Chip: NS4150B
- Microphone: Electret Condenser Mic
- Communication Protocol: IIS
- Related Documents:
- Dependent Libraries:
- Driver IC: AW86224AFCR
- Communication Protocol: IIC
- Related Documents:
- Dependent Libraries:
- Module: HPD16A
- Chip: SX1262
- Communication Protocol: Standard SPI
- Related Documents:
- Dependent Libraries:
- Module: L76K
- Communication Protocol: Uart
- Related Documents:
- Dependent Libraries:
- Chip: PCF8563
- Communication Protocol: IIC
- Related Documents:
- Dependent Libraries:
- Chip: LGS4056H
- Additional Notes: The NTC pin of the 3-wire battery is connected to the LGS4056H charging IC. Over-temperature protection during charging is automatically controlled by the chip.
- Related Documents:
- Chip: BQ27220
- Communication Protocol: IIC
- Related Documents:
- Dependent Libraries:
- Interface: MIPI
- Related Documents:
- Chip: ICM20948
- Communication Protocol: IIC
- Related Documents:
- Dependent Libraries:
example | [vscode][esp-idf-v5.4.0] |
description | picture |
---|---|---|---|
aw86224 | |||
bq27220 | |||
deep_sleep | |||
es8311 | |||
es8311_sd_wav | |||
esp32c6_at_host_sdio_uart | |||
esp32c6_at_host_sdio_wifi | |||
screen_camera | |||
screen_lvgl | |||
screen_lvgl_touch_draw | |||
icm20948 | |||
iic_scan | |||
l76k | |||
lvgl_9_ui | factory example | ||
pcf8563 | |||
sgm38121 | |||
sx1262_gfsk_send_receive | |||
sx1262_lora_send_receive | |||
sx1262_tx_continuous_wave | |||
tusb_serial_device | |||
xl9535 | |||
afe |
firmware | description | picture |
---|---|---|
lvgl_9_ui | factory program | |
esp32c6_at | esp32c6-at factory program |
-
Install Visual Studio Code by selecting the appropriate version for your operating system.
-
Open the "Extensions" sidebar in Visual Studio Code (or use Ctrl+Shift+X to open extensions), search for the "ESP-IDF" extension, and install it.
-
While the extension is installing, use the git command to clone the repository:
git clone --recursive https://github.com/Xinyuan-LilyGO/T-Display-P4.git
Ensure you include the
--recursive
flag during cloning. If you forget to include it, you will need to initialize the submodules later by running:git submodule update --init --recursive
-
Download and install ESP-IDF v5.4.1. Take note of the installation path. Open the previously installed "ESP-IDF" extension and select "Configure ESP-IDF Extension." Choose the "USE EXISTING SETUP" menu, then select "Search ESP-IDF in system." Correctly configure the installation path you noted earlier:
- Enter ESP-IDF directory (IDF_PATH):
Your installation path xxx\Espressif\frameworks\esp-idf-v5.4
- Enter ESP-IDF Tools directory (IDF_TOOLS_PATH):
Your installation path xxx\Espressif
Click the "Install" button at the bottom right to proceed with the framework installation.
- Enter ESP-IDF directory (IDF_PATH):
-
Click the "SDK Configuration Editor" in the ESP-IDF extension menu at the bottom of Visual Studio Code. In the search bar, look for the field "Select the example to build" and choose the project you want to compile. Then, search for "Select the camera type" and select the camera model integrated on your board. Save the settings.
-
Click "Set Espressif Device Target" in the bottom menu bar of Visual Studio Code and select ESP32P4. Next, click "Build Project" in the bottom menu bar and wait for the build to complete. Then, click "Select Port to Use," followed by "Flash Project" to upload the program.
-
Open the project file "tools" and locate the ESP32 burning tool. Open it.
-
Select the correct burning chip and burning method, then click "OK." As shown in the picture, follow steps 1->2->3->4->5 to burn the program. If the burning is not successful, press and hold the "BOOT-0" button and then download and burn again.
-
Burn the file in the root directory of the project file "firmware" file,There is a description of the firmware file version inside, just choose the appropriate version to download.
For pin definitions, please refer to the configuration file: t_display_p4_config.h
firmware | program | description | picture |
---|---|---|---|
deep_sleep(single_board) | deep_sleep | Average current consumption: 1.2mA. For more details, please refer to the Power Consumption Test Log. |
program | description | picture |
---|---|---|
uvc_sc2336 | Original image and screenshot effect of taking a picture on the screen. | |
uvc_ov2710 | Original image and screenshot effect of taking a picture on the screen. |
- Q. After reading the above tutorials, I still don't know how to build a programming environment. What should I do?
- A. If you still don't understand how to build an environment after reading the above tutorials, you can refer to the LilyGo-Document document instructions to build it.
- Q. Why is my board continuously failing to download the program?
- A. Please hold down the "BOOT-0" button and try downloading the program again.