docs:blox:examples-audio-i2s

This is an old revision of the document!


6.4.7 Audio: I2S

BLOX can be used to to play audio in more complicated projects via an external I2S Audio decoder module


6.4.7.1 Jumpers on the PCM5102a Module

Use a soldering iron to close the relevant solder jumpers on your module:

NameDescriptionSetting
SCKJumper to connect SCK to GNDCLOSED
HNameDescriptionLOWHIGHJumper must be set to
H1LFLTFilter SelectNormal Latency Low LatencyL
H2LDEMPDe-emphasus controlOFF ONL
H3LXMSTSoft Mute ControlMutedUnmuted H
H4LFMTAudio Format SelectionI2S Left JustifiedL

6.4.7.2 Wiring PCM5102a Module

Note: You can use any of the available GPIO pins to connect the module. Just be sure to initialize the firmware with the correct assignments.


6.4.7.3 Initialize PCM5102a Module


6.4.7.4 I2S Audio: Play audio files from SD Card


6.4.7.5 I2S Audio: Play audio via stream URL


6.4.7.6 I2S Audio: Use text to speech


docs/blox/examples-audio-i2s.1724692177.txt.gz · Last modified: 2024/08/26 17:09 by admin