Month: December 2019

DMA driver for WS2812-compatible LEDs

A few years ago I discussed WS2812-compatible (ws2812, sk6812, pd9823, …) LEDs https://andre.blaatschaap.be/2017/03/led-there-be-light-part-1/ https://andre.blaatschaap.be/2017/07/led-there-be-light-part-2/ https://andre.blaatschaap.be/2017/07/led-there-be-light-part-3/ https://andre.blaatschaap.be/2017/07/led-there-be-light-part-4/ Back in the days, I’ve discussed a few code snippets, but I’ve never came around on releasing the firmware I’ve wrote back in the days. Now I’ve uploaded the old code from back in those days to https://github.com/BlaatSchaapArchive/LEDcontroller. This…


High Level USB Device Library

Hello there! I’ve been working on a High Level USB Device Library. The reason for this is kinda related to the series of posts about the STM32F103 clones I’ve published. The thing is, the STM32Cube* HAL is BSD licensed, but the USB Middleware is SLA044. This means, the HAL can be used on any clone…


32F103 Comparison (part 2)

Welcome back to my 32F103 Comparison. Let’s recap. The STM32F103C8T6 is a popular microcontroller by STMicroelectronics. Various Chinese manufacturers are producing parts in the same naming scheme, eg. APM32F103C8T6, BLM32F103C8T6, CS32F103C8T6, GD32F103C8T6 and MM32F103C8T6. What does this mean? There are parts, such as the famous 555 timer, you can get from many manufacturers and you…


32F103 Comparison (part 1)

A few years ago, several blogs posted about the Gigadevice GD32F103. A drop-in replacement for the STM32F103 from China. GigaDevice is still around, and their parts are available at LCSC, a Chinese distributor, as well as some European distributors like TME. In an earlier posts I’ve mentioned the STM32F103 and the GD32F103, and how I…