FreeRtos S32k344 SafeRtos

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FreeRtos S32k344 SafeRtos

Jump to solution
611 Views
AchrafOukheir
Contributor III

Hello fellow NXP community members,

I am currently working on a project based on the RD-HVBMSCTBUN.SK32k344 platform and I am planning to incorporate FreeRTOS as the operating system for my application. However, I am unsure about the best approach to integrate FreeRTOS into my project. I would also like to consider the possibility of migrating to SafeRTOS in the future.

I have come across two potential approaches and would appreciate your insights and recommendations:

  1. Installing FreeRTOS Extensions from S32 Design Studio (S32DS): As S32DS supports the development of applications for NXP microcontrollers, I am wondering if it provides any extensions or plugins for FreeRTOS that facilitate seamless integration with my project. Has anyone used these extensions before? How well do they integrate with the RD-HVBMSCTBUN.SK32k344 platform? Are there any limitations or considerations I should be aware of?

  2. Manual Integration of FreeRTOS: If S32DS does not offer specific extensions for FreeRTOS or if I prefer greater control over the integration process, I am considering manually integrating FreeRTOS into my project. Has anyone taken this approach? What are the key steps involved in integrating FreeRTOS with the RD-HVBMSCTBUN.SK32k344 platform? Are there any resources or guides you can recommend to help me with this process?

Additionally, I would like to plan for a potential migration to SafeRTOS in the future. Are there any considerations or best practices I should keep in mind during the initial integration of FreeRTOS to ensure a smoother transition to SafeRTOS later on?

Thank you in advance for your valuable insights and recommendations. I look forward to hearing from the experienced members of this community.

Tags (1)
0 Kudos
Reply
1 Solution
589 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @AchrafOukheir,

You can find the FreeRTOS package for S32K3 platforms as an extension by going into "S32K3 Auto General-Purpose MCUs' page > scrolling down to Software > S32K3 Reference Software > Automotive SW - S32K3 - FreeRTOS."

This package includes simple examples (FreeRTOS_Toggle_Led_Example_S32K344) as well as support for Config Tools inside Design Studio, which provides an easier configuration for the FreeRTOS driver:

Julin_AragnM_0-1711390505050.png

You can also look into the BMS SW Installation Guide for a HVBMS Reference Application and the installation steps. 

The HVBMS Reference Integration project showcases a possible implementation of the HVBMS-RD Initialization and DTTI (Diagnostic Test Time Intervals) sequence. Using FreeRTOS and a base cycle of 5 ms for Initialization, and 20 ms for the DTTI.

SafeRTOS is not NXP product and there is no plan to support this component. You can try to use this component directly (FreeRTOS and SafeRTOS are similar), but any driver included in the packages has not been tested with SafeRTOS (or with the idea to migrate to SafeRTOS eventually).

Best regards,
Julián

View solution in original post

1 Reply
590 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @AchrafOukheir,

You can find the FreeRTOS package for S32K3 platforms as an extension by going into "S32K3 Auto General-Purpose MCUs' page > scrolling down to Software > S32K3 Reference Software > Automotive SW - S32K3 - FreeRTOS."

This package includes simple examples (FreeRTOS_Toggle_Led_Example_S32K344) as well as support for Config Tools inside Design Studio, which provides an easier configuration for the FreeRTOS driver:

Julin_AragnM_0-1711390505050.png

You can also look into the BMS SW Installation Guide for a HVBMS Reference Application and the installation steps. 

The HVBMS Reference Integration project showcases a possible implementation of the HVBMS-RD Initialization and DTTI (Diagnostic Test Time Intervals) sequence. Using FreeRTOS and a base cycle of 5 ms for Initialization, and 20 ms for the DTTI.

SafeRTOS is not NXP product and there is no plan to support this component. You can try to use this component directly (FreeRTOS and SafeRTOS are similar), but any driver included in the packages has not been tested with SafeRTOS (or with the idea to migrate to SafeRTOS eventually).

Best regards,
Julián