Industrial embedded systems are becoming more demanding.
A controller may need to perform:
- motor control,
- industrial Ethernet,
- safety monitoring,
- HMI,
- edge analytics
at the same time.
This creates an important processor-selection question:
Should the system use a single-core MCU or a multi-core MCU?
Single-core microcontrollers remain ideal for many systems because they are:
- simpler,
- deterministic,
- easier to validate.
Multi-core microcontrollers become attractive when the product needs:
- workload separation,
- higher throughput,
- mixed-criticality processing,
- safety redundancy.
The correct choice depends on much more than total CPU performance.
Fundamentals and Technology Overview
What Is a Single-Core MCU?
A single-core MCU contains one primary CPU core.
All software workloads share that core.
Tasks may be scheduled through:
- main loop,
- interrupts,
- RTOS.
Why Single-Core MCUs Remain Popular
A single core offers:
- simpler software,
- easier debugging,
- predictable timing,
- lower cost.
For many industrial control loops, one modern MCU has more than enough performance.
Single-Core Example
A motor drive may use one MCU to handle:
- ADC sampling,
- FOC,
- CAN,
- diagnostics.
If CPU load remains comfortably below the limit, a second core may add unnecessary complexity.
What Is a Multi-Core MCU?
A multi-core MCU contains two or more processor cores.
The cores may be:
- identical,
- different,
- lockstep pairs.
They may share:
- memory,
- peripherals,
- interconnect.
Symmetric Multi-Core
In a symmetric design, cores are similar.
Workloads can potentially move between them.
This is more common in application processors than small MCUs, but the concept also applies to some embedded architectures.
Heterogeneous Multi-Core
A heterogeneous MCU combines different cores.
Example:
- Cortex-M7,
- Cortex-M4.
ST's STM32H7 dual-core family uses this model.
The Cortex-M7 can handle high-performance application tasks while the Cortex-M4 handles:
- real-time control,
- communication,
- secondary workloads.
Independent Power Domains
ST's dual-core STM32H7 devices place cores in separate power domains.
This allows a design to turn off the high-performance core when it is not needed while keeping the second core active.
That can improve power efficiency.
Workload Partitioning
The main advantage of multi-core architecture is separation.
Example:
Core 1
- motor control,
- ADC,
- PWM.
Core 2
- Ethernet,
- HMI,
- diagnostics.
This reduces interference between workloads.
Real-Time Isolation
A communication burst should not delay:
- current-loop execution.
Putting communication on another core can improve deterministic behavior.
Multi-Core Does Not Automatically Mean Faster
Software must be partitioned correctly.
If both cores constantly compete for:
- shared memory,
- shared bus,
- same peripheral,
performance may improve less than expected.
Shared Memory
Multi-core MCUs often provide shared SRAM.
This is useful for passing data between cores.
But shared memory introduces:
- synchronization,
- race conditions.
Architecture and Operating Principles
Inter-Core Communication
Cores may communicate through:
- shared RAM,
- mailbox,
- hardware semaphore,
- interprocessor interrupt.
A clear communication architecture is important.
Hardware Semaphore
A hardware semaphore helps coordinate shared resources.
One core can lock a resource while updating it.
This prevents concurrent corruption.
Cache Coherency
Some multi-core devices include caches.
If cores cache shared data, software must understand:
- cache coherency,
- memory barriers.
Small embedded MCUs may simplify this through:
- non-cacheable shared regions.
RTOS Architecture
Multi-core systems can use:
- one RTOS per core,
- AMP,
- SMP.
Asymmetric Multiprocessing
AMP assigns specific workloads to specific cores.
Example:
M7
- HMI,
- Ethernet.
M4
- motor control.
This model is common in industrial MCUs because it gives strong workload ownership.
Symmetric Multiprocessing
SMP lets the operating system schedule tasks across multiple similar cores.
This can improve utilization but adds scheduling complexity.
Single-Core Determinism
Single-core timing is often easier to analyze.
Only one instruction stream executes at a time.
Designers can more easily reason about:
- interrupt latency,
- CPU utilization,
- worst-case execution time.
Multi-Core Determinism
Multi-core systems add possible interference from:
- shared SRAM,
- buses,
- Flash,
- DMA.
Real-time analysis must consider shared-resource contention.
Multi-Core for Industrial Ethernet
A high-performance core can manage:
- protocol stack,
- application logic.
Another core can maintain deterministic machine control.
This architecture is useful in:
- smart drives,
- PLCs,
- robotics.
Multi-Core for Robotics
A robot joint or central controller may separate:
Core A
Motion control.
Core B
Communication and diagnostics.
This improves modularity.
Multi-Core for HMI + Control
An industrial panel or machine controller may need:
- graphics,
- touchscreen,
- control loops.
A dual-core architecture can isolate the HMI workload from real-time control.
Safety Is a Different Multi-Core Use Case
More cores do not always mean more application throughput.
Some systems use multiple cores in:
lockstep.
Implementation, Testing, and Optimization
What Is Lockstep?
Two cores execute the same instructions.
Their outputs are compared.
If they disagree:
- a hardware fault is detected.
This provides fault detection.
It does not normally double application performance.
Lockstep vs Multi-Processing
This distinction is critical.
Multi-Processing
Two cores do different work.
Goal:
- throughput,
- partitioning.
Lockstep
Two cores do the same work.
Goal:
- fault detection,
- safety.
Infineon AURIX Example
Infineon's AURIX safety architecture uses diverse lockstep cores.
The lockstep structure supports:
- high diagnostic coverage,
- fast fault reaction.
This is important in safety-critical industrial and automotive systems.
Lockstep Clock Delay
Infineon describes lockstep cores with clock delay as part of the AURIX safety architecture.
Running the checker core with a delay helps reduce the risk that a common transient affects both cores identically.
Functional Safety
Multi-core safety MCUs may support:
- IEC 61508,
- ISO 26262.
Features can include:
- lockstep,
- ECC,
- watchdogs,
- safety management unit.
Single-Core Functional Safety
A single-core MCU can still be used in safety systems.
It may rely on:
- software diagnostics,
- external watchdog,
- redundant sensors.
The required architecture depends on the safety integrity target.
Performance Scaling
Two cores rarely provide exactly:
2× performance.
Scaling depends on:
- parallelizable workload,
- shared-resource contention,
- software overhead.
Amdahl's Law
If part of the software cannot run in parallel, adding cores provides diminishing returns.
This is a general computing principle that also applies to embedded systems.
Power Consumption
A second core can increase:
- dynamic power,
- leakage.
But multi-core architecture can sometimes improve energy efficiency by:
- assigning low-power core to background tasks,
- shutting down a larger core.
ST's STM32H7 dual-core architecture supports separate power domains for this reason.
Cost
Multi-core MCUs usually cost more.
They may also require:
- more memory,
- more complex software.
Use multi-core only when its benefits justify the added engineering cost.
Software Complexity
Single-core software is simpler.
Multi-core software requires careful handling of:
- shared data,
- startup order,
- synchronization,
- fault handling.
Debugging
Debugging two cores simultaneously is more complex.
Developers may need to inspect:
- both call stacks,
- inter-core messages,
- shared memory.
Startup Sequence
A multi-core device must define:
- which core boots first,
- when second core starts,
- who initializes shared peripherals.
Poor startup ownership can cause conflicts.
Applications and Practical Examples
Peripheral Ownership
Only one core should control a peripheral unless the hardware explicitly supports shared access.
Create a clear ownership table.
Memory Ownership
Divide memory into:
- private Core A,
- private Core B,
- shared communication area.
This simplifies debugging and safety analysis.
Industrial Example: Basic Sensor
Requirements:
- ADC,
- Modbus,
- simple logic.
Best choice:
single-core MCU
Multi-core would add little value.
Industrial Example: BLDC Drive
Requirements:
- FOC,
- CAN,
- diagnostics.
Often:
single-core real-time MCU
is enough.
Industrial Example: Servo Drive With Ethernet
Requirements:
- fast motor control,
- EtherCAT,
- diagnostics.
A dual-core MCU can be attractive:
Core 1
Control.
Core 2
Network and application.
Industrial Example: Machine Controller With HMI
Requirements:
- graphics,
- machine control,
- connectivity.
A heterogeneous dual-core MCU can separate:
- HMI,
- real-time control.
Industrial Example: Safety Controller
Requirements:
- fault detection,
- SIL support.
A lockstep multi-core safety MCU may be the right choice.
STM32H7 Dual-Core Example
ST's STM32H7 dual-core lines combine:
- Cortex-M7 up to 480 MHz,
- Cortex-M4 up to 240 MHz.
ST positions this architecture for greater processing and application partitioning.
The family also supports:
- separate power domains,
- industrial temperature variants.
Single-Core High-Performance Alternative
ST also offers single-core STM32H7 devices running at higher clock rates.
This shows an important selection principle:
multi-core is not always the highest-performance or simplest choice.
If one fast core can meet all deadlines, it may be better.
Shared-Bus Contention
Two cores can compete for:
- Flash,
- SRAM,
- peripheral bus.
This can introduce timing variation.
Critical control code may need to use:
- dedicated RAM,
- tightly controlled memory paths.
DMA Contention
DMA is another bus master.
A multi-core system can therefore include simultaneous access from:
- Core 1,
- Core 2,
- DMA.
Bandwidth planning becomes important.
Inter-Core Latency
Passing a message between cores has overhead.
For very tight control loops, local variables and peripherals should remain on the same core.
Fault Containment
Multi-core partitioning can improve fault isolation.
For example:
- one core runs safety supervisor,
- another runs application.
But true independence depends on shared hardware architecture.
Technology Comparison and Selection
Security Partitioning
Cores can also separate:
- secure services,
- application tasks.
This may improve system architecture, although dedicated security domains are usually stronger.
When to Choose Single-Core
Choose single-core when:
- one core meets timing,
- software simplicity matters,
- cost is constrained,
- certification effort should be minimized.
When to Choose Multi-Core
Choose multi-core when:
- workloads need isolation,
- communication and control compete,
- HMI and control must coexist,
- software scales naturally across cores.
When to Choose Lockstep
Choose lockstep when the goal is:
- hardware fault detection,
- functional safety.
Do not choose lockstep expecting double throughput.
Selection Matrix
| Requirement | Single-Core | Multi-Core | Lockstep Multi-Core |
|---|---|---|---|
| Simple control | Excellent | Overkill | Overkill |
| Low software complexity | Excellent | Moderate | Moderate |
| Workload partitioning | Limited | Excellent | Limited |
| Maximum throughput | Good | Excellent | Similar to one logical core |
| Determinism | Easier | Requires analysis | Strong for safety |
| Functional safety | Possible | Possible | Excellent |
| Cost | Lowest | Higher | Higher |
| Debug complexity | Lowest | Higher | Higher |
Practical Decision Workflow
Step 1
Measure single-core CPU load.
Step 2
Identify deadline conflicts.
Step 3
Determine whether workloads are parallelizable.
Step 4
Define peripheral ownership.
Step 5
Define memory sharing.
Step 6
Evaluate safety requirement.
Step 7
Measure shared-bus contention.
Step 8
Prototype inter-core communication.
Common Design Mistake: Choosing Dual-Core Only for Marketing
A second core adds no value if software cannot use it effectively.
Common Design Mistake: Confusing Lockstep With Parallel Processing
Lockstep is primarily a safety mechanism.
Common Design Mistake: Shared Peripheral Access
Two cores controlling the same peripheral can create race conditions.
Common Design Mistake: Ignoring Memory Contention
Core performance can fall if both cores repeatedly access the same shared memory.
Common Design Mistake: No Ownership Model
Define explicit ownership for:
- tasks,
- peripherals,
- memory,
- interrupts.
Future Direction
Industrial MCUs are becoming more heterogeneous.
Future devices will increasingly combine:
- high-performance core,
- real-time core,
- AI accelerator,
- safety island.
This allows different workloads to run in the compute domain best suited to them.
Physical AI
Physical AI machines combine:
- high-level intelligence,
- hard real-time motion.
A multi-core or heterogeneous architecture can separate:
High-Level Core
Planning and communication.
Real-Time Core
Motor control and safety.
This is becoming increasingly important in robotics.
Conclusion
Single-core and multi-core microcontrollers both have strong roles in industrial embedded systems.
Single-core devices provide:
- simplicity,
- predictability,
- low cost.
Multi-core devices provide:
- workload partitioning,
- higher aggregate performance,
- better isolation.
Lockstep multi-core devices provide:
- hardware fault detection,
- stronger functional-safety support.
The most important selection principle is:
do not count cores; define what each core must do.
If one core can meet all deadlines with comfortable margin, single-core is often the better engineering choice.
If workloads interfere with one another or need clear isolation, multi-core can significantly improve architecture.
If the requirement is safety rather than throughput, lockstep should be evaluated separately.