cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F303 good for 12 independant PWM output signals !

Reiner Beh
Associate
Posted on July 24, 2017 at 08:48

Hello,

for a new CANopen project we planned to use the ARM-controller STM32F303RET6,

because we use it yet in an existing design.

In the new project we need 12 independant PWM-output signals with an resolution

of 16 bits to control 12 magnet valves. This controller has the timers TIM2, 3 and 4.

Each of this timers has 4 independant channels for PWM output.

So, is it possible to use this 3 timers with their 4 channels to generate 12 independant

PWM-output signals to control 12 magnet valves ? The second thing is, that we need to

convert the 12 currents from the magnet valves with the ADC with at least 10 bits.

But I think this is no problem with this controller.

If it is not possible with this ARM-controller, can you give me a solution with an other

ARM-controller from ST ? And if it is possible, can you give me a software sample for

using the timers for my problem ? For a contemporary answer I would be very thankful.

Thanks a lot, Reiner

#stm32f3x-pwm
1 REPLY 1
Posted on July 24, 2017 at 10:49

Hello!

0690X00000603xyQAA.jpg

Here is one of the posible configurations you asked

Produced by

https://my.st.com/content/my_st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-configurators-and-code-generators/stm32cubemx.html

.  There are examples inside how to use timers as PWM generators.

Also examples to take your feedback from valves as ADC inputs.