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.

DP Lib CNTL 2P2Z output < 0?

Looking at the documentation for the f2802x DPLib it seems that the output of the CNTL 2P2Z macro cannot go negative... is this correct? Even with negative smin values?

Thanks

  • Seems like this is actually an error in the documentation (p. 21 & p. 26) as where it specifies [0, 1) for the output pointers, it should in fact specify something along the lines of (-1, 1).

  • Toby,

    You are correct, it does work for negative numbers. However typically in digital power we never want the output to be a negative number at least for DC-DC,

    what kind of application is yours?

    The reason why this is documented this was is because of test coverage before releasing the module, 

    Regards

    Manish Bhardwaj 

  • Hi Manish

    I guess this is the case if the output of the CNTL macro is to be directed directly to a PWM duty register for example as one could not have a negative duty cycle! However, for our application we have a source that is both voltage and current controlled, the output of the voltage CNTL feeds into the ref input of the current CNTL macro, which only then outputs a duty value.

  • Toby, 

    Thanks for the info, I have filed this an an enhancement to the test routine after which we will document it that way.

    Regards

    Manish Bhardwaj