TY_HOME14
China 365PCB Technology Co., Ltd.
  • turnkey ems solutions
  • turnkey ems solutions

MCU / ARM / STM32 Development

ARM Cortex-M. STM32. Real-Time Control. Low Power. DSP. Edge AI. Connectivity. Security. RTOS. Bootloader. OTA. Production Programming.

The microcontroller is often the control center of an electronic product.

But a successful MCU-based product depends on much more than writing firmware.

The processor must be selected correctly.

Clock architecture must be stable.

Interrupts must meet real-time deadlines.

DMA must move data efficiently.

Power states must achieve the required battery life.

Analog peripherals must meet measurement requirements.

Communication interfaces must operate reliably.

Firmware must recover from abnormal conditions.

Security must protect the device.

Boot and update architecture must survive interruption.

And the complete system must eventually be programmed, tested, traced, and manufactured at scale.

365PCB MCU / ARM / STM32 Development connects:

Hardware + Firmware + Real-Time Architecture + Power + Security + Manufacturing

into one coordinated embedded-product platform.

From MCU Selection to Production Firmware.

From First Boot to Reliable Product Operation.

01 — MCU Platform Architecture

Selecting the MCU Around the Product

MCU selection should begin with product requirements, not with the engineer's favorite device family.

Engineering criteria may include:

  • CPU performance

  • architecture

  • Flash

  • SRAM

  • cache

  • TCM

  • DMA

  • timers

  • ADC / DAC

  • PWM

  • communication interfaces

  • security

  • low-power modes

  • graphics

  • DSP

  • AI capability

  • package

  • temperature

  • cost

  • lifecycle

A good MCU architecture should provide sufficient performance margin without unnecessarily increasing:

  • Cost

  • Power

  • Thermal Load

  • PCB Complexity or Firmware Complexity

Choose the MCU for the Product — Not the Product for the MCU.

02 — ARM Cortex-M Architecture

Modern ARM Cortex-M processors cover a broad range of embedded requirements.

Depending on platform generation and implementation, Cortex-M systems can support:

  • Real-Time Control

  • DSP

  • Floating-Point Processing

  • Machine Learning

  • TrustZone

  • Hardware Security

  • Advanced Memory Protection

  • Vector Processing

The engineering question is therefore no longer simply:

M0, M3 or M4?

Modern product architecture may involve:

Cortex-M0+

for simple, ultra-low-power control.

Cortex-M4

for embedded control with DSP/FPU requirements.

Cortex-M7

for higher-performance real-time computing.

Cortex-M33

for secure embedded products using Armv8-M and TrustZone.

Cortex-M55

for more advanced DSP/ML workloads with Helium vector processing.

Cortex-M85

for still higher-performance Cortex-M applications requiring advanced DSP, ML and security capabilities.

MCU Selection Has Become Compute-Architecture Selection.

03 — STM32 Platform Engineering

365PCB can structure STM32 development around the real requirements of the product rather than simply one STM32 family.

Different STM32 families address very different engineering objectives.

Examples include:

STM32H Series

High-performance embedded control, advanced connectivity, graphics and demanding real-time applications.

STM32U Series

Ultra-low-power applications where power/performance ratio is critical.

ST currently positions STM32U5 around Cortex-M33 and ultra-low-power smart applications, with devices supporting large Flash and SRAM configurations for more sophisticated embedded systems.

STM32H5

Cortex-M33-based products emphasizing performance and security, with current H5 devices reaching up to 250 MHz and offering TrustZone-enabled variants.

STM32WBA

Wireless MCU architecture combining application processing with Bluetooth LE and IEEE 802.15.4-class connectivity; current WBA devices support combinations of Bluetooth LE, Zigbee, Thread and Matter depending on device.

STM32N6

For a new class of high-performance MCU applications involving Edge AI, machine vision and multimedia.

STM32N6 combines an 800 MHz Cortex-M55 with Helium vector processing; selected devices integrate ST's Neural-ART NPU delivering up to 600 GOPS, alongside a camera/vision pipeline and multimedia acceleration.

The correct STM32 platform depends on the whole system.

There Is No "Best STM32."

There Is the Right STM32 for the Product Architecture.

04 — Multi-Vendor MCU Development

A professional embedded engineering organization should not depend on one semiconductor ecosystem.

Depending on project requirements, platforms may also be evaluated from manufacturers such as:

  • NXP

  • Texas Instruments

  • Renesas

  • Microchip

  • Nordic Semiconductor

  • Silicon Labs

  • Infineon

  • Espressif

and other appropriate semiconductor vendors.

Selection should be based on:

  • Technical Fit + Software Ecosystem + Security + Lifecycle + Availability + Cost + Manufacturing Risk

rather than brand preference.

05 — MCU Performance Budget

CPU frequency alone does not define system performance.

Engineering should understand the actual workloads.

These may include:

  • control algorithms

  • communication stacks

  • sensor processing

  • UI

  • encryption

  • data logging

  • motor control

  • DSP

  • audio processing

  • computer vision

  • ML inference

A CPU budget can estimate:

  • Task Execution Time

  • Interrupt Load

  • Communication Processing

  • Background Services

  • Future Margin

The objective is to avoid both: Processor Saturation and Unnecessary Overdesign.

CPU Margin Should Be Measured — Not Assumed.

06 — Real-Time System Architecture

MCUs are often selected because they can provide deterministic control.

Real-time systems may require:

Microseconds

or even tighter response relationships between: Input → Processing → Output

Engineering can classify tasks as:

Hard Real-Time

A missed deadline can create unacceptable behavior.

Firm Real-Time

Late results become unusable.

Soft Real-Time

Timing variation is acceptable within defined limits.

This affects:

  • RTOS architecture

  • interrupt priority

  • DMA

  • timers

  • task scheduling

  • synchronization

  • communication handling

Real-Time Performance Is About Worst-Case Behavior — Not Average Speed.

07 — Interrupt Architecture

Poor interrupt design can make a powerful MCU behave unpredictably.

Engineering should define:

  • priority hierarchy

  • nesting policy

  • ISR execution time

  • interrupt frequency

  • shared-resource access

  • latency requirements

  • deferred processing

  • RTOS interaction

High-frequency interrupts should not automatically perform complex work inside the ISR.

A typical strategy may be:

Interrupt

Capture Critical Event

Move Data / Set Flag

Schedule Processing

This reduces latency and improves determinism.

Interrupts Should Signal Work — Not Become the Entire Application.

08 — DMA Architecture

DMA can significantly reduce CPU load.

Typical uses include:

  • ADC acquisition

  • DAC output

  • UART

  • SPI

  • I²C

  • audio

  • camera data

  • timers

  • memory transfers

A properly architected DMA system can support:

Peripheral

DMA

Memory Buffer

Application Processing

without requiring the CPU to handle every data word.

Advanced designs may use:

  • Circular DMA

  • Double Buffering

  • Scatter/Gather where supported

  • Linked-List DMA

DMA architecture becomes especially important in high-throughput sensing and communications.

Move Data Without Wasting CPU Cycles.

09 — Timer Architecture

Timers are some of the most powerful MCU peripherals.

They can support:

  • PWM

  • motor control

  • input capture

  • output compare

  • encoder

  • pulse measurement

  • waveform generation

  • synchronization

  • trigger generation

A sophisticated system may synchronize: Timer → ADC → DMA → Control Algorithm → PWM

This allows highly deterministic control with minimal CPU jitter.

Good MCU Design Uses Hardware Timing Before Software Timing.

10 — Clock Tree Engineering

The MCU clock tree determines much of the timing behavior of the system.

A design may involve:

External Crystal

PLL

System Clock

AHB / APB Domains

Peripheral Clocks

