L3GD20 gyroscope

STM32 and L3GD20. Three-axis digital output gyroscope.

Today I would like to talk with you about the L3GD20 digital gyroscope. We will discuss the main features of this sensor and create an example project for STM32 microcontroller. L3GD20 – is a small chip, produced by the STMicroelectronics. It can measure the three-axis angular rate and provide it through a digital interface –

Continue reading »

STM32CubeMx. SPI and DMA usage example for STM32 MCU.

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,

Continue reading »
STM32 and USB

STM32CubeMx and USB. Virtual COM Port with STM32 MCU.

My aim for today’s post is to show an example of Virtual COM Port USB mode. Some time ago we worked with the USB Mass Storage mode – please don’t miss this article 🙂 In previous posts devoted to the STM32CubeMx I’ve used the STM32F4Discovery board, so today I’ll use it again 🙂 It’s very

Continue reading »
ADC in STM32

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

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

Continue reading »
STM32 and FAT filesystem

STM32CubeMx. Connecting SD card to STM32 microcontroller.

Hello to all! Today we’ll try to connect SD-card to our STM32 microcontroller and to create a FAT filesystem on it. In order to test the filesystem we’ll create a new file and write some data to it. In previous posts I’ve used the STM32F4Discovery board, but today the development board with the STM32F10x MCU

Continue reading »

STM32CubeMx. Configuration and usage of STM32 USART interface.

Let’s continue with STM32CubeMx application and different MCU units. Today we’ll configure and use the STM32 USART interface! We’ll set ourselves the following task: to transmit data via USART2 unit and to receive this data with the help of the USART1 Thus, in case of receiving the correct amount of data we can see that

Continue reading »
STM32 Mass storage device

USB Mass Storage device with STM32 microcontroller and SD-card.

Within series of articles devoted to STM32CubeMx we start discussing different USB modes. And today we’ll realize USB Mass Storage Device class with SD-Card connected to the MCU. Thus, microcontroller STM32F10x acting as a card reader will be the result of this post 🙂 As I’ve mentioned at the beggining of the post, I’ll use

Continue reading »
STM32 Timer

STM32 timer and interrupts configuration with STM32CubeMx utility.

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

Continue reading »

Join us!

Profile Profile Profile Profile Profile


May 2020
« Apr    

© 2013-2020 MicroTechnics.ru