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: How to set the register ,FeCtrl0Regs.RAMPSTAT.bit.RAMP_COMP_INT_STATUS to 1?

Part Number: UCD3138

Tool/software: Code Composer Studio

In UCD3138 What 's the rsgister of   FeCtrl0Regs.RAMPSTAT.bit.RAMP_COMP_INT_STATUS use for ?

How to make this register to 1?

  • Hello

    This bit is set when a ramp has finished. It is read only, so it's value is set by the UCD hardware. 

    Typically, it is polled in the code while waiting for a ramp to complete, for example during soft-start, if you check our EVM codes you will see it being used in this manner, for example, this is a code snippet from our HSFB EVM code

    inline void handle_vout_ramp_up_state(void)
    {
        fault_handler();

        if(FeCtrl0Regs.RAMPSTAT.bit.RAMP_COMP_INT_STATUS == 1 )
        {

    Best Regards

    Cormac

  • This is a status bit, the bit is set when the ramp mechanism completes its ramp.

    For example if ramp mechanism is used to ramp up the value of voltage reference (Front End's DAC), then this bit is set when the DAC ramp is set to the final reference voltage. This bit is read only and can not be set by firmware/manually.

    Another use of ramp mechanism is in conjunction with synchronous rectifiers soft on/off.

    Regards,