Prøve GULL - Gratis
Automating Metrics in Modern Embedded Development
Circuit Cellar
|October 2025
Complex modern embedded systems can be impossible to debug without serious metrics on performance, resource use, and error conditions. Collecting those metrics manually is laborious and error-prone. Jacob explores the metrics that matter and shows how collecting and delivering them can-and should-be automated.
Modern embedded systems are notoriously complex: hundreds of small modules, countless configuration options, and hardware constraints that affect every decision. Even worse, companies demand more features within tight deadlines, making handling a complex system a stressful task.
As we keep adding features, we lose confidence in whether our system is stable or functionally correct. The sheer complexity makes us doubt the quality of the work we deliver. We often ask ourselves: Will our changes crash the system in the next deployment? We essentially work under a shadow of fear.
And yet many embedded teams still work without real visibility into their code's health. They rely on intuition, firefighting, and gut feel to decide when to refactor or where quality might be slipping.
The problem is, without data, these decisions are often wrong, and the cost shows up as defects, delays, and brittle architectures.
That's why the best embedded teams don't just write software. They measure it. Metrics turn vague hunches into concrete trends, letting you spot risk before it snowballs and steer your development toward maintainable, high-quality code.
In this post, we'll explore why metrics matter, the key ones every team should track, and how to automate them directly into your build system—so measuring quality becomes as routine as compiling code.
WHY METRICS MATTER IN EMBEDDED DEVELOPMENT
In 2007, two elderly ladies in Oklahoma were driving somewhere in their Toyota Camry. Their trip ended tragically since one of them was killed and the other seriously injured in a crash.
The investigation revealed that a defect in the vehicle's electronic throttle control system caused it to accelerate uncontrollably. The car's code also revealed a grim reality: the firmware was extremely complex—often described as “spaghetti code”—and contained:
• 11,000 global variables
• 80,000 coding standard violations
Denne historien er fra October 2025-utgaven av Circuit Cellar.
Abonner på Magzter GOLD for å få tilgang til tusenvis av kuraterte premiumhistorier og over 9000 magasiner og aviser.
Allerede abonnent? Logg på
FLERE HISTORIER FRA Circuit Cellar
Circuit Cellar
A GPS-Disciplined Frequency Counter using the PSoC 5LP
In this month's column, Brian tasks one of his mixed-signal favorite MCUs, the Infineon PSoC 5LP, to build a frequency/ period counter using a GPS satellite module to discipline the project's time base.
16 mins
November 2025
Circuit Cellar
Designing Analog Electronics
Part 1: Error and Uncertainty
23 mins
November 2025
Circuit Cellar
Samtec Launches 800-Position AcceleRate HP High-Performance Array Connectors
Samtec, Inc., a global leader in high-performance interconnect solutions and a service leader in the industry, announces the expansion of its AcceleRate HP product line with the release of 800-position APM6 and APF6 high-performance array connectors available in a low-profile 5mm stack height.
1 min
November 2025
Circuit Cellar
CIA for SBCs (and More)
Securing Embedded Systems from Evolving Threats
14 mins
November 2025
Circuit Cellar
The Future of Embedded Systems and AI: AI in Embedded Systems
Cybersecurity Challenges and Opportunities in a Smarter World
4 mins
November 2025
Circuit Cellar
An ESP32 Dashboard
Monitoring How a Popular Microcontroller Uses Resources
11 mins
November 2025
Circuit Cellar
Vishay Intertechnology Power Metal Strip Resistor Delivers Power to 5 W in Compact 1206 Case Size
Vishay Intertechnology, Inc. introduced a new surfacemount Power Metal Strip current sense resistor that combines a high power rating up to 5W, TCR down to ± 75ppm/°C, and extremely low resistance values down to 0.3mΩ in the compact 1206 case size.
2 mins
November 2025
Circuit Cellar
ROHM Develops New Smart Switches Optimized for Zonal Controllers
ROHM Semiconductor announced the release of six new high-side smart switches (IPDs: Intelligent Power Devices) featuring highly accurate current sensing and low ON resistances ranging from 9mΩ to 180mΩ.
1 min
November 2025
Circuit Cellar
Bourns Expands Semi-Shielded Power Inductor Portfolio with New Series Featuring Higher Maximum Inductance Values
Bourns, Inc., a leading manufacturer and supplier of electronic components for power, protection, and sensing solutions, announced the expansion of its semi-shielded power inductors.
1 min
November 2025
Circuit Cellar
STMicroelectronics' New Automotive Linear Voltage Regulator Preserves Battery Energy in Challenging Conditions
The TL99VR03 300mA low-dropout (LDO) regulator provides resilient and efficient power, with a wide input-voltage range and very low quiescent current consumption, only 3.5µA at no load. The IC has an enable pin for turning the regulator off, which reduces the idle current to 800nA, and integrates soft-start circuitry to limit current during power-up and fault recovery.
1 min
November 2025
Listen
Translate
Change font size
