mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
feat(spiram): Add temperature support for psram adjustment on esp32c5
This commit is contained in:
@@ -117,6 +117,25 @@ menu "SPI RAM config"
|
||||
bool "40Mhz clock speed"
|
||||
endchoice
|
||||
|
||||
config SPIRAM_TIMING_TUNING_POINT_VIA_TEMPERATURE_SENSOR
|
||||
depends on SPIRAM_SPEED_120M && SPIRAM_MODE_OCT && IDF_EXPERIMENTAL_FEATURES
|
||||
bool "Adjust PSRAM timing tuning point via on-chip temperature sensor in real-time"
|
||||
default n
|
||||
help
|
||||
Temperature would influence the source clock frequency so that the timing tuning point set in start-up
|
||||
might not be always proper when temperature varies in high range. This configuration would help checking
|
||||
the temperature in real-time, and adjust timing point automatically when temperature change.
|
||||
(see External RAM documentation for more details)
|
||||
|
||||
config SPIRAM_TIMING_MEASURE_TEMPERATURE_INTERVAL_SECOND
|
||||
depends on SPIRAM_TIMING_TUNING_POINT_VIA_TEMPERATURE_SENSOR
|
||||
int "PSRAM timing tuning measure temperature interval (unit: second)"
|
||||
default 5
|
||||
help
|
||||
Due to adjusting timing point automatically when temperature change, the task will measure current
|
||||
temperature value in some specific interval. This configuration option would help you to set the
|
||||
proper interval. The interval unit is second.
|
||||
|
||||
config SPIRAM_SPEED
|
||||
int
|
||||
default 120 if SPIRAM_SPEED_120M
|
||||
|
Reference in New Issue
Block a user