STM32 Discovery Board

PDO – Personal Digital Oscilloscope

PDO Series oscilloscopes, the function of the digital oscilloscope using the advantages of the PC are designed with the aim to offer reasonable costs. It is capable of meeting the expectations of the designer with many features. PDO – Personal Digital Oscilloscope is available in two models; PDO-50 and PDO-100.                     Options: …

Read More »

Programming STM32 USART using GCC tools: Part 2

In previous part of tutorial we have covered simple USART routines that sends data directly to USART peripheral. This is OK to use such approach when project isn’t time critical and processing resources are far from limits. But most often we stuck with these limiting factors especially when RTOS is used or when we perform critical real time data processing. And having …

Read More »

Programming STM32 USART using GCC tools: Part 1

When we need some feedback from microcontroller usually we use USART. It allows to output messages, debug information to terminal screen. Also data can be sent to MCU same way. For this purpose STM32 microcontrollers have more than one USART interface allowing to have multiple streams of data output and input.   USART interface is designed to be very versatile …

Read More »

STM32 interrupts and programming with GCC

Probably one of the key features in any microcontroller is interrupt system. ARM Cortex-M3 microcontrollers may have up to 256 interrupts sources. First 15 interrupt sources are called system exceptions. These exceptions rise within Cortex core like reset, NMI, hard fault and error, debug and SystTick timer interrupt. In the exception table they start from address 0×00000004 and are numbered …

Read More »

ST32VLDiscovery project template for GCC

In this tutorial we will set up a simple template for progamming ST32 -Discovery baord. For this we are going to use latest Code Sourcery and Eclipse IDE. To make things simpler we are going to use ARM-based 32-bit MCU STM32F10x Standard Peripheral Library v3.5.0 that can be downloaded from ST site. Also we are going to use STM32VLDiscovery firmware package for example files. …

Read More »

Programming STM32-Discovery using GNU tools: Startup code

Start up code is run just after microcontroller is reset and is executed before main program. As linker script, startup code usually is implemented as universal code for all same microcontroller type. So usually you don’t need to write one from scratch. Anyway it is good to know what happens there anyway. As we said linker script has to go …

Read More »

Programming STM32-Discovery using GNU tools: Linker script

How to setting up a development environment for ARM Cortex-M3 microcontroller explained at this post. We decided that two equal choices will do same job – either CodeSourcery G++ Lite or Yagarto. Both use same base of GNU tool-set. Developing with GCC tools In order to get a working binary, there is a series tools involved during code development. Several …

Read More »

STM32 Discovery Development Board

The STM32 Discovery (STM32VLDISCOVERY) board is a low cost demo board featuring a STM32F100RBT6B system on a chip MCU from ST’s value line and comes with an intergrated STLink usb programmer. These boards are very low cost and can be had for about £8 in the UK. The STM32 Discovery board has most of the STM32F100RBT6B 64 pins exposed on DIL …

Read More »