AnsweredAssumed Answered

STM32H7 set duty cycle of HRTIM1

Question asked by karpavicius.linas on Sep 23, 2017
Latest reply on Sep 23, 2017 by karpavicius.linas

Hello, I am trying STM32H7 HRTIM1, i could set duty cycle and period when i first initialize timer, but after that, i can't change duty cycle. usually, i write direly to compare register, but now it has no effect. I am running HRTIM1 TD1 and writing HRTIM1->sTimerxRegs[3].CMP1xR = newvalue; dosent to anything, while it what is done in init function to set timer in the first place. Could any one give me explanation how to do it ?