@inproceedings{StolzZiemann2023, author = {Stolz, Christopher and Ziemann, Olaf}, title = {Implementation and Optimization of a BCH Decoder on a STM32H743ZI Microcontroller}, series = {Applied Research Conference 2023 Proceedings}, volume = {2023}, booktitle = {Applied Research Conference 2023 Proceedings}, editor = {Vaculin, Ondrej}, publisher = {Technische Hochschule Ingolstadt}, address = {Ingolstadt}, pages = {54 - 59}, year = {2023}, abstract = {This paper presents the development and optimization of a software Bose-Chaudhuri-Hocquenghem (BCH) decoder for an Ethernet to step-index polymer optical fiber (SI-POF) media converter with forward error correction (FEC) for sensor data. The background of this paper encompasses the increasing demand for reliable and efficient data communication for sensor data. The proposed algorithm focuses on decoding BCH messages with different block lengths, targeting error correction capability against t = 1, 2, and 3 errors. The software decoder was implemented and tested on a highperformance STM32H743ZI microcontroller, equipped with an ARM Cortex-M7 processor operating at 480 MHz. The algorithm underwent optimization to ensure efficient execution on the microcontroller's limited resources, while maintaining the desired error correction performance. Experimental results demonstrate that the optimized BCH decoder achieved remarkable decoding speeds, allowing data rates of up to 245 Mbps for a BCH(255, 247, 1) code. The achieved speeds make the proposed decoder suitable for real time 10/100 Mbps Ethernet traffic, enabling reliable and accurate transmission of sensor data.}, language = {en} }