| KNOWLEDGE BASE

A rich source of expert knowledge

Learn from experts in the world of embedded systems

USE DISCOUNT CODE
LEARN30
TO SAVE $30 USD

How To Write A Driver (Audio CODEC & I2C) - Phil's Lab #142

Audio CODEC basics and configuration via I2C in C using an STM32 microcontroller.
Chapters:
  • 00:00Intro & Hardware Overview
  • 03:17IntrodI2S Signalsction
  • 05:47Master/Slave Mode
  • 06:34Clock Ratios
  • 06:55CODEC Config Basics
  • 08:56Hardware Connections
  • 09:24Typical Config Steps
  • 11:53Datasheet Walkthrough
  • 16:34MCU I2S/I2C Config
  • 17:23Driver Header
  • 19:07Driver Source (Reset, Register Read/Write)
  • 19:59Driver Source (Power Settings, Device ID)
  • 24:02Driver Source (CODEC Config)
  • 29:21Outro