The NXP MPC574xB-C-G is a powerful automotive-grade microcontroller that combines high-performance processing with advanced safety and security features. Based on the Power Architecture® e200Z4 core, it delivers exceptional performance for demanding automotive applications. The MPC574xB-C-G offers a rich set of peripherals, including Ethernet, CAN, FlexRay, and USB, making it ideal for a wide range of automotive applications such as body control modules, powertrain control units, and advanced driver assistance systems (ADAS).
NXP and the NXP logo are trademarks of NXP B.V. All other product or service names are the property
of their respective owners. © 2017 NXP B.V.
PUBLIC
HANDS-ON WORKSHOP:
MPC574XG SDK FOR GATEWAY
JULY2017
1
ST
SDK FOR POWER ARCHITECTURE
PUBLIC
1
AGENDA
• Introduction
− S32 Software Development Kit (SDK)
− S32 Design Studio
• Hands-on
− Blinking LED
− ENET – CAN Communication
PUBLIC
3
S32 Software Development Kit (SDK) – Goals
Easy prototype
• Graphical configuration
• Documented Source code and examples
• Eclipse or other IDEs
• Middleware + FreeRTOS
Easy production
• Quality level: SPICE/CMMI compliant (Class B), MISRA 2012
compliant
• Multiple toolchains supported
• Consolidates other S32 SW projects
• Stacks, Flash drivers, FreeRTOS
PUBLIC
4
Features
• Integrated Non-Autosar SW
Production-grade software
• Graphical-based Configuration
• Layered Software Architecture
• Documented Source Code and
Examples
• Integrated with S32 Design Studio
and other IDEs
• FreeRTOS integration
• Multiple toolchains supported
• Several examples and demos
Low-level Drivers
Middleware & Stacks
TCP/IP
Headers
FreeRTOS
Processor
Expert UI
Config files
Start-up/
Compiler
linker files
Driver
Examples
Demos Applications
…
Analog
ADC
CMP
PDB
Timers
FTM
LPIT
LPTMR
RTC
WDOG
EWM
Comms
UART
FlexIO
CAN-FD
LIN
SPI
I2C
SoC
Clocks
Interrupts
Power
Pins
GPIO
FLASH
DMA
TRGMUX
Safety &
Security
EIM
ERM
CRC
MPU
cSEC
USB
Hardware
OSIF
FS
S32 SDK – Architecture
PUBLIC
5
S32 SDK – File Structure
Platform folderS32 SDK
PUBLIC
6
S32 SDK – Usage
- Stand alone
- Makefile examples
- IAR example
- Design Studio
- PEx configurator
- Integrated compiler and debugger
PUBLIC
7
NXP S32 Design Studio IDE www.nxp.com/S32DS
• Free of charge
• Unlimited code size
• Eclipse based environment
• GNU compiler & debugger integrated
• S32 SDK integrated (graphical configuration)
• Processor Expert integrated (automatic code
generator)
• Can use with 3
rd
party compliers & debuggers
(IAR) via Connection Utility
• Supports S32K and Power Architecture (MPC)
products
• Not a replacement for NXP’s CodeWarrior IDE
• Not intended to compete with premium 3
rd
party IDEs
PUBLIC
8
GHS
NXP & 3
rd
Party IDEs – Performance/Price Map
Price
Capability / Features
$5k
$10k
CodeWarrior
(NXP)
IAR, GreenHills, WindRiver
$500
New S32 Design Studio
(NXP)
✓ Free of charge
✓ No code limit
✓ Processor Expert Integrated
PUBLIC
9
S32 Design Studio – graphical configuration environment
PUBLIC
10
S32 Design Studio – graphical configuration environment
Pins configuration
PUBLIC
11
S32 Design Studio – graphical configuration environment
Processor view
PUBLIC
12
S32 Design Studio – graphical configuration environment
Components library
PUBLIC
13
S32 Design Studio – graphical configuration environment
Project components
PUBLIC
14
S32 Design Studio – graphical configuration environment
Component inspector
PUBLIC
15
S32 Design Studio – graphical configuration environment
Code generation
PUBLIC
16
S32 Design Studio – graphical configuration environment
Project build
PUBLIC
17
S32 Design Studio – deploying the application
Target debug
PUBLIC
18
S32 Design Studio – SDK Update
Newer SDK versions are provided as update sites for DS
PUBLIC
19
Hands-on – Blinking LED
02.