body and comfort: automotive microcontroller innovative … · 2020. 9. 6. · • automotive-grade...

33
Company Public NXP, the NXP logo, and NXP secure connections for a smarter world are trademarks of NXP B.V. All other product or service names are the property of their respective owners. © 2019 NXP B.V. MCU Field Application Engineer Adrian Raileanu Body and Comfort: Automotive Microcontroller Innovative Applications November 2019 | EUF-AUT-T3868

Upload: others

Post on 01-Mar-2021

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Body and Comfort: Automotive Microcontroller Innovative … · 2020. 9. 6. · • Automotive-grade Software Development Kit (SDK) • Autosar MCAL & OS, 3rd party ecosystem Automotive-grade

Company Public – NXP, the NXP logo, and NXP secure connections for a smarter world are trademarks of NXP

B.V. All other product or service names are the property of their respective owners. © 2019 NXP B.V.

MCU Field Application Engineer

Adrian Raileanu

Body and Comfort: Automotive Microcontroller Innovative Applications

November 2019 | EUF-AUT-T3868

Page 2: Body and Comfort: Automotive Microcontroller Innovative … · 2020. 9. 6. · • Automotive-grade Software Development Kit (SDK) • Autosar MCAL & OS, 3rd party ecosystem Automotive-grade

COMPANY PUBLIC 1COMPANY PUBLIC 1

• S32K1xx Microcontroller Intro

• How to Build a Smart Node

• How to Build a Safety System

Agenda

Page 3: Body and Comfort: Automotive Microcontroller Innovative … · 2020. 9. 6. · • Automotive-grade Software Development Kit (SDK) • Autosar MCAL & OS, 3rd party ecosystem Automotive-grade

PUBLIC 2

T O M O R R O W :

D O M A I N S

A F T E R T O M O R R O W :

Z O N E S

T O D A Y :

F L A T

Gateway

Connected

Infotainment

Connectivity

Domain

Controller

(H) EV &

Powertrain

Domain

Controller

Domain

Controller

Body & Comfort

Domain

Controller

Domain

Controller

ADAS → Autonomy

• Low bandwidth, flat network

• One MCU per application

Unfit for future Mobility

• High bandwidth network• Gateway key to communication between domains

Step to Autonomous Car

• Domains virtualized by SW – enabling high flexibility

• Easy enable/disable or update functions

Step to User-Defined Car

Central

Brain

Zonal

Gateway

Zonal

Gateway

Zonal

Gateway

Zonal

Gateway

Flat to

hierarchicalWires go

virtual

Need for Edge Node – General Purpose MCU

Page 4: Body and Comfort: Automotive Microcontroller Innovative … · 2020. 9. 6. · • Automotive-grade Software Development Kit (SDK) • Autosar MCAL & OS, 3rd party ecosystem Automotive-grade

COMPANY PUBLIC 3

S32K1 Target Apps

Body Electronics Motor Control

Infotainment

HVAC

Body Controllers

Steering wheel

Lighting

Doors

Battery/Power mgmt

Wireless Charging,

NFC pairingEth. Audio Amp

Chassis/Safety

ADAS

Motorized camerasPark Assist

Gear shifter Motorcycle ABS

SuspensionsTPMSEngine /

cooling fansWindow lift

Wipers Diesel / Oil Pump

Page 5: Body and Comfort: Automotive Microcontroller Innovative … · 2020. 9. 6. · • Automotive-grade Software Development Kit (SDK) • Autosar MCAL & OS, 3rd party ecosystem Automotive-grade

COMPANY PUBLIC 4

General Purpose and Integrated Solutions

GPIS(General Purpose &

Integrated Solutions)

Body Electronics

Edge Nodes

• 8/16/32bit General

Purpose MCU

• Application specific

software solutions

• MagniV Application

specific Integrated

Solutions

Sensor InterfacesMotor Control

Window Lift Pumps, Fans

Integrated Solutions

8/16/32bit General Purpose

Body Electronics

Exterior Interior

Across domains

S12 MagniV

S32K1 B

S08 – GP 8bit

S12 – GP 16bit

MPC56xxB – GP 32bit

KEA

Next Gen

S32K D

Next Gen IS

Solution

