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.

f28069 controlstick epwm1

Hi, 

any one has a 28069 control stick that can help me on this puzzle?

I pulled the PWM - AsymmetricPWM project example, instead of using pwm2 as the sample program used, i duplicated all setup (gpio pin assignment to epwm and output) and the pwm setup by copy-paste and changing pwm2->pwm1. 

after i did this, i ran debug but the registers do not change even right after an assignment operation in the for(;;)

EPwm1Regs.CMPA.half.CMPA = duty_cycle_A; // after exe of this line, watch var EPwm2Regs.CMPA.half.CMPA is still 0;

i tried eallow, that does not seem to work. compilation and downloading code seems no trouble. I'm using the RAM config.

thanks

Leong