Hello:
i have a question with my pwm switch tactics. i want to make a high bandwidth motor controller(about 2000HZ), so i change the shadow mode to immediate mode.
In this way, my pwm limit compared value is 4095, but my pwm always cann't switch when compared singal at higher value but not have bigger than limit value.
i have setting EPWM ->CMPCTL, turn on immediate mode and turn off shadow mode, this way is reduced a cycle delay for my current interrupt, i have a file in this topic, i cann't find my mistake.
what is my key point to setting immediate mode not only CMPCTL?
thanks