Skip to main content
pasdav
Associate
March 2, 2008
Question

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

  • March 2, 2008
  • 1 reply
  • 630 views
Posted on March 02, 2008 at 12:36

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

    This topic has been closed for replies.

    1 reply

    pasdav
    pasdavAuthor
    Associate
    May 17, 2011
    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 ]