Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

STM32 Tutorial #55 – Sine Wave on I2S w. DMA (Dual Sine Wave)

2K views on YouTube

In this Getting Started Tutorial video we are going to dive into generating an audio I2S stream. We will be creating dual SINE waves (Left/Right) at 96 kHz sample rate.

STM32World Tutorial #15 – Sine Wave on DAC w. DMA: https://www.youtube.com/watch?v=0N4ECamZw2k
STM32World Tutorial #30 – Dual DAC Sine Wave: https://www.youtube.com/watch?v=i9j63SeN1H8
STM32World Tutorial #26 – I2C Library

#STM32 #Tutorial #GettingStarted #STM32CubeIDE #STM32CubeMX #I2S #DMA #STM32World

00:00 Intro/Recap
02:00 What is a Sine wave – expressing as angular velocity
03:18 The STM32F407G-DISC1 board and it’s audio DAC
04:25 The CS43L22 DAC and the Schematics
05:50 The CS43L22 Datasheet
07:05 The STM32CubeMX setup
12:07 Explaining the code – the CS43L22 I2C library first
15:00 The main code
17:30 Explaining the double buffering dma transfers
20:00 The Sine calculation explained
23:30 Running the code
26:20 Recap and goodbye