1845932_en-US

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

1845932_en-US

1845932_en-US

How to configure clock for TCM on S32K3x?

am currently using the TCM feature of S32K3x in my RTD.

I encountered an issue while configuring the TCM clock:
According to the source code of RTD, it is necessary to configure a macro definition, CLOCK_IP_HAS_TCM_CM7_0_CLK,  before configuring the TCM clock.
8.png
However, there is currently no corresponding place for CLOCK_IP_HAS_TCM_CM7_0_CLK.
I also couldn't find any configuration options for the TCM clock in S32DS software.
Should I manually modify Clock_Ip_Cfg_Defines.h to add this configuration? 
(I'm using S32K312 Project)
 
The version information:
 

S32DS: 3.5

RTD: S32K3_RTD_3_0_0_D2303_ASR_REL_4_7_REV_0000_20230331

Best regards,
Chris

Re: How to configure clock for TCM on S32K3x?

Hi Mr.Sun:

------

From your appeal description, I cannot infer a solution to the problem. At present, K312 does not seem to support the enable configuration of TCM-CM7_0_CLK. Can you provide a more detailed solution.

The problem I am currently facing is that after the interrupt is enabled and triggered, I cannot enter the interrupt. I don't know if it is related to TCM-CM7_0_CLK not being enabled?




Re: How to configure clock for TCM on S32K3x?

Hi @VaneB 

Thank you for your response to my post.

Your response resolved my confusion.
 

Best regards,
Chris

Re: How to configure clock for TCM on S32K3x?

Hi @Chris-Sun 

The PRTN2_COFB1_CLKEN[REQ62] field for Cortex-M7_0 is enabled at reset as you can see from the image below:

VaneB_0-1712956908322.png

B.R.

VaneB


标记 (1)
无评分
版本历史
最后更新:
‎11-21-2025 04:15 PM
更新人: