Mcu: s9keaz128amlh
Tool: S32 Design Studio for ARM Version 2018.R1
Problem1:What is wrong with my following calculation? I think it's 20Mhz core clock in the example.
ICSFLLCLK = 8Mhz/256*1280 = 40Mhz;
Core/System Clock = ICSOUTCLK = ICSFLLCLK / BDIV = 20Mhz;
Problem2:Which clock should i use to calculate the time Program takes, Bus clock or core clock?
Because there's a lot of computation in my project, and I need to know how long it takes to run.
Thanks!
解決済! 解決策の投稿を見る。
Hi @fanziyu ,
1. Yes, the core clock is 20Mhz. If you want core clock to be 40M, SIM_CLKDIV should bd 0x01000000.
2. Core clock.
Regards,
Jing
Hi @fanziyu ,
1. Yes, the core clock is 20Mhz. If you want core clock to be 40M, SIM_CLKDIV should bd 0x01000000.
2. Core clock.
Regards,
Jing
the example code is right,I am too careless.Sorry for bothering!