Hi, I want to create a project with S32k324 based on RTD3.0 +FreeRTOS 10.5.1+Tcpip_stack1.0.3, and there is a problem that if the TCPIP use Freertos did lead to errors after making files. But when TCPIP didn't use Freertos, there weren't any problems. But it runs normally with FreeRTOS in the same way on the S32K344 .
Q:
1. Based on the above phenomenon, could it be that some configurations were overlooked in the project?And how to solve this problem?
2. Since the S32k324 has dual cores, and there're two core projects generated when I create the project, so I want to know that if I want to use FreeRTOS in each core project, should I intall the freeRTOS separately? And is there any examples of how to use S32k324 dual cores ?
Hello @jianghao ,
Based on the behavior you described, this does not look like a simple missing checkbox in the configuration tool. The more likely reason is that the S32K324 project cannot use the same FreeRTOS/lwIP settings as S32K344 without adaptation. You may check example FreeRTOS_SMP_Example_S32K358_2xCores in RTD 6.0.0 , to get reference how FreeRTOS has been integrated on dual core.
For your second question, FreeRTOS does not natively support multicore processors by default. If you want to run FreeRTOS on both cores, this would mean two separate FreeRTOS instances, one per core. . This is not an out-of-box supported example on S32K324.
Please check links below - you may find them useful:
Solved: LWIP on S32K324 - NXP Community
S32K324 : running freeRTOS on Multi core - NXP Community
Solved: Re: S32K324 Multi-Core Example Project based on Whiteboard - NXP Community
S32K344/S32K324 TCPIP_STACK Intergration - NXP Community
problem hardFault generated by sw32k3_FreeRTOS - NXP Community
Best regards,
Pavel