Skip to main content
VPart.1
Visitor II
January 16, 2022
Question

How do i migrate a code from STM32l4 to STM32U5, is there a way to do that????

  • January 16, 2022
  • 2 replies
  • 1084 views

..

This topic has been closed for replies.

2 replies

TDK
January 16, 2022

There’s no automated way to do this. Crest a new project, assign pins, and transfer user code manually.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Amel NASRI
Technical Moderator
January 17, 2022

Hi @VPart.1​ ,

The application note AN5372 "STM32L4 and STM32L4+ Series to STM32U575/585 migration guide" can help you to consider relevant steps to follow in order to migrate your design from STM32L4 to STM32U5.

If your code is based on STM32CubeMX generation, try to use the feature allowing to import a project from one MCU to another. Some more details are in the article MCU1 to MCU2 migration option within STM32CubeIDE.

-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.