Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world. And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download (registration required) various documents highlighting:

System Workbench for STM32


STM32L476 Nucleo board frequency selection

It will appear that your SystemClock_Config function with these PLL parameters does not match the System Clock of the STM32L4xx family.
What version of CubeMX do you use?

The L4 operate at the SYSCLK max frequency of 80MHz.
PLL / M = 16 and PLL configurations N = 336 are not allowed.
The maximum permissible values are PLL / M = 8 and PPL N = 86.
Please review the Reference Manual or into CubeMX Clock Configurator Tab.

I think that your function is more like that of a family STM32F4 or F7 and in these conditions

Oscillator Source HSI (which is the internal Oscillator 16MHz)
One would get for a F4 or F7.
SYSCLK (Hz) = HSI / M * N / P = 16000000/16 * 336 / 2 = 84MHz

Regards