ADR-002: Wave v2 MCU Selection (MCXN947)
Status: Accepted Date: November 2025
Executive Summary
Recommended MCU for EQ Wave v2: NXP MCXN947
Key reasons:
- Best fit for power quality application (dual Cortex-M33, DSP, AI/ML acceleration)
- Superior memory (2 MB Flash, 512 KB RAM) vs LPC54628 (512 KB Flash, 200 KB RAM)
- Modern security features (TrustZone, EdgeLock) for industrial deployment
- Excellent power efficiency (57 µA/MHz) for 24/7 operation
- microSD card support: Yes, can handle 1–2 TB SDXC cards with exFAT
Detailed Comparison
MCU Candidates
| Feature | MCXN947 ⭐ | LPC54628 | STM32H747 | Renesas RA6M4 |
|---|---|---|---|---|
| Architecture | Dual Cortex-M33 | Single Cortex-M4 | M7 @ 480MHz + M4 @ 240MHz | Single Cortex-M33 |
| Clock Speed | 150 MHz × 2 | 220 MHz | 480/240 MHz | 200 MHz |
| CoreMark | 618 per core (1236 total) | ~778 | 3220 total | ~800 |
| CoreMark/MHz | 4.12 | 3.54 | ~6.7 (M7), 3.3 (M4) | ~4.0 |
| Flash | 2 MB (dual bank, ECC) | 512 KB | 2 MB | 2 MB |
| RAM | 512 KB (416 KB w/ ECC) | 200 KB | 1 MB | 512 KB |
| EEPROM | No (use Flash emulation) | 16 KB | No | Yes (32 KB data flash) |
| DSP Acceleration | PowerQuad DSP | FPU only | FPU + DSP | FPU + DSP |
| AI/ML | eIQ Neutron NPU (4.8 GOPs) | None | None | None |
| Security | TrustZone + EdgeLock | Basic | TrustZone | TrustZone |
| Power (active) | 57 µA/MHz | ~100 µA/MHz | ~280 µA/MHz | 99 µA/MHz |
| Power (deep sleep) | 2 µA (RTC + 32KB RAM) | ~5 µA | ~2.4 µA | ~1 µA |
| Temp Range | -40°C to +125°C | -40°C to +85°C | -40°C to +125°C | -40°C to +85°C |
| SDIO | Yes (UHS-I capable) | Yes | Yes (SDMMC) | Yes |
| Price (est) | $7–10 @ 1k | $6–8 @ 1k | $10–15 @ 1k | $8–12 @ 1k |
| Availability | Current production | Mature/EOL soon? | Current production | Current production |
Performance Analysis
Raw processing power:
- STM32H747: Highest (3220 CoreMark total)
- MCXN947: Good (1236 CoreMark total, dual 150 MHz)
- RA6M4: Moderate (800 CoreMark, single 200 MHz)
- LPC54628: Moderate (778 CoreMark, single 220 MHz)
Power efficiency (CoreMark/mW):
- MCXN947: Excellent (618 / (0.057 mA/MHz × 150 MHz) = 72 CoreMark/mA)
- RA6M4: Excellent (800 / (0.099 mA/MHz × 200 MHz) = 40 CoreMark/mA)
- LPC54628: Good (778 / (0.1 mA/MHz × 220 MHz) = 35 CoreMark/mA)
- STM32H747: Moderate (high performance but higher power)
For power quality application (PLL residual encoding, DSP, networking):
- MCXN947: Best (dual core + DSP + AI/ML, can offload PLL to NPU or second core)
- STM32H747: Overkill (very high performance but power hungry, expensive)
- RA6M4: Good (single core but fast, good DSP)
- LPC54628: Adequate (single core, older architecture)
Memory Comparison
Why MCXN947’s memory advantage matters:
| Memory Use | MCXN947 (2MB/512KB) | LPC54628 (512KB/200KB) | Impact |
|---|---|---|---|
| Firmware code | ~300 KB | ~300 KB | LPC54628 has only 212 KB remaining for data structures |
| Network stacks | ~150 KB | ~150 KB | MCXN947 has 1.55 MB Flash headroom for future features |
| Data buffers | ~300 KB RAM | ~300 KB RAM | LPC54628 RAM insufficient (only 200 KB total!) |
| PLL + compression | ~250 KB RAM | ~250 KB RAM | Would not fit on LPC54628 |
| Future expansion | ✅ Plenty | ❌ Constrained | MCXN947 supports microSD storage, Zenoh config, etc. |
Critical: LPC54628’s 200 KB RAM is insufficient for v2 requirements:
- Network buffers: ~80 KB
- DAQ buffers: ~80 KB
- PLL residual compression: ~224 KB (per-channel buffers)
- Total needed: ~384 KB
- LPC54628 has: 200 KB ❌
Verdict: LPC54628 eliminated due to insufficient RAM.
Special Features
MCXN947 advantages:
- Dual core: Can dedicate core 1 to DAQ/PLL, core 2 to networking/compression
- AI/ML NPU: 4.8 GOPs for edge analytics (future: anomaly detection on-device)
- PowerQuad DSP: Hardware acceleration for FFT, filtering, PLL computations
- Security: EdgeLock Secure Enclave for field deployment integrity
- SmartDMA: Offload memory-intensive operations (SD card writes)
STM32H747 advantages:
- Highest performance: 480 MHz Cortex-M7 for demanding DSP
- Asymmetric cores: M7 for processing, M4 for networking/housekeeping
- Mature ecosystem: Extensive libraries, tools, community support
- L1 cache: 16 KB I + 16 KB D per core (faster code execution)
Why STM32H747 not chosen:
- Overkill for power quality (don’t need 480 MHz)
- Higher power consumption (~280 µA/MHz vs 57 µA/MHz)
- More expensive ($10–15 vs $7–10)
- Complexity of asymmetric dual-core programming
Why MCXN947 chosen:
- Balanced performance for power quality application
- Best power efficiency for 24/7 operation
- Modern security features for industrial IoT
- AI/ML acceleration for future edge analytics
- Dual symmetric cores easier to program than asymmetric
microSD Card Support: 1–2 TB Capability ✅
Can ARM Cortex-M MCUs support 1–2 TB microSD cards?
Yes, all modern ARM Cortex-M MCUs can support SDXC cards up to 2 TB.
Technical requirements:
- SDIO/SDMMC interface: All candidates have UHS-I capable SDIO
- exFAT file system: Required for > 32 GB cards
- FatFS middleware: Must enable exFAT support (available for all platforms)
MCXN947 specific:
- SDIO interface: Yes, supports UHS-I (up to 50 MB/s)
- DMA support: Yes, for efficient SD card transfers without CPU overhead
- FatFS port: Available in MCUXpresso SDK
- exFAT support: Requires enabling
FF_FS_EXFATinffconf.h
Storage capacity with PLL residual encoding:
| microSD Capacity | Storage Duration @ 64 kSPS | Use Case |
|---|---|---|
| 32 GB | 10–12 days | Short-term deployments |
| 128 GB | 40–50 days | Monthly archival |
| 512 GB | 170–200 days | Seasonal archival |
| 1 TB | 340–400 days (~1 year) | Annual archival |
| 2 TB | 680–800 days (~2 years) | Multi-year forensics |
Value Proposition:
- 1–2 TB microSD: ~$30–60 (consumer grade), ~$100–200 (industrial grade)
- EQ Wave COGS: ~$600
- Capability: 6–24 months of continuous 64 kSPS waveform storage
- Use case: Walk-up fault recorder without dedicated gateway
- Field tech plugs laptop into fiber port
- Retrieves months/years of historical data
- No gateway, no cloud, no complexity
- Killer feature for industrial deployments
Real-World Deployment Scenarios
Scenario 1: Remote Substation (No Gateway)
- Install EQ Wave v2 with 1 TB microSD
- 12 months of continuous waveform storage
- Monthly site visit: Retrieve data via laptop + fiber connection
- Value: Eliminates $2–5k gateway hardware, no network infrastructure
Scenario 2: Semiconductor Fab (Critical Equipment)
- 2 TB microSD for 2-year event history
- Tool goes down → immediate retrieval of pre-failure waveforms
- Value: Million-dollar fab line saved by instant root cause analysis
Scenario 3: Data Center (Compliance)
- Regulatory requirement: 6-month power quality records
- 512 GB microSD stores 6 months continuously
- Retrieve on-demand for audits
- Value: Compliance without ongoing gateway/cloud costs
Implementation Considerations
exFAT licensing:
- Historical issue: Microsoft patents on exFAT
- Current status: Microsoft released exFAT specification to Open Invention Network (OIN) in 2019
- For commercial products: Verify FatFS exFAT implementation is properly licensed
- Alternative: Use FAT32 with multiple partitions (32 GB each), manage as array
- 1 TB = 32 × 32 GB partitions
- More complex but avoids any exFAT licensing concerns
Performance:
- SDIO @ 50 MB/s (UHS-I) >> 0.25 MB/s compressed write rate
- DMA-based writes: minimal CPU overhead
- No bottleneck for continuous 64 kSPS recording
Reliability:
- Industrial-grade microSD: Rated for -40°C to +85°C, 10-year retention
- Wear leveling: Modern controllers handle 24/7 writes
- Expected lifetime: 3–5 years continuous writes (varies by card quality)
- Recommendation: Use SLC or pSLC (pseudo-SLC) industrial cards for 24/7 operation
Cost Analysis
Component costs (approximate, 1k qty):
| Item | MCXN947 | LPC54628 | STM32H747 |
|---|---|---|---|
| MCU | $8 | $7 | $12 |
| Supporting components | $15 | $15 | $18 |
| microSD socket | $2 | $2 | $2 |
| Industrial 1TB microSD | $150 | $150 | $150 |
| Total electronics | $175 | $174 | $182 |
COGS breakdown (v2 with 1 TB storage):
- Electronics (MCU, ADCs, passives): ~$200
- Enclosure, mounting: ~$100
- Fiber optics, connectors: ~$80
- Assembly, test: ~$120
- Sensors (CT/PT): ~$100
- Total: ~$600 COGS
Market positioning:
- EQ Wave v2 with 1-year onboard storage: $2000–2500 retail
- Competitive fault recorders: $5000–15000 (without waveform storage capability)
- Value proposition: 2–3× lower price with superior continuous waveform archival
Recommendation
MCXN947 is the best choice for EQ Wave v2
Summary:
- ✅ Memory adequate: 2 MB Flash, 512 KB RAM (vs LPC54628’s insufficient 200 KB RAM)
- ✅ Performance balanced: Dual 150 MHz Cortex-M33 sufficient for PLL residual encoding (17% CPU)
- ✅ Power efficient: 57 µA/MHz enables 24/7 operation with minimal heat
- ✅ Modern features: AI/ML NPU, PowerQuad DSP, EdgeLock security
- ✅ microSD support: Can handle 1–2 TB SDXC cards for 1–2 year continuous storage
- ✅ Future-proof: Dual core allows offloading to core 2 or NPU as features expand
- ✅ Price competitive: $7–10 vs STM32H747’s $10–15
LPC54628 eliminated: Insufficient RAM (200 KB vs 384 KB needed)
STM32H747 not needed: Overkill performance, higher power/cost, complexity not justified
Implementation Plan
v2.0 (2026 Q2):
- MCXN947 with 32 GB microSD (baseline)
- Simple per-channel LZ4 compression
- Storage: 10–12 days (network outage resilience)
v2.1 (2026 Q4):
- Add PLL residual encoding
- Option: 128 GB, 512 GB, 1 TB, or 2 TB microSD
- Storage: 40 days to 2 years
- Market as: “Standalone fault recorder with gateway-free operation”
Future (v2.2+):
- Utilize NPU for edge anomaly detection
- Use core 2 for advanced DSP (supraharmonics preprocessing, harmonic extraction)
- OTA firmware updates via microSD
Early Design Verification Items
MCXN947 capabilities to confirm during initial design phase:
-
SHA hardware accelerator: ✅ VERIFY
- Confirm MCXN947 has hardware SHA-256 for SSL/TLS handshake acceleration
- LPC54628 had SHA accelerator - ensure MCXN947 has equivalent or better
- Critical for secure network communications
-
EtherCAT interface support: ✅ VERIFY
- Determine how to interface external EtherCAT controller (e.g., Beckhoff ET1100) to MCXN947
- Options: SPI, parallel bus, or other high-speed interface
- LPC54628 had 180 pins enabling MII for direct EtherCAT - confirm MCXN947 alternative approach
- Required for optional EtherCAT module in v2
Note: These items were compelling features of LPC54628 that influenced early consideration. Confirm MCXN947 can support equivalent functionality before finalizing schematic.
Conclusion
MCXN947 enables the “walk-up fault recorder” use case:
- Install EQ Wave with 1–2 TB microSD
- Months/years of continuous waveform storage
- Field tech retrieves data directly via laptop + fiber
- No gateway, no cloud dependency, no complexity
- Killer capability for $600 COGS device
Competitive differentiation:
- Traditional fault recorders: $5–15k, limited storage (days/weeks)
- EQ Wave v2: $2–2.5k retail, 6–24 months continuous storage
- 10× cost advantage with superior capability
This positions EQ Wave v2 as both:
- Gateway-connected smart sensor (with EQ Syntropy platform)
- Standalone fault recorder (walk-up data retrieval)
Dual-mode capability expands addressable market significantly.
© 2026 EQ Systems Inc.