Register-Level ARM Cortex-M4 Embedded Firmware Architecture for Real-Time Wireless EDA Acquisition

Electrodermal activity (EDA) is widely used in wearable assessment of stress, cognitive load, affective state, sleep, pain, and seizure-related physiology, yet most EDA hardware studies emphasize the analog front end while treating the embedded acquisition pipeline as a black box. This paper presents a register-level ARM Cortex-M4 firmware architecture for real-time wireless EDA acquisition on an STM32F401RE, replacing abstraction-layer firmware with direct memory-mapped peripheral control to enable deterministic timing and reproducible evaluation of the digital path from sampling to transmission. A physiological EDA recording was replayed as a calibrated arbitrary waveform reference and acquired under thirteen firmware configurations, varying seven parameters spanning sampling rate, ADC sampling time and resolution, trigger source, transmission mode, baud rate, and system clock. Signal fidelity was assessed across global, tonic, and phasic components, and stream integrity via packet loss, transmission shortfall, sample completeness, and loss concentration. The tonic component stayed robust across all configurations (R² ≥ 0.979), whereas phasic fidelity was most sensitive to parameter choice (phasic R² falling to 0.605). Integrity failures were rare but distinct. These results show that modest MCU conditions suffice for faithful EDA acquisition, letting the framework select sufficient rather than excessive configurations.

Authors

Publication Details

Journal
Preprints.org
Published
2026-12-03
DOI
https://doi.org/10.20944/preprints202612.0319.v1
Primary Topic
Embedded Systems and FPGA Design
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Register-Level ARM Cortex-M4 Embedded Firmware Architecture for Real-Time Wireless EDA Acquisition

Juan David Romero-Ante, Hugo Fernando Posada-Quintero, Boluwatife E. Faremi, Amir Mohammad Karimi Forood et al.
Preprints.org
Embedded Systems and FPGA Design
preprint

Register-Level ARM Cortex-M4 Embedded Firmware Architecture for Real-Time Wireless EDA Acquisition

Juan David Romero-Ante, Hugo Fernando Posada-Quintero, Boluwatife E. Faremi, Amir Mohammad Karimi Forood, Luke Beardslee, Miguel Ángel de la Casa-Lillo
preprint en

Abstract

Electrodermal activity (EDA) is widely used in wearable assessment of stress, cognitive load, affective state, sleep, pain, and seizure-related physiology, yet most EDA hardware studies emphasize the analog front end while treating the embedded acquisition pipeline as a black box. This paper presents a register-level ARM Cortex-M4 firmware architecture for real-time wireless EDA acquisition on an STM32F401RE, replacing abstraction-layer firmware with direct memory-mapped peripheral control to enable deterministic timing and reproducible evaluation of the digital path from sampling to transmission. A physiological EDA recording was replayed as a calibrated arbitrary waveform reference and acquired under thirteen firmware configurations, varying seven parameters spanning sampling rate, ADC sampling time and resolution, trigger source, transmission mode, baud rate, and system clock. Signal fidelity was assessed across global, tonic, and phasic components, and stream integrity via packet loss, transmission shortfall, sample completeness, and loss concentration. The tonic component stayed robust across all configurations (R² ≥ 0.979), whereas phasic fidelity was most sensitive to parameter choice (phasic R² falling to 0.605). Integrity failures were rare but distinct. These results show that modest MCU conditions suffice for faithful EDA acquisition, letting the framework select sufficient rather than excessive configurations.

Preprints.org
Embedded Systems and FPGA Design
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon