From 259ecfdbeb4c471918226ae611732ac44f123fae Mon Sep 17 00:00:00 2001 From: "yanzihan@espressif.com" Date: Wed, 8 Jul 2026 11:15:35 +0800 Subject: [PATCH] feat(pvt): change pvt timer target & limit --- components/esp_hw_support/port/esp32c5/include/soc/rtc.h | 8 ++++---- components/esp_hw_support/port/esp32c6/include/soc/rtc.h | 4 ++-- components/esp_hw_support/port/esp32c61/include/soc/rtc.h | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/components/esp_hw_support/port/esp32c5/include/soc/rtc.h b/components/esp_hw_support/port/esp32c5/include/soc/rtc.h index 2c397df8a57..d7f4d59f076 100644 --- a/components/esp_hw_support/port/esp32c5/include/soc/rtc.h +++ b/components/esp_hw_support/port/esp32c5/include/soc/rtc.h @@ -66,20 +66,20 @@ set pvt default param */ #define PVT_CHANNEL0_SEL 33 #define PVT_CHANNEL1_SEL 37 -#define PVT_CHANNEL0_CFG 0x13e80 -#define PVT_CHANNEL1_CFG 0x13e80 +#define PVT_CHANNEL0_CFG 0x11fff +#define PVT_CHANNEL1_CFG 0x17fff #define PVT_CHANNEL2_CFG 0x10000 #define PVT_CMD0 0x24 #define PVT_CMD1 0x5 #define PVT_CMD2 0x427 #define PVT_TARGET 0xffff #define PVT_CLK_DIV 1 -#define PVT_DELAY_NUM_HIGH 154 +#define PVT_DELAY_NUM_HIGH 157 #define PVT_DELAY_NUM_LOW 147 #define PVT_PUMP_CHANNEL_CODE 1 #define PVT_PUMP_BITMAP 22 #define PVT_PUMP_DRV 0 -#define PVT_DELAY_NUM_PUMP 143 +#define PVT_DELAY_NUM_PUMP 139 /** * @brief Initialize PVT related parameters diff --git a/components/esp_hw_support/port/esp32c6/include/soc/rtc.h b/components/esp_hw_support/port/esp32c6/include/soc/rtc.h index 82907e29a15..c8c6adc1e56 100644 --- a/components/esp_hw_support/port/esp32c6/include/soc/rtc.h +++ b/components/esp_hw_support/port/esp32c6/include/soc/rtc.h @@ -72,8 +72,8 @@ set pvt default param */ #define PVT_CHANNEL0_SEL 34 #define PVT_CHANNEL1_SEL 38 -#define PVT_CHANNEL0_CFG 0x1033e -#define PVT_CHANNEL1_CFG 0x1033e +#define PVT_CHANNEL0_CFG 0x11fff +#define PVT_CHANNEL1_CFG 0x17fff #define PVT_CHANNEL2_CFG 0x10000 #define PVT_CMD0 0x24 #define PVT_CMD1 0x5 diff --git a/components/esp_hw_support/port/esp32c61/include/soc/rtc.h b/components/esp_hw_support/port/esp32c61/include/soc/rtc.h index d955aad0025..e4018c9f15b 100644 --- a/components/esp_hw_support/port/esp32c61/include/soc/rtc.h +++ b/components/esp_hw_support/port/esp32c61/include/soc/rtc.h @@ -66,15 +66,15 @@ set pvt default param */ #define PVT_CHANNEL0_SEL 33 #define PVT_CHANNEL1_SEL 37 -#define PVT_CHANNEL0_CFG 0x13e80 -#define PVT_CHANNEL1_CFG 0x13e80 +#define PVT_CHANNEL0_CFG 0x11fff +#define PVT_CHANNEL1_CFG 0x17fff #define PVT_CHANNEL2_CFG 0x10000 #define PVT_CMD0 0x24 #define PVT_CMD1 0x5 #define PVT_CMD2 0x427 #define PVT_TARGET 0xffff #define PVT_CLK_DIV 1 -#define PVT_DELAY_NUM_HIGH 142 +#define PVT_DELAY_NUM_HIGH 145 #define PVT_DELAY_NUM_LOW 135 #define PVT_PUMP_CHANNEL_CODE 1 #define PVT_PUMP_BITMAP 22