Hardware‐Accurate Simulation and Performance Analysis of Free Space Optical Communication Systems
Amirreza Esmaeilzadeh, Mohammad Ali AmirabadiABSTRACT
This paper presents a system‐level performance evaluation of a 10 Mbps free‐space optical (FSO) communication link using a novel dual‐testbed methodology. By combining hardware‐accurate profiling in Keil Vision for the STM32H755ZI (ARM Cortex‐M7) and NXP LPC1768 (ARM Cortex‐M3) microcontrollers with physical layer simulations in Proteus, we successfully isolate embedded processing constraints from optical channel impairments. Our software optimisations, including the use of atomic bit‐set registers and loop unrolling, pushed the internal GPIO toggle rate to 95.58 MHz on the STM32H755ZI and 19.91 MHz on the NXP LPC1768, demonstrating that the core processing capability far exceeds the data rate requirements. Comparative profiling reveals critical cross‐platform microarchitectural bottlenecks: Sub‐word data type alignment (