2014-11-21 03:04 AM
2014-11-21 12:07 PM
GPIO_PinAFConfig(GPIOC, GPIO_PinSource2, GPIO_AF_2); // TIM1 PC0 AF2
Should be GPIO_PinSource0, but the datasheet I'm looking at doesn't show it connecting to TIM12014-11-21 12:11 PM
Ok the F302 on the Nucleo does.
You will need to enable the PWM outputs/* Tim1 Main Output Enable - TIM1 is special on STM32F3 */
TIM_CtrlPWMOutputs(TIM1, ENABLE);
2014-11-21 12:39 PM
Thanks God it's Friday!!!!
Many many thanks Clive. We just know that way -Net way and mail exchanges through the ST Forum - but you're really a fabulous Man, with a big M. Never met a human person so involved... God Bless you! and life treat you kind. Franck....An ST programmer beginner ________________ Attachments : Screen_2014-11-21_09-35-54.jpeg : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0xk&d=%2Fa%2F0X0000000bhz%2FiD3WfeTx8ct6NQsH409Bd8_4CR5ozIPogqcvCn1R0Oo&asPdf=false