GET STARTED WITH S32K144 USING S32K SDK
基于SDK的S32K144微控制器使用入门
Based on SDK_S32K144_RTM_1.0.0
EXTERNAL USE
AGENDA / 目录
• S32K Family Overview
S32K系列微控制器概述
• S32K144 Architecture and Key Features
S32K144架构及关键特性
• S32 Design Studio (S32DS) Introduction
S32 Design Studio开发环境介绍
• S32K SDK Hands-On
S32K SDK使用操作样例
− Clocks Lab 时钟配置
− GPIOs Lab 通用I/O配置
− Interrupts Lab 中断配置
− FlexCAN Lab FLexCAN模块配置
− ADC-FTM Lab ADC-FTM模块配置
1
EXTERNAL USE
S32K FAMILY OVERVIEW
S32K系列MCU概述
2
EXTERNAL USE
S32K – Accelerates Automotive Software Design / 加速汽车软件开发
Select / 选型
Design / 设计
Reuse / 复用
Future-proof / 先进的设计
• High performance ARM core
高性能ARM内核
• Security and Safety
硬件加密模块和功能安全设计
• Lowest power 低功耗技术
• CAN-FD, Ethernet 以太网
3
EXTERNAL USE
Minimize Complexity /
复杂度最小化
• Auto grade SW: SDK, AUTOSAR
汽车级软件包:SDK, AUTOSAR
• Low cost HW EVB 低成本开发板
• S32DS and Rich ecosystem
Maximize R&D Efficiency
研发效率最大化
• Most scalable portfolio
128K-2M flash,32-176pin
扩展性最好的产品系列
• HW/SW/Tool Compatible
集成开发环境S32DS,丰富生态系统
硬件/软件/工具互相兼容
• Application specific SW
提供针对应用的软件
• Common package strategy
统一封装
S32K1 product family – S32K14x and S32K11x
S32K116
S32K118
Cortex-M0+ @ 48MHz
Common Features,
SW&Tool
AEC-Q100
S32K142
S32K144
S32K146
S32K148
Cortex-M4F @ 112MHz
128KB Flash
256KB Flash
Security Module(CSEc)
256KB Flash
512KB Flash
1MB Flash
2MB Flash
16KB SRAM
24KB SRAM
ASIL-B compliant
32KB SRAM
64KB SRAM
128KB SRAM
256KB SRAM
up to 42 I/Os
up to 58 I/Os
Low Power
up to 89 I/Os
up to 128 I/Os
up to 156 I/Os
x
1
1
K
2
3
S
4 channel DMA
1x FlexCAN with 1x FD
QFN-32
LQFP-64
LQFP-48
FlexIO
MPU
JTAG
FlexTimer
16 channel eDMA
2x FlexCAN
with 1x FD
3x FlexCAN
with 1x FD
3x FlexCAN
with 2x FD
3x FlexCAN
with 3x FD
LQFP-64
LQFP-144
S
3
2
K
1
4
x
LQFP-100
LQFP-176
85°C / 105°C /125°C
LQFP-48 *
MAPBGA-100
SDK
Application SW
(NFC, TSI etc)
Autosar MCAL / OS
S32 Design Studio
ENET
Quad SPI
ETM Trace
SAI
4
EXTERNAL USE
*: S32K142 48LQFP is for development only
S32K1 & KEA Product Series Compatibility / 兼容性设计
Pin Compatibility / 管脚兼容
• Within S32K1xx product series
S32K1系列中管脚完全兼容
• Similar pinout as KEA products
与KEA产品系列管脚设计相似
IP Compatibility / IP兼容
• With MPC55xx/MPC56xxx/MPC57xxx product series: FlexCAN, ACMP, eDMA, QuadSPI
与MPC55xx/MPC56xxx/MPC57xxx产品系列IP兼容:FlexCAN,ACMP,eDMA,QuadSPI
• With KEA products: FlexTimer, IIC, LSPI, UART, CRC, FlexIO
与KEA产品系列IP兼容:FlexTimer,IIC,LSPI,UART,CRC,FlexIO
Flash
2M
1M
512K
256K
128K
64K
32K
16K
8K
16/24
32
48
64
80
100
100 BGA
144
176
Pin Count
S32K148
S32K148
S32K148
S32K146
S32K146
S32K146
S32K142 *
S32K118
S32K144
S32K142 /
S32K118
S32K144
S32K144
S32K142
S32K116
S32K116
KEAZ128
KEA128
KEAZN64
KEAZN32 /
KEAZN16
KEAZ(N)64
KEAZ64
KEAZN32
KEAZN16
KEAZN8
5
EXTERNAL USE
*: S32K142 48LQFP is for development only
S32K Solution Offering / S32K提供的解决方案
Hardware Platform
Runtime Software
Software Dev Tools
Application Specific
硬件平台
运行时软件
软件开发工具
应用样例
• Low cost development board
compatible to Arduino shields
低成本开发板,兼容Arduino扩展板
• Auto Grade NXP Software
Development Kit (SDK)
NXP提供汽车级软件开发包
• Onboard debugger and system
basis chip
板上集成调试器(OpenSDA)和
SBC芯片
• NXP Middleware e.g. Core Self
Test, LIN Stack
NXP提供中间件(内核自检,
LIN协议栈等)
• Autosar 4.0 and 4.2 MCAL
• FreeRTOS
• Bootloader
• IAR, GHS and GNU toolchains
支持IAR,GHS和GNU工具链
• Full-featured, no cost
development platform (S32 DS)
全功能一体化免费的开发平台
• FreeMASTER
图形化上位机
• Motor Control
电机控制
• Touch Sensing
触摸传感
• Secure Communication
加密通信
• Wireless Charging
无线充电
• Near Field Communication
近场通信
Full Hardware evaluation
and Development Platforms
完整的硬件评估和开发平台
Production grade Software for
Complete tools package to
Faster time to market
streamline software development
产品级软件包,加快产品上市速度
完整工具包,简化软件开发过程
Application Specific Middleware
特定应用的中间件
6
EXTERNAL USE
AUTOSAR MCAL and Middleware is sold separately
AUTOSAR MCAL、中间件软件需单独购买
S32K144 ARCHITECTURE
& KEY FEATURES
S32K144架构及关键特性
7
EXTERNAL USE