Page 1 of 1
PWM Alternate pin is not working in STM32F207VG
Posted: 27 Jun 2019 14:24
by n_vikranth
PWM_TIM2_Start(_PWM_CHANNEL1, &_GPIO_MODULE_TIM2_CH1_PA15);
IS MISSING in MikroC Pro for ARM Compiler.
I cant use this pin for PWM function but there is PWM in that Pin(PA15).
Re: PWM Alternate pin is not working in STM32F207VG
Posted: 01 Jul 2019 12:00
by stefan.filipovic
Hi,
I believe you have been answered here:
viewtopic.php?f=224&t=74688
Kind regards,
Re: PWM Alternate pin is not working in STM32F207VG
Posted: 01 Jul 2019 14:23
by n_vikranth
Its has both TIM2_CH1 and TIM2_ETR function in that pin image file attached.
Re: PWM Alternate pin is not working in STM32F207VG
Posted: 02 Jul 2019 14:58
by stefan.filipovic
Hi,
You're right, I was looking at table 8. (page 55) from the
datasheet, and it says there's only TIM2_CH1_
ETR alternate function of PA15 pin.
Please find the GPIO defs file for this MCU in the attachment, just copy this file to the following path: C:\Users\Public\Documents\Mikroelektronika\mikroC PRO for ARM\Uses\ST M3
I apologize for the inconvenience caused by this.
Kind regards,
Re: PWM Alternate pin is not working in STM32F207VG
Posted: 05 Jul 2019 06:55
by n_vikranth
The file you send is same as file existing. Send correct file
Re: PWM Alternate pin is not working in STM32F207VG
Posted: 05 Jul 2019 08:15
by stefan.filipovic
Hi,
I did edit my previous post, feel free to download STM32F207VG.zip file again.
Kind regards,