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).
PWM Alternate pin is not working in STM32F207VG
- stefan.filipovic
- mikroElektronika team
- Posts: 1135
- Joined: 18 Dec 2018 10:30
Re: PWM Alternate pin is not working in STM32F207VG
Stefan Filipović
-
- Posts: 35
- Joined: 11 Jan 2012 15:06
Re: PWM Alternate pin is not working in STM32F207VG
Its has both TIM2_CH1 and TIM2_ETR function in that pin image file attached.
- Attachments
-
- Timer 2.PNG (91.02 KiB) Viewed 3426 times
- stefan.filipovic
- mikroElektronika team
- Posts: 1135
- Joined: 18 Dec 2018 10:30
Re: PWM Alternate pin is not working in STM32F207VG
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,
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,
- Attachments
-
- STM32F207VG.zip
- (4.79 KiB) Downloaded 118 times
Last edited by stefan.filipovic on 05 Jul 2019 08:13, edited 1 time in total.
Stefan Filipović
-
- Posts: 35
- Joined: 11 Jan 2012 15:06
Re: PWM Alternate pin is not working in STM32F207VG
The file you send is same as file existing. Send correct file
- stefan.filipovic
- mikroElektronika team
- Posts: 1135
- Joined: 18 Dec 2018 10:30
Re: PWM Alternate pin is not working in STM32F207VG
Hi,
I did edit my previous post, feel free to download STM32F207VG.zip file again.
Kind regards,
I did edit my previous post, feel free to download STM32F207VG.zip file again.
Kind regards,
Stefan Filipović