2019-07-17 07:01 PM
yes , above fig about two kinds of config deadtime ,I don't know how to get that waveform
I have readed RM about deadtime chapter,but I still not clear
2019-07-17 10:49 PM
You can achieve waveform 1 if you invert OCx, i.e. set the respective TIMx_CCER.CCxP .
Conversely, you achieve waveform 2 if you invert OCxN, i.e. set TIMx_CCER.CCxNP. You may also want to "invert" OCxRef, i.e. use the other PWM mode than used in the first case.
Try and see for yourself.
JW
2019-07-23 11:31 PM
hello , i have some question
I config TIM with " TIM_OCMODE_ACTIVE ", it means when CNT match CCRx, OCxREF is high level. is rise edge ,
2019-07-24 01:20 AM
I refuse to use Cube or other libraries symbols. Please stick to the terminology used in the Reference Manual.
3. yes; the Force inactive (OCxM=0b100) does that immediately, while Inactive on match (OCxM=0b010) does that later, upon the first match.
4 . good question. I don't know, presumably low.
5 . Sounds so. Try.
JW