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.

CCS/UCD3138PSFBEVM-027: UCD3138:How to calculate POUT_ SCALER?

Part Number: UCD3138PSFBEVM-027

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.

  • Hi, Yue Chang,

    POUT_SCALER is a factor to change an engineering unit to what the device register can accept. It is the similar to other scalers, like VIN_SCALER. 

    Regards,
    Sean

  • Hi, Sean,

          Can you tell me how to get this value? 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