cancel
Showing results for 
Search instead for 
Did you mean: 

use STM32F2 Cube for STM32F1

fixed-term2
Associate
Posted on October 16, 2014 at 05:56

I want to fix STM32F2Cube suitable for my device using STM32F107.

My device use USB and CAN functions of MCU

Certainly, I will modify HAL of STM32F2 cube

First glance, I noted that USB and CAN pins of STM32F2 are same as STM32F107. so I don't need repair pins.

But USB and CAN registers are different between 2 MCU.

So I will repair the USB and CAN register

Is there any thing else need modify in STM32F2 cube?

#stm32f2 #cubemx #stm32f1
1 REPLY 1
Amel NASRI
ST Employee
Posted on October 16, 2014 at 11:13

Hi,

The way to handle GPIOs on STM32F2 products isn't the same as STM32F1. So, you cannot use same GPIO driver even if you can use same pins for peripherals. 

The migration will need to write a new GPIO driver at least.

-Mayla-

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.