Hercules Introduction
Hercules Introduction
Hercules Introduction
Collins Jiang
Hercules Safety MCU
BDM
[email protected]
EN 50128
DO-178B
(railway)
(aerospace)
IEC
60601
IEC
50156
(medical
equipment)
TM
Hercules
(furnaces)
MCU
IEC 60880
IEC
61511
(nuclear
power
stations)
(process
industry)
IEC 62061
ISO 13849
(machinery)
Hercules MCUs
provide
developers of
safety-critical
applications:
ISO 26262
IEC 61508
(automotive)
(safety)
TM
TMS570
Hercules
Safety MCU
Platform
Transportation and
Safety MCUs
TMS470M
Industrial Applications
Medical Applications
-40 to 105C Operation
ENET, USB, CAN & UART
Developed to Safety Standards
IEC 61508 SIL-3
Cortex-R over 350 DMIPs
Transportation Applications
Automotive Q100 Qualification
-40 to 125C Operation
FlexRay, ENET, CAN, LIN/UART
Developed to Safety Standards
ISO 26262 ASIL-D
IEC 61508 SIL-3
Cortex-R over 280 DMIPs
Transportation Applications
Automotive Q100 Qualification
-40 to 125C Operation
CAN, LIN/UART Connectivity
Supports Safety for
IEC 61508 Systems
Cortex-M to 100 DMIPS
Industrial
Communications Gateway
Flight Control
Industrial Motor
Control
Avionics / Autopilot
Manufacturing /
Robotics
Wind Power
Anti-Skid Control
Elevator
Escalator
Motor Control
Automotive
Industrial
Automation / PLC
Airbag
Braking / Stability Control
Infusion Pumps
Oxygen
Concentrators
Active Suspension
Anesthesia
Respirators
Medical
4
RM46x
2*R4F LS
1.25MB, 192kB
220MHz
RM48L9x
2*R4F LS
3MB, 256kB
220MHz
Production 4Q 2013
ETHERNET
RM48L5x
2MB, 192kB
ETHERNET
2MB, 192kB
RM42x
2*R4LS
384KB, 32KB
100 MHz
2*R4F LS
1.25MB, 192kB
180MHz
2*R4F LS
3MB, 256kB
180MHz
TMS570LS21x
QEP / PWM
QEP
TMS570LS12x
TMS570LS31x
Production
ETHERNET
Industrial Drives
Performance Safety PLCs
Memory
Solar / Wind Energy
Peripherals
Elevators / Escalators
Remote I/O Modules
Infusion Pumps
Railway Signaling
Avionics Systems
ETHERNET
Off-road Vehicle
Production 4Q 2013
Stability Control
TMS570LS11x
1MB, 128kB
Power Steering
QEP / PWM
Vehicle Electrification
Safety Relays
ABS
Fuel Pumps
Passive Safety
CAN Communication
TMS570LS04x
2*R4 LS
384KB, 32KB
80MHz
Production 4Q 2013
QEP
TMS570LS03x
256KB, 32kB
Sampling
Development
Lockstep
CPUs
61508
SIL3
26262
ASIL-D
High
2013
!
Features:
Lock Step
Architecture
Ethernet
QEP/ePWM
CAN CAN
CAN
2014+
FlexRay
SafeTI
Mid
Production 4Q13
Low
TMS570LS04x 80MHz R4
Production
Sampling
TMS570LS03x 80MHz R4
Development
Production 4Q13
High
Features:
Lock Step
Architecture
2014
2013
CAN CAN
CAN
Ethernet
QEP/PWM
USB
SafeTI
Mid
Low
Production 4Q 2013
Production
Sampling
RM42x 100MHz R4
CAN
Production 4Q 2013
Development
Logical / physical
design optimized to
reduce probability of
common cause
failure
Dual Core Lockstep Cycle by Cycle CPU
Fault Detection
Lockstep
CPUs
ARM
CortexR4F
Memory
Flash
w/ ECC
RAM
w/ ECC
PBIST/LBIST
POR
ESM
CRC
RTI/DWWD
Flash
EEPROM w/ ECC
Calibration
Memory Interface
JTAG Debug
Embedded Trace
External Memory
Parity or CRC in
Serial and Network
Communication
Peripherals
DMA
Enhanced System Bus and Vectored Interrupt Module
Parity on all
Peripheral, DMA and
Interrupt controller
RAMS
Serial
Interfaces
Network
Interfaces
Dual
ADC
Cores
Available
Dual
High-end
Timers
Available
GIO
Error Signaling
Module w/ External
Error Pin
IO Loop Back, ADC
Self Test,
Dual ADC Cores with
shared channels
Compare
Error
Output + Control
CCM
Cycle Delay
Self
Test
ARM
Cortex-R4F
> 100um
Cycle Delay
Input + Control
10
Safety
software
50
App.
software
App.
software
Competitive
MCU
Hercules
MCU
Safety manual
Complete guide to developing a safety
solution using a Hercules Safety MCU
www.ti.com/safeti
12
TPS65381
DRV3201
Multi-Rail
Supply
Power Supply
Safety
Diagnostics
Hercules
Safety
MCU
Reset
Error Signaling
Bridge Driver
Driver &
Control
Monitor
Safety
Diagnostics
SPI
ADC
Sensor Interface
GIO
M
Devices developed to target IEC61508 and ISO26262
6V asynch switch-mode
pre-regulator, integrated
current limit
Temp
Prot.
Current
Limit
Multi-Rail
Supply
TPS65381
Voltage monitoring
on all Power Supplies
and internal supply
voltages
5V Supply
3.3V/5V uC
Supply
0.8V2.6V uC
Core Supply
3.3V9.5V
Sensor Supply
Clock monitoring on
internal oscillators
Clock Voltage
Monitor Monitor
BIST
CRC
e.g. CAN
Transceiver
Hercules
Safety
MCU
Reset
Reset/Enable
Interface
ERROR
Monitor
Comms
Q&A Watchdog
AMUX / DMUX
Diagnostics
Error
Signaling
5V linear regulator
(internal FET) with
temp protection and
current limit
Multiple supply rails
to power the MCU,
CAN/FlexRay, and
external sensor
Reset circuit for the
MCU integrated in
power supply
Window or Q/A
watchdog support
SPI
ADC
GIO
AMUX/DMUX for
export of critical
signals to be
monitored by MCU
IEC
ISO
CAN
Performance / Memory
TMS570LS31x
Temperature
ARM
Cortex-R4F
ARM
Cortex-R4F
Up to 180 MHz
Note: Above reflects max configuration of each module some functions are multiplexed.
AEC Q100
Memory
Up to 3MB
Flash (w/ ECC)
CLKMON
Up to 256KB
SRAM (w/ ECC)
Safety
Dual CPUs in Lockstep
CPU Logic Built in Self Test (LBIST)
Up to 12 CPU MPU regions
Flash & RAM w/ ECC (w/ bus protection)
Memory Built-in Self Test (PBIST)
Cyclic redundancy checker module (CRC)
Select peripheral RAMs protected by Parity
Communication Networks
10/100 MAC
FlexRay w/DMA
3 CAN Interfaces
5 SPI (3 Multi-Buffered)
2 UART (1 LIN capable), 1 I2C
Enhanced I/O Control
2x High End Timer Coprocessor (N2HET) w/DMA
Up to 44 pins plus 6 monitor channels
Pins can be used as Hi-Res PWM or Input Capture
2 x12-bit Multi-Buffered ADC
24 total input channels (16 shared)
Calibration and Self Test
Up to 120 GPIO pins (16 dedicated)
-40C - 125C
OSC/PLL
VMON
CPU BIST
Debug
SRAM BIST
CRC
JTAG
ETM, RTP, DMM
OS Timers
Windowed Watchdog
Analog
Communications
Control Peripherals
10/100 EMAC
2ch FlexRay
3x CAN (64mb)
Memory Interface
SDRAM/ASYNC EMIF
Input / Output
I2C
GIO/INT (16)
Packages
Targeted Applications
144p QFP
(20x20mm)
337p BGA
(16x16mm)
16
IEC
ISO
CAN
Performance / Memory
TMS570LS12x
Temperature
ARM
Cortex-R4F
ARM
Cortex-R4F
-40C - 125C
Memory
Up to 1.25MB
Flash (w/ ECC)
CLKMON
Up to 192KB
SRAM (w/ ECC)
Up to 180 MHz
Note: Above reflects max configuration of each module some functions are multiplexed.
OSC/PLL
VMON
Safety
Dual CPUs in Lockstep
CPU Logic Built in Self Test (LBIST)
Up to 12 CPU MPU regions
Flash & RAM w/ ECC (w/ bus protection)
Memory Built-in Self Test (PBIST)
Cyclic redundancy checker module (CRC)
Select peripheral RAMs protected by Parity
Communication Networks
10/100 MAC
FlexRay
3 CAN Interfaces
5 SPI (3 Multi-Buffered)
2 UART (1 LIN capable), 1 I2C
Enhanced I/O Control
2x High End Timer Coprocessor (N2HET) w/DMA
Up to 40 pins plus 6 monitor channels
Pins can be used as Hi-Res PWM or Input Capture
Motor Control Timers
7x ePWM (14 ch), 6x eCAP, 2x eQEP
2 x12-bit Multi-Buffered ADC
24 total input channels (16 shared)
Calibration and Self Test
Up to 101 GPIO pins (16 dedicated)
AEC Q100
Debug
CPU BIST
SRAM BIST
CRC
JTAG
OS Timers
Calibration
Windowed Watchdog
Analog
Communications
Control Peripherals
10/100 EMAC
2ch FlexRay
ePWM (14ch)
Memory Interface
SDRAM EMIF
3x CAN (64mb)
eCAP (6x)
eQEP (2x)
Input / Output
I2C
GIO/INT (16)
Packages
Targeted Applications
144p QFP
(20x20mm)
337p BGA
(16x16mm)
17
IEC
ISO
CAN
Performance / Memory
Up to 80 MHz ARM Cortex-R4 CPU
Up to 384KB Flash and 32KB Data SRAM w/ECC
Dedicated 16KB Data Flash (EEPROM Emulation)
Safety
Dual CPUs in Lockstep
CPU Logic Built in Self Test (LBIST)
Up to 12 CPU MPU regions
Flash & RAM w/ ECC (w/ bus protection)
Memory Built-in Self Test (PBIST)
Cyclic redundancy checker module (CRC)
Select peripheral RAMs protected by Parity
Communication Networks
2 CAN Interfaces
3 SPI (1 Multi-Buffered)
1 UART (LIN capable)
Enhanced I/O Control
High End Timer Coprocessor (NHET)
Up to 19 channels
Pins can be used as PWM or Input Capture
Motor Control Timers
2x QEP
12-bit Multi-Buffered ADC
16 total input channels
Calibration and Self Test
Up to 45 GPIO pins (8 dedicated)
RM42x
Temperature
ARM
Cortex-R4
ARM
Cortex-R4
Up to 80MHz
AEC Q100
Memory
Up to 384KB
Flash (w/ ECC)
OSC/PLL
Up to 32KB
SRAM (w/ ECC)
16KB EEPROM (emulated)
Debug
CLKMON
VMON
JTAG
OS Timers
Calibration
Windowed Watchdog
Analog
Communications
CAN1 (32 mb)
12-bit MibADC
16 channels
(64 Buffers)
Packages
Control Peripherals
High End Timer (N2HET)
CAN2 (16mb)
eQEP (2x)
2x SPI (1 CS)
Input / Output
GIO/INT (8)
Targeted Applications
100p QFP
(14x14mm)
Note: Above reflects max configuration of each module some functions are multiplexed.
-40C - 125C
18
IEC
CAN
Performance / Memory
RM48x
ARM
Cortex-R4F
ARM
Cortex-R4F
Note: Above reflects max configuration of each module some functions are multiplexed.
-40C - 105C
Memory
Up to 3MB
Flash (w/ ECC)
CLKMON
Up to 256KB
SRAM (w/ ECC)
Up to 220 MHz
Memory Protection Unit
Safety
Dual CPUs in Lockstep
CPU Logic Built in Self Test (LBIST)
Up to 12 CPU MPU regions
Flash & RAM w/ ECC (w/ bus protection)
Memory Built-in Self Test (PBIST)
Cyclic redundancy checker module (CRC)
Select peripheral RAMs protected by Parity
Communication Networks
10/100 MAC
USB: Host and Device
3 CAN Interfaces
5 SPI (3 Multi-Buffered)
2 UART, 1 I2C
Enhanced I/O Control
2x High End Timer Coprocessor (N2HET) w/DMA
Up to 44 pins plus 6 monitor channels
Pins can be used as Hi-Res PWM or Input Capture
2 x12-bit Multi-Buffered ADC
24 total input channels (16 shared)
Calibration and Self Test
Up to 120 GPIO pins (16 dedicated)
Temperature Range
OSC/PLL
VMON
CPU BIST
Debug
SRAM BIST
CRC
JTAG
ETM, RTP, DMM
OS Timers
Windowed Watchdog
Analog
Communications
Control Peripherals
10/100 EMAC
3x CAN (64mb)
Memory Interface
SDRAM/ASYNC EMIF
2x UART
Input / Output
I2C
GIO/INT (16)
Packages
Targeted Applications
144p QFP
(20x20mm)
337p BGA
(16x16mm)
General IEC61508
Safety Applications
Industrial, Medical,
Energy
19
IEC
CAN
Performance / Memory
RM46x
ARM
Cortex-R4F
ARM
Cortex-R4F
Temperature Range
-40C - 105C
Memory
Up to 1.25MB
Flash (w/ ECC)
CLKMON
Up to 192KB
SRAM (w/ ECC)
Up to 220 MHz
Note: Above reflects max configuration of each module some functions are multiplexed.
VMON
Safety
Dual CPUs in Lockstep
CPU Logic Built in Self Test (LBIST)
Up to 12 CPU MPU regions
Flash & RAM w/ ECC (w/ bus protection)
Memory Built-in Self Test (PBIST)
Cyclic redundancy checker module (CRC)
Select peripheral RAMs protected by Parity
Communication Networks
10/100 MAC
USB: Host and Device
3 CAN Interfaces
5 SPI (3 Multi-Buffered)
2 UART, 1 I2C
Enhanced I/O Control
2x High End Timer Coprocessor (N2HET) w/DMA
Up to 44 pins plus 6 monitor channels
Pins can be used as Hi-Res PWM or Input Capture
Motor Control Timers
7x ePWM (14 ch), 6x eCAP, 2x eQEP
2 x12-bit Multi-Buffered ADC
24 total input channels (16 shared)
Calibration and Self Test
Up to 101 GPIO pins (16 dedicated)
OSC/PLL
Debug
CPU BIST
SRAM BIST
CRC
JTAG
OS Timers
Calibration
Windowed Watchdog
Analog
Communications
Control Peripherals
10/100 EMAC
ePWM (14ch)
Memory Interface
SDRAM EMIF
3x CAN (64mb)
eCAP (6x)
eQEP (2x)
2x UART
Input / Output
I2C
GIO/INT (16)
Packages
Targeted Applications
144p QFP
(20x20mm)
337p BGA
(16x16mm)
General IEC61508
Safety Applications
Industrial, Medical,
Energy
20
IEC
CAN
Performance / Memory
100 MHz ARM Cortex-R4 CPU
384KB Flash and 32KB Data SRAM w/ECC
Dedicated 16KB Data Flash (EEPROM Emulation)
Safety
Dual CPUs in Lockstep
CPU Logic Built in Self Test (LBIST)
Up to 12 CPU MPU regions
Flash & RAM w/ ECC (w/ bus protection)
Memory Built-in Self Test (PBIST)
Cyclic redundancy checker module (CRC)
Select peripheral RAMs protected by Parity
Communication Networks
2 CAN Interfaces
3 SPI (1 Multi-Buffered)
1 UART
Enhanced I/O Control
High End Timer Coprocessor (NHET)
Up to 19 channels
Pins can be used as PWM or Input Capture
Motor Control Timers
2x QEP
12-bit Multi-Buffered ADC
16 total input channels
Calibration and Self Test
Up to 45 GPIO pins (8 dedicated)
RM42x
ARM
Cortex-R4
ARM
Cortex-R4
100MHz
-40C - 105C
Memory
384KB
Flash (w/ ECC)
OSC/PLL
32KB
SRAM (w/ ECC)
16KB EEPROM (emulated)
Debug
CLKMON
VMON
JTAG
OS Timers
Calibration
Windowed Watchdog
Analog
Communications
CAN1 (32 mb)
12-bit MibADC
16 channels
(64 Buffers)
Packages
Control Peripherals
High End Timer (N2HET)
CAN2 (16mb)
eQEP (2x)
2x SPI (1 CS)
Input / Output
UART
GIO/INT (8)
Targeted Applications
100p QFP
(14x14mm)
Note: Above reflects max configuration of each module some functions are multiplexed.
Temperature Range
General IEC61508
Safety Applications
Industrial, Medical,
Energy
21
Keil ULINK
Segger J-Link
TI XDS100v2
Lauterbach TRACE32 PowerView for
program and data trace
iSYSTEM winIDEA IDE, iC5000
emulator and trace hardware
Flash Programming
Automated offline Programmers:
Data I/O
BP Micro Systems
In Circuit JTAG Programmers:
SMH Technologies
Checksum
XJTAG
CCS UniFlash
22
TM
Starting at $499
TMS570LS31, LS12
controlCARD
NEW!
TMS570LS31
HDK
Starting at $99
$199
TMS570LS31,
LS12
USB Stick
LaunchPad
Low-cost Option to Evaluate
Hercules MCU Platform
NEW!
$79
TMS570LS31
$19.99
TMS570LS0423
Click here to watch the TMS570 Development Kit Video (Internet Connection Required)
23
Hercules LaunchPad
LaunchPad Demos
LAUNCHXL-RM42
LAUNCHXL-TMS57004
BoosterPack XL Interface
Kit Overview
USB powered
$19.99
USB Cable
24
On Board Display
Kit Overview
ControlCard Interface
$499
http://www.hitex.com/safeti
25
MiddleWare
FreeRTOS: FreeRTOS.org
Portable, open source, royalty free, mini
Real Time Kernel.
SafeRTOS: High Integrity Systems
Design assurance package for IEC61508,
others
C/OS: Micrium
Certifiable design package for IEC61508,
others
SCIOPTA: SCIOPTA RTOS
Kernel certified by TUV for IEC 61508
and EN50128 Hercules to SIL-3
lwIP
USB
Libraries
MotorWare
26
Safety Certification
SafeTI-61508
SafeTI-26262
SafeTI-60601
SafeTI-QM
Hercules
TM
Safety MCU
Power Management
TPS65381
Exida
TV-SD
http://www.ti.com/safeti
Safety Documentation
TI ARM Compiler
27
MotorWare Software
InstaSPIN-BLDC
FOC Encoder with SMO
DSP Library Page
WIKI:
Bootloader
www.ti.com/hercules-wiki
How to guides
CAN, Ethernet, FlexRay & more
Intro Videos
HALCoGen Peripheral Drivers
General Information
GUI-based HAL create/config
TM
Hercules Training
www.ti.com/herculestraining
Day 1
Day 2
Summary / Questions
ARM Cortex -R4F CPU Architecture
Overview
System Module Overview
Device setup/startup, Real Time Interrupt
Module, Vectored Interrupt Manager
CRC Controller, CPU Compare Module,
Error Signaling Module)
General Purpose I/Os / Supply
Direct Memory Access Controller (DMA)
Serial Communication Interface
(SCI/UART/LIN)
Day 3
Summary / Questions
Multi-Buffer Serial Peripheral Interface
(SPI / MIBSPI-P)
DCAN
FlexRay / Transfer Unit
Multi-Buffer ADC (MIBADC)
External Memory Interface (EMIF) /
Parameter Overlay Module (POM)
NHET (High End Timer) IDE
NHET
NHET Transfer Unit
Summary & Questions
29
Safety
software
Thanks
App.
software
App.
software