cancel
Showing results for 
Search instead for 
Did you mean: 

DAC module for I2S ?

antonius
Senior
Posted on April 01, 2017 at 13:02

Hello Everyone,

Does anyone know a module for I2S DAC ?

Thanks

#stm32f1xxx #i2s #dac
1 REPLY 1
antonius
Senior
Posted on April 02, 2017 at 01:46

How can I interface this board to STM32 ?

https://www.aliexpress.com/item/Raspberry-Pi-pHAT-Sound-Card-I2S-interface-PCM5102-DAC-Module-24-bit-Audio-Board-With-Stereo/32764769829.html?spm=2114.13010308.0.0.ASyr6e

 

From datasheet for I2S, what's the relation with the board ?

The SPI could function as an audio I2S interface when the I2S capability is enabled (by

setting the I2SMOD bit in the SPI_I2SCFGR register). This interface uses almost the same

pins, flags and interrupts as the SPI.

The I2S shares three common pins with the SPI:

â—� SD: Serial Data (mapped on the MOSI pin) to transmit or receive the two timemultiplexed

data channels (in simplex mode only).

â—� WS: Word Select (mapped on the NSS pin) is the data control signal output in master

mode and input in slave mode.

â—� CK: Serial Clock (mapped on the SCK pin) is the serial clock output in master mode

and serial clock input in slave mode.

An additional pin could be used when a master clock output is needed for some external

audio devices:

â—� MCK: Master Clock (mapped separately) is used, when the I2S is configured in master

mode (and when the MCKOE bit in the SPI_I2SPR register is set), to output this

additional clock generated at a preconfigured frequency rate equal to 256 × FS, where

FS is the audio sampling frequency.