App note: Virtually increasing the number of serial communication peripherals in STM32 applications

App note from STMicroelectronics on possible alternate switching of channels to cater multiple communication routes. Link here (PDF) Application engineers often face the problem of limited number of serial communication peripherals of a microcontroller that, on the other hand fulfills all the other application requirements thanks to its features and performance. Sometimes they obviate by […]

App note: Interfacing an STM32L1xx microcontroller with an external I2S audio codec to play audio files

I2S protocol interfacing with an STM32 microcontroller app note from ST Microelectronics. Link here (PDF) The I2S protocol is widely used to transfer audio data from a microcontroller/DSP to an audio codec in order to play melodies (stored in a memory) or, to capture analog sound (from a microphone). The STM32L1xx allows I2S audio communication […]

PROTOTYPE: Bus Pirate “Ultra” v1b

Today we finished stuffing the first Bus Pirate “Ultra” v1b board. This includes the updates we posted this week, and a few other improvements from v1a: 8 general purpose IO pins 0.8-5.0volt programmable power supply Voltage measurement on all 8 IO pins Pull-up resistors on all pins, fed from Vout/Vref pin Display connector USB C […]

App note: Receiving S/PDIF audio stream with the STM32F4/F7/H7 series

App note from STMicroelectronics about electrically connecting an external S/PDIF stream to an STM32 with an S/PDIFRX interface peripheral, Link here (PDF) The Sony/Philips Digital Interface Format (S/PDIF) is a point-to-point protocol for serial and uni-directional transmission of digital audio through a single transmission line for consumer and professional applications. The transmission of data can […]

App note: Quad-SPI (QSPI) interface on STM32 microcontrollers

Extend memories by using external high speed memories interfaced to Quad-SPI modules on STM32 micros, app note from STMicroelectronics. Link here (PDF) This application note describes the Quad-SPI interface on the STM32 microcontrollers and explains how to use the module to configure, program, and read external Quad-SPI memories. It describes some typical use cases to […]

STM32F103 vs GD32F103 round 4: SPI master

Sjaak writes, “This is part 4 in the series where we compare the STM32F103 with its Chinese counterpart the GD32F103. Both are ARM Cortex M3 microcontrollers which are mostly pin, peripheral and register compatible. Now we compare the SPI master peripheral of both chips.” More details at Check out the video after the break. 

App note: Watt-hour meter based on the STM32F101 microcontroller

ARM Microcontroller based watt-hour meter implementation from STMicroelectronics. Link here (PDF) This document describes, in detail, the hardware and software implementation of a watthour meter using the STM32F101 microcontroller. This cost effective watt-hour meter uses shunt with an operational amplifier as a current sensor, an embedded 12-bit ADC for current and voltage measurement, GPIO for […]

SMA solar readout

Jean-Claude writes: This is the first post of a 3-part series about reading out an SMA solar inverter over Bluetooth and displaying some readings every few seconds. Long-time readers may remember the Solar at last weblog post from several years ago and the SMA Relay, based on a JeeNode v6. The Bluetooth readout code was derived […]

Therm RTD

Matthew Reed writes: Therm RTD is an addition to the Therm PID Controller family, with support for RTD temperature sensors. RTDs (or Resistance Temperature Detectors) use a coil of fine wire made from a material (usually platinum, copper or nickel) that has a very predictable temperature coefficient of resistance (or change in resistance as temperature changes). […]

A development board for the STM32F042 TSSOP package

Andy Brown designed a development board for the STM32F042 in the TSSOP20 package: Development board features USB. The 042 series supports USB and although 32Kb is not a lot of space to include a USB driver and your application logic it does make sense to hook up those USB data lines and thereby enable USB device development. […]