Skip to content

VVatashi/Pico-I2S

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pico I2S

A simple implementation of the I²S (Inter-IC Sound) protocol for the Raspberry Pi Pico (RP2040).

Hardware

ADC

PCM1808 Module

PCM1808

Wiring

PCM1808 RPi Pico Notes
+5V VBUS
3.3 3V3
GND GND
SCK GPIO16
BCK GPIO17
LRC GPIO18
OUT GPIO19
FMY - Leave unconnected
MD0 - Leave unconnected
MD1 - Leave unconnected

Checked Configurations

RP2040 Frequency Sample Rate SCK multiplier I2S Frame Size (Single Channel) Notes
192 MHz 8 kHz 256 32
192 MHz 44.1 kHz 256 32 ❌ Unable to set a valid clock divider
192 MHz 48 kHz 256 32
192 MHz 96 kHz 256 32

PCM1802 Module

PCM1802

Solder Pads

Solder a bridge between the FMT0 pad and the + pad. On some faulty PCM1802 modules it should be directly connected to the 3.3V pin with a wire.

Wiring

PCM1802 RPi Pico Notes
+5V VBUS
3.3V - Leave unconnected. The module contains a built-in voltage regulator
GND GND
SCK GPIO16
BCK GPIO17
LRCK GPIO18
DOUT GPIO19
FSY 3V3 It can be connected either to the 3V3 pin on the RPi Pico or to the 3.3V pin on the module
POW 3V3 It can be connected either to the 3V3 pin on the RPi Pico or to the 3.3V pin on the module

Checked Configurations

RP2040 Frequency Sample Rate SCK multiplier I2S Frame Size (Single Channel) Notes
192 MHz 16 kHz 256 32
192 MHz 32 kHz 256 32
192 MHz 44.1 kHz 256 32 ❌ Unable to set a valid clock divider
192 MHz 48 kHz 256 32
192 MHz 64 kHz 256 32
192 MHz 88.2 kHz 256 32 ❌ Unable to set a valid clock divider
192 MHz 96 kHz 256 32

DAC

PCM5102A Module

PCM5102A

Solder Pads

H1L (FLT) - Low

H2L (DEMP) - Low

H3L (XSMT) - High

H4L (FMT) - Low

Wiring

PCM5102A RPi Pico
VIN VBUS
GND GND
SCK GND
BCK GPIO20
LRCK GPIO21
DIN GPIO22

Checked Configurations

RP2040 Frequency Sample Rate SCK multiplier I2S Frame Size (Single Channel) Notes
192 MHz 16 kHz - 32
192 MHz 48 kHz - 32

About

A simple implementation of the I²S protocol for the Raspberry Pi Pico

Topics

Resources

License

Stars

Watchers

Forks

Contributors