Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Does AIC32x4 support Mono channel I2S bus ?

$
0
0

I want to use AIC32x4 with mono mode ?  But I did not see any support on AIC32x4 datasheet. Does AIC32x4 support  Mono channel I2S bus ?

I use AIC32x4 with these configurations :

// ------------------------------------------------------------------------
// ------------------------------------------------------------------------ //
// Clock and Interface Settings
// ------------------------------------------------------------------------ //
// The codec receives: MCLK
// MCLK = 12.0 MHz, Sample Frequency = 16.0 kHz
// ------------------------------------------------------------------------ //

// Configure AIC32x4
// P / R / J / NADC / MADC / AOSR / ADCFS (khz)
// 1 / 1  / 8 /   6      /    8      / 128     / 16.0
// NDAC /  MDAC / DOSR / DACFS (khz)
// 6        /     8      / 128      / 16.0

// CODEC_CLKIN = PLL CLK
// CODEC_CLKIN = NADC * MADC * AOSR * ADCFS
// PLL_CLK = PLL_CLKIN * R * J.D / P
// PLL_CLKIN = MCLK
// ADCFS = 16.0KHz
// DACFS = 16.0KHz

// // reg[ 0][ 27] = 0x0D ; AIC32x4(Master) : mode is i2s, Master mode, wordlength is 16

AIC32x4_rset(0x1B, 0x0D ); // 27.register is set to 0D
// // reg[ 0][ 30] = 0xC0 ; For 32 bit clocks per frame in Master mode ONLY , BCLK=DAC_CLK/N =(16384.0/64) = 256.0 KHz = 16*fs , fs = 16.0kHz
AIC32x4_rset(0x1E, 0xC0); // 30.register is set to C0

// ------------------------------------------------------------------------


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>