Opublikowano przez Mateusz Salamon, temu

Reading a Button on STM32 | STM32 Using Registers #4

Reading a Button on STM32 | STM32 on Registers #4 A button is one of the simplest communication interfaces between a microcontroller and a human. It’s an input interface, so it takes information from us. How to read a button on STM32? That’s exactly what I’ll show you today. Of Read more

Opublikowano przez Mateusz Salamon, temu

My NEW course: STM32 on Registers

My NEW course: STM32 on Registers Straight to the point: the long-awaited course on programming STM32 on registers is finally coming! Oh, how often many of my readers and course participants themselves have asked about it 😅 After months of work, I’m ready to announce its launch. When? The first Read more

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

Interrupts not working on STM32G0? What is VTOR? (HAL bug)

I haven’t had much experience with the STM32G0 family yet, but my course participants have. Recently, we were solving together a problem with interrupts not working on the STM32G031J6M6 known from the STM32G0316-DISCO board. It was an interesting problem, so I decided to share it more broadly. Handling interrupts via Read more

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

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 Opublikowano przez Mateusz Salamon, temu Opublikowano przez Mateusz Salamon, temu

You can have a heart attack copying projects in STM32CubeIDE!

Many beginners, when they want to introduce some test changes in their project, don’t always use Git. Sometimes there’s also a real need to clone a project in order to develop it completely separately. First thought? Copy-Paste. It’s not a bad solution, but when using CubeIDE we’ll discover that there’s quite a big problem with it.

(more…)