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. PCBs by PCBWay
[SUPPORT]
Hardware design courses:
Course content:
Patreon:
[GIT]
[SOCIAL]
[LINKS]
STM32 I2S Video:
CS4270 Datasheet:
Linux CS4270 Driver:
DSP Playlist:
[TIMESTAMPS]
00:00 Intro & Hardware Overview
02:46 PCBWay
03:17 I2S Signals
05:47 Master/Slave Mode
06:34 Clock Ratios
06:55 CODEC Config Basics
08:56 Hardware Connections
09:24 Typical Config Steps
11:53 Datasheet Walkthrough
16:34 MCU I2S/I2C Config
17:23 Driver Header
19:07 Driver Source (Reset, Register Read/Write)
19:59 Driver Source (Power Settings, Device ID)
24:02 Driver Source (CODEC Config)
29:21 Outro