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/UCD3138: Light Load (Burst) registers

Part Number: UCD3138

Tool/software: Code Composer Studio

Hello!

Want to understand for accurate setting. How the UCD device makes a comparison of 18 bits registers

LoopMuxRegs.LLENTHRESH.bit.TURN_ON_THRESH
LoopMuxRegs.LLDISTHRESH.bit.TURN_OFF_THRESH 

With 24 bits resister of output of the filter FILTERYNREAD

6 right shift filter register or 6 left shift LL registers? 

Thanks

  • Hi Andrey,

    Please take a look at the filter's last connection stage to DPWM:

    The TURN_ON_THRESH and TURN_OFF_THRESH are not getting compared to the 24 bit Filter YN, but compared with the18 bit Filter Duty.

    The major difference between the two is the multiplication by KCompx or DPWMx Period, then rounded from 38 bit to 18 bit.

    You can read the Filter Duty from DPWM Filter Duty Read Register (DPWMFILTERDUTYREAD).

    If you read both Filter YN from the filter and Filter Duty from the dpwm, the relation will get clear to you.

    Regards,