Author: tilz0R

STM32 tutorial: Efficiently receive UART data using DMA 0

STM32 tutorial: Efficiently receive UART data using DMA

U(S)ART peripheral can work very good by using RXNE (Receive Not Empty) for each byte separatelly. In this case, every received byte is manipulated by CPU by jumping to appropriate UART interrupt service routine. To allow CPU to do fully other job when we receive UART data at high speed we can use DMA (Direct Memory Access) to offload CPU. We can think of DMA as co-processor who can only transfer data between different memories, in our case between peripheral data register UART...

0 14

EasyGUI preview on STM32F7-Discovery

Last 2 months I was working hard to build a platform independent graphical user interface library for embedded systems. I called it EasyGUI because idea behind is very simple library with support for custom user based widgets with touch and keyboard support. So far I built these features: Unlimited widgets (limited to RAM memory) Support for widgets which support children widgets (windows, panels, etc) Support for touch and keyboard events Support for UTF-8 encode and decode functions Support for custom...

New tutorials from user Slemi 0

New tutorials from user Slemi

User Slemi posted 2 tutorials on how to install SW4STM32 and how to install STM32CubeMX. Installing STM32CubeMX Installing System Workbench for STM32 SW4STM32 They are mainly written for total beginners and are step-by-step guide how to install. If you have troubles with installation, check above links.

Tutorial – Jump to system memory from software on STM32 1

Tutorial – Jump to system memory from software on STM32

One of you are already familiar with STM32 feature of embedded bootloader for software download to flash. This memory is called system memory and is normally accessible with BOOT configuration (either pin hardware or option bytes (later OB) in flash software). Normally, if you want to jump to system memory, you have to setup pin/OB and reset device. If you have OB setup, this is ok, but since you need at least one BOOT pin in hardware, this can lead to hardware...

SW4STM32 logo 10

Tutorial – How to use TM libraries with System Workbench for STM32

This tutorial will go step-by-step how to use my (TM) libraries with free SW4STM32 (System Workbech for STM32). This IDE is based on eclipse and it uses GCC compiler. Tutorial coverage Project template creation with STM32CubeMX software with correct clock setup, How to manually enable HAL modules from STM32Cube package How to add TM libraries to project and successfully compile it. First things first To avoid any misunderstanding and later troubles, please read this post how my HAL libraries are...

New libraries: ESP8266 AT, GSM AT and GPS NMEA parsers 16

New libraries: ESP8266 AT, GSM AT and GPS NMEA parsers

In the past few weeks, I was working on 3 new generic libraries, specially intended for embedded systems. Libraries are: ESP8266 AT parser version 2 GSM AT parser for SIMcom modules (SIM800, SIM900, etc) GPS NMEA parser for parsing NMEA statements from GPS output Each library is written in a way where user must prepare additional coding to support arhitecture where it is used. They are written in ANSII C and will work on any compiler which is in ANSII...