Tagged: control

Tutorial: Control WS2812B leds with STM32 0

Tutorial: Control WS2812B leds with STM32

In this tutorial I will explain how to drive WS2812B with STM32 using TIM PWM and DMA peripherals in the most efficient way by using minimum amount of RAM, required to process all leds. There is a good explanation, already available on the web. If you have no experience with WS2812B leds, I strongly recommend you to read the blog post. It is very well written, but it has one major issue. It usesĀ 24 words of RAM for each LED,...

HAL library 01- RCC for STM32Fxxx 8

HAL library 01- RCC for STM32Fxxx

This is first description for libraries in HAL section for STM32F4 and F7 lines using HAL drivers provided from ST for each section. RCC (Reset and Clock Control) library is needed to set up clocks for running STM devices at high speed. It sets up PLL parameters provided from user and enables internal or external high speed clock. Library Read more about new HAL libraries Features Works on STM32F0xx, STM32F4xx and STM32F7xx series Enables HSE or HSI oscillator Sets PLL...