diff --git a/main/tasks/power_management_task.c b/main/tasks/power_management_task.c index 4ddd536..f5d4adc 100644 --- a/main/tasks/power_management_task.c +++ b/main/tasks/power_management_task.c @@ -266,8 +266,10 @@ void POWER_MANAGEMENT_HEX_task(void * pvParameters) uint16_t auto_fan_speed = nvs_config_get_u16(NVS_CONFIG_AUTO_FAN_SPEED, 1); // turn on ASIC core voltage (three domains in series) + int want_vcore = nvs_config_get_u16(NVS_CONFIG_ASIC_VOLTAGE, CONFIG_ASIC_VOLTAGE); + want_vcore *= 3; // across 3 domains ESP_LOGI(TAG, "---TURNING ON VCORE---"); - TPS546_set_vout(3600); + TPS546_set_vout(want_vcore); vTaskDelay(3000 / portTICK_PERIOD_MS); @@ -285,7 +287,7 @@ void POWER_MANAGEMENT_HEX_task(void * pvParameters) // For reference: // TPS546_get_vin()- board input voltage // we don't have a way to measure board input current - // TPS546_get_out()- core voltage *3 (across all domains) + // TPS546_get_vout()- core voltage *3 (across all domains) // TPS546_get_iout()- Current output of regulator // we don't have a way to measure power, we have to calculate it // but we don't have total board current, so calculate regulator power diff --git a/readme.md b/readme.md index 3c37681..fdcbd2b 100755 --- a/readme.md +++ b/readme.md @@ -50,7 +50,7 @@ The following are recommendations but it is necessary that you do have all value asicfrequency,data,u16,485 asicvoltage,data,u16,1200 asicmodel,data,string,BM1366 - asiccount,data,u16,1 + devicemodel,data,string,ultra boardversion,data,string,0.11 ```