LLCE project add freertos component alarm cpu clock configure incorrect

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

LLCE project add freertos component alarm cpu clock configure incorrect

跳至解决方案
3,001 次查看
leo_liu2
Contributor III

Hi all,

Recently,i've met some problam need to be help.I debug the LLCE CAN on the S32G274 developed board by using the S32DS.3.4.After importing the LLCE CAN demo project into the workspace,i make some adjustment to meet my demand and the project run normally.I can receive and transmit CAN frame by the LLCE CAN module.Then,i want to migrate the freertos into my LLCE CAN project,so i add the freertos component in the configuration tool.After i do that,the freertos configuration interface show a warning:"CPU frequency configured in FreeRTOS does not match value in clock component [Hz]: 0".The cpu clock i configured to the cpu clock is 400000000Hz,but the warning show that it does not match the value configured in the clock component.I check the clock component and can not find anything related to freertos.

2.png1.png

 

Can you tell me where i should configure in the clock component to fix the warning that the cpu clock configure in the freertos component does not match the value in the clock compoent?

Thanks and best regard!

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
2,953 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

This seems to be a bug from S32DS when adding FreeRTOS Peripheral to the LLCE Loopback example project.

You can ignore the warning, setting the value to be equal the CORE CLK seems to be working (with S32DS showing the warning), at least from my side.

I did the exercise of importing FreeRTOS to the LLCE project and setting the value to be equal to the CORE CLK and works like a charm.

Hopefully this answers your question

在原帖中查看解决方案

0 项奖励
回复
6 回复数
2,519 次查看
ReWi
Contributor I
Because the configuration file of the project created before the SDK installation does not contain the clock configuration content,
 
1. create a new project,
 
2. set the value of the target clock,
 
3. import the clock configuration content of the new project into the project with warning,
 
4. and the existing project will have no warning.
 
ReWi_1-1669889939759.pngReWi_2-1669890023644.png

 

0 项奖励
回复
2,984 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Sorry,

Forget what I said, I replicated the problem. We will come back as soon as we got a solution for this problem.

Thanks for your patience.

0 项奖励
回复
2,980 次查看
leo_liu2
Contributor III

Thanks and looking forward to your reply!!

0 项奖励
回复
2,954 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

This seems to be a bug from S32DS when adding FreeRTOS Peripheral to the LLCE Loopback example project.

You can ignore the warning, setting the value to be equal the CORE CLK seems to be working (with S32DS showing the warning), at least from my side.

I did the exercise of importing FreeRTOS to the LLCE project and setting the value to be equal to the CORE CLK and works like a charm.

Hopefully this answers your question

0 项奖励
回复
2,921 次查看
leo_liu2
Contributor III

Got it ,thanks for your reply!!

Regards,

Leo

0 项奖励
回复
2,985 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

It seems you are setting FreeRTOS cpu clock to be 400MHz (400000000Hz). This could be a simple typo, but FreeRTOS is taking FXOSC_CLK as its source.

Hopefully this answers your question.

0 项奖励
回复