An I2S USB microphone using an INMP441 and STM32 @ Andy’s Workshop Project files are available on Github. Check out the video after the break.
Tag Archives: STM32
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 […]
A development board for an STM32G081 MCU
Andy Brown designed and built an STM32G081 development board: I’ve been an avid user of ST’s F0 series ever since it was launched. The 48MHz Cortex M0 is almost always the perfect MCU for every project that I tend to build and it’s so easy to program and debug that, for me, it’s the default […]
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 […]
Building a USB bootloader for an STM32
Kevin Cuzner writes: As my final installment for the posts about my LED Wristwatch project I wanted to write about the self-programming bootloader I made for an STM32L052 and describe how it works. So far it has shown itself to be fairly robust and I haven’t had to get out my STLink to reprogram the watch […]
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 smdprutser.nl. Check out the video after the break.
STM32F103 vs GD32F103 round 3: UART
Here’s the part 3 of Sjaak’s post comparing the GD32 to the STM32: Since the GD32F103 can run as fast as 108MHz but has not a proper USB clock divider to provide a 48MHz clock for USB communication we need another way to communicate with the outside world. Since the early days of computing the easiest […]
STM32F103 vs GD32F103 round 2: Blink a LED
A follow-up to the STM32F103 vs GD32F103 round 1- Solderability post, Sjaak writes: The defacto ‘hello world’ for microcontrollers is blink a LED at a steady rate. This is exactly what I’m going to do today. I made a small 5×5 development board, soldered it up and started programming. In this first example we not […]
STM32F103 vs GD32F103 round 1: Solderability
Sjaak writes: I locked myself into the basement with a couple of PCBs, chips and fresh flux for a couple of days. For the STM32F103 vs GD32F103 challenge I needed to have two identical boards with a different microcontroller. As far as I could judge both chips are legit and not counterfeits as we bought […]
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 […]
Hacking the DPS5005
Johan Kanflo’s OpenDPS project, a free firmware replacement for the DPS5005: This write up of the OpenDPS project is divided into three parts. Part one (this one) covers reverse engineering the stock firmware and could be of interest for those looking at reverse engineering STM32 devices in general. Part two covers the design of OpenDPS, […]
BlackMagicProbe SMDprutser style
Sjaak has published a new build: When you get started on ARM microcontrollers things are very overwhelming at first… After coping with the first few hurdles like installing a toolchain and IDE, the next part should be getting a tool to program the chip. Many vendors have some kind of bootloader burned in the chip, […]
First GD32 tests
Sjaak has published a new build, the STM32/GD32F103 QFN32 breakout board: Uptill now I used 0603 sized resistors and capacitors but for this project I switched to 0402 to save a few mm on the board. I have soldered many challenging chip packages so I felt confident. The technique is the same as for bigger […]
Walking the 32bit path to a blinky LED
Sjaak writes: The battle isn’t AVR Atmega vs Microchip PIC anymore.. More and more people are moving to ARM chips. As easy as it sounds but it isn’t. ARM is an company that invented the ARM chips, but doesn’t has a silicon fab, instead they license the design to several silicon manufacturer like ST, NXP, […]
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. […]
