cancel
Showing results for 
Search instead for 
Did you mean: 

Change STM32F103 to STM32F303

STLearner
Associate III

Hi ST experts,

According to AN4228, we can migrate the MCU from F103 to F303 with minor changes development needed. Just wanted to understand more on the pin assignment between the parts, I take an example of STM32F103ZET6 vs STM32F303ZET6 with same package, the pin configuration in P10, P11 and P106 are different.

What exactly is the function of the pin for PF0 & PF1 in F103 and PH0 & PH1 & PH2 in F303?


_legacyfs_online_stmicro_images_0693W00000bjN0MQAU.pngAppreciate your reply. Thanks.

3 REPLIES 3
Peter BENSCH
ST Employee

Correct, these and two other pins are also mentioned as a difference in AN4228, Table 3. On the STM32F303ZET6, ports PF0 and PF1 have been moved to pin 23/24 (OSC_IN/OSC_OUT) as an alternative function.

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Hi Peter,

The ADC function of pin PF6-PF10 were missing in STM32F303. Is there any alternative ADC function can be found in STM32F303? Thanks.


_legacyfs_online_stmicro_images_0693W00000bkWGLQA2.png

Since you have not sufficiently described the requirements, no recommendation can be made so far.

PF6...PF10 do not have an ADC function. A STM32F103ZET6 cannot simply be replaced by a STM32F303ZET6 if you have used these pins as ADC inputs.

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.