-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Closed
Labels
bugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: STM32ST Micro STM32ST Micro STM32priority: lowLow impact/importance bugLow impact/importance bug
Description
Describe the bug
I have a small test program regitering an interrupt, the irq sets a semaphore and wake a Thread who toggles an output. On the 'nucleo_g4rb31' this is slower than on the 'f401re' even though it should have double the CPU-Freq. If I reconfigure the pll manually to 170Mhz the time goes down a lot.
In numbers:
f401re12.4 usg431rb13.4usg431rb custom pll5.3us
To Reproduce
- Build attached example
My PL settings:
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=170000000
CONFIG_CLOCK_STM32_PLL_SRC_HSI=n
CONFIG_CLOCK_STM32_PLL_SRC_HSE=y
CONFIG_CLOCK_STM32_PLL_M_DIVISOR=6
CONFIG_CLOCK_STM32_PLL_N_MULTIPLIER=85
CONFIG_CLOCK_STM32_PLL_P_DIVISOR=7
CONFIG_CLOCK_STM32_PLL_Q_DIVISOR=2
CONFIG_CLOCK_STM32_PLL_R_DIVISOR=2
Expected behavior
g431 shoudl be fatser than f401
Impact
Slow excecution
Environment (please complete the following information):
- Debian 10
- Zehpyrtoolchain
- v2.1.0
Metadata
Metadata
Assignees
Labels
bugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: STM32ST Micro STM32ST Micro STM32priority: lowLow impact/importance bugLow impact/importance bug