Other Parts Discussed in Thread: TLV320ADC3101, , CC8531
Hi,
I am trying to add a feature to my design that allows an external microphone to become the audio source when it's plugged in, and an internal microphone will be the audio source otherwise.
The way I want to implement this is to wire each microphone to a different input on my audio codec (TLV320ADC3101). Then when some detection circuit identifies the external mic has been plugged in, an I2C command would be sent to the codec to program the registers to switch the input source.
I currently have the codec under control of the CC8520 (I2C Master), so the ADC3101 is just sent some "State Configuration Sequences" to turn it on. I don't know how the CC8520 could command it to switch from "ON, Mic input A" to "ON, Mic input B".
The CC8520 is in EHIF mode under control of a microprocessor. Is my only option to make the TLV320ADC3101 a slave of the microprocessor? Or does the CC8520 have some way to do this?
Thanks,
Arthur