STM32F4 Discovery

Getting started with STM32 step-by-step 0

Getting started with STM32 step-by-step

STMicroelectronics recently launched STM32 step-by-step learning program to educate and speed-up learning curve. It is ready for beginners and everyone interested to learn STM32 ARM-Cortex-M based microcontrollers together with its ecosystem around microcontroller itself. From beginner to pro in 5 steps Step 1: Pre-requisites: In this part, user must install all required software tools and make sure it has board for further development Step 2: LED blinking using STM32CubeMx and NUCLEO-L476RG development board Step 3: UART interface on NUCLEO-L476RG and L475 IoT...

C style and coding rules 0

C code style and coding rules

I’ve been trying to make my own C code style and coding rules approach, to be used in all my libs. From my first coding experience till today, I changed style many times, from first STM32F4 Library to latest projects, such as ESP_AT_Lib, onewire_uart and others.   Code style rules are published and regularly updated on my Github account, under c_code_style repository name. Please use URL below to access website: https://github.com/MaJerle/c_code_style It was originally inspired by LwIP coding style with some modification....

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,...

1-Wire over UART 0

1-Wire over UART

Today’s application mostly use somekind of operating system on microcontroller. Since these apps are not really real time anymore, keeping standard 1-Wire protocol developed with delays in software may make programmer’s life much harder and annoying. UART and 1-Wire protocols have 2 things in common: To reset 1-Wire network, we can use 9600 bauds on UART To read/write 1-Wire bit, we can use 115200 bauds on UART Detailed timings for the UART reset sequence, write/read bit can be found on...

ST acquries Atollic 0

ST acquired Atollic to enrich STM32 ecosystem

STMicroelectronics has acquired Atollic few days ago to enrich STM32 portfolio and ecosystem support for customers. Atollic is known by its very professional toosl for ARM based devices. It features free TrueSTUDIO Eclipse based IDE with GCC compiler and packet together with many great features developed by Atollic such as HardFault exception debugging tool, RTOS thread debugging and many other. This acquisition means that TrueSTUDIO will be now part of STM32Cube ecosystem and will be available for free for STM32...

ST released STM32L4+ family 0

ST released STM32L4+ family

Recently, STMicroelectronics released a new low-power family, STM32L4+, with extended performance (120MHz frequency) and up to 2MB dual bank flash memory and 640kB of RAM memory. Together with graphics support, it makes it the best ultra low-power device on the market for smart watches and other long life-high performance projects. Benchmark result is 150DMIPS or 409 coremarks in ULPbench test by EEMBC. STM32L4+ portfolio STM32L4+ family consists of 3 main derivarions each with optional encryption. You can find 3 different lines,...