About CPU clock and CAN supply clock

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

About CPU clock and CAN supply clock

Jump to solution
2,162 Views
kazuki
Contributor II

Please tell me about the sample project "Can_Llce_DS_Can2Can_S32G399A_M7".

I am investigating the CAN clock and CPU clock using S32DS.

Looking at the config of Can_43_LLCE
I found that CanCpuClokRef in the CanController settings refers to the MCU settings.
setting name="CanCpuClockRef" value="/Mcu_1/Mcu/McuModuleConfiguration/VS_0/CAN_PE_CLK"

CAN_PE_CLK was set to 4000000.
Are you aware that the CAN clock is 4000000Hz?
Also, I couldn't find any settings for the CPU clock.
Could you please tell me the CPU clock settings for the sample project?

0 Kudos
Reply
1 Solution
1,963 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Thanks for your feedback. We might be misunderstanding the request, if so, we apologize.

We understand that you are saying that CAN_PE_CLK frequency is 40MHz, is this correct?

DanielAguirre_0-1711114193046.png

If so, it is correct. We understand that under the NXP examples, this is the frequency given to CAN_PE_CLK.

As for the CPU Frequency, should be XBAR_CLK the one that provides the CPU frequency:

DanielAguirre_1-1711114337576.png

Please, let us know.

View solution in original post

0 Kudos
Reply
3 Replies
2,130 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Can you let us know with which LLCE/RTD package version are you working with?

Please, let us know.

0 Kudos
Reply
2,120 Views
kazuki
Contributor II

hello

thank you for your reply.

excuse me. It did not include version information.

The sample project used is the one included in S32G_LLCE_GATEWAY_1.0.5_QLP1_D2302.

The version is below.
LLCE:1.0.5
RTD: Real Time Drivers Version 4.0.0

This is the same version as LLCE and RTD described in 5. Configuring on S32CT of AN13423 in the document.

thank you.

0 Kudos
Reply
1,964 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Thanks for your feedback. We might be misunderstanding the request, if so, we apologize.

We understand that you are saying that CAN_PE_CLK frequency is 40MHz, is this correct?

DanielAguirre_0-1711114193046.png

If so, it is correct. We understand that under the NXP examples, this is the frequency given to CAN_PE_CLK.

As for the CPU Frequency, should be XBAR_CLK the one that provides the CPU frequency:

DanielAguirre_1-1711114337576.png

Please, let us know.

0 Kudos
Reply