How to configure clock for TCM on S32K3x?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to configure clock for TCM on S32K3x?

Jump to solution
177 Views
Chris-Sun
Contributor II

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

0 Kudos
1 Solution
155 Views
VaneB
NXP TechSupport
NXP TechSupport

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

 

View solution in original post

0 Kudos
2 Replies
156 Views
VaneB
NXP TechSupport
NXP TechSupport

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

 

0 Kudos
118 Views
Chris-Sun
Contributor II

Hi @VaneB 

Thank you for your response to my post.

Your response resolved my confusion.
 

Best regards,
Chris

0 Kudos