cancel
Showing results for 
Search instead for 
Did you mean: 

RESOLVED: STM32Cube example projects

selmesal
Associate II
Posted on August 16, 2016 at 23:32

Hello, 

Is TIM_TimeBase example project supposed to output PWM on PA6, PA7, PB0, and PB1?

#too-vague
5 REPLIES 5
Posted on August 17, 2016 at 01:13

Perhaps you can narrow that down to a specific STM32 family and board?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
selmesal
Associate II
Posted on August 17, 2016 at 04:39

STM32F4DISCOVERY (with STM32F407VGTx) 

Amel NASRI
ST Employee
Posted on August 17, 2016 at 11:11

Hi mesal.sel,

There is no PWM output for this example.

Based on the readme file, there is only an output on PD12 (When the counter value reaches the auto-reload register value, the TIM upadate interrupt is generated and, in the handler routine, PD.12 is toggled with the frequency 0.5Hz).

-Mayla-

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

selmesal
Associate II
Posted on August 17, 2016 at 15:00

Hi Mayla,

Is toggling PD.12 equivalent to a very slow PWM (i.e. with 0.25 Hz frequency)

Should I expect PD.12 to transition at (t=0, t=2s, t=4s ...)

Sel

selmesal
Associate II
Posted on August 17, 2016 at 16:32

This has been resolved, thanks