2017-12-24 01:48 PM
hello
i am working on AC dimmer with stm32f373.i have a issue when the fire angle change in TIMx->ARR.
in this case the lamps have filkcer.
i use the timer of MCU that runs in timer mode with internal clock.
how can fix this issue ???
thank you
#dimmer #timer #flicker2017-12-24 01:56 PM
The phase angle should be in CCRx, don't use Preload and ARR (period, but why?) will load new value at update.
2017-12-24 05:23 PM
thank you for response .
i should use timer in compare mode ???
How should I do it?thank you
2017-12-28 07:43 AM
What are you trying to modulate? Frequency or Duty
2017-12-29 10:33 PM
I want to control the bulbs by controlling the fire angles.
i use timer in update mode and and control the ARR register in manual mode.
2017-12-30 07:33 AM
ARR changes the period/frequency, if you assume CNT is the phase/angle of the timer (ie 0 thru ARR), then CCRx is the angle trigger
Altering ARR will cause the frequency of the timer vs AC to precess with respect to each other, right?
2018-01-08 01:39 AM
ok
thanks