cancel
Showing results for 
Search instead for 
Did you mean: 

using Tim4 ch3,4 for PWM generation and Tim4 ch1,2 as Capture

pasdav
Associate
Posted on March 02, 2008 at 12:36

using Tim4 ch3,4 for PWM generation and Tim4 ch1,2 as Capture

1 REPLY 1
pasdav
Associate
Posted on May 17, 2011 at 12:25

Hi everyone, we work on our first project with the stm32 and the Keil uVision IDE.

We are using TIM4 CH3+4 for PWM generation (similar to blinky).

Now we want to use TIM4 CH1+2 to capture 2 signals on PB6 and PB7.

Prescaler should be the same.

Question: is this possible?

Does anyone know how to achieve this with the configuration wizzard of the Keil uVision IDE?

Have interrupts to be activated? How does the configuration for PB6 and PB7 has to be?

Greetings David & Peter

[ This message was edited by: pasdav on 03-03-2008 11:58 ]