Engineering considerations can include:

  • oscillator accuracy

  • PLL configuration

  • peripheral frequency limits

  • USB clocks

  • audio clocks

  • ADC clocks

  • low-power clocks

  • startup time

  • clock failure behavior

Clock architecture should also be reviewed for: EMC and Power Consumption.

Every Clock Has a Performance Cost and an Electromagnetic Cost.

11 — Reset & Brownout Architecture

MCU products should behave predictably when supply voltage is not ideal.

Engineering may define:

  • power-on reset

  • brownout threshold

  • external supervisor

  • watchdog reset

  • software reset

  • fault reset

The system should answer:

What happens during a slow power ramp?

What happens during a short supply dip?

What happens when power returns?

Can Flash be corrupted?

Is the output state safe?

Reliable Products Must Behave Correctly During Bad Power — Not Only Good Power.

12 — Boot Architecture

MCU boot architecture may include:

ROM Bootloader

First-Stage Boot

Secure Boot

Application Firmware

The exact architecture depends on:

  • security

  • update requirements

  • recovery

  • production programming

  • memory constraints

A well-designed boot architecture should support:

  • Reliable Startup

  • Firmware Verification

  • Controlled Update

and where required: Recovery.

Boot Is the First Reliability Test Every Time the Product Starts.

13 — Bootloader Development

A professional bootloader can manage:

  • firmware image validation

  • application selection

  • firmware version

  • update mode

  • integrity check

  • rollback

  • recovery

  • communication transport

Possible transports may include:

  • UART

  • USB

  • CAN

  • Ethernet or Wireless

depending on product architecture.

Bootloaders should be intentionally kept: small, deterministic, testable and secure.

14 — Secure Boot

Connected products increasingly require firmware authenticity.

A secure boot architecture can establish:

Root of Trust

Authenticated Bootloader

Verified Firmware

Application

Depending on MCU capabilities, this may use:

  • hardware root of trust

  • OTP

  • secure key storage

  • cryptographic accelerators

  • TrustZone

  • signed firmware

The objective is: Prevent Untrusted Code From Becoming Trusted Control.

15 — TrustZone & Secure / Non-Secure Partitioning

Cortex-M33 and later secure-capable MCU architectures can use Arm TrustZone to divide embedded execution into secure and non-secure environments.

This can help isolate functions such as:

  • Keys

  • Crypto Services

  • Secure Boot

  • Device Identity

  • Sensitive Data

from general application code.

For example:

  • Secure World

  • Boot verification

  • Key storage

  • Crypto

  • Credential provisioning

  • Non-Secure World

  • Application

  • UI

  • Non-critical networking

  • Product functions

STM32H5 and WBA product families currently include Cortex-M33/TrustZone-based options specifically aimed at secure embedded applications.

Security Boundaries Should Follow System Risk.

16 — Memory Architecture

MCU memory planning involves more than checking: Is there enough Flash?

Engineering should consider:

  • Flash

  • Application

  • Bootloader

  • OTA slot

  • Factory image

  • Configuration

  • SRAM

  • RTOS

  • Stacks

  • Heap

  • Buffers

  • DSP data

  • Communication

  • TCM / Special Memories

Critical real-time functions.

External Memory

Where product requirements exceed internal capacity.

A memory map should be planned intentionally.

Memory Is an Architecture — Not a Leftover Resource.

17 — Memory Protection

Modern MCUs may provide:

  • MPU

  • TrustZone

  • privilege levels

and other protection features.

These can be used to reduce the impact of:

  • pointer errors

  • task corruption

  • unauthorized access

  • software faults

For complex RTOS products, memory protection can help establish stronger fault boundaries.

18 — Cache & TCM Engineering

High-performance MCUs may include:

  • I-Cache

  • D-Cache and TCM

Cache improves average performance but introduces issues involving:

  • DMA coherency

  • deterministic timing

  • memory barriers

  • shared buffers

Time-critical routines may benefit from tightly coupled memory where supported.

The engineering rule is: Know Which Memory the CPU Is Actually Executing From.

19 — RTOS Architecture

Many non-trivial MCU products benefit from a real-time operating system.

A typical architecture might separate:

  • Sensor Task

  • Control Task

  • Communication Task

  • Logging Task

  • UI Task

  • Update Task

The RTOS can provide:

  • scheduling

  • synchronization

  • queues

  • semaphores

  • event groups

  • timers

  • memory management

But using an RTOS does not automatically create a real-time system.

The Architecture Creates Determinism — Not the RTOS Name.

20 — Bare-Metal vs RTOS

Not every MCU product needs an RTOS.

Bare Metal May Be Better When:

  • functionality is simple

  • memory is limited

  • timing is straightforward

  • certification simplicity matters

RTOS May Be Better When:

  • many concurrent functions exist

  • networking is complex

  • timing domains differ

  • software will grow

  • modularity matters

The decision should follow product complexity.

Use the Simplest Software Architecture That Can Remain Maintainable.

21 — Device Driver Development

Device drivers connect software architecture to hardware.

Drivers may cover:

  • GPIO

  • UART

  • SPI

  • I²C

  • CAN

  • USB

  • Ethernet

  • ADC

  • DAC

  • PWM

  • timers

  • external Flash

  • sensors

  • displays

High-quality drivers should define:

  • Initialization

  • Runtime Operation

  • Error Handling

  • Timeout

  • Recovery

Concurrency and Power States.

A Driver Is Not Complete Until Failure Behavior Is Defined.

22 — HAL, LL & Direct Register Design

Different abstraction levels have different advantages.

HAL

Faster development and portability.

Low-Level Drivers

Greater hardware control.

Direct Register Access

Potentially useful for specialized, highly optimized routines.

A sophisticated project may use a combination.

For example:

HAL for standard peripherals

LL / Register-Level Code for timing-critical functions

The objective is not ideological purity.

Use the Right Abstraction at the Right Layer.

23 — BSP Engineering

A Board Support Package can provide a controlled abstraction between: Board Hardware and Application Firmware.

A BSP may manage:

  • board initialization

  • clocks

  • GPIO

  • power enables

  • sensors

  • Flash

  • communication transceivers

  • board revision

This becomes especially useful when supporting multiple hardware revisions or product variants.

Separate the Product Software From the Board-Specific Details.

24 — Firmware Architecture

Large MCU firmware should be organized into layers.

One possible architecture is:

Application

Services

Middleware

Drivers

BSP

Hardware

This improves:

  • maintainability

  • testability

  • reuse

  • portability

  • revision control

A firmware project containing thousands of lines of application logic inside main.c is difficult to scale.

Firmware Architecture Matters Before Firmware Becomes Large.

25 — State-Machine Engineering

Embedded products often operate naturally as state machines.

Example:

OFF

STARTUP

INITIALIZATION

NORMAL

LOW POWER

FAULT

RECOVERY

Explicit state-machine architecture makes behavior easier to:

  • understand

  • test

  • validate

  • recover

State transitions should define:

  • Trigger + Condition + Action + Result

Predictable State Produces Predictable Products.

26 — ADC & Measurement Engineering

MCU ADCs can support sophisticated measurement systems when correctly engineered.

Important considerations include:

  • ADC resolution

  • sampling time

  • source impedance

  • reference

  • noise

  • calibration

  • gain

  • offset

  • filtering

  • sample synchronization

ST itself maintains detailed guidance on optimizing ADC accuracy across STM32 products, reflecting how actual converter performance depends on the surrounding system rather than nominal ADC bit depth alone.

ADC Bits Are Not the Same as Measurement Accuracy.

27 — PWM & Motor-Control Development

MCUs are widely used in:

  • BLDC

  • PMSM

  • stepper motors

  • servo systems

  • power conversion

Motor-control architecture may involve:

PWM Generation

Current Measurement

Rotor Position / Estimation

Control Algorithm

Gate Driver

Advanced control can include:

  • FOC

  • current loops

  • speed loops

  • position loops

  • encoder interfaces

  • Hall sensors

  • sensorless estimation

Motor Control Is Real-Time Hardware and Software Co-Design.

28 — DSP on MCU

Modern Cortex-M processors can execute increasingly sophisticated DSP algorithms.

Applications include:

  • digital filtering

  • FFT

  • vibration analysis

  • audio

  • control

  • sensor processing

  • communications

Architectural techniques may include:

  • Fixed Point

  • Floating Point

  • SIMD

  • Helium Vector Processing

depending on processor.

Cortex-M55 and M85 incorporate Arm Helium technology to accelerate DSP and machine-learning workloads.

DSP No Longer Automatically Requires a Separate DSP Processor.

29 — Edge AI on MCU

This is one of the biggest changes in modern MCU engineering.

MCUs can now execute tasks such as:

  • image classification

  • object detection

  • anomaly detection

  • audio recognition

  • predictive maintenance

  • sensor classification

A typical Edge AI path is:

Sensor / Camera

Preprocessing

Neural Network

Inference

Decision

Control

STM32N6 represents this shift particularly clearly: ST currently offers variants with an integrated Neural-ART accelerator providing up to 600 GOPS, combined with Cortex-M55 and a computer-vision pipeline.

But AI architecture still has to manage:

  • Model Size

  • RAM

  • Flash

  • Latency

  • Power

  • Thermal

  • Accuracy

Edge AI Is a System Budget — Not Just an NPU Specification.

30 — TinyML & Sensor Intelligence

For lower-power devices, AI may operate on small sensor datasets rather than video.

Applications can include:

  • vibration classification

  • acoustic classification

  • gesture

  • motion recognition

  • predictive maintenance

  • anomaly detection

The challenge is balancing:

Accuracy vs Memory vs Compute vs Energy.

This creates an important new engineering metric: Intelligence per Milliwatt.

31 — Low-Power Firmware Engineering

Battery life depends heavily on firmware.

Low-power architecture may involve:

Active

Idle

Sleep

Stop

Standby

depending on MCU.

Firmware should control:

  • clocks

  • peripheral shutdown

  • wake sources

  • sensor duty cycles

  • wireless duty cycles

  • memory retention

A good low-power system spends most of its life: Not Doing Anything — Efficiently.

32 — Energy Profiling

Low-power optimization should be measured.

An energy profile can examine:

  • Boot Energy

  • Active Current

  • Radio Current

  • Sleep Current

  • Wake Frequency

  • Sensor Duty Cycle

For periodic devices: average current can matter much more than peak current.

Engineering should correlate: Firmware Behavior → Current Waveform → Battery Runtime.

33 — Communication Stack Development

MCU applications may implement protocols including:

  • UART

  • SPI

  • I²C

  • CAN / CAN FD

  • RS485

  • Modbus

  • USB

  • Ethernet

  • BLE

  • Thread

and others according to the product.

The firmware architecture needs:

  • framing

  • buffering

  • timeout

  • error detection

  • retry

  • recovery

  • flow control

Communication Should Be Designed for Errors — Because Real Links Have Errors.

34 — CAN / CAN FD Firmware

CAN systems require more than sending frames.

Engineering can involve:

  • identifier architecture

  • bus loading

  • timing

  • filters

  • error states

  • bus-off recovery

  • diagnostics

  • application protocol

For industrial and motion-control systems, CAN behavior should be tested under: High Traffic + Fault + Recovery Conditions.

35 — USB Development

MCUs can support functions such as:

  • CDC

  • HID

  • MSC

  • DFU

custom device classes

USB firmware must coordinate with: Hardware + Clock + Descriptor + Endpoint + Buffer Architecture

and, for Type-C products, potentially additional power and role-management requirements.

36 — Ethernet & Networked MCU Development

High-performance MCUs increasingly support networked products.

