Good morning,
I have an S32G399-RDB3 board with a setup derived from the GoldVIP package. The M7 binary and the Linux kernel images were changed, but the bootloader configuration is practically the same of the original configuration.
I'm using one of the system timer instances to collect measurements, and I wanted to ask whether there is a practical way to read the STM frequency without following the entire chain of clock signals.
Thank you.
Solved! Go to Solution.
hi,Matteo_Zini
Thank you for your reply.
If you want to know the exact STM timer time, you must know that the XBAR_DIV3_CLK default is 133.33Mhz, the frequency division factor CPS and CMP values.
BR
Joey
hi,Matteo_Zini
Thank you for your reply.
There are multiple possible sources of the XBAR_DIV3_CLK clock, so you need to configure the same value of XBAR_DIV3_CLK for the M core and A core, to avoid conflicts.
BR
Joey
I'm using Linux on the Cortex-A cores, so I'm not sure how to configure it.
Anyway, I would just need to understand the frequency to transform the ticks into seconds, not to set it to any specific value.
Thank you.
hi,Matteo_Zini
Thank you for your reply.
If you want to know the exact STM timer time, you must know that the XBAR_DIV3_CLK default is 133.33Mhz, the frequency division factor CPS and CMP values.
BR
Joey
Perfect, thank you for your help.