Page 6: Body and Comfort: Automotive Microcontroller Innovative … · 2020. 9. 6. · • Automotive-grade Software Development Kit (SDK) • Autosar MCAL & OS, 3rd party ecosystem Automotive-grade

COMPANY PUBLIC 5

S32K1 Family – Accelerating Automotive Software Design

• S32 Design Studio IDE

• Automotive-grade Software

Development Kit (SDK)

• Autosar MCAL & OS, 3rd party

ecosystem

Automotive-grade SW

• 128KB to 2MB, 32 to 176 pins

• H/w and S/w compatibility

• AEC Q100 grade 1 qualified

(125°C), min. 15 year longevity

Broad Portfolio

• ARM Cortex M4F and M0+ cores

• ISO CAN-FD,

• CSEc hardware security

• ISO26262 ASIL-B functional

safety

• Ultra low power

Performance & Integrationsecu

rity

Future proof designs Minimized complexity Maximised reuse

S32K

1

Page 7: Body and Comfort: Automotive Microcontroller Innovative … · 2020. 9. 6. · • Automotive-grade Software Development Kit (SDK) • Autosar MCAL & OS, 3rd party ecosystem Automotive-grade

COMPANY PUBLIC 6

Building Solutions

Page 8: Body and Comfort: Automotive Microcontroller Innovative … · 2020. 9. 6. · • Automotive-grade Software Development Kit (SDK) • Autosar MCAL & OS, 3rd party ecosystem Automotive-grade

COMPANY PUBLIC 7

Smart Edge Node

Page 9: Body and Comfort: Automotive Microcontroller Innovative … · 2020. 9. 6. · • Automotive-grade Software Development Kit (SDK) • Autosar MCAL & OS, 3rd party ecosystem Automotive-grade

COMPANY PUBLIC 8

S32K1

Software

SBC

ETH PHY

ISELED

TOUCH

AUDIO

NFC

Vdd

COM

CAN

LIN

ETH

WDOG SPI

FlexCAN

(FD)

LPUART

ENET

S32K148

FlexIO

ADC

GPIO

I2S

SPI

Page 10: Body and Comfort: Automotive Microcontroller Innovative … · 2020. 9. 6. · • Automotive-grade Software Development Kit (SDK) • Autosar MCAL & OS, 3rd party ecosystem Automotive-grade

COMPANY PUBLIC 9

S32K1

Software

SBC

ETH PHY

ISELED

TOUCH

AUDIO

NFC

Vdd

COM

CAN

LIN

ETH

WDOG SPI

FlexCAN

(FD)

LPUART

ENET

S32K148

FlexIO

ADC

GPIO

I2S

SPI

Page 11: Body and Comfort: Automotive Microcontroller Innovative … · 2020. 9. 6. · • Automotive-grade Software Development Kit (SDK) • Autosar MCAL & OS, 3rd party ecosystem Automotive-grade

COMPANY PUBLIC 10

Features

S32K

14x

S32

K11x

Arm Cortex-M4F @ up to 112MHz

S32K116 S32K118 S32K146 S32K148S32K142 S32K144

256KB Flash 512KB Flash 1MB Flash 2MB Flash

up to 89 I/Os

2x FlexCAN

with 1x FD**

Common Features

Arm Cortex-M0+ @ 48MHz

128KB Flash 256KB Flash

up to 42 I/Os up to 58 I/Os

IEEE 1588

ENET

up to 128 I/Os up to 156 I/Os

16 channel eDMA

1x FlexCAN with 1x FD

Quad SPI

ETM Trace

32KB SRAM 64KB SRAM 128KB SRAM 256KB SRAM16KB SRAM 24KB SRAM

3x FlexCAN

with 1x FD**

3x FlexCAN

with 2x FD

3x FlexCAN

with 3x FD

LQFP-48

QFN-32 LQFP-64 LQFP-64

LQFP-144

LQFP-100

LQFP-176

MAPBGA-100

2x SAI

4 channel eDMA

2x 32-ch 12-bit

ADC

2x 24-ch 12-bit

ADC2x 16-ch 12-bit ADC

1x 16-ch 12-

bit ADC

1x 13-ch 12-

bit ADC

AEC-Q100, 125°C, 5V

