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.
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!
Solved! Go to Solution.
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
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.
Thanks and looking forward to your reply!!
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
Got it ,thanks for your reply!!
Regards,
Leo
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.