About CPU clock and CAN supply clock

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

About CPU clock and CAN supply clock

跳至解决方案
2,285 次查看
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 项奖励
回复
1 解答
2,086 次查看
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 项奖励
回复
3 回复数
2,253 次查看
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 项奖励
回复
2,243 次查看
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 项奖励
回复
2,087 次查看
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 项奖励
回复