2016-10-20 03:57 AM
Hello,
there�s a mistake in the line 270 &sharpdefine GPIO_AF_2 ((uint8_t)0x02) /* COMP1_OUT, TIM1, TIM2, TIM3, TIM4, TIM8, TIM15, TIM16 */ TheGPIO_AF_2
is NOT working for the TIM2, at least in the stm32f303VCTx regards, #bug-standard-library2016-10-20 04:26 AM
Hello,
Refer to the page 49 (Table 17. Alternate functions for port D) it is mentioned that TIM2 is defined and worked for AF2.Regards