CSEc Security Module

Low Power Operating Modes

& Peripherals

LPUART, LPSPI,

LPIIC, FlexIO

ASIL-B Capable:

(ECC, MPU, CRC, W’DOGs)

FlexTimers, LP Timers, Prog.

Delay Block

*JTAG

S32DS IDE, SDK

Autosar MCAL / OS

8-40MHz Ext. Osc,

8/48MHz Osc., 128KHz LPO

Application SW

*S32K14x only

** 2x CAN FD in S32K14xW (Grade 0)

LQFP-100

LQFP-48

DevelopmentProduction

Gr0 Option

Page 12: Body and Comfort: Automotive Microcontroller Innovative … · 2020. 9. 6. · • Automotive-grade Software Development Kit (SDK) • Autosar MCAL & OS, 3rd party ecosystem Automotive-grade

COMPANY PUBLIC 11

CSEc Security Block Diagram

FLASH Subsystem

Includes CSEC.

Direct access to

flash contents.

No CSEc

access here

Supports SHE functionality:

−Secure key storage: CSEc includes 17 user keys*,

SHE requires 10

−AES-128 encryption/decryption

−AES-128 Cypher-based Message Authentication

Code (CMAC) calculation and authentication

−True and Pseudo random number generation

−User configurable Secure Boot Mode (Sequential,

Strict, or Parallel Boot)

*20key firmware version available per request

Page 13: Body and Comfort: Automotive Microcontroller Innovative … · 2020. 9. 6. · • Automotive-grade Software Development Kit (SDK) • Autosar MCAL & OS, 3rd party ecosystem Automotive-grade

COMPANY PUBLIC 12

Evaluation Board

• $65 USD SRP

• Supports S32K144 100LQFP MCU

• Small form factor size 6” x 4”

• Arduino™ UNO footprint-compatible with

expansion “shield” support

• Integrated open-standard serial and debug

adapter (OpenSDA) with support for several

industry-standard debug interfaces

• Easy access to all the MCU I/O pins for

prototyping

• On-chip connectivity for CAN, LIN, UART/SCI

• SBC UJA1169 and LIN phy TJA1027

• Flexible power supply options

• microUSB or external 12 V power supply

External Power Supply (5-12 V)

CAN Communication Bus

RGB LED

S32K144 MCU

LIN Communication Bus

OpenSDA USB

Reset Button

OpenSDA MCU

OpenSDA JTAG

Potentiometer

J2 Header

J1 Header

J6 Header

J3 Header

J4 Header

J5 Header

SBC UJA1169

Touch electrodes

User Buttons

Page 14: Body and Comfort: Automotive Microcontroller Innovative … · 2020. 9. 6. · • Automotive-grade Software Development Kit (SDK) • Autosar MCAL & OS, 3rd party ecosystem Automotive-grade

COMPANY PUBLIC 13

✓ Supports S32K1xx MCU family

✓ 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 3rd party compilers & debuggers (IAR) via

Connection Utility

www.nxp.com/S32DS

www.nxp.com/S32K

Availability

Business model Free of charge

Quality level Compliant with CMMI and

IATF16949 standards

Code Format Binary

Where to download www.nxp.com/S32K

S32 Design Studio IDE for Arm® based MCUs

Page 15: Body and Comfort: Automotive Microcontroller Innovative … · 2020. 9. 6. · • Automotive-grade Software Development Kit (SDK) • Autosar MCAL & OS, 3rd party ecosystem Automotive-grade

COMPANY PUBLIC 14

Availability

Business model Free of charge

Delivery format Source Code

Quality level QM

Where to download www.nxp.com/S32K

Supported compilers GCC, IAR, GHS, Wind River Diab, Arm Compiler

✓ Automotive-grade & production ready:

SPICE/CMMI Level 3 compliant, MISRA

2012 tested

✓ Complete drivers offering

✓ FreeRTOS operating system

✓ Supports multiple toolchains: GCC, ARM,

Green Hills, Diab and IAR

✓ Integration with NXP S32 Design Studio and

3rd party IDEs (KEIL, GHS Multi, IAR)

✓ Documented source code, examples,

cookbook and demos for fast application

start-up via simple drag & drop functionality

