I2C Causing Pop in I2S Stream
Posted: Thu Feb 23, 2017 6:33 pm
Hello,
I am using the xCore-200 Multichanel Audio Platform to prototype my system. I2C is used for writing registers to control the ADC gain. It seems that whenever I do an i2c.write_reg command I get a "pop" in the audio stream. I verified this by commenting out these commands. Is this because, as stated in the i2C user guide, the synchronous API blocks operation until the bus operation is complete, maybe causing a brief interruption in the I2S stream? The two are on the same core because of how the EVM was designed. I thought that maybe trying Asynchronous i2C API would be helpful, but it seems there is no single mulit-bit port version. What should I do about the loud pops in the audio stream?
Thanks!
I am using the xCore-200 Multichanel Audio Platform to prototype my system. I2C is used for writing registers to control the ADC gain. It seems that whenever I do an i2c.write_reg command I get a "pop" in the audio stream. I verified this by commenting out these commands. Is this because, as stated in the i2C user guide, the synchronous API blocks operation until the bus operation is complete, maybe causing a brief interruption in the I2S stream? The two are on the same core because of how the EVM was designed. I thought that maybe trying Asynchronous i2C API would be helpful, but it seems there is no single mulit-bit port version. What should I do about the loud pops in the audio stream?
Thanks!