Investigating the performance of MicroPython and C on ESP32 and STM32 microcontrollers
Valeriu Manuel Ionescu, Florentina Magda Enescu
Abstract
Python is a programming language that is used both by entry level programmers and advanced researchers. MicroPython is a software implementation of Python that runs on microcontrollers. This paper will investigate the MicroPython execution performance compared to similar C native code on low cost microcontrollers: STM32 and ESP32. The comparison will target: memory allocation speed; SHA-256 and CRC-32 performance and will present conclusions regarding the encountered problems and ways to improve the application performance.
Topics & Concepts
MicrocontrollerComputer scienceSTM32Python (programming language)Operating systemEmbedded systemSoftwareProgramming languageTelecommunicationsChipComputational Physics and Python ApplicationsNumerical Methods and AlgorithmsParallel Computing and Optimization Techniques