S32K324 Multi-Core Example Project based on Whiteboard

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

S32K324 Multi-Core Example Project based on Whiteboard

跳至解决方案
7,393 次查看
StephenDu
NXP Employee
NXP Employee

@S32kUser 

The S32K3 family is a highly scalable MCU that include single-core, dual-core, and lock-step core configurations. Meanwhile, NXP provides rich eco-software. For example, NXP provides a powerful IDE: S32 Design Studio(S32DS), which can be used to configure, compiler, debug. And the RTD (Real-Time Drivers) is the software development package, it includes a lot of default example projects.

Besides, the software package in this page provides additional example projects for multicore use case. All the multicore example projects mentioned in this page are developed based on RTD/HLD, and the configuration tool is EB tresos Studio(NOT S32 CT). The hardware is based on S32K344 Whiteboard. And the software is based on RTD V2.0.

About the multicore example package, it provides very rich multi-core examples.

It contains two types of sample projects:

  • Independent project for each cores which compiled independently.
  • Single project for both two cores which compiled into single elf file.

It provides multiple projects which support different toolchains:

    Compiler:

  • GCC
  • IAR
  • GHS

    IDE:

  • S32DS
  • IAR EW for Arm

It also provides some example projects for special use scenarios that are often asked:

  • Place the stack in TCM region
  • Sleep & wakeup example
  • Multi-Core resource protection, etc.

The corresponding documents in the package will guide you how to use the software package. And also introduced the multicore related topics.

It includes:

  • The basic multi-core concept in AUTOSAR
  • MCAL distribution concept in AUTOSAR
  • MCAL multi-core module types
  • Limitation in RTD of S32K3
  • Multi-core resources assignment and protection
  • Example of multi-core usage in RTD

The below figures summarized the package contents:

Example Projects:

nxf50137_0-1662022499664.png

Quick Start Guide:

nxf50137_1-1662022528936.png

Multi-Core related topics:

nxf50137_2-1662022541759.png

Any questions, please contact me.

 

 

 

1 解答
7,389 次查看
StephenDu
NXP Employee
NXP Employee

Please go to here to get the package.

在原帖中查看解决方案

0 项奖励
回复
9 回复数
7,013 次查看
adhiver
Contributor I

Hello nxp50137,

I would like to use the S32K324 without EB Tresos, do you have examples in order to start the two cores and, for example, run two separate bare metal applications or one FreeRTOS and one bare metal ?

I'm wondering how to configure properly the chip with S32 Design Studio and avoid peripheral configurations issues between the two cores. So if your examples could include .mex files this would be great.

Best regards

0 项奖励
回复
6,981 次查看
StephenDu
NXP Employee
NXP Employee

Hi, adhiver

There is a very simple example project which based on S32DS CT (*.mex). I am not sure whether this can meet your requirement. And this simple example project is based on RTD V1.0.0.

Any question, please let me know.

0 项奖励
回复
1,988 次查看
ALXY_WANG1
Contributor I

这个例子可以直接烧录到S32K3X4EVB-Q257_HW-UM开发板上吗?

0 项奖励
回复
7,390 次查看
StephenDu
NXP Employee
NXP Employee

Please go to here to get the package.

0 项奖励
回复
4,940 次查看
StephenDu
NXP Employee
NXP Employee

hi, all

Please refer to the attached package directly.

0 项奖励
回复
5,003 次查看
andreybe
Contributor I

Hello! How do I get credentials to access that file on sharepoint? I've attempted to log with my personal github account but got "(EMAIL) can't be found in the nxp1.sharepoint.com directory"

 

Would it be possible to upload / access those demos on any other platform not sharepoint?

0 项奖励
回复
7,327 次查看
StephenDu
NXP Employee
NXP Employee

Alternatively, you can download the package from the attachment.

0 项奖励
回复
7,005 次查看
adhiver
Contributor I

Thanks for the quick answer, however it seems that in every example of the package EB Tresos is needed to generate and build the firmware.

Can you provide an example where EB Tresos is not needed to generate the configuration, and where both cores are running ? An example where only S32DS is used I mean.

Best regards

标记 (1)
0 项奖励
回复
7,392 次查看
StephenDu
NXP Employee
NXP Employee

To get more basic example projects for Whiteboard, please switch to the page: S32K344 Whiteboard Example Project

0 项奖励
回复