Leo's Blog

This is my blog. You will find my various geeky posts here.

SPI OLED Display for STM32

be sure to read the important note!

After a while of it not working, I managed to get the Adafruit SPI OLED display to work, controlled by a STM32 microcontroller.

SPI is another bus interface that microcontrollers use to talk to peripherals. It is like I2C, but it...

Continue reading...

I2C Demo for STM32 (LED matrix array)

I2C or Inter-integrated circuit is a communications protocol for microcontrollers to speak to other microcontrollers or intelligent chips that can respond to and act on commands.

Devices on the I2C bus have an address, predetermined by the manufacturer, bu...

Continue reading...

STM32 in Linux tips

This is a quick guide to doing STM32 development in Linux, in my case Fedora 30.

First you need to download OpenSTM32 System Workbench and optionally but highly recommended, STM32CubeMX from ST (Google).

Importantly, you need to install stlink package on your Linux distri...

Continue reading...

Adventures into STM32

I've decided to learn how to use STM32 microprocessors for future use in my embedded applications.

Why?

  • Low cost - you can get boards for a few dollars each
  • Great intelligent development tools that are cross platform (Windows/Mac/Linux)
  • More powerful and less limited...

Continue reading...