Community
cancel
Showing results for 
Search instead for 
Did you mean: 
BH1
New Contributor I
1,499 Views

Galileo Gen 2 i2c audio

Hi,

I want to interface with the i2c using a Codec like the Texas Instruments TLV320AIC23B-Q1 (http://www.mouser.com/ds/2/405/tlv320aic23b-q1-446872.pdf http://www.mouser.com/ds/2/405/tlv320aic23b-q1-446872.pdf)

 

Will the i2c be able to handle CD quality audio (44.1Khz, 16 bit) data rates?

The GPIO is quite slow (capped at 230Hz, I think) but since the Codec will be handling the ADC/DAC, the i2c should be able to run faster since it's not using(bypassing?) the onboard ADC?

 

Or could I use IO2 or IO3 which can run faster?

Before anyone suggest it, I'd rather not use the USB for audio.

I'm new to Galileo so any advice for audio I/O is appreciated.

3 Replies
BH1
New Contributor I
68 Views

Also as a further piece of information, I plan on using this in musical context, so buffering must be kept to an absolute minimum to avoid delays in the signal.

idata
Community Manager
68 Views

Hi Bart_H,

 

 

Do you still need help with this thread, were you able to use the codec you mentioned?

 

 

Sergio

 

idata
Community Manager
68 Views

Hi,

 

 

Looking at the datasheet you linked, that codec doesn't support I2C, only I2S. This codec, however, supports SPI.

 

 

If you still want to continue to use I2C you might want to check /message/343414# 343414 https://communities.intel.com/message/343414# 343414 . This thread discusses the I2C performance of the Galileo.

 

 

Sergio

 

Reply