Tool/software: Code Composer Studio
Hello experts ,
In PSFBFirmware-1.1 programme, I find that POUT_SCALER equal 14850.
system_define.h
#define POUT_SCALER (14850)
I can't understand why POUT_SCALER is set.Thanks for your great support.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Code Composer Studio
Hello experts ,
In PSFBFirmware-1.1 programme, I find that POUT_SCALER equal 14850.
system_define.h
#define POUT_SCALER (14850)
I can't understand why POUT_SCALER is set.Thanks for your great support.
Hello, Yue,
pmbus_dcdc_config[0].cpcc_pmax =360W;
pmbus_dcdc_config_translated[0].cpcc_pmax = (linear11_translation(pmbus_dcdc_config[0].cpcc_pmax, 0) * POUT_SCALER);
Use the pmbus_dcdc_config_translated[0].cpcc_pmax to calculate the LoopMuxRegs.CPNOM.bit.NOM_CURRENT_LOWER through the below equation:
LoopMuxRegs.CPNOM.bit.NOM_CURRENT_LOWER = pmbus_dcdc_config_translated[0].cpcc_pmax / (pmbus_dcdc_config_translated[0].vout_cmd >> 4);
pmbus_dcdc_config_translated[0].vout_cmd is voltage setting point.
You can track the registers and see what value you have. It can be reverse the path and get the POU_SCALER.
I hope it helps,
Sean