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: XN after PID calculate , we get YN . Can we limte the YN value before get YN value ?

Part Number: UCD3138

Tool/software: Code Composer Studio

 XN after PID calculate , we get YN . Can we limte the YN value before get YN value ?

Because in fast interrupt of HSFB :

      vloop_filter = (signed int) (Filter0Regs.FILTERYNREAD.bit.YN);
      iloop_filter = (signed int) (Filter1Regs.FILTERYNREAD.bit.YN);

I find YN0 value is higher than YN1 value , so I want to limte the max of YN .Is that right ?