Skip to main content
adamajames2
Associate II
August 29, 2008
Question

Variable PWM generation

Posted on August 29, 2008 at 16:42

Variable PWM generation

    This topic has been closed for replies.

    11 replies

    adamajames
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 12:43

    Hi,

    Also just to state the obvious are you enabling the clock and pointing to the right int handler.

    i.e.

                RCC_APB1PeriphClockCmd(RCC_APB1Periph_TIM3 , ENABLE);

                NVIC_InitStructure.NVIC_IRQChannelSubPriority = 0;

                NVIC_InitStructure.NVIC_IRQChannel = TIM3_IRQChannel;

                NVIC_Init(&NVIC_InitStructure);