Firmware may involve:

  • MAC

  • PHY Driver

  • TCP/IP

  • DHCP

  • DNS

  • HTTP

  • TLS

  • MQTT

or application protocols.

The engineering challenge becomes: Networking + Memory + Security + Real-Time Behavior

rather than Ethernet alone.

37 — Wireless MCU Development

Modern wireless MCUs combine:

Application MCU + Radio + Protocol Stack

in the same device.

Current STM32WBA devices, for example, support Cortex-M33-based architectures with combinations of Bluetooth LE and IEEE 802.15.4 ecosystem protocols such as Zigbee, Thread and Matter, depending on the specific device.

Engineering still must handle:

  • application timing

  • radio events

  • coexistence

  • low power

  • security

  • OTA

  • antenna constraints

Wireless Firmware Is RF-Aware Firmware.

38 — Watchdog Architecture

Watchdogs should not be used as: If something crashes, reboot everything.

A professional architecture asks: What conditions should trigger the watchdog?

Which tasks prove system health?

How is failure recorded?

How does the system recover?

Independent and window watchdog strategies may be used where appropriate.

A Watchdog Should Detect Loss of Control — Not Hide Software Problems.

39 — Fault Handling & Recovery

MCU products should define behavior for failures such as:

  • communication timeout

  • sensor failure

  • corrupted configuration

  • Flash error

  • peripheral lockup

  • power fault

  • thermal fault

A fault architecture can classify:

Recoverable

Retry or reset subsystem.

Degraded

Continue with reduced function.

Critical

Enter safe state.

Permanent

Require service.

Failure Behavior Is Part of Product Behavior.

40 — Firmware Logging & Diagnostics

Debugging becomes dramatically easier when the product can explain what happened.

Diagnostic architecture can include:

  • reset cause

  • event log

  • fault code

  • firmware version

  • boot count

  • operating hours

  • error counters

  • sensor faults

For deployed products, diagnostic information may be essential to root-cause analysis.

Observability Reduces the Cost of Failure Analysis.

41 — OTA Firmware Update Architecture

Connected products increasingly require field updates.

A robust OTA architecture may use:

Download

Integrity Check

Authentication

Staging

Installation

Boot Verification

Confirmation

Depending on risk, the design may support: A/B Firmware or Recovery Image

The critical question is:

What Happens If Power Fails in the Middle of an Update?

That answer should be engineered before deployment.

42 — Firmware Security

MCU firmware security can include:

  • secure boot

  • signed images

  • encrypted storage

  • secure key handling

  • debug locking

  • authentication

  • anti-rollback

  • secure communications

  • secure update

Security should also consider:

  • Manufacturing Provisioning

because credentials may need to be introduced during production.

Product Security Extends From Development Into the Factory.

43 — SWD / JTAG Debug Engineering

Professional MCU development typically requires structured debugging.

Capabilities may include:

  • Breakpoints

  • Watchpoints

  • Trace

  • Memory Inspection

  • Register Inspection

  • RTOS Awareness

But debugging strategy should change between: Development and Production.

Production products should not unintentionally expose sensitive debug access.

44 — Hardware Bring-Up Firmware

The first firmware used on a new PCB should often be simpler than the final product application.

A bring-up firmware can test:

  • GPIO

  • Clock

  • Memory

  • ADC

  • SPI

  • I²C

  • UART

  • CAN

  • Ethernet

  • Sensors

  • Outputs

independently.

This separates: hardware problems from application-software problems.

First Prove the Board. Then Prove the Product.

45 — Unit Testing

Embedded firmware should test important software components independently where practical.

Examples:

  • algorithms

  • protocol parsing

  • state machines

  • configuration handling

  • math functions

Unit testing catches problems before they are hidden inside the complete system.

46 — Integration Testing

Once modules work individually, engineers verify the interaction between:

  • Drivers

  • RTOS

  • Communication

  • Application

  • Hardware

