S32 SDK Quick Start Guide
Document Number: S32 SDK QSG
Rev. 1.6, 06/2018
NXP Semiconductors
1
S32 SDK Quick Start Guide, Rev. 1.6, 06/2018
Introduction .......................................................................................................................... 3
1.1 System requirements .................................................................................................. 3
1.2 Installing S32 SDK ..................................................................................................... 3
1.3 Release Notes ............................................................................................................. 4
1.4 Terminology ............................................................................................................... 4
Working with Projects .......................................................................................................... 5
2.1 Creating and building S32DS project ........................................................................ 5
2.2 Importing an existing project ..................................................................................... 9
2.3 Using New Project From Example .......................................................................... 11
2.4 Using a Makefile Project .......................................................................................... 12
2.5 Debugging Projects .................................................................................................. 13
2.6 Graphical Configuration of Drivers ......................................................................... 15
NXP Semiconductors
2
S32 SDK Quick Start Guide, Rev. 1.6, 06/2018
Chapter 1
Introduction
The S32 Software Development Kit (S32 SDK) is an extensive suite of robust hardware
interface and hardware abstraction layers, peripheral drivers, RTOS, stacks and
middleware designed to simplify and accelerate application development on NXP S32K
microcontrollers.
This manual explains how to use the S32 SDK product, including the use with S32 Design
Studio, for easier application creation and configuration with graphical user interface.
1.1 System requirements
Hardware
Operating System
Gnu Make
Supported Compiler
Disk Space
• 1.8 GHz processor
• 2 GB of RAM
Microsoft® Windows® 7.
For usage without S32 Design Studio.
For usage without S32 Design Studio. See release
notes for supported versions.
Approximately 2 GB of free disk space (when
installing standalone)
NOTE
The S32 Design Studio software development tools requirements
are covered by their own Quick Start Guide. PEx graphical
configuration tool can only be used with S32 Design Studio.
1.2 Installing S32 SDK
1.2.1 Bundled in S32 Design Studio
S32 SDK is delivered bundled in the S32 Design Studio. In this case it’s already configured
and ready to use.
1.2.2 Standalone
S32 SDK is also delivered through a standalone installer. Using the standalone installer is
recommended when using a compiler which is not supported in S32 Design Studio or
S32 SDK Quick Start Guide, Rev. 1.6, 06/2018
NXP Semiconductors
3
when the graphical interface is not required. In this case the installer can configure an
existing S32 Design Studio to use the configuration files delivered in the installer.
If the integration with the S32 Design Studio is not needed the path to S32 Design Studio
can be left empty – and in this case, only the S32 SDK will be installed and configured.
1.3 Release Notes
Before using the S32 SDK, read the release notes. These notes contain important
information about last-minute changes, bug fixes, incompatible elements, or other topics
that may not be included in this manual. The product comes with the release notes
installed.
1.4 Terminology
The following are some of the terms used in the document.
Table 1-1. Terminology
Description
Software development kit that provides comprehensive software support for
NXP S32 devices. The S32 SDK includes a Hardware Abstraction Layer (HAL)
for each peripheral and peripheral drivers built on top of the HAL. S32 SDK
also contains the latest available RTOS kernels, a LIN stack and SBC
middleware to support rapid development on supported S32K devices.
Rapid application design tool targeted for NXP microcontrollers providing the
following key features:
• A Graphical User Interface which allows an application to be specified by
the functionality needed.
• An application created from Embedded Components encapsulating
initialization and functionality of basic elements of embedded systems.
• An automatic code generator which creates tested and optimized C code
which is tuned to your application needs and the selected NXP device.
• A built-in knowledge base, which immediately flags resource conflicts and
incorrect settings, so errors are caught early in design cycle allowing you
to get to market faster with a higher quality product.
Term
S32 SDK
Processor Expert
NXP Semiconductors
4
S32 SDK Quick Start Guide, Rev. 1.6, 06/2018
Chapter 2
Working with Projects
This chapter explains how to use the S32 Design Studio to create and work with S32
SDK projects.
A project organizes files and various compiler, linker, and debugger settings associated
with the applications or libraries you develop. S32 New Project wizard can be used to
create projects that group these files and settings into build and launch configurations.
2.1 Creating and building S32DS Application Project
The New S32DS Project wizard help you to quickly create new projects. The wizard
generates a project with placeholder files and default settings (build and launch
configurations) for specified target. After the project has been created, you can easily
change any default setting to suit your needs.
To create a S32 SDK project using the New S32DS Application Project wizard:
1. Launch the S32 Design Studio. Please refer to S32 Design Studio documentation.
2. Select File > New > New S32DS Application Project, from the IDE menu bar.
The New S32DS Application Project page of the New S32DS Application Project
wizard appears.
NXP Semiconductors
5
S32 SDK Quick Start Guide, Rev. 1.5, 04/2018
Figure 1 New S32DS Application Project page
3. Specify a name for the new project. For example, enter the project name as Project1.
4. Select the Processor you want to use from New S32DS Application Project tab.
5. Click Next, The New S32DS Project for page of the New S32DS
Application Project wizard appears
NXP Semiconductors
6
S32 SDK Quick Start Guide, Rev. 1.5, 04/2018
Figure 2 New S32DS Project for page
6. Click on
button to select from available SDKs, The Select SDK page of the New
S32DS Application Project wizard appears
7. Select the latest version of SDK, and then click OK.
Figure 3 Select SDK page
8. Review the settings and click Finish, project should be created and default view
should be presented.
NXP Semiconductors
7
S32 SDK Quick Start Guide, Rev. 1.5, 04/2018
Figure 4 Default view after project creation
9. Processor Expert components can be observed the Components View, to add new
components open Component Library. (which can be opened from toolbar menu
Windows -> Show View)
10. Generate the driver configuration by clicking on
(or using toolbar menu Project
-> Generate Processor Expert Code). The generated configuration will be placed in
Generated_Code folder in project.
11. Start project build by clicking on
, or invoking right click menu on project and
selecting Build Project.
NXP Semiconductors
8
S32 SDK Quick Start Guide, Rev. 1.5, 04/2018