www.nxp.com/S32SDK

www.nxp.com/S32K

Headers

Analog Comms Safety Security Timers

ExternalSoC & Boards

Low-level Drivers

Middleware

LIN Stack TCP/IP Stack NFC NCI Stack

Start-up/

Compiler

linker files

UI Config

Framework

Demo applications and driver

examples

Fre

eR

TO

S

OS

IF

Libraries

Automotive Math &

Motor Control Library Core Self Test

OS

Class A Class B Class C Class D

SBC Drivers

ISELED

Drivers

*Refer to backup slides

for quality class definition

S32K SDK (Software Development Kit)

Page 16: Body and Comfort: Automotive Microcontroller Innovative … · 2020. 9. 6. · • Automotive-grade Software Development Kit (SDK) • Autosar MCAL & OS, 3rd party ecosystem Automotive-grade

COMPANY PUBLIC 15

✓ Production qualified software abstraction of

complex hardware features

✓ Compliant to versions 4.0.3, 4.2 and 4.3 of the

AUTOSAR standard

✓ Developed using SPICE Level 3 and ISO26262

standard compliant process− Both QM and ISO26262 version available

✓ Developed as Safety Element out of Context

(SEooC) integrable in ASIL-B S32K1 product

✓ Supports multiple software features as extensions

to AUTOSAR standard. 5 complex drivers

extending AUTOSAR on various platforms: − MCL: centralized DMA and DMAMux configuration

and functionality, common timer code

− I2C: Inter-Integrated Circuit driver

− MCEM: MicroController Error Management

− CRCU: CRC hardware acceleration

− Cypto: Provide encryption functions according to the

SHE spec based on the CSEc moduleAvailability

Business model License Model

Delivery format Source Code

Quality level QM & ISO26262

Where to download www.nxp.com/S32K

Supported Compilers GCC, IAR, GHS

www.nxp.com/AUTOSAR

www.nxp.com/S32K

AUTOSAR MCAL

Page 17: Body and Comfort: Automotive Microcontroller Innovative … · 2020. 9. 6. · • Automotive-grade Software Development Kit (SDK) • Autosar MCAL & OS, 3rd party ecosystem Automotive-grade

COMPANY PUBLIC 16

www.nxp.com/FreeMASTE

R

Availability

Business model Free

Quality level Compliant with CMMI and

IATF16949 standards

Code format Source Code for drivers

Where to download www.nxp.com/FreeMASTER

www.nxp.com/S32K

✓ Real-Time Debug Monitor

✓ Data Visualization Tool

✓ Graphical Control Panel

✓ Data Tracing Tool

✓ Hardware-in-Loop Simulation• FreeMASTER can stream data to MATLAB® via SFIO library

FreeMASTER –Real-Time Debugging Tool

Page 18: Body and Comfort: Automotive Microcontroller Innovative … · 2020. 9. 6. · • Automotive-grade Software Development Kit (SDK) • Autosar MCAL & OS, 3rd party ecosystem Automotive-grade

COMPANY PUBLIC 17

S32K1xx

112MHz1x M4FS32K148

S32K146

S32K144

S32K142

2M

1M

512k

256k

1x M4F

1x M4F

1x M4F

112MHz

112MHz

112MHzQM

and

ASIL B

Systems

FAMILY DEVICES FLASH CORES PERFORMANCE PROTECTION Safety ATTACH SBC

B

UJA113x

UJA1169(A)

UJA116x(A)

MC33FS450xx

BIST, ECC,

Fail safe

S32K118

S32K116

256k

128k

1x M0+

1x M0+

48MHz

48MHz

• UJA1169:

• S32K144EVB with UJA1169 available

• UJA1169 supported in S32K1xx family (Drivers available in S32 SDK) → Available today

• UJA113x:

• S32K148EVB with UJA1132 available

• UJA113x family supported in S32K148 (Drivers available in S32 SDK) → Available today

• UJA116x(A):

• UJA116x(A) supported in S32K1xx family (Drivers available in S32 SDK) → Available today

• UJA1169A:

• Upgraded version of UJA1169, supporting up to 5Mbps CAN FD -> Target release in Q1’20

• Grade 0 version of UJA1169A -> Target release in Q3’20

