Opublikowano przez Mateusz Salamon, temu

How to Do Multiple Things at Once on a Microcontroller?

You’ve surely more than once on the Internet (and not only there) seen problems from people taking their first steps with microcontroller programming. One of such problems is that we can’t “do many things at once”. For example, wait for a measurement while at the same time blinking an LED Read more

Opublikowano przez Mateusz Salamon, temu

The Most Popular IDEs for STM32 in 2022

In 2019, I asked the community of the STM32 Polska group on Facebook which IDEs or other editors they use to write code for STM32. In 2019 we still didn’t have STM32CubeIDE, so that ranking is already outdated. Time to refresh the stats. I asked programmers again what they use. Read more

Opublikowano przez Mateusz Salamon, temu Opublikowano przez Mateusz Salamon, temu

New Family of Microcontrollers for IoT – STM32U5

This post is the beginning of a larger series of articles on my blog. Something that I had my eye on since the first information from ST Microelectronics came into my hands. We’ve got a new series of microcontrollers—and not just any! The STM32U5 microcontroller family The new family has Read more

Opublikowano przez Mateusz Salamon, temu

You MUST master these 6 elements of the C language!

Books about the C language describe everything that exists in this language. Literally every smallest detail. Do you need all of it? Of course not! I selected 6 basic elements that, in my opinion, you must learn in order to start writing in C with microcontrollers in mind. 1. Conditional Read more

Opublikowano przez Mateusz Salamon, temu

How is C for microcontrollers different from C for a PC?

You can often come across big banners, slogans, or even course and book titles: “C for AVR”, “C course for STM32”. This can give the impression that the C language is different for each microcontroller. Even more so for a computer, right? So let’s think about how C for microcontrollers Read more

Opublikowano przez Mateusz Salamon, temu

We got great UART IDLE interrupt handling in HAL!

The topic of UART combined with DMA keeps coming back like a boomerang. Especially receiving data on a microcontroller causes the most problems. Why? Because we don’t know how much data will arrive. That’s why receiving via DMA is a somewhat poor idea, because we have to specify in advance the amount of data being received. But not always…

(more…)
Opublikowano przez Mateusz Salamon, temu

First steps with TouchGFX on STM32 and a dedicated shield

Doing graphics on microcontrollers is always a huge challenge. Even more so if it’s supposed to look nice. For years we’ve known simple so‑called GFX libraries that let us draw bitmaps or various fonts. However, that’s not enough, because often our GUI still looks like it came from 1990s devices, Read more

Opublikowano przez Mateusz Salamon, temu Opublikowano przez Mateusz Salamon, temu