← Back to the chapter · Previous detail

Technical detail · MCU vs MPU: Workload Fit

Read a historical MCU and wireless-SoC ledger

Use the following as a worked historical snapshot of two part families, not a current procurement table. Exact variants and data-sheet revisions differ; the purpose is to show how a feature list becomes an energy-and-cost decision.

Evidence fieldSAM4L-style MCUnRF51-style wireless SoCDecision consequence
Core and clockCortex-M4, up to 48 MHzCortex-M0, 16 MHzM4 compute may finish DSP/control work sooner; M0 can be sufficient for a bounded BLE endpoint
Flash / SRAM128–512 KiB / 32–64 KiB128–256 KiB / 16–32 KiBSize application, bootloader, dual-image update, stacks, and radio buffers before choosing
Serial busesFour USART blocks usable for UART/SPI; four I2C-compatible busesOne UART, SPI, and I2C-class interface in the teaching exampleCount simultaneously required peripherals and pin-mux conflicts, not protocol names alone
ADC8- or 12-bit modes, variant-dependent 3–15 channels8-, 9-, or 10-bit modesResolution, channel count, reference, sampling rate, and calibration must match the sensor path
Offload/securityUp to 16 peripheral DMA channels, hardware AES, USBIntegrated BLE radio and limited hardware AES supportSAM4L can offload memory/peripheral work; nRF51 removes the external-radio boundary
Supply and clockAbout 1.6–3.6 V, up to 48 MHz, variant-dependentAbout 1.8–3.6 V, 16 MHzVerify the exact ordering code against battery and peripheral voltage ranges
Sleep and wake snapshotRoughly 1.5–3 microamps sleep; about 1.5 microseconds wakeRoughly 2.6 microamps sleep; about 4.2 microseconds wakeA short reporting interval can make wake latency and retained state material
Active snapshotAs low as about 90 microamps/MHz; approximately 4.3 mA at 48 MHz in the cited conditionAbout 2.4–4.1 mA depending on execution from RAM or flashCompare energy for the measured workload, not current at unrelated modes
Radio snapshotExternal radio requiredAbout 16 mA TX at +4 dBm and 13.4 mA RXRadio time can dominate compute; include advertising, receive windows, retries, and coexistence

← Back to the chapter · Previous detail