Within these applications are systems that set hard deadlines on processing response. To avoid data loss or mechanical damage, meeting these deadlines is crucial. The design of Cortex-R processors specifically addresses the need for high performance, dependability and error-resistance with highly deterministic behavior while maintaining energy and cost efficiency.
Fundamental to the Cortex-R4, Cortex-R5 and Cortex-R7 processors are key features that are demanded by deeply embedded and real time markets such as automotive safety or Wireless Baseband. The features can be summarised as:
This feature set distinguishes Cortex-R from both Cortex-M and Cortex-A series processors. Notably, Cortex-R offers much higher performance than the Cortex-M series, whilst Cortex-A is intended for user-facing applications with complex software operating systems employing virtual memory management.
Cortex-R processors maintain binary compatibility with classic ARM processors such as ARM7TDMI-S, ARM946E-S, ARM968E-S and ARM1156T2-S thus ensuring application portability; useful for code that is certified for use in automotive systems or when legacy source code is no longer available. These embedded system processors typically run real-time software operating systems (RTOS) and do not require virtual memory management units (MMU). However, real-time ARM processors do support Memory Protection Units (MPU) and Tightly-Coupled Memories (TCM) that hold code and data close to the processor, ready for immediate access.
Cortex-R processors, designed for demanding real-time solutions, are commonly in use in ASIC, ASSP and MCU System-on-Chip applications. The family has three members, Cortex-R4, Cortex-R5 and Cortex-R7 designed for these are the markets:
Product type | Application |
Mobile handsets | 3G, 4G, LTE, WiMax smartphones and baseband modems |
Storage | Hard Disk Drive controllers, Solid State Drive controllers |
Enterprise | Networking and Printers; Inkjet and Multi-Function Printer |
Home | Digital TV, BluRay players and portable media players |
Cameras | Digital Still Camera (DSC) and Digital Video Camera (DVC) |
Embedded | Medical, Industrial, high-end Micro-Controller Units (MCU) |
Airbag, braking, stability, dashboard, engine management |
These applications exhibit a common requirement set, illustrated by the following examples:
Mobile handsets are introducing high data rate wireless broadband to deliver feature-rich, audio, video and Internet services to users. Handset processing for the fourth generation and long-term evolution of mobile technology requires complex software protocol stacks to run in real-time, managing mobility, connection, security, data traffic and the air interface modem. Advanced multi-core SoCs use Cortex-R processors for these tasks, complementing Cortex-A series processors for user applications. Low cost and power consumption continue to be key success criteria for mobile handset products.
Hard disk drives continue to be one of the most demanding applications for embedded processors and Cortex-R has been adopted by most major manufacturers. High growth in enterprise networks and Internet data centers is driving an exponential rise in storage capacity. Elsewhere, consumers keep their stock of music and movies on PC disks and Network Attached Storage (NAS) devices. More data requires more bandwidth and the latest drives support data traffic using USB-3 at 4 Mbps and SATA at 6 Mbps. Within the drive, high-speed servo control systems manage disk rotation and head position, and read/write channels process signals at very high data rates.
Automotive Electronic Control Units (ECUs) are widely adopted in modern cars and trucks. In addition to engine management and entertainment applications, there is increasing reliance on driver assistance and safety systems for applications such as vehicle stability, steering, anti-lock braking, collision avoidance and air bag deployment. These systems require high performance processing as they read data from a variety of sensors, perform computation that often uses floating-point algorithms and deliver the necessary control signals. Above all, such systems must perform to their real-time constraints with high reliability.
Look at the Family Features page to read more about what the three Cortex-R processors provide for those markets.
Essential characteristics of Cortex-R real-time processors in these applications are:
High efficiency and high frequency for real-time applications
Cortex-R processors all employ a high performance, deeply pipelined micro-architecture for operation at high clock frequencies, approaching 1 GHz on 40 nm G processes. This micro-architecture includes instruction pre-fetching, queuing and branch prediction to maintain the flow of instructions for execution.Hardware dividers and floating-point units are included and the processors have superscalar capabilities, whereby instructions that do not require conflicting resources may be executed in parallel. Using ARM’s AMBA 3 AXI (Advanced eXtensible Interface) busses, maximized performance occurs when accessing memory and peripherals. Starting with Cortex-R4, these processors are capable of 1,500 Dhrystone MIPS performance on a 40 nm G process.
Delivering deterministic behavior for high-reliability
Cortex-R processors support real-time systems with a fast and deterministic response to events and interrupts. A choice of interrupt interfaces and external interrupt controllers allows SoC designers to optimize between response time and features such as the number of interrupts, interrupt masks and prioritization. Any instructions that could delay interrupt response by more than a few cycles can stop and restart. Cortex-R processors also feature a Tightly-Coupled Memory (TCM) interface to local RAM or Flash memory that can hold instructions or data that are always immediately available for processing. TCMs may hold interrupt service routines or other code for time-critical events. Fast data can be read into or out of TCM using DMA via a dedicated AXI slave bus interface. These features enable systems to respond rapidly and deterministically to real-time events.
Configurable for feature-rich and cost-sensitive applications
A key aspect of the Cortex-R series is configurability, allowing designers to select features of the processor for a precise match with application requirements. These options enable Cortex-R processors to address a wide range of embedded applications and designers can trade off features and performance against power consumption, area and cost of the final ASIC or ASSP device. For example:
Market segment | Storage | Mobile baseband | Imaging / Wireless | Automotive |
---|---|---|---|---|
Memory Protection Unit | No | Yes | Yes | Yes, 12 regions |
Caches | No | Yes | Yes | Sometimes |
ECC / parity | N/A | No | No | Yes |
TCM ports | Three | Three | None | Two |
Floating Point Unit | No | No | No | Yes |
Breakpoints / Watchpoints | Minimum | Medium | Maximum | Maximum |
Many features of Cortex-R series processors address these requirements making the processors suitable for use in ASICs, ASSPs or MCUs intended for use in applications such as vehicle braking, steering or anti-skid. Applications such as mobile baseband or hard disk drive also rely on some of these characteristics to ensure connections or data are not lost, e.g. deterministic interrupt response time or detection of data errors.
Cortex-R processor features that may be employed and configured for dependable systems include:
These and other features make real-time ARM processors such as Cortex-R4 suitable for use in systems that must operate to a Safety Integrity Level (SIL) as defined by IEC61508 or ISO26262. In automotive applications these systems will run an AUTOSAR-compliant RTOS.
ARM Connected Community members and other organizations offer tools and software for Cortex-R processors such as Compilers, Debuggers and Real-Time Operating Systems. There are also providers of specific hardware and software products such as microcontroller hardware and mobile baseband protocol stack software. Click on these logos to find out more: