2021-04-14 03:50 PM
Hi Everyone,
I previously made a project through STM32CubeMX based on the STM32L431CCT6 to generate the pinout and initialization template for Keil MDK-ARM IDE.
We are planning on transitioning to the STM32L431CBT6 (without any changes to the code), and I was wondering if I can just use the current project on Keil-MDK ARM to program the STM32L431CBT6 without generating a new STM32CubeMX template and Keil project, and copying all the files used in the previous project into the new one.
Are these are the steps below (performed on Keil MDK-ARM) sufficient to be able to port the project onto the new microcontroller:
Has anyone ever had experience migrating to a different microcontroller of the same family, and porting the project for the new microcontroller?
I also verified through STM32CubeMX that the pinout diagrams exist for the STM32L431CBT6, and that the clock tree is similar. The HAL header files are also the same, and since they have the same datasheet, I am assuming that the register configurations are the same too. The only major difference I can see is the downsize in Flash memory from 256kBytes to 128kBytes.
Any insight would be greatly appreciated. Thank you!