2018-05-07 05:08 AM
With STM32F765 and MDK-ARM compiler ( O3 and compile for SPEED I was able to achieve 108Mhz on output pin, performing while loop ( just main() and all interrupt disabled ) .
Now with STM32H743 with same compiler and same source maximum frequency is 16.7MHz , with PLL configured to have 400MHz clock ( tested on RCC_MCO2 output pin )
Anyone know why ?
Thanks
Solved! Go to Solution.
2018-05-17 06:38 AM
Hi
Frigerio.Danilo
,First, we may ask about the relevance of toggling a GPIO with CPU at maximum clock (as stated by Avatar)?
For some use-cases, you may use a timer ...
Back to the explanation of the discrepancy between results with STM32F7 and the ones with STM32H7: the main reason is that both families don't share the same architecture:
You may refer to 'System Architecture' section in the reference manuals of both products for more details.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2018-05-07 07:42 AM
Default clock, bus speed, gpio drive, compiler optimization, software access approach, coding, ....
2018-05-07 09:57 AM
GPIO glitch filter.
WTH is the relevance of toggling a pin with 100% core load ?
2018-05-17 06:38 AM
Hi
Frigerio.Danilo
,First, we may ask about the relevance of toggling a GPIO with CPU at maximum clock (as stated by Avatar)?
For some use-cases, you may use a timer ...
Back to the explanation of the discrepancy between results with STM32F7 and the ones with STM32H7: the main reason is that both families don't share the same architecture:
You may refer to 'System Architecture' section in the reference manuals of both products for more details.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2018-05-17 09:00 AM
,
,
Dear Amel
What you said is about what I imagined, really I don't need to toggle
pin at this speed, this was just to compare M7 and H7.
I will compare it in a real way, comparing my fw now running on
STM32F765 ( high speed camera scanning )
Thanks and regards
Danilo Frigerio
Il 17/05/2018 15:38, Amel N ha scritto:
>,
STMicroelectronics Community
<,https://community.st.com/?et=watches.email.thread>,
>,
Re: STM32H7 GPIO TOGLE MAX FREQUENCY
reply from Amel N
<,
/STM32 MCUs Forum/ - View the full discussion
<,https://community.st.com/0D70X000006Sm8qSAC
>,