Many embedded bugs occur not within one function but at the boundaries between functions.

Integration Is Where Assumptions Meet Reality.

47 — Hardware-in-the-Loop Testing

For more complex control products, HIL can simulate external systems around the MCU.

The test system can inject:

  • sensor values

  • communication messages

  • fault conditions

  • timing events

and observe outputs.

This is useful for testing scenarios that may be:

  • Difficult

Slow or Unsafe to reproduce repeatedly on the complete product.

48 — Fault Injection Testing

High-reliability firmware can be deliberately challenged.

Examples include:

  • disconnect sensor

  • corrupt packet

  • simulate timeout

  • drop communication

  • reset during operation

  • interrupt firmware update

  • create invalid configuration

The question is: Does the Product Fail Predictably?

A robust product should not only pass happy-path tests.

49 — Static Analysis & Code Quality

Professional MCU development can include coding-quality controls such as:

  • compiler warnings

  • static analysis

  • code review

  • defined coding rules

  • complexity management

  • memory analysis

For higher-assurance products, standards and discipline can be adapted to the actual industry and risk profile.

365PCB should only claim specific formal compliance where the project actually follows and documents the required standard.

50 — Stack & Heap Analysis

Embedded systems often fail because memory assumptions were never validated.

Engineering can measure:

  • task stack high-water marks

  • heap usage

  • fragmentation

  • static allocation

  • buffer usage

For deterministic systems, dynamic allocation may be restricted or avoided in critical runtime paths.

Memory Failure Is Often Architecture Failure.

51 — Timing Analysis

Real-time firmware should verify:

  • interrupt latency

  • task execution

  • control-loop frequency

  • communication latency

  • worst-case timing

Measurement may use:

  • hardware timers

  • trace

  • GPIO timing markers

  • profiling tools

  • logic analysis

If Timing Is a Requirement, Timing Should Be Measured.

52 — Production Programming

Firmware development does not end when the .bin file is created.

Manufacturing requires a controlled programming process.

This may include:

  • Firmware Image

  • Device Configuration

  • Serial Number

  • MAC Address

  • Calibration Data

  • Security Credentials

Production systems may need to verify:

  • programming success

  • firmware version

  • checksum

  • device identity

Programming Is a Manufacturing Process.

53 — Secure Provisioning

Connected products may require unique secrets.

These can include:

  • device certificates

  • private keys

  • authentication credentials

  • unique IDs

Provisioning architecture needs to consider:

  • Where Keys Are Created

  • How They Reach the Device

  • Who Can Access Them

  • How Provisioning Is Verified

This is where cybersecurity and manufacturing become one system.

54 — Calibration & Factory Data

Some MCU-based products need product-specific factory information.

Examples:

  • sensor calibration

  • analog offset

  • motor parameters

  • product configuration

  • hardware revision

  • serial number

This information may be stored in:

  • Flash

  • EEPROM

  • OTP

or secure storage.

A proper data architecture should define ownership and revision.

55 — Manufacturing Test Firmware

Factory firmware may include dedicated commands for:

  • GPIO test

  • LEDs

  • relays

  • sensor test

  • communication loopback

  • analog measurement

  • motor outputs

  • current measurement

This can reduce production test time and improve diagnostic resolution.

Design the Firmware to Help Manufacture the Product.

56 — EVT Firmware Development

Prove the Architecture

EVT firmware focuses on:

  • MCU stability

  • peripheral operation

  • hardware interfaces

  • early algorithms

  • power behavior

  • communication

  • basic product functions

The objective is learning.

Not polishing every user feature.

57 — DVT Firmware Development

Prove the Product

DVT should increasingly validate mature behavior including:

  • all major features

  • fault recovery

  • power states

  • EMC-related behavior

  • environmental operation

  • update architecture

  • security

  • performance

Firmware and hardware revisions should be controlled together.

58 — PVT Firmware & Production Release

PVT focuses on whether firmware is ready to become part of a repeatable manufacturing system.

