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.

How to set RAMPSOURCE in F28035 comparator?



Hi,

I need to use Ramp Generator in F28035 Comparator. Ramp Generator needs to synchronize with a PWM.

According to the description of ADC manual (SPRUGE5F), the PWMSYNC signal can be set at RAMPSOURCE of DACCTL Register. PWMSYNC signal can be one of PWMSYNC1, PWMSYNC2, PWMSYNC3 or PWMSYNC4.

Now my question is: where do PWMSYNC1-4 come from?

If I assume PWMSYNC1 is PWM1SYNCO from PWM1, how can I set PWM5-7 to associate with Ramp Generator?

thanks,

Jiakai