Using Direct Memory Access (DMA) in STM32 projects
In many microcontroller projects, you need to read and write data. It can read data from the periph[...]
Multichannel ADC using DMA on STM32
Previously we have tried to do a single conversion of one ADC channel. We were waiting for the ADC [...]
Use fixed integer types to enhance portability
If you have programmed anything with C, you should be familiar with common data types like char, un[...]
Introducing to STM32 ADC programming. Part2
After we had a quick overview of the STM32 ADC peripheral, we can dig deeper into specifics. To und[...]
Introducing to STM32 ADC programming. Part1
STM32 ADC is a pretty complex peripheral. It is designed to be flexible enough to accomplish comple[...]
Programming STM32 USART using GCC tools. Part 2
In the last part of the tutorial, we have covered simple USART routines that send data directly to [...]
Programming STM32 USART using GCC tools. Part 1
When we need some feedback from the microcontroller, usually we use USART. It allows to output mess[...]
STM32 interrupts and programming with GCC
Probably one of the key features of any microcontroller is the interrupt system. ARM Cortex-M3 micr[...]
Programming STM32F10x I/O port pins
Previously we learned how to compile STM32VL Discovery projects that were included in the package. [...]
ST32MVLDiscovery project template for GCC
In this tutorial, we will set up a simple template for programming ST32 -Discovery board. For this,[...]
Programming STM32-Discovery using GNU tools. Startup code
Startup code is executed just after microcontroller is reset before the main program. As linker scr[...]
Programming STM32-Discovery using GNU tools. Linker script
Previously we went through setting up a development environment for ARM Cortex-M3 microcontroller. [...]
Setting ARM GCC development environment
As we mentioned before, we are going to stick with free software tools. So we are going to use free[...]
Do we need ARM?
ARM microcontrollers are very successfully positioned microcontrollers in the market. Billions of t[...]