This includes:

  • frozen release

  • version control

  • production programming

  • test modes

  • calibration

  • traceability

  • final configuration

Production Firmware Must Be Reproducible.

59 — Hardware / Firmware Configuration Control

An MCU product must maintain compatibility between:

  • Hardware Rev A

  • Hardware Rev B

  • Firmware v1

  • Firmware v2

and potentially different BOM configurations.

Firmware can detect board revision where appropriate.

Release documentation should define compatible combinations.

Hardware and Firmware Are One Product Configuration.

60 — Long-Term Firmware Maintenance

Products can live for years.

Firmware strategy may therefore include:

  • bug fixes

  • security updates

  • component replacement

  • hardware revisions

  • protocol evolution

  • feature upgrades

Platform selection should take long-term vendor and toolchain support into account from the beginning.

What Does World-Class MCU Development Look Like?

At the highest level:

Product Requirements

MCU Architecture

Processor Selection

Clock / Reset / Power

Memory Architecture

Timers / ADC / DMA / Interrupts

RTOS / Firmware Architecture

Drivers / BSP

Connectivity

Security

Bootloader / OTA

DSP / Edge AI

Low Power

Hardware Bring-Up

Unit / Integration / HIL Test

Fault Injection

EVT

DVT

PVT

Production Programming

Secure Provisioning

Lifecycle Maintenance

Reliable Embedded Product

That is the difference between: Writing MCU Code and Engineering an MCU Product Platform.

Typical MCU / STM32 Development Deliverables

Depending on project scope, deliverables can include:

  • MCU Platform Selection Report

  • MCU Architecture

  • STM32 Family Evaluation

  • CPU Performance Budget

  • Memory Map

  • Flash / RAM Allocation

  • Clock Tree

  • Reset Architecture

  • Interrupt Architecture

  • DMA Architecture

  • Timer Architecture

  • Low-Power Architecture

  • Peripheral Configuration

  • BSP

  • Device Drivers

  • HAL / LL Integration

  • RTOS Architecture

  • Firmware Architecture

  • State Machines

  • Communication Protocols

  • ADC / Sensor Processing

  • DSP Algorithms

  • Motor-Control Firmware

  • Edge AI Integration

  • Security Architecture

  • TrustZone Partitioning

  • Secure Boot

  • Bootloader

  • OTA Architecture

  • Recovery Firmware

  • Debug Strategy

  • Manufacturing Programming Plan

  • Calibration Architecture

  • Secure Provisioning

  • Manufacturing Test Firmware

  • Unit Tests

  • Integration Tests

  • HIL Test Plan

  • Fault-Injection Plan

  • EVT Firmware

  • DVT Firmware

  • Production Firmware Release

  • Firmware Version Control

  • Hardware/Firmware Compatibility Matrix

  • Production Programming Files

  • Technical Documentation

  • Lifecycle Maintenance Plan

What Can You Bring to 365PCB?

You can start with:

  • A Product Idea

  • Existing STM32 Firmware

  • An STM32Cube Project

  • A Development Board Prototype

  • Existing Schematics

  • A PCB

  • Legacy MCU Code

  • Product Requirements

or simply: Tell Us What the Embedded System Needs to Control, Measure, Communicate, or Decide.

365PCB can develop the platform from: MCU Selection → Hardware → Firmware → Prototype → Validation → Production.

Don't Just Make the MCU Run.

Make the Product Deterministic.

Make It Secure.

Make It Recoverable.

Make It Testable.

Make It Production-Ready.

365PCB MCU / ARM / STM32 Development connects: Real-Time Computing + Embedded Hardware + Firmware + Security + Manufacturing

Dedicated Engineering & Support Team

* Your Name
* E-mail Address
* Contact Phone
* Company Name
* Message Content
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Part of the tracking is necessary to ensure SEO effectiveness,
By using this site, you agree to our use of cookies. Visit our cookie policy to learn more.
Reject Accept