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…
Day: October 10, 2026
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….
