16/04/2026
๐๐ง๐จ๐ญ๐ก๐๐ซ ๐๐๐๐๐๐๐๐๐ง ๐๐ซ๐จ๐ฉ ๐๐จ๐ซ ๐ญ๐จ๐๐๐ฒ! ๐๐ก๐๐๐ค ๐จ๐ฎ๐ญ ๐จ๐ฎ๐ซ ๐ฅ๐๐ญ๐๐ฌ๐ญ ๐๐ง๐ญ๐ซ๐ฒ ๐๐๐ฅ๐จ๐ฐ. ๐
๐ฆ๐ง๐ ๐ฏ๐ฎ ๐๐. ๐ฃ๐๐๐ฏ๐ฎ
The STM32 and PIC32 are two microcontroller families that have been used previously in laboratory projects in the UP Electrical and Electronics Engineering Institute (EEEI). The STM32 is developed by STMicroelectronics, while the PIC32 is developed by Microchip Technology. Both of them are 32-bit based, however some of their hardware and software components vary from each other.
The STM32 purely uses the ARM Cortex-M CPU, which is optimized for low-cost and energy efficient integrated circuits. The ARM Cortex-M is also widely used in many other microcontrollers, making familiarity with its architecture not much of an issue. The PIC32 on the other hand uses two different CPUs with earlier models using the MIPS32 architecture CPUs and latter models (PIC32CM) uses the ARM Cortex-M0+, also being used by some members of the STM32 family.
In terms of peripherals, both have the standard set of peripherals of a typical microcontroller (GPIO, Interrupts, Timers, PWM, UART Protocol, I2C Protocol, SPI Protocol, ADC Converters, and many others). The two families mostly differ in terms of how the peripherals are implemented. The PIC32 has a more flexible layout of pins in which certain peripherals can be configured compared to the STM32, which can be helpful in designing circuits when space is more limited.
On the software side, these two families are primarily programmed in C and C++, but the STM32 utilizes STMicroelectronics' hardware abstraction layers and benefits from massive third-party and open-source community support. In contrast, the PIC32 relies heavily on Microchipโs proprietary MPLAB X IDE and Harmony framework. The STM32 uses the ARM Thumb-2 Instruction Set Architecture (ISA), which optimizes memory footprint by blending 16-bit and 32-bit instructions. Meanwhile, traditional PIC32 models use the MIPS32 RISC architecture.
When it comes to preferred usage, the STM32 is highly favored for general consumer electronics and rapid prototyping due to its open-source nature. The PIC32 on the other hand is more favored towards industrial and specialized applications, since MPLAB X IDE provides a good framework for long-term usage.
More detailed information can be found on their respective websites.
STM32 Family:
https://www.st.com/en/microcontrollers-microprocessors/stm32-32-bit-arm-cortex-mcus.html
MIPS-Based PIC32:
https://www.microchip.com/en-us/products/microcontrollers/32-bit-mcus/pic32m
ARM-Based PIC32:
https://www.microchip.com/en-us/products/microcontrollers/32-bit-mcus/pic32-sam/pic32cm-mc
Content by: Zahra Karachiwala & Joachim Hizon