tinyUSB CDC UART interface

In this article I will cover how to program a STM32f103C6 (https://www.st.com/en/microcontrollers-microprocessors/stm32f103c6.html) Bluepill board for use as a USB to serial port (UART) interface. The USB terminology for this kind of device is a communications device class (or USB CDC) device. These kind of interfaces have a lot of use cases, and by having native USB support in the microcontroller we can create multiple such interfaces, and even mix them with other things such as audio and have everything over a single USB cable. ...

September 27, 2025 · Eirik Haustveit

Transformer core hysteresis measurement

Transformers and inductors often require some form of magnetic material to improve inductance or coupling between windings.

June 8, 2025 · Eirik Haustveit

My first post from org-mode

This is my first test of posting from Org-mode. It is likely that I will continue to write most of my content from here, as I tend to prefer Org-mode over Markdown.

June 7, 2025 · Eirik Haustveit