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
- Juan David Romero-Ante (ORCID: https://orcid.org/0000-0002-0893-4647)
- Hugo Fernando Posada-Quintero (ORCID: https://orcid.org/0000-0003-4514-4772)
- Boluwatife E. Faremi (ORCID: https://orcid.org/0000-0002-5647-9300)
- Amir Mohammad Karimi Forood (ORCID: https://orcid.org/0009-0006-4489-5960)
- Luke Beardslee
- Miguel Ángel de la Casa-Lillo
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