Audio Output with the STM32F411 Microcontroller

I obtained an STM32F411 development board recently. Among other peripherals, it has a Cirrus CS43L22 audio DAC on the board and a typical 1/8" adapter allowing you to plug in headphones or typical PC speakers as shown below.

STM32F411 Connected to Speakers

Searching the web, I found a couple of code examples using audio with the…

Date: October 18th, 2017 at 7:04pm
Author: Terence Darwen
Tags: Embedded, STM32, STM32F4, ARM-Cortex-M4, CS43L22, Audio

My ARM Cortex-M4F Synthesizer (Video Included)

Here's the current status of my ARM Cortex-M4F Synthesizer. Using a Tiva LaunchPad (ARM Cortex-M4F) development board and some various circuitry for MIDI input and audio output I've created a fully functioning synthesizer as shown in the video demonstration below.


The code is written in C…
Date: July 9th, 2017 at 4:59pm
Author: Terence Darwen
Tags: Embedded, Tiva LaunchPad, TM4C123G, ARM-Cortex-M4, Synthesizer, Synth

Tiva LaunchPad (ARM Cortex-M4) LCD Menu System - Video Included

I've interfaced my Tiva LaunchPad (ARM Cortex-M4) development board with a small LCD screen as shown in the video below. The LCD screen is a Newhaven display, model number NHD-0420H1Z-FL-GBW-33V3.


Below is a circuit diagram I've drawn to show how everything is setup. It's fairly simple as…

Date: June 18th, 2017 at 8:12pm
Author: Terence Darwen
Tags: Embedded, Tiva LaunchPad, TM4C123G, ARM-Cortex-M4, LCD, Menu System

Using μDMA with the Tiva LaunchPad (ARM Cortex-M4) for Audio Output

I've figured out how to use DMA (direct memory access) on the Tiva LaunchPad (ARM Cortex-M4) microcontroller when using peripherals like an audio output DAC (digital to analog converter).

Tiva Launchpad, Logic Analyzer and DAC Annotated

The DMA controller on the Texas Instruments Tiva LaunchPad is known as "micro-DMA" and is abbreviated as "μDMA…

Date: May 22nd, 2017 at 7:02pm
Author: Terence Darwen
Tags: Embedded, Tiva LaunchPad, TM4C123G, ARM-Cortex-M4, 16 Bit DAC, DMA, micro-DMA

Interfacing a MIDI Keyboard with a Tiva LaunchPad (ARM Cortex-M4 Processor)

I've managed to interface a typical MIDI keyboard controller (an M-Audio Oxygen 61) with my Texas Instruments Tiva LaunchPad (ARM Cortex-M4) development board as shown below.

MIDI Keyboard, Tiva LaunchPad and Circuit

By doing some Googling I found out that the MIDI protocol is a typical UART connection running at a baud rate of 31,250. Th…

Date: April 26th, 2017 at 4:24pm
Author: Terence Darwen
Tags: Embedded, Tiva LaunchPad, TM4C123G, ARM Cortex-M4, Synth Project, MIDI Keyboard