App note: STM32 microcontroller system memory boot mode

Here’s an app note from ST discussing how the bootloader works and how it’s activated –the general concept of the bootloader (PDF!): The bootloader is stored in the internal boot ROM memory (system memory) of STM32 devices. It is programmed by ST during production. Its main task is to download the application program to the internal Flash memory through one […]

App note: STM32™ in-application programming over the I²C bus

Programming the STM32F10x via I2C with this app note from STMicroelectronics A key requirement for most Flash-memory-based systems is the ability to update firmware once the system is installed in the end product. This is referred to as in-application programming (IAP). This application note describes how to perform in-application programming using the STM32F10x’s I2C peripheral. […]

App note: STM32F10x in-application programming using the USART

Programming the STM32F10x via USART with this app note from STMicroelectronics The STM32F10x microcontroller can run user-specific firmware to perform in-application programming (IAP) of the microcontroller-embedded Flash memory. IAP driver must be program first to the Flash memory base address via JTAG/SWD interface using the development toolchain of your choice or the factory-embedded boot loader […]

App note: Solar-LED streetlight controller with 25 W LED lamp driver and 85 W battery charger based on the STM32F101Rx

A great app note from STMicroelectronics on Solar lighting application. The solar-LED streetlight controller described in this application note is designed to achieve an 85 W solar energy battery charger and a 25 W LED lamp driver. During the daytime the controller preserves the electricity energy gathered by the solar module (PV module), then stores […]

App note: STM32F0/F1/ F2/F4/L1/F30xC/Bx/F358xC/F37x timer overview

Get yourself familiar on STM32Fxxx Timer peripherals with this app note from STMicroelectronics This document: • presents an overview of the timer peripherals in the STM32F0, STM32F1, STM32F2, STM32F4 and STM32L1 microcontroller series, STM32F30xC/Bx, STM32F358xC, STM32F37x microcontrollers lines. • describes the various modes and specific features of the timers, such as clock sources, • explains […]

Open source STM32 vehicle tracker

X89300 shared his STM32 car tracker project, that is available at Github: Features: STM32 48/64 pins (F10X, F20X, F40X, L151) GSM Telit GL685/GL868 GPS/GLONASS SL868/SL869 Accelerometer MMA7455 CAN bus (need MCU with CAN support) 2 input, 1 output signal Standard SIM or SimOnChip Only for 48 pins version Side connector for extension pcb Only for 64 pins […]

App note: Measuring mains power consumption with the STM32x and STPM01

Power consumption measurement using an STM32 micro and the STPM01 power metering IC. App note can be found here This document describes a software and hardware solution concerning the STM32x microcontroller and the STPM01 power meter for measuring mains power consumption and also provides hardware and firmware guidelines to interface the STPM01 with the STM32x […]

App note: Audio and waveform generation using the DAC in STM32 microcontroller families

App note on utilizing the built-in DAC on your STM32 micro. This application note gives examples for generating audio output signals using the Digital to Analog Converter (DAC) peripheral embedded in the STM32F10xx microcontroller family. The STM32 DAC module is a 12-bit word converter, with two output channels for supporting stereo audio. The DAC can […]

Embedded Pi bridges R-Pi or STM32 with Arduino shields

The crew at Element 14 has announced the release of a combo R-Pi/STM32 interface board compatible with Arduino shields. The Embedded Pi is based on the STMicroelectronics STM32F103 MCU and is open-source (see Technical Documents for schematic, layout and BOM). It can operate as a bridge between Raspberry Pi and Arduino shields and in standalone […]

Xmas tree with sound-controlled LED animations

Sound controlled LED light show for your Xmas tree.  An STM32 microcontroller takes instructions from a PC via Bluetooth and animates the LEDs. This is my Christmas tree, it has over 400 lights (exactly 404) that are all individually controlled by an STM32 microcontroller. The computer plays the music and processes the sync track for […]

Tutorial: STM32 boards and TFT LCD touchscreens

Zizzle has completed a tutorial for working with the STM32 boards and the TFT LCD + touch screens that you see on Ebay. He reports, “I’ve made a download Ubuntu Virtualbox image with the toolchain, OpenOCD, Eclipse and an example project.” He notes that the Bus Blaster was very helpful in his research. The video […]

Dual-tone multi-frequency signal generator and detector

Robots wrote a open source Dual-Tone Multi-Frequency signal generator and detector for his STM32 based development board. The code is available via github. DTMF generator is based on AVR314 appnote, and the detector is my practice in signal processing using “Goertzel algorithm”. Everything is written for integer/fixedpoint arithmetics. (no floats at all)… Generator generates signal […]

Using Bus Blaster v2 to debug STM32s from CooCox

Arhi needed to do some debugging on an ET-STM32F103 board. He whipped out his Bus Blaster v2 and got it working with the CooCox  IDE, a free tool for working with ARM Cortex M0 and M3 32bit microcontrollers. To summarize, if you want to program Cortex M0 or Cortex M3 on windows CooCox works perfectly […]

Discovery kit for the STM32L EnergyLite 32-bit MCUs

The STM32L-DISCOVERY helps you to discover the STM32L ultralow power features and to develop and share your applications. It is based on an STM32L152RBT6 and includes an ST-Link/V2 embedded debugging tool interface, an LCD (24 segments, 4 commons), LEDs, pushbuttons, a linear touch sensor or touchkeys. You can download the product brief here. The Discovery […]

Processor quick start guides

Getting started with a new processor family is a minefield. Our new quick start guides for the PIC, LPC ARM, and STM32 ARM, are a collection of notes on these processor families. If you’re already familiar with one processor, these condensed guides can help you get started on a whole new platform without scouring the […]