Author Topic: What pins are pwm capable with stm32f103rct6?  (Read 1116 times)

0 Members and 1 Guest are viewing this topic.

Offline tesliniusTopic starter

  • Regular Contributor
  • *
  • Posts: 58
  • Country: nl
What pins are pwm capable with stm32f103rct6?
« on: May 08, 2022, 09:31:41 pm »
I want to find out what pins are pwm capable for stm32f103rct6 microcontroller, all pins with timers?
Also how can i remap functions, because for example with pin PA15 doesn't have any timers by default, but if i remap it it should have it?
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5912
  • Country: es
Re: What pins are pwm capable with stm32f103rct6?
« Reply #1 on: May 08, 2022, 10:02:21 pm »
Check AFIO in the RM. And properly read the GPIO section.
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline wek

  • Frequent Contributor
  • **
  • Posts: 495
  • Country: sk
Re: What pins are pwm capable with stm32f103rct6?
« Reply #2 on: May 08, 2022, 10:53:47 pm »
For mapping of particular pins to peripherals (here: timers), see pin definitions table in datasheet (DS).

As DavidAlfa said above, remap is given by the AFIO registers, described in the RM.

JW

 

Offline tepalia02

  • Regular Contributor
  • *
  • Posts: 100
  • Country: bd
Re: What pins are pwm capable with stm32f103rct6?
« Reply #3 on: May 22, 2022, 11:24:27 am »
If you're using the Blue pill, take a look at the 3rd figure. https://www.electronicshub.org/getting-started-with-stm32f103c8t6-blue-pill/
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf