You'll realize that hooking a WM8580 chip on a STM32 F411RE chip can do the exact same. two or three three MikroE Audio Codec Proto boards, one eBay sure-hifi WM8804 S/PDIF TOSLINK to IIS Converter Especially when using STMCube32MX as the STM 32F411RE chip configurator.Īt the end of the day, after succeeding in connecting a ST Nucleo 411RE on : Especially when using off-the-shelf boards like the ST Nucleo 411RE, MikroE Audio Codec Proto, and eBay sure-hifi WM8804 S/PDIF TOSLINK to IIS Converter. I guess such scheme is the most simple, effective, and affordable open-source DSP XO. The STM32 F411RE chip and all WM8731 chips will inherently follow the incoming sample rate. Can a WM8804 deliver a high quality MCLK, to be used as MCLK for the STM32 F411RE chip (I2S_CKIN input pin) and to be used as MCLK for all WM8731 chips (MCLK input pins) ? Yes, and this is the WM8804 MCLK pin 16, outputting the PLL-recovered audio master clock at 256 x Fs. What if the STM32 F411RE chip is grabbing 48 kHz digital audio from a WM8804 used as S/PDIF to I2S converter ? In such case the WM8804 needs to act as digital audio reference clock, following the incoming sample rate. This way you can safely connect more than one MikroE Audio Codec Proto board on a STM32 F411RE chip, using a single high quality 12.288 MHz oscillator. ![]() A more effective way is to have the high quality 12.288 MHz oscillator, also feeding the WM8731 MCLK (input) pin. You could hook a quartz on the WM8731 XTO and XTI pins. Now comes the question of the WM8731 MCLK. The STM32 F411RE I2Sx_CK (output) pin needs to be connected to the WM8731 BCLK (input) pin. The STM32 I2Sx_WS (output) pin needs to be connected, both to the ADCLRC (input) pin and DACLRC (input) pin of the WM8731. For maximizing the audio quality, you will hook a high quality 12.288 MHz oscillator feeding the STM32 F411RE I2S_CKIN (input). Consequently, if there is a lot of jitter on the I2Sx_WS pin of the STM32 F411RE chip, the audio quality may degrade. Doing so, the I2Sx_WS pin of the STM32 F411RE chip is an output. Let's see what's happening when we define the STM32 F411RE I2S as Full-Duplex Master. ![]() This is indeed I2S, thus not SPI, provided the ADC and the DAC are operating at the same rate. Obviously, MikroE has renamed all WM8731 digital audio interface pins. ![]() This is the schematic of the MikroE board. Click to expand.Please read the MikroE Audio Codec Proto Manual, figure 2.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |