TMS570LS2124
- High-Performance Microcontroller for Safety-Critical Applications
- Dual CPUs Running in Lockstep
- ECC on Flash and RAM Interfaces
- Built-In Self-Test (BIST) for CPU and On-chip RAMs
- Error Signaling Module With Error Pin
- Voltage and Clock Monitoring
- ARM Cortex-R4F 32-Bit RISC CPU
- Efficient 1.66 DMIPS/MHz With 8-Stage Pipeline
- FPU With Single- and Double-Precision
- 12-Region Memory Protection Unit (MPU)
- Open Architecture With Third-Party Support
- Operating Conditions
- System Clock up to 180 MHz
- Core Supply Voltage (VCC): 1.2 V Nominal
- I/O Supply Voltage (VCCIO): 3.3 V Nominal
- ADC Supply Voltage (VCCAD): 3.0 to 5.25 V
- Integrated Memory
- 3MB of Program Flash With ECC (LS3134)
- 2MB of Program Flash With ECC (LS2134/2124)
- 256KB of RAM With ECC (LS3134/2134)
- 192KB of RAM With ECC (LS2124)
- 64KB of Flash With ECC for Emulated EEPROM
- 16-Bit External Memory Interface
- Common Platform Architecture
- Consistent Memory Map Across Family
- Real-Time Interrupt (RTI) Timer OS Timer
- 96-Channel Vectored Interrupt Module (VIM)
- 2-Channel Cyclic Redundancy Checker (CRC)
- Direct Memory Access (DMA) Controller
- 16 Channels and 32 Peripheral Requests
- Parity Protection for Control Packet RAM
- DMA Accesses Protected by Dedicated MPU
- Frequency-Modulated Phase-Locked Loop (FMPLL) With Built-In Slip Detector
- Separate Nonmodulating PLL
- Trace and Calibration Capabilities
- Embedded Trace Macrocell (ETM-R4)
- Data Modification Module (DMM)
- RAM Trace Port (RTP)
- Parameter Overlay Module (POM)
- Multiple Communication Interfaces
- Three CAN Controllers (DCANs)
- 64 Mailboxes, Each With Parity Protection
- Compliant to CAN Protocol Version 2.0B
- Standard Serial Communication Interface (SCI)
- Local Interconnect Network (LIN) Interface Controller
- Compliant to LIN Protocol Version 2.1
- Can be Configured as a Second SCI
- Inter-Integrated Circuit (I2C)
- Three Multibuffered Serial Peripheral Interfaces (MibSPIs)
- 128 Words With Parity Protection Each
- Two Standard Serial Peripheral Interfaces (SPIs)
- Three CAN Controllers (DCANs)
- Two Next Generation High-End Timer (N2HET) Modules
- N2HET1: 32 Programmable Channels
- N2HET2: 18 Programmable Channels
- 160-Word Instruction RAM Each With Parity Protection
- Each N2HET Includes Hardware Angle Generator
- Dedicated High-End Transfer Unit (HTU) With MPU for Each N2HET
- Two 12-Bit Multibuffered ADC Modules
- ADC1: 24 Channels
- ADC2: 16 Channels Shared With ADC1
- 64 Result Buffers With Parity Protection Each
- General-Purpose Input/Output (GPIO) Pins Capable of Generating Interrupts
- 16 Pins on the ZWT Package
- 10 Pins on the PGE Package
- IEEE 1149.1 JTAG, Boundary Scan and ARM CoreSight Components
- JTAG Security Module
- Packages
- 144-Pin Quad Flatpack (PGE) [Green]
- 337-Ball Grid Array (ZWT) [Green]
All trademarks are the property of their respective owners.
The TMS570LS31x4/21x4 device is a high-performance automotive-grade microcontroller family for safety systems. The safety architecture includes dual CPUs in lockstep, CPU and memory BIST logic, ECC on both the flash and the data SRAM, parity on peripheral memories, and loopback capability on peripheral I/Os.
The TMS570LS31x4/21x4 device integrates the ARM Cortex-R4F Floating-Point CPU. The CPU offers an efficient 1.66 DMIPS/MHz, and has configurations that can run up to 180 MHz, providing up to 298 DMIPS. The device supports the word-invariant big-endian [BE32] format.
The TMS570LS3134 device has 3MB of integrated flash and 256KB of data RAM. The TMS570LS2134 device has 2MB of integrated flash and 256KB of data RAM. The TMS570LS2124 device has 2MB of integrated flash and 192KB of data RAM. Both the flash and RAM have single-bit error correction and double-bit error detection. The flash memory on this device is a nonvolatile, electrically erasable, and programmable memory implemented with a 64-bit-wide data bus interface. The flash operates on a 3.3-V supply input (same level as I/O supply) for all read, program, and erase operations. When in pipeline mode, the flash operates with a system clock frequency of up to 180 MHz. The SRAM supports single-cycle read and write accesses in byte, halfword, word, and double-word modes.
The TMS570LS31x4/21x4 device features peripherals for real-time control-based applications, including two Next Generation High-End Timer (N2HET) timing coprocessors and two 12-bit Analog-to-Digital Converters (ADCs) supporting up to 24 inputs.
The N2HET is an advanced intelligent timer that provides sophisticated timing functions for real-time applications. The timer is software-controlled, using a reduced instruction set, with a specialized timer micromachine and an attached I/O port. The N2HET can be used for pulse-width-modulated outputs, capture or compare inputs, or GPIO. The N2HET is especially well suited for applications requiring multiple sensor information and drive actuators with complex and accurate time pulses. A High-End Timer Transfer Unit (HTU) can perform DMA-type transactions to transfer N2HET data to or from main memory. A Memory Protection Unit (MPU) is built into the HTU.
The device has two 12-bit-resolution MibADCs with 24 channels and 64 words of parity-protected buffer RAM each. The MibADC channels can be converted individually or can be grouped by software for sequential conversion sequences. Sixteen channels are shared between the two MibADCs. There are three separate groupings. Each sequence can be converted once when triggered or configured for continuous conversion mode. The MibADC has a 10-bit mode for use when compatibility with older devices or faster conversion time is desired.
The device has multiple communication interfaces: three MibSPIs, two SPIs, one LIN, one SCI, three DCANs, and one I2C module. The SPIs provide a convenient method of serial high-speed communication between similar shift-register type devices. The LIN supports the Local Interconnect standard 2.0 and can be used as a UART in full-duplex mode using the standard Non-Return-to-Zero (NRZ) format.
The DCAN supports the CAN 2.0 (A and B) protocol standard and uses a serial, multimaster communication protocol that efficiently supports distributed real-time control with robust communication rates of up to 1 Mbps. The DCAN is ideal for systems operating in noisy and harsh environments (for example, automotive vehicle networking and industrial fieldbus) that require reliable serial communication or multiplexed wiring.
The I2C module is a multimaster communication module providing an interface between the microcontroller and an I2C-compatible device through the I2C serial bus. The I2C supports speeds of 100 and 400 Kbps.
The Frequency-Modulated Phase-Locked Loop (FMPLL) clock module is used to multiply the external frequency reference to a higher frequency for internal use. There are two FMPLL modules on this device. These modules, when enabled, provide two of the seven possible clock source inputs to the Global Clock Module (GCM). The GCM manages the mapping between the available clock sources and the device clock domains.
The device also has an External Clock Prescaler (ECP) module that when enabled, outputs a continuous external clock on the ECLK pin (or ball). The ECLK frequency is a user-programmable ratio of the peripheral interface clock (VCLK) frequency. This low-frequency output can be monitored externally as an indicator of the device operating frequency.
The DMA controller has 16 channels, 32 peripheral requests, and parity protection on its memory. An MPU is built into the DMA to limit the DMA to prescribed areas of memory and to protect the rest of the memory system from any malfunction of the DMA.
The Error Signaling Module (ESM) monitors all device errors and determines whether an interrupt is generated or the external ERROR pin is toggled when a fault is detected. The ERROR pin can be monitored externally as an indicator of a fault condition in the microcontroller.
The External Memory Interface (EMIF) provides off-chip expansion capability with the ability to interface to synchronous DRAM (SDRAM) devices, asynchronous memories, peripherals, or FPGA devices.
Several interfaces are implemented to enhance the debugging capabilities of application code. In addition to the built-in ARM Cortex-R4F CoreSight debug features, an External Trace Macrocell (ETM) provides instruction and data trace of program execution. For instrumentation purposes, a RAM Trace Port (RTP) module is implemented to support high-speed tracing of RAM and peripheral accesses by the CPU or any other master. A Data Modification Module (DMM) gives the ability to write external data into the device memory. Both the RTP and DMM have no or only minimum impact on the program execution time of the application code. A Parameter Overlay Module (POM) can reroute flash accesses to internal memory or to the EMIF. This rerouting allows the dynamic calibration against production code of parameters and tables without rebuilding the code to explicitly access RAM or halting the processor to reprogram the data flash.
With integrated safety features and a wide choice of communication and control peripherals, the TMS570LS31x4/21x4 device is an ideal solution for high-performance real-time control applications with safety-critical
Request more information
Hercules TMS570LS2124 is certified by TÜV SÜD to be capable of achieving IEC 61508 SIL 3 helping to make it easier to develop functional safety applications. Download certificate now.
Technical documentation
Design & development
For additional terms or required resources, click any title below to view the detail page where available.
TMDSEMU200-U — XDS200 USB Debug Probe
The XDS200 is a debug probe (emulator) used for debugging TI embedded devices. The XDS200 features a balance of low cost with good performance as compared to the low cost XDS110 and the high performance XDS560v2. It supports a wide variety of standards (IEEE1149.1, IEEE1149.7, SWD) in a (...)
TMDSEMU560V2STM-U — XDS560™ software v2 system trace USB debug probe
The XDS560v2 is the highest performance of the XDS560™ family of debug probes and supports both the traditional JTAG standard (IEEE1149.1) and cJTAG (IEEE1149.7). Note that it does not support serial wire debug (SWD).
All XDS debug probes support Core and System Trace in all ARM and DSP processors (...)
TMDSEMU560V2STM-UE — XDS560v2 System Trace USB & Ethernet Debug Probe
The XDS560v2 is the highest performance of the XDS560™ family of debug probes and supports both the traditional JTAG standard (IEEE1149.1) and cJTAG (IEEE1149.7). Note that it does not support serial wire debug (SWD).
All XDS debug probes support Core and System Trace in all ARM and DSP processors (...)
TMDS570LS31HDK — Hercules TMS570LS31x/21x Development Kit
The TMS570LS31 Hercules™ Development Kit is based on the IEC 61508 SIL 3 and ISO 26262 ASIL D certified TMS570LS3137 and is ideal for getting started on development with TMS570LS31x/21x series of the Hercules TMS570 microcontroller family. The development board features RJ45 10/100 Ethernet, two (...)
SAFETI_DIAG_LIB — Hercules SafeTI Diagnostic Library (v2.4.0)
The Hercules SafeTI™ Diagnostic Library is a collection of software functions and response handlers for various safety features of the Hercules Safety MCUs. The Hercules SafeTI Diagnostic Library runs in the context of the caller's protection environment and all responses are handled in the (...)
Supported products & hardware
Products
Arm Cortex-R MCUs
Software
IDE, configuration, compiler or debugger
CCSTUDIO — Code Composer Studio™ integrated development environment (IDE)
Code Composer Studio is an integrated development environment (IDE) for TI's microcontrollers and processors. It comprises a suite of tools used to develop and debug embedded applications. Code Composer Studio is available for download across Windows®, Linux® and macOS® desktops. It can also (...)
Supported products & hardware
This design resource supports most products in these categories.
Check the product details page to verify support.
-
parametric-filter Digital signal processors (DSPs) -
parametric-filter Arm-based processors -
parametric-filter MSP430 microcontrollers -
parametric-filter C2000 real-time microcontrollers -
parametric-filter Arm-based microcontrollers -
parametric-filter Signal conditioners -
parametric-filter mmWave radar sensors -
parametric-filter Zigbee products -
parametric-filter Wi-Fi products -
parametric-filter Thread products -
parametric-filter Other wireless technologies -
parametric-filter Sub-1 GHz products -
parametric-filter Multi-protocol products -
parametric-filter Bluetooth products -
parametric-filter Digital power isolated controllers
HALCOGEN — HAL Code Generator Tool - TMS570 (v4.07.01)
HALCoGen allows users to generate hardware abstraction layer device drivers for Hercules™ microcontrollers. HALCoGen provides a graphical user interface that allows the user to configure peripherals, interrupts, clocks, and other Hercules microcontroller parameters. Once the Hercules device (...)
Supported products & hardware
Products
Arm Cortex-M4 MCUs
Arm Cortex-R MCUs
Software
IDE, configuration, compiler or debugger
HET_IDE — High End Timer (HET)
SAFETI-HALCOGEN-CSP — SafeTI Compliance Support Package for HALCoGen (Hardware Abstraction Layer Code Generator)
Prerequisites:
The below items are (...)
SAFETI-HERCULES-DIAG-LIB-CSP — SafeTI Compliance Support Package for Hercules Diagnostic Library
SAFETI_CQKIT — Safety compiler qualification kit
The Safety Compiler Qualification Kit:
- is free of charge for TI customers
- does (...)
UNIFLASH — UniFlash for most TI microcontrollers (MCUs) and mmWave sensors
UniFlash is a software tool for programming on-chip flash on TI microcontrollers and wireless connectivity devices and on-board flash for TI processors. UniFlash provides both graphical and command-line interfaces.
UniFlash can be run from the cloud on the TI Developer Zone or downloaded and used (...)
Supported products & hardware
Products
C2000 real-time microcontrollers
Arm-based processors
Industrial mmWave radar sensors
Automotive mmWave radar sensors
MSP430 microcontrollers
Wi-Fi products
Arm Cortex-M4 MCUs
Arm Cortex-M0+ MCUs
Arm Cortex-R MCUs
Low-power 2.4-GHz products
Automotive wireless connectivity products
Sub-1 GHz wireless MCUs
HERCULES-F021FLASHAPI — F021 Flash API - Software (v02.01.01)
The F021 Flash Application Programming Interface (API) provides a software library of functions to program, erase, and verify F021 on-chip Flash memory. These functions must be used when creating Flash bootloaders or other programming utilities for F021 Flash based microcontrollers. The Hercules (...)
Supported products & hardware
Products
Arm Cortex-R MCUs
Software
Software programming tool
IDE, configuration, compiler or debugger
HERCULES_SAFETY_MCU_DEMOS — Hercules Software Kit (v4.0.0)
Supported products & hardware
Products
Arm Cortex-M4 MCUs
Arm Cortex-R MCUs
NHET-ASSEMBLER — TMS570 NHET Assembler Software (v2.0.1)
TI's Enhanced High-End Timer (NHET) module provides sophisticated timing functions for real-time control applications.
The NHET Assembler translates programs written in the NHET assembly language into multiple output formats for use in code-generation tools such as TI's Code Composer Studio.
Supported products & hardware
Products
Arm Cortex-M4 MCUs
Arm Cortex-R MCUs
Software
IDE, configuration, compiler or debugger
NOWECC — TMS570 nowECC v2.22.00
Supported products & hardware
Products
Arm Cortex-M4 MCUs
Arm Cortex-R MCUs
WHIS-3P-OPENRTOS — WITTENSTEIN OPENRTOS commercial license for FreeRTOS
WHIS-3P-SAFERTOS — WITTENSTEIN SAFERTOS Pre-certified safety RTOS
TMS570LS31x, and TMS570LS21x ZWT IBIS Models (Silicon Revision B)
TMS570LS31x, and TMS570LS21x ZWT IBIS Models (Silicon Revision C)
TMS570LS31x4 and TMS570LS21x4 PGE IBIS Models (Silicon Revision B)
TMS570LS31x4 and TMS570LS21x4 PGE IBIS Models (Silicon Revision C)
FMZPLL_CALCULATOR — FMzPLL Configuration Tool
- OSCIN speed
- multiplier setting
- divider settings
- frequency modulation settings
- PLL/OSC fail options
Package | Pins | CAD symbols, footprints & 3D models |
---|---|---|
LQFP (PGE) | 144 | Ultra Librarian |
NFBGA (ZWT) | 337 | Ultra Librarian |
Ordering & quality
- RoHS
- REACH
- Device marking
- Lead finish/Ball material
- MSL rating/Peak reflow
- MTBF/FIT estimates
- Material content
- Qualification summary
- Ongoing reliability monitoring
- Fab location
- Assembly location
Recommended products may have parameters, evaluation modules or reference designs related to this TI product.
Support & training
TI E2E™ forums with technical support from TI engineers
Content is provided "as is" by TI and community contributors and does not constitute TI specifications. See terms of use.
If you have questions about quality, packaging or ordering TI products, see TI support.