2021-02-10 11:28 PM
I have a firmware written for STM32L496VG. I wanted the same firmware to work for STM32L562VE. I just checked that they both are pin to pin compatible and of course the register addresses are different, along with the clock configurations to be done.
Looking into the data sheet and mapping every other peripheral registers from L4 to L5 is one conventional way. But is there any other way to do that in a relatively quicker way ? will just replacing STM files (which contains the base addresses of registers) would do the trick ?
Kindly guide me on this
Solved! Go to Solution.
2021-02-10 11:39 PM
Hello @VNara.1 ,
I recommend you to refer to the application note AN5138: "Migrating from STM32L4 and STM32L4+ to STM32L5 Series microcontrollers", which provides a guideline to migrate from the STM32L4 or STM32L4+ Series, to the STM32L5 Series.
Imen
2021-02-10 11:39 PM
Hello @VNara.1 ,
I recommend you to refer to the application note AN5138: "Migrating from STM32L4 and STM32L4+ to STM32L5 Series microcontrollers", which provides a guideline to migrate from the STM32L4 or STM32L4+ Series, to the STM32L5 Series.
Imen
2021-02-18 09:00 AM
If you used the HAL, and your code was reasonably well abstracted, in might take 1/2 a day or so to migrate.
If you did bare metal register level coding, clearly that will be more funner.