S32G399A-RDB3- Guide to configure FreeRTOS

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32G399A-RDB3- Guide to configure FreeRTOS

1,482件の閲覧回数
MohamedAbdelslam
Contributor III

Hello all, 
I am working on S32G399A-RDB3 board on M7 core, and I ask if there is any example guide explain how to configure Free rtos.

0 件の賞賛
返信
3 返答(返信)

1,458件の閲覧回数
MohamedAbdelslam
Contributor III

Thanks for your reply 
But I have done this, and I was asking about another guide other than that example to cpnfigure free rtos .. For example I want to configure CPU clock in free rtos but i can't as it disables 
image (24).png

0 件の賞賛
返信

1,448件の閲覧回数
alejandro_e
NXP TechSupport
NXP TechSupport

Hello @MohamedAbdelslam,

Thanks for the clarification. Unfortunately we don't have any guide on how to configure FreeRTOS from the S32G Design Studio. For the clock configuration you have to change Default Clock to User Clock by clicking the gray area on the right of the dropbox:

alejandro_e_0-1728514445059.png

 I can recommend checking the documentation about the FreeRTOS customization https://freertos.org/Documentation/02-Kernel/03-Supported-devices/02-Customization.

 

Let me know if this information was useful. 

 

0 件の賞賛
返信

1,462件の閲覧回数
alejandro_e
NXP TechSupport
NXP TechSupport

Hello @MohamedAbdelslam,

To be able to add FreeRTOS to your project you will need the FreeRTOS releases provided by NXP, you can find them following these steps:

 

- Sign in to your NXP account (NXP Semiconductors)

- Click on My NXP Account (top-right) and click on Software Licensing and Support under the Licensing section within the window it opens.

- This will redirect you to another page. In this new page, select the option View Accounts under the Software accounts section.

- This will again redirect you to another page. On this page, you should see an Automotive SW – S32G Reference Software option, click on it, then click on Automotive SW - S32G - FreeRTOS (Cortex-M7)

- Now you should be able to see all the FreeRTOS versions available, click on the newest version, for me it is S32G FreeRTOS 10.4.6 version 4.0.2

- accept the Software Terms and Conditions, now you should be able to see all the files related to that specific FreeRTOS release for S32G. Select and download the file with the word updatesite on it, it should be a zip file.

- Once the file is downloaded, open the S32 Design Studio, open the Help menu on the top of the window, and then select install new software

alejandro_e_0-1728409616398.png

 

- In the new window select Add…, a new window will appear, select Archive…, and select the file you just downloaded, and then click add.

alejandro_e_1-1728409616418.png

 

 

Then select all components and clock on Next >

alejandro_e_2-1728409616443.png

- Follow all installation steps and then click con finish, you will see the installation progress on the right bottom corner of the program, once it finishes you will be ask to restart the program, once the program is restarted, you can start a project from one of the FreeRTOS examples available. Select File -> New -> S32FS Project from Example

alejandro_e_3-1728409616458.png

 

- Search for FreeRTOS in the empty textbox and select FreeRTOS_Toggle_Led_Example_S32G399A_M7 then click on finish.

alejandro_e_4-1728409616510.png

 

- now double click on the .mex file on the project explorer

alejandro_e_5-1728409616516.png

 

- in the new view select Update Code

alejandro_e_6-1728409616522.png

 

- Now you can return to the code by clicking the C/C++ view on the right side of the screen

alejandro_e_7-1728409616549.png

 

Now you should be able to compile the program without problems.

 

Let me know if this information was useful.

0 件の賞賛
返信