wuzhenghui
5a90450257
feat(example): implement power management example for ESP chips
2026-05-12 11:13:31 +08:00
wuzhenghui
dc961f8a5b
fix(bootloader): fix secure boot fast wake failed
2026-05-09 15:11:24 +08:00
wuzhenghui
c48b9c2be5
fix(soc): link rtc_io_num_map to DRAM
2026-03-13 17:02:07 +08:00
wuzhenghui
661a442886
feat(example): add cache safe check for wifi powersave example CI
2026-03-13 17:01:14 +08:00
wuzhenghui
e67437fc64
feat(esp_hw_support): add API to supoport modify retention skip flag dynamically
2026-03-11 20:01:42 +08:00
wuzhenghui
f85a5dee4d
fix(esp_hw_support): fix esp_sleep_enable_gpio_wakeup_on_hp_periph_powerdown bad logic
2026-02-13 12:23:10 +08:00
wuzhenghui
3943637325
fix(esp_hw_support): make esp_deep_sleep_enable_gpio_wakeup available to PD_TOP lightsleep
2026-02-13 12:23:06 +08:00
wuzhenghui
a0ca0c9de9
fix(example): fix uninitialized gpio/rtcio in deepsleep example
2026-02-13 12:22:54 +08:00
wuzhenghui
b6de6cdf9a
fix: add reference count control for modem clock devices
2026-02-11 14:30:35 +08:00
wuzhenghui
34efa0f834
fix(esp_system): fix rom secure boot fast wake feature for c5/c6/h2/h21
2026-01-12 19:52:17 +08:00
wuzhenghui
a3683a2346
fix(esp_hw_support): add dependency of the TOP domain to the RTC_PERIPH domain for esp32c6
2025-12-19 20:18:25 +08:00
wuzhenghui
00d32fddff
ci(esp_pm): add test case for USJ printing performance during wake-up
...
Add a new test case to verify that USJ printing doesn't block CPU on chip
wake-up from light sleep. The test measures the average time per print
operation and ensures it's below 5000 microseconds.
2025-11-17 11:15:58 +08:00
wuzhenghui
4a0aac02a4
fix(esp_system): fix XTAL32K power breaks ADC function on 32k XTAL clock pin
2025-11-17 10:57:02 +08:00
wuzhenghui
13cf201b73
fix(esp_driver_usb_serial_jtag): check USJ accessibility before read/write
...
Add connection checks to usb_serial_jtag_write and usb_serial_jtag_read
functions to return -EIO error code when the USB Serial JTAG is not
connected.
2025-11-14 17:34:37 +08:00
wuzhenghui
3c48d5af38
fix(esp_system): fix ext 32k io revoking breaks sleep io holding
2025-10-10 20:28:53 +08:00
wuzhenghui
a0cec6a7ef
feat(esp_hw_support): add new API to get all wakeup sources
2025-08-26 21:54:42 +08:00
wuzhenghui
421bbc2cba
change(esp_hw_support): warning in esp_sleep_pd_config instead of assert
...
Closes https://github.com/espressif/esp-idf/issues/16872#event-18649904083
2025-08-08 14:35:35 +08:00
wuzhenghui
ee7ba66736
change(esp_hw_support): always do hardware clock enable in modem module enabling
2025-08-08 12:02:42 +08:00
wuzhenghui
c6d13ec757
fix(esp_hw_support): fix MODEM_ADC_COMMON_FE destroyed by modem powerdown lightsleep
2025-08-08 12:02:33 +08:00
wuzhenghui
12d9f6af97
fix(esp_hw_support): fix esp32 APP_CPU accessing RTCFAST memory in sleep code
2025-07-14 14:09:16 +08:00
wuzhenghui
cf477b94ce
feat(esp_hw_support): enable wakeup tests for more chips
2025-07-02 17:54:38 +08:00
wuzhenghui
8d5aa071c2
change(bt): increase BTDM_MODEM_WAKE_UP_DELAY
2025-06-16 17:31:53 +08:00
wuzhenghui
6f8408e7c0
change(esp_timer): make esp_timer timming drift always be negative
2025-06-16 17:31:53 +08:00
wuzhenghui
2ec5099b42
fix(esp_hw_support): config lact in critical
2025-06-16 17:31:47 +08:00
wuzhenghui
f5022cb8c2
ci(esp_timer): add UT case for esp_timer period alarm with DFS
2025-05-22 14:58:43 +08:00
wuzhenghui
a2e212fb9f
feat(esp_hw_support): compensate the error introduced to LACT during APB frequency switching
2025-05-22 14:58:43 +08:00
wuzhenghui
d54c710921
fix(esp_hw_support): update systimer step immediately when XTAL changes on esp32s2
2025-05-22 14:58:42 +08:00
wuzhenghui
52296887bf
fix(esp_hw_support): update LACT clock prescale immediately when APB changes on esp32
2025-05-22 14:58:39 +08:00
wuzhenghui
188a443184
fix(esp_hw_support): always disable USJ pad in sleep to supress leakage
2025-05-13 20:16:35 +08:00
wuzhenghui
a7e91d59d1
feat(esp_hw_support): count pau backup time into sleep rejection judgment
2025-04-28 11:44:37 +08:00
wuzhenghui
18506d945f
feat(esp_hw_support): remeasure sleep_time_overhead_out if min_freq_mhz changed
2025-04-28 11:44:30 +08:00
wuzhenghui
f1ff4d890e
fix(esp_hw_support): fix usj pad config bad retention
...
Closes https://github.com/espressif/esp-idf/issues/15797
2025-04-25 15:56:34 +08:00
wuzhenghui
5d7d37def6
change(esp_hw_support): allow sar power keep on during lightsleep
...
Closes https://github.com/espressif/esp-idf/issues/12426
2025-04-16 16:11:01 +08:00
wuzhenghui
f86ea55bd3
fix(esp_hw_support): fixed gpio sleep switching filling junk data to the console UART FIFO
2025-04-16 15:27:00 +08:00
wuzhenghui
deffa33d5f
fix(esp_hw_support): fix unused OSC source deinit breaks XTAL32K configuration
2025-04-16 15:03:11 +08:00
wuzhenghui
b4c907e36d
fix(esp_hw_support): fix current leakage if ext32k slow clock source not exists
2025-04-16 15:02:35 +08:00
wuzhenghui
992d0db153
fix(esp_hw_support): fix min sleep time calculation missmatch in powerdown flash decision
2025-04-03 11:46:37 +08:00
wuzhenghui
73d9cb3517
fix(esp_system): fix possible cache_error by another core accessing flash in esp_restart
2025-03-07 20:27:17 +08:00
wuzhenghui
7b100e98b7
change(doc): added more usage notes & warings about PM_POWER_DOWN_PERIPHERAL_IN_LIGHT_SLEEP
2025-02-28 16:47:40 +08:00
wuzhenghui
b2c8dcacb0
fix(esp_hw_support): fix lightsleep destroys deepsleep rtc parameters
2025-02-26 16:57:41 +08:00
wuzhenghui
aff8ad355b
fix(esp_hw_support): fix esp32s2/esp32s3 RTC IOMUX clock management
2025-02-21 10:18:27 +08:00
wuzhenghui
6ed9e39ffa
fix(esp_driver_gpio): manage lp_io module clock by driver
...
Closes https://github.com/espressif/esp-idf/issues/13683
2025-02-20 19:46:22 +08:00
wuzhenghui
5435b614df
fix(esp_hw_support): fix lp/hp clock wait time calculation
2025-02-17 20:49:15 +08:00
wuzhenghui
cb169282bb
change(esp_hw_support): wait pll calibration done in regdma link instead of wait fixed value
2025-02-17 20:47:55 +08:00
wuzhenghui
5e81eb6cf7
fix(esp_hw_support): add timer wakeup sleep duration check
...
Closes https://github.com/espressif/esp-idf/issues/15255
2025-02-17 19:57:11 +08:00
wuzhenghui
aaf7c6a9ce
fix(esp_hw_support): fix modem power enable failed after modem state wakeup
2025-01-09 11:12:51 +08:00
wuzhenghui
8557a2c529
fix(esp_pm): enable RTC_PERIPH domain once in esp_pm_trace_init
2024-12-26 14:11:01 +08:00
wuzhenghui
c9af36610d
fix(esp_hw_support): fix FLASH leakage workaround kconfig dependcy
2024-12-26 11:40:58 +08:00
wuzhenghui
0841034ab5
fix(esp_pm): fix deadlock in pm_mode switching
2024-11-18 19:24:27 +08:00
wuzhenghui
0fd250216c
fix(esp_pm): fix missed ccompare update when another core is already in do_switch
2024-11-18 16:50:11 +08:00
wuzhenghui
6e1c4f8971
fix(esp_system): deselect all modem modules clk source selection before clk init
2024-11-15 13:46:28 +08:00
wuzhenghui
de107cf4f2
fix(esp_pm): move clock module out of TOP_DOMAIN_PERIPHERALS_BM
2024-11-13 16:44:45 +08:00
wuzhenghui
8cdca030e3
fix(esp_hw_support): skip some wakeup steps if sleep is rejected
...
1. Skip esp_timer time compensation to avoid introducing errors into rtc_timer
2. Ignore sleep_time_overhead_out measurements when sleep is rejected
2024-11-11 10:21:30 +08:00
wuzhenghui
b8e796cb67
fix(esp_hw_support): disable unused clock sources after rtc clock switching complete
2024-10-28 19:57:56 +08:00
wuzhenghui
9085e0737f
fix(esp_hw_support): enable all supported slow clock at pmu_init
2024-10-28 12:09:12 +08:00
wuzhenghui
6a35be4e47
change(esp_hw_support): switch hp_sys default power mode with clock src selection
2024-10-11 15:47:48 +08:00
wuzhenghui
f617e55e5e
fix(esp_hw_support): add clock retention contents
2024-09-18 17:11:24 +08:00
wuzhenghui
69baf86cf4
change(esp_hw_support): collect retention link priority definition
2024-08-26 11:40:07 +08:00
wuzhenghui
b752b6c5e9
fix(esp_pm): configure timer wakeup source with auto light-sleep congiguration
2024-08-06 11:04:58 +08:00
wuzhenghui
4ddeee6260
fix(esp_hw_support): wait eFuse controller idle after sleep wakeup
2024-07-08 14:14:57 +08:00
wuzhenghui
851c176d1b
change(esp_hw_support): update xtal_freq after assume to avoid mass print in DFS
2024-06-24 13:38:10 +08:00
wuzhenghui
c239c68373
change(esp_system): trigger digital system reset in brownout isr
2024-06-24 12:03:03 +08:00
wuzhenghui
a5e75a4cb3
fix(hal): fix PMU LL half word and byte access
2024-06-07 14:16:15 +08:00
wuzhenghui
027ede811e
fix(hal): fix LP timer LL half word access
2024-06-07 14:15:47 +08:00
wuzhenghui
1090b496a1
fix(esp_hw_support/sleep): stop TG0/TG1 watchdog if XTAL not power down in lightsleep
2024-06-04 21:30:28 +08:00
wuzhenghui
92e3fd4e44
change(esp_hw_support/sleep): improve esp32c3 systimer stall bug workaround
2024-06-04 21:30:28 +08:00
wuzhenghui
464fe67ec7
docs(lowpower): updating low-power statistics in Wi-Fi scenarios
2024-05-30 22:04:24 +08:00
wuzhenghui
b2187bc619
docs(gpio): add description for gpio_force_hold_all & gpio_force_unhold_all
...
Closes https://github.com/espressif/esp-idf/issues/13186
2024-05-13 16:27:49 +08:00
wuzhenghui
757573b551
docs(esp_pm): Adding notes on configuring GPIOs when using PD_TOP sleep
...
Closes https://github.com/espressif/esp-idf/issues/13143
2024-05-13 16:27:49 +08:00
wuzhenghui
a3c20bde5d
fix(esp_system): increase 26Mhz esp32c2 slow clock calibration timeout watchdog threshold
2024-04-30 11:48:03 +08:00
wuzhenghui
8f896f07c5
fix(esp_hw_support): fix pmu power domain initialize order
2024-04-10 10:10:13 +08:00
wuzhenghui
a9ff81a603
fix(esp_hw_support): move deepsleep phy callback before PLL disable
2024-04-07 20:36:51 +08:00
wuzhenghui
fe6f4ce916
fix(esp_pm): update CPU frequency immediately after updating pm_config
...
Closes https://github.com/espressif/esp-idf/issues/13492
2024-04-07 14:45:40 +08:00
wuzhenghui
df6a32f305
fix(esp_hw_support): fix cache safe check function
2024-02-26 17:42:14 +08:00
wuzhenghui
eeed231304
ci: enable hardware crypto module for powersave tests
2024-02-18 15:57:19 +08:00
wuzhenghui
2cd8335818
feat(esp_hw_support): support gdma register context sleep retention
2024-02-18 15:57:15 +08:00
wuzhenghui
3f75f037c0
fix(esp_pm): safely check ccompare validity in DFS update_ccompare
2024-01-19 11:12:22 +08:00
wuzhenghui
6d238cdba2
feat(ulp): add api to get lp_cpu wakeup cause and clear wakeup source at startup
...
Closes https://github.com/espressif/esp-idf/issues/12651
2023-12-27 19:12:16 +08:00
wuzhenghui
fcb9cf8b93
change(esp_hw_support/sleep): rename ESP_SLEEP_DEEP_SLEEP_WAKEUP_DELAY
...
1. Rename ESP_SLEEP_DEEP_SLEEP_WAKEUP_DELAY to ESP_SLEEP_WAIT_FLASH_READY_EXTRA_DELAY
2. Set ESP_SLEEP_WAIT_FLASH_READY_EXTRA_DELAY visible for all targets
2023-12-27 15:35:00 +08:00
wuzhenghui
83b6c79f93
fix(esp_hw_support/sleep): wait flash ready after non-pd_top lightsleep for esp32c6
2023-12-27 15:34:55 +08:00
wuzhenghui
613c17bc2f
fix(esp_hw_support): fix esp32h2 system link restore override cpu clk configuration
2023-12-11 11:24:00 +08:00
wuzhenghui
debcb50fd2
fix(esp_hw_support): re-initialize icg map in modem_clock_module_enable
2023-12-08 14:18:45 +08:00
wuzhenghui
7b3c08e37a
fix(esp_hw_support/sleep): fix rtc_time_us_to_slowclk div zero in deepsleep process
...
Closes https://github.com/espressif/esp-idf/issues/12695
2023-12-08 13:59:52 +08:00
wuzhenghui
d07bd19ba6
fix(esp_system): fix uart clock disabled in driver cause esp_restart stuck
2023-12-06 10:36:48 +08:00
wuzhenghui
600986cf49
fix(riscv): supports 1 byte and larger than 64byte range watchpoint setting
2023-11-16 20:23:57 +08:00
wuzhenghui
4379d26f65
change(soc): rename SOC_CPU_WATCHPOINT_SIZE to SOC_CPU_WATCHPOINT_MAX_REGION_SIZE
2023-11-16 20:23:57 +08:00
wuzhenghui
b7f1aa5292
fix(esp_hw_support): fix lightsleep current leakage on usb-phy controlled pad
2023-11-16 17:18:43 +08:00
wuzhenghui
79dd7a350e
ci(ulp_test): fix fake sleep of the maincore in ulp pytest cases
2023-11-16 11:47:20 +08:00
wuzhenghui
adc8351458
fix(esp_hw_support): clear all type ULP wakeup intr status at ulp wakeup source enable
2023-11-16 11:47:20 +08:00
wuzhenghui
4175c60a21
fix(esp_hw_support): move fe_32m to fe/adc common clock
2023-11-16 02:58:16 +00:00
wuzhenghui
c570105f36
fix(esp_pm): fix psram access faild after pd_cpu wakeup
2023-11-16 02:55:06 +00:00
wuzhenghui
841d75b3a3
change(esp_pm): improve POWER_DOWN_TAGMEM_IN_LIGHT_SLEEP description
...
Rename PM_POWER_DOWN_TAGMEM_IN_LIGHT_SLEEP to PM_RESTORE_CACHE_TAGMEM_AFTER_LIGHT_SLEEP
and improve the description for it
2023-11-16 02:55:06 +00:00
wuzhenghui
3207599b6d
fix(esp_system): increase esp32h2 slow clock calibration timeout watchdog threshold
2023-11-03 19:08:28 +08:00
wuzhenghui
d6cda1b6e1
ci(esp_hw_support): add test case for gpio output internal clock feature ci
2023-10-20 14:55:10 +08:00
wuzhenghui
7195bf19df
feat(esp_hw_support): support one-to-many signal-gpio mapping output
2023-10-20 14:55:06 +08:00
wuzhenghui
6a436286dc
feat(esp_hw_support): add api to gpio driver to support output internal clock on GPIO
2023-10-20 14:35:26 +08:00
wuzhenghui
1f10c84a4f
change(hal): rewrite gpio_ll_set_iomux_pin_ctrl api
2023-10-19 22:24:08 +08:00
wuzhenghui
97e001d603
fix(esp_hw_support): fix pm tests failure caused by non-iram safe test code
2023-10-17 20:56:43 +08:00
wuzhenghui
c667f5a864
feat: support dump last time sleep context
2023-10-09 10:42:10 +08:00
wuzhenghui
c8083b07bf
feat(modem_clock): separate management of modem_adc_common_fe clock and modem_private_fe
2023-09-28 17:41:42 +00:00