Top.Mail.Ru

STM32CubeMx. SPI and DMA usage example for STM32 MCU.

SPI and DMA

We continue to improve our STM32CubeMx course and today we’ll speak about the combined usage of SPI and DMA peripherals. Of course, we’ll also create an example for STM32 microcontrollers. To make our task more difficult I’ve decided to use four SPI modules and respectively four different DMA channels. So, let’s begin immediately! 🙂 Firstly, …

Продолжить чтение

STM32CubeMx. STM32 and ADC (Analog-to-digital converter).

ADC in STM32

Hi to all visitors of our site! Today I’d like to talk about the STM32 ADC peripheral module and it’s configuration via STM32CubeMx. Before speaking about the aspects of configuration the project, I’d like to say some words about the challenge of this article 🙂 Let’s toggle leds on the development board (STM32F4Discovery) depending on …

Продолжить чтение

STM32 timer and interrupts configuration with STM32CubeMx utility.

STM32 Timer

Hi to everyone! Today we’ll continue studying STM32CubeMx! The next stage is configuring STM32 timer parameters and using interrupts. Here are the previous posts: Getting started with STM32CubeMx. STM32CubeMx. General-purpose input/output (GPIO). Previous post has been devoted to GPIO configuration, we learned how to turn on/off LEDs with the help of STM32CubeMx. So, today we …

Продолжить чтение