I recently decided to experiment with using Zephyr to build applications for my STM32 based EmbLynx board. I found the process of developing custom board files and getting developing USB CDC functionality very cumbersome; despite having some familiarity with device trees. I worked on a simple USB CDC project for 3-4 days straight. I did…
Month: October 2026
Through hole class D amplifier PCB design
In this blog entry, the design of an all through hole class D amplifier board based around the TPA3122D2 (or the pin compatible TPA3125D2) IC will be covered. The TPA3122D2 & the TPA3125D2 are the only through hole class D amplifier ICs that I’m aware of. The TPA3122D2 IC is a stereo 15W class D…
Redirecting printf to the serial port on the STM32 with Newlib-Nano
In this blog entry, standard printf redirection to the serial port on STM32 microcontrollers (STM32G474RE specifically) will be covered via the standard Newlib-nano. Whether you create an new STM32 project with Visual Studio Code (VSC) + STM32Cube plugin or the STM32CubeIDE, both project setups will automatically add newlib-nano and syscalls.c and sysmem.c to the project….
