I need 4 output with pwm feature. All pwm are the same period T of 200 Hz. All pwm have independent dc ( duty cycle ) and independent dt ( dead time ) . Is it possible configure the timer peripheral and the clock to have dead time configurable between 0 t
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-08-30 11:12 PM
I need 4 output with pwm feature.
All pwm are the same period T of 200 Hz.
All pwm have independent dc ( duty cycle ) and independent dt ( dead time ) .
Is it possible configure the timer peripheral and the clock to have dead time configurable between 0 to T/2 ( half period )?
I'm using stm32f052 or stm32f072
thanks
Marco
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-09-06 10:48 AM
the prescaler for dead time counter i 1 or 2 or 4 , in the datasheet I have found this:
TIM1 control register 1 (TIM1_CR1):
......
CKD[1:0]: Clock division
This bit-field indicates the division ratio between the timer clock (CK_INT) frequency and thedead-time and sampling clock (tDTS)used by the dead-time generators and the digital filters(ETR, TIx),00: tDTS=tCK_INT01: tDTS=2*tCK_INT10: tDTS=4*tCK_INT11: Reserved, do not- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-09-06 12:07 PM
Hi Jan
I need 8 pwm ( 1out+1Nout ) x4 = 8
with 8 different duty cicle and 4 different dead timeI share some images for the waves that I need:
fig2-outX_balance_100pctPower
fig3-outX_unbalanceDown_20pctPower
fig3-outX_unbalanceDown_100pctPower
fig4-outX_unbalanceUp_100pctPower
fig5-outX_balance_50pctPower
so in this case I will need 8 timer I don't know if stm32f051 has these feature.
I'm trying a solution but I don't find it

- « Previous
-
- 1
- 2
- Next »