Performances reduced when migrating from L476 to L562 ?
Hello,
I have a small application running on a nucleo-L476RG board. This application is testing a G729 codec (to encode audio samples). It allows me to measure the time required to encode and to decode a 10ms audio record. For testing purpose, the "audio record" is a sinusoidal signal stored in a table in memory.
I have tried to use this code on a board with a STM32L562. I was pretty sure that the performances will be better and that the encoding/decoding time will be reduced, or at least the same.
Surprise! With the L562, it is about 2x times slower than with the L476... Frequency is the same for the two boards (80MHz), optimisation level is set to -Ofast, every option in project configuration are the same. The two projects are generated the same way using CubeIDE 1.5.0.
Is there something I have possibly missed ?
Thanks for your help.
Note : I have tried the L562 with 110 or 80MHz clock with no significant differences. I suppose that this is due to architecture rather than frequency ?
