Skip to main content
fixed-term2
Visitor II
October 16, 2014
Question

use STM32F2 Cube for STM32F1

  • October 16, 2014
  • 1 reply
  • 694 views
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
This topic has been closed for replies.

1 reply

Amel NASRI
ST Technical Moderator
October 16, 2014
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 "Best Answer" on the reply which solved your issue or answered your question.