Skip to main content
sirpak
Associate III
September 11, 2017
Question

STM32F302xC PA11

  • September 11, 2017
  • 2 replies
  • 622 views
Posted on September 11, 2017 at 17:39

Dear All,

I need to use TIM1 to generate 4 PWM signals, hence I want to use CH1, CH2, CH3, CH4.

I also need to use USB for firmware upgrade.

Since on PA11 there are both TIM1 CH4 and USB-DM, I don't know how to remap TIM1->CH4 to some other pin.

I use LQFP64.

Does anybody else experienced something similar?

Many thanks,

Marco

#alternate-function
This topic has been closed for replies.

2 replies

David SIORPAES
ST Employee
September 11, 2017
Posted on September 11, 2017 at 17:50

I am afraid that TIM1_CH4 is only available on PA11 for LQFP64 package.

On LQFP100 it is available on PE14.

Amel NASRI
Technical Moderator
September 11, 2017
Posted on September 11, 2017 at 18:11

Hi

Salam.Mark

‌,

Wouldn't be possible for you to use STM32F302x8 or STM32F302xE devices of the LQFP64 package?

In these ones, the TIM1 channels are mapped to pins PC0, PC1, PC2 and PC3 besides to other pins in port A like STM32F302xC.

Have a look to both datasheets (

http://www.st.com/content/ccc/resource/technical/document/datasheet/e4/06/d5/04/58/af/41/14/DM00093pdf/files/DM00093pdf/jcr:content/translations/en.DM00093pdf

,

http://www.st.com/content/ccc/resource/technical/document/datasheet/e3/ec/6b/8f/ba/00/47/54/DM00133pdf/files/DM00133pdf/jcr:content/translations/en.DM00133pdf

).

-Amel

To give better visibility on the answered topics, please click on "Best Answer" on the reply which solved your issue or answered your question.