# BSP: Waveshare ESP32-P4-WIFI6-Touch-LCD-4.3 [](https://components.espressif.com/components/waveshare/esp32_p4_wifi6_touch_lcd_4_3) Board support package for the [Waveshare ESP32-P4-WIFI6-Touch-LCD-4.3](https://www.waveshare.com/esp32-p4-wifi6-touch-lcd-4.3.htm), an ESP32-P4 development board with a 4.3-inch 480 × 800 MIPI-DSI touch display. ## Hardware | Feature | BSP configuration | | --- | --- | | Target | `esp32p4` | | Display | 480 × 800 MIPI-DSI panel; reset GPIO27; backlight GPIO26 | | Touch | GT911 on I2C (SCL GPIO8, SDA GPIO7); reset and interrupt are intentionally `GPIO_NUM_NC` | | Audio | I2S: SCLK GPIO12, MCLK GPIO13, LRCK GPIO10, DOUT GPIO9, DIN GPIO11; power amplifier GPIO53 | | microSD | SDMMC: D0–D3 GPIO39–GPIO42, CMD GPIO44, CLK GPIO43 | ## API | Capability | API | Status | | --- | --- | --- | | Display and LVGL | `bsp_display_start()`, `bsp_display_start_with_config()` | Supported | | Backlight | `bsp_display_brightness_init()`, `bsp_display_brightness_set()` | Supported | | Touch | `bsp_touch_new()` | Polling; probes `0x5D` then `0x14` without driving INT/RST | | I2C | `bsp_i2c_init()`, `bsp_i2c_get_handle()` | Supported | | Audio, microSD, USB host | Board BSP APIs | Supported | | Buttons | — | Not provided (`BSP_CAPS_BUTTONS == 0`) | ## Hardware revision profiles The display keeps a 30 MHz DPI pixel clock and a two-lane 500 Mbps MIPI DSI link on both supported silicon profiles. The BSP leaves the DSI PHY reference clock source unset so ESP-IDF selects the source matching the configured ESP32-P4 minimum revision: PLL_F20M for pre-v3 silicon and XTAL for rev3.x or newer silicon. ## Backlight ```c bsp_display_brightness_init(); bsp_display_backlight_on(); bsp_display_backlight_off(); bsp_display_brightness_set(100); ``` <!-- Autogenerated start: Dependencies --> ### Capabilities and dependencies | Capability | Available | Component | Version | |-------------|------------------|------------------------------------------------------------------------------------------------------------|---------| | DISPLAY |:heavy_check_mark:| [espressif/esp_lcd_st7701](https://components.espressif.com/components/espressif/esp_lcd_st7701) | * | | LVGL_ADAPTER|:heavy_check_mark:| [espressif/esp_lvgl_adapter](https://components.espressif.com/components/espressif/esp_lvgl_adapter) | ~0.6 | | TOUCH |:heavy_check_mark:| [espressif/esp_lcd_touch_gt911](https://components.espressif.com/components/espressif/esp_lcd_touch_gt911) | ^1 | | BUTTONS | :x: | | | | AUDIO |:heavy_check_mark:| [espressif/esp_codec_dev](https://components.espressif.com/components/espressif/esp_codec_dev) | ~1.5 | |AUDIO_SPEAKER|:heavy_check_mark:| | | | AUDIO_MIC |:heavy_check_mark:| | | | SDCARD |:heavy_check_mark:| idf | >=5.4 | | USB_HOST |:heavy_check_mark:| [espressif/usb](https://components.espressif.com/components/espressif/usb) | ^1.4.1, IDF >=6.0 | | IMU | :x: | | | <!-- Autogenerated end: Dependencies -->
e9fabe5caadd850a815093376f07a1d6b4361ce8
idf.py add-dependency "waveshare/esp32_p4_wifi6_touch_lcd_4_3^1.0.1"