This is an automated email from the ASF dual-hosted git repository.

linguini pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 2ecd2722cd2 boards/esp32s3: Increase LCD PWM frequency to reduce LCD 
flicker
2ecd2722cd2 is described below

commit 2ecd2722cd2653bf41d0fdc7c4ee54fc61e2a830
Author: Huang Qi <[email protected]>
AuthorDate: Wed Oct 29 22:25:15 2025 +0800

    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 <[email protected]>
---
 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)

Reply via email to