HOWTO: Create New Project from Example ‘RSDK_S32DS_template’

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

HOWTO: Create New Project from Example ‘RSDK_S32DS_template’

HOWTO: Create New Project from Example ‘RSDK_S32DS_template’

Included in the Radar Software Development Kit (RSDK) is an example project ‘RSDK_S32DS_template’. This example shows an example radar application which uses the Arm Cortex-A53 and accelerators SPT, LAX and BBE32 DSP. The A53 core is used to execute the Linux application and launches the SPT, LAX, and BBE32 DSP cores.

In this HOWTO, we will show how to load the project into the S32 Design Studio workspace and build. Debugging instructions, using the S32 Debugger and S32 Debug Probe are provided in separate documents for each accelerator.

Preparation

  1. Setup the software tools
    1. Install S32 Design Studio for S32 Platform
    2. Install the S32R4xx development package, the Radar extension package for s32R4xx, and the BBE32 DSP Add-On Package for S32R45.
      image.png
    3. Install the ‘S32R45_RSDK_0.9.4_D2112’ last. It contains the ‘RSDK_S32DS_template’ example project. This package must be downloaded from the NXP website. If the .exe version is used, then the RSDK installer will install an XML file containing the install path of the RSDK into the S32 Design Studio installation directory. A prompt during the installation process will request the user to locate the S32DS installation directory. If the S32DS installation folder doesn’t exist, then it can’t be selected and the file will be missed. So, it is important to install this after installing S32 Design Studio and to use the .exe version. Once installed, S32 Design Studio will be able to locate the project from the New Project from Example wizard.
      If the .zip version is used, then the XML file must be updated manually and then placed in the S32DS installation folder.
      For example, with the 0.9.4 version of the RSDK:
      1. Locate the XML file in the RSDK installation folder. It is located in the base installation folder: "C:\NXP\S32R45_RSDK__0.9.4\swm.rsdk.s32r45.0.9.4.xml"
      2. Edit the following line by inserting the path to the RSDK:
        <variable name="RSDK_S32R45_0_9_4_DIR"
        value="${{RSDK_INSTALL_DIR}}" />
        change to:
        <variable name="RSDK_S32R45_0_9_4_DIR" value="C:/NXP/S32R45_RSDK__0.9.4" />
      3. Copy file to S32DS install folder. For example, if S32 Design Studio v3.4 installed:
        “C:\NXP\S32DS.3.4\S32DS\integration”

Procedure

  1. Create the Project. Launch S32 Design Studio for S32 Platform and execute the following command:
    1. File -> New -> New S32DS Project from Example
      image.png
      OR from the Dashboard
      image.png
    2. Enter search text ‘rsdk’. The RSDK_S32DS_template project will be shown. Select it and click Finish.
      image.png
  2. Examine the project
    1. Notice there are separate projects for each core. This project structure is due to the separate compilers, linkers, and assemblers required for each core type. When the A53 project is built, it will automatically build the other projects and then include the executable outputs into the A53 executable output. This way the code for all cores is loaded at one time and each core can be launched by the A53 core.
      image.png
No ratings
Version history
Last update:
‎03-11-2022 11:16 AM
Updated by: