STM32G474: Performance issues (?) and freq() issues. #13015
Unanswered
nspsck
asked this question in
STM32 / Pyboard
Replies: 1 comment 14 replies
-
Could it be related to the fact that the WeAct board costs £0.40 from AliExpress yet the STM32G431CBU6 on it's own would set you back £2.6 if you bought 1000's of them from digikey ? |
Beta Was this translation helpful? Give feedback.
14 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I recently recieved my STM32G474CE boards made by WeAct Studio and started testing Micropython on it. Soon I have noticed that the
freq()
function does not work as expected and the performance from this thing is way worse than the F4 series.Here are some results in the REPL using the
freq()
function:It seems like the the clock is divided by 10 for some reasons. Also, according to the datasheet in the section about pll characteristics, it seems the MCU needs different voltage for different clock frequencies which I do not see covered anywhere in the
powerctl.c
. (This section.) Am not so sure if that would cause any problems.I have also tried to modify the
pllvalues.py
by adding a component to themcu_table
list declared in line 34:But this results to a Fatal error:
can't change freq
. Could this also just be my chip?For the performance part, I have used 2 simple tests:
Here are some results running my "benchmark":
The results is really odd for me, since at least the Integer operation should not differ that much...
Any help and suggestions are greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions