Skip to main content
l90mehdi
Associate III
December 24, 2017
Question

AC DIMMER WITH STM32F373

  • December 24, 2017
  • 6 replies
  • 1773 views
Posted on December 24, 2017 at 22:48

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 #flicker
This topic has been closed for replies.

6 replies

Tesla DeLorean
Guru
December 24, 2017
Posted on December 24, 2017 at 22:56

The phase angle should be in CCRx, don't use Preload and ARR (period, but why?) will load new value at update.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
l90mehdi
l90mehdiAuthor
Associate III
December 25, 2017
Posted on December 25, 2017 at 01:23

thank you for response .

i should use timer in compare mode ???

How should I do it?

thank you

Tesla DeLorean
Guru
December 28, 2017
Posted on December 28, 2017 at 15:43

What are you trying to modulate? Frequency or Duty

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..