From 2ecd2722cd2653bf41d0fdc7c4ee54fc61e2a830 Mon Sep 17 00:00:00 2001 From: Huang Qi Date: Wed, 29 Oct 2025 22:25:15 +0800 Subject: [PATCH] boards/esp32s3: Increase LCD PWM frequency to reduce LCD flicker Increase LCD PWM frequency from 100Hz to 10kHz to eliminate visible flicker on the lckfb-szpi ESP32S3 board. The higher frequency provides smoother backlight control and improves display visual quality. Signed-off-by: Huang Qi --- boards/xtensa/esp32s3/lckfb-szpi-esp32s3/src/esp32s3-szpi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/xtensa/esp32s3/lckfb-szpi-esp32s3/src/esp32s3-szpi.h b/boards/xtensa/esp32s3/lckfb-szpi-esp32s3/src/esp32s3-szpi.h index aaa59741522..0d33c49194d 100644 --- a/boards/xtensa/esp32s3/lckfb-szpi-esp32s3/src/esp32s3-szpi.h +++ b/boards/xtensa/esp32s3/lckfb-szpi-esp32s3/src/esp32s3-szpi.h @@ -40,7 +40,7 @@ #define GPIO_LCD_RST (-1) #define SZPI_LCD_CS_PATH "/dev/gpio0" #define SZPI_LCD_PWM_PATH "/dev/pwm0" -#define SZPI_LCD_PWM_FREQ (100) +#define SZPI_LCD_PWM_FREQ (10000) #define SZPI_LCD_PWM_DUTY (0xe666) /* 0x1 ~ 0xffff */ #define FT5X06_I2C_ADDRESS (0x38)