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.

TMS320F28035: Negative Slope Compensation

Part Number: TMS320F28035


Dear All,

For my application, I have to use slope compensation but the slope should not be downwards. Is there any way to make the slope upwards? Or just assigning a negative value to slope is enough for it?

I would be appreciated if someone help me about this.

Thank you in advanced.

Regards,

Merih

  • Merih,

    The ramp generator only decrements. There is no way to program a negative number to make it increment.

    If you are not using the CLA, you might be able to program it to increment the DAC value for you in the background.

    -Tommy

  • Tommy,

    Thank your for the reply.

    My questions are below:

    - Is the decrementing operation compiler dependent?

    - If this operation is a compiler dependent, is there any chance to change compiler options?

    - If there is a chance to do this, how can I change the compiler options?


    Regards,

    Merih
  • Merih,

    The ramp generator is implemented with a hardware state-machine. There is no way to change its behavior beyond the configuration registers.

    -Tommy