S32k312 Eval board - Get frequency API issue

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32k312 Eval board - Get frequency API issue

81 次查看
Thalapushpam1
Contributor I

Dear Sir/Madam,

Using S32k312 Mini Eval board for our application.  SW32K3_S32M27x_RTD_R21-11_5.0.0 RTD version used.

Wnen get clock frequency called getting hard fault error,  

Mcu_GetClockFrequency(SCS_CLK); - hard fault error

Mcu_GetClockFrequency(AIPS_PLAT_CLK); - hard fault error

Mcu_GetClockFrequency(CORE_CLK); - hard fault error

Mcu_GetClockFrequency(CLKOUT_RUN_CLK);  - working fine

Thalapushpam1_0-1779452196078.png

This is the sequence I used for clock init,

Thalapushpam1_1-1779452432930.png

 

Added some delay after Mcu_SetMode(McuModeSettingConf_0); & tried still got the same issue. Is it PLL stabilization take time? if yes how long?

I want to set the systick based on the core clock frequency using 

OsIf_Timer_System_Internal_Init() API. can you support. 
 
Thanks.

 

0 项奖励
回复
0 回复数