This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: CC8520
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?
In reply to M-W:
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Arthur Thompson27:
Can you define for me how the CC8520 exercises its Audio device reset control pin? I'm seeing it reset not only when the board first boots up, but also when the slave connects to the Master's network. I'm seeing glitchy behavior. We have I2C control of the codec wired to the CPU, but the codec reset line is wired to a Audio device reset control GIO on the CC8520.
The reset pin is controlled by the configuration script so you should be able to see how this is exercised by looking over the configuration sequences you use. In the "Audio Device Customization", press the "Set all seq. to default" button to load the default configuration defined for the CODEC, you should be able to identify the pin here.
I don't understand why the pin resets when the Slave connects to a network. What "States" are we transitioning through when the device goes from disconnected to joining a network? Most of my states have no sequence except OFF to SR-SWITCH and SR-SWITCH to OFF
As you say, reset should only toggle during the OFF to SR-SWITCH and SR-SWITCH to OFF states. I tested this myself running the DK example and I do not see the reset pin toggling during connections but only during an actual device reset. On your hardware, is the reset pin connected to something else as well that could impact it?
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.