• MC33FS45xx:

• ASIL D compliant SBC

• FS45xx supported in S32K148 (Drivers available in S32 SDK) → Available today

S32K144W

S32K142W

512k

256k

1x M4F

1x M4F

80MHz

80MHz

Production Development

UJA1169A Grade

0

System Basis Chips

Page 19: Body and Comfort: Automotive Microcontroller Innovative … · 2020. 9. 6. · • Automotive-grade Software Development Kit (SDK) • Autosar MCAL & OS, 3rd party ecosystem Automotive-grade

COMPANY PUBLIC 18

• Orderable only from Element14/Farnell (as per ISELED Alliance

Distribution policy)

• ADK Contents:o S32K144EVB-Q100 (NXP)

o ISELED Power Adaptor board (Inova Semiconductor)

o 1 x 16-LED ‘Bar’ (Dominant Opto or OSRAM LEDs)

• S32K1xx EVB Compatibility with ISELED Power Adaptor Board:

• S32K142/144/146 EVBs: 100% compatible

• S32K116/118/148 EVBs: minor h/w changes needed

S32K ISELED Solution - Application Development Kit (ADK)

Page 20: Body and Comfort: Automotive Microcontroller Innovative … · 2020. 9. 6. · • Automotive-grade Software Development Kit (SDK) • Autosar MCAL & OS, 3rd party ecosystem Automotive-grade

COMPANY PUBLIC 19

www.nxp.com/S32K-ISELED

Availability

Business model S32K1 ISELED Part Number

Delivery format Binary Code

Quality level ISO 26262 for AUTOSAR

QM for SDK

Where to download www.nxp.com/S32K-ISELED

Supported compilers GCC, IAR, GHS, Wind River Diab,

Arm Compiler

✓ Bi-directional communication between S32K1 MCU and

LED over LPSPI or FlexIO interface

✓ Multiple (up to 13) strips supported in parallel

✓ Available for AUTOSAR and non-AUTOSAR use cases

✓ 1st and ONLY ISELED solution on market with

production-ready HW & SW

S3

2K

1

NXP Product

ISELED Driver – Solution for Smart LED Lighting

Page 21: Body and Comfort: Automotive Microcontroller Innovative … · 2020. 9. 6. · • Automotive-grade Software Development Kit (SDK) • Autosar MCAL & OS, 3rd party ecosystem Automotive-grade

COMPANY PUBLIC 20

FlexIO Custom Communication Channels“FlexIO” — Flexible input and output peripheral

• Highly configurable module providing a wide range of functionality including:

− Emulation of a variety of communication protocols: UART, I2C, SPI, I2S, etc.

− Flexible 16-bit timers with support for a variety of trigger, reset, enable and disable conditions

• Creates an interlink between GPIO method of software emulation and exact

hardware peripheral module

• Can continue operating under debug / stop modes

• Support of polling/interrupt/DMA (RX/TX) operation

• Low - medium software/CPU overhead

• The FlexIO peripheral was initially introduced on the NXP Kinetis KL43 family

• Multiple App Notes available – search FlexIO application notes on NXP.com

Bit BangingFlexIODedicated

Peripheral

CPU OVERHEAD

Page 22: Body and Comfort: Automotive Microcontroller Innovative … · 2020. 9. 6. · • Automotive-grade Software Development Kit (SDK) • Autosar MCAL & OS, 3rd party ecosystem Automotive-grade

COMPANY PUBLIC 21

✓ 1D capacitive touch reference library for prototyping purpose

✓ Single chip solution for automotive touch input

✓ Suitable for up to 50 electrodes

✓ EMC capable reference design available (built on S32K144EVB):− 2 Pad Keypad

− Multi-pad Keypad w/o slider

− Hands On Detection

− EMC/EMI/ESD reports available

✓ Full set documentation (HW & SW design guide) available

Availability

Business model Free

Delivery format Source Code

Quality level Reference Library

Where to download Contact

[email protected]

Touch Sense Reference Library

Page 23: Body and Comfort: Automotive Microcontroller Innovative … · 2020. 9. 6. · • Automotive-grade Software Development Kit (SDK) • Autosar MCAL & OS, 3rd party ecosystem Automotive-grade

COMPANY PUBLIC 22

NFC Solution

MCU with

NFC NCI StackNCI-compliant

NFC ControllerContactless

Object

NFC Embedded System Example

Certain S32K14x MCUs include a license to use the NFC NCI Stack and when

attached to NCx3340 NFC controllers create an NFC embedded system.

NCISPI, I2C

Page 24: Body and Comfort: Automotive Microcontroller Innovative … · 2020. 9. 6. · • Automotive-grade Software Development Kit (SDK) • Autosar MCAL & OS, 3rd party ecosystem Automotive-grade

COMPANY PUBLIC 23

✓ NFC Controller Interface (NCI) compliant NFC stack targeted

for automotive devices.

✓ Compliant with NFC standard that implements NFC forum

specs as of Jan 31, 2017

✓ Read/Write T1-T5 + MiFare tags, NCI, LLCP/SNEP,

PeerToPeer, Card Emulation for T3 and T5

✓ Available for AUTOSAR and non-AUTOSAR use cases

www.nxp.com/ANFC

Availability

Business model S32K1 NFC Part Number

Delivery format Binary Code

Quality level ISO 26262 for AUTOSAR

QM for SDK

Where to download www.nxp.com/ANFC

Supported compilers GCC, IAR, GHS

www.nxp.com/S32K

Library

API

OSI

F

HAL

core ANFC stack

NCI

Reader/Writer

T1-T5

Peer-to-Peer Host based Card Emulation

NDEF

LLCP

SNEP

Type A,B & F

ANFC NCI Stack – Compliant with NCx3340 NFC chip

Page 25: Body and Comfort: Automotive Microcontroller Innovative … · 2020. 9. 6. · • Automotive-grade Software Development Kit (SDK) • Autosar MCAL & OS, 3rd party ecosystem Automotive-grade

COMPANY PUBLIC 24

Safety System

Page 26: Body and Comfort: Automotive Microcontroller Innovative … · 2020. 9. 6. · • Automotive-grade Software Development Kit (SDK) • Autosar MCAL & OS, 3rd party ecosystem Automotive-grade

COMPANY PUBLIC 25

S32K1xx

SBC

UJA1169TK

Vdd

COM

CAN

WDOG/RESET SPI

FlexCAN

(FD)

ASIL-B

Vbat

WAKE

LIMP

CAN

https://www.nxp.com/docs/en/application-note/AN12148.pdf

Page 27: Body and Comfort: Automotive Microcontroller Innovative … · 2020. 9. 6. · • Automotive-grade Software Development Kit (SDK) • Autosar MCAL & OS, 3rd party ecosystem Automotive-grade

COMPANY PUBLIC 26

S32K1xxSBC

UJA1131TK

Vdd

COM

CAN

WDOG/RESET SPI

FlexCAN

(FD)

ASIL-B

Vbat

WAKE

LIMP

CAN

LIN LPUART

LIN

BATSENSE

HV

I/O

HV

I/O

HV

I/OH

V I/O

V2

https://www.nxp.com/docs/en/application-note/AN12148.pdf

Page 28: Body and Comfort: Automotive Microcontroller Innovative … · 2020. 9. 6. · • Automotive-grade Software Development Kit (SDK) • Autosar MCAL & OS, 3rd party ecosystem Automotive-grade

COMPANY PUBLIC 27

S32K1xx

SBC

FS45

Vdd

CAN

SPI

SPI

ASIL-C/D

Vbat

WAKE

LIMP

CAN

LIN LPUART

LIN

BATSENSE

HV

I/O

HV

I/O

HV

I/OH

V I/O

V2

SPI

FlexCAN

(FD)

LPUART

KEA or

S32K1xx

SPI

FlexIOSPI

LPUART

SPI interface with Safety Function

https://www.nxp.com/docs/en/application-note/AN12148.pdf

Page 29: Body and Comfort: Automotive Microcontroller Innovative … · 2020. 9. 6. · • Automotive-grade Software Development Kit (SDK) • Autosar MCAL & OS, 3rd party ecosystem Automotive-grade

COMPANY PUBLIC 28

NTBatteryManagementSystem

_ Permanent measurement of cell

voltages

_ Over-temperature protection

_ Overcurrent / overvoltage detection

_ Safe relay (breaker) control

(up to ASIL C)

_ Various definable Safe States

_ LIN and CAN bus interface

_ Crash detection

_ Overcurrent control fuse

_ Power supply with watchdog

protection

_ Control of up to 6 Lithium-ion battery

cells

Courtesy of NewTec

Page 30: Body and Comfort: Automotive Microcontroller Innovative … · 2020. 9. 6. · • Automotive-grade Software Development Kit (SDK) • Autosar MCAL & OS, 3rd party ecosystem Automotive-grade

COMPANY PUBLIC 29

BMS Safety System-On-Module: NTSafeSOMReady to use safety computer reference design

Features• Targets up to ISO26262 ASIL-C and IEC 61508 SIL 2 System level certification

• Dual MCU and safety PMIC architecture✓ S32K144 – Cortex M4F MCU

✓ KEA – Cortex M0+ MCU

✓ FS45 – Safety & Power Management System IC

• Different support package options from NXP and Newtec✓ Free-of-charge reference documents

✓ Development kit hardware with application software

✓ up to complete system development with safety certification

• First application designed for 6 cells Li-Ion BMS using MC33772 battery cell controller

Applications

• Industrial, medical or automotive system requiring functional safety certification

Page 31: Body and Comfort: Automotive Microcontroller Innovative … · 2020. 9. 6. · • Automotive-grade Software Development Kit (SDK) • Autosar MCAL & OS, 3rd party ecosystem Automotive-grade

COMPANY PUBLIC 30

Crossbar Switch with MPU

RAM

Up To

64KB

System

Periphera

l

Bridge Flash

Up To

512K

NV

IC

Cortex M4F

112 MHz

FPU, DSP, MPU,

4 KB I/D-Cache

EEPROM

Up To

4KB

RTC

PMC2.7 - 5.5V

FLL Clk Mult

Ext Osc (8 - 40MHz)

Fast R/C OSC(48MHz 1%)

LP OSC (128KHz 10%)

SCG

Digital

Components

5V Analogue

ComponentsMCU Core

and Memories

secu

rity

Slow R/C OSC(8MHz 3%)

16ch

eDMA

LVD

WDOG EWM

Debug

SWD JTAG

Communications / I/O System

2x A

DC

16ch 1

2bit

AC

MP

W 8

-bit D

AC

4x F

lexT

ime

r8ch 1

6-B

it

3x F

lex C

AN

1 w

ith

FD

2x P

DB

3x S

PI

1x I

2C

Flex IO

I2S

UA

RT

SP

ILP

IT

CR

C

3x U

AR

T/L

IN

S32K1xx MCU – ASIL B Safety Features

Safety Hardware

• Core platform (core, DMA, cache …), Buses - XBAR

• ECC in Flash & RAM

• Power & Clock Monitoring

• Watchdog, MPU, CRC, register protection

• Diversity of safety levels

Safety Software

• S32K core self-test SW library

Safety Process

• ISO 26262 development process

Safety Support

• FMEDA

• Safety manual

• Technical support

Clock

Monitoring

Power

Monitoring

Watchdog

ECC on SRAM

& Flash

Cyclic Redundancy

Check

Core Self Test

Page 32: Body and Comfort: Automotive Microcontroller Innovative … · 2020. 9. 6. · • Automotive-grade Software Development Kit (SDK) • Autosar MCAL & OS, 3rd party ecosystem Automotive-grade

COMPANY PUBLIC 31

Safety measures on peripherals Differentiating features

▪ End-to end CRC to detect data corruption

▪ Diversity of communication channel Diversity of analog signal paths

▪ Internal voltages routed to ADC

S32K

Compare

received

data sensorFlexIO

as UART

UART

Rx

Rx

Tx

S32K

Compare

ADC results

ADC0

ADC1

sensor3

sensor2

sensor1

Page 33: Body and Comfort: Automotive Microcontroller Innovative … · 2020. 9. 6. · • Automotive-grade Software Development Kit (SDK) • Autosar MCAL & OS, 3rd party ecosystem Automotive-grade

NXP and the NXP logo are trademarks of NXP B.V. All other product or service names are the property of their respective owners. © 2019 NXP B.V.