Other Parts Discussed in Thread: TLV320AIC3206
I am building an aviation headset in the medium term but am currently building a test board to try a few things out first. I am making use of a single speaker, stereo headphones and a single mic input, connected to the headphone mic connection. I have based this evaluation / dev board on a similar arrangement as the Teensy audio shield, with Teensy 3.2 to conduct the IC configuration over I2C, send and receive I2S audio and control codec reset etc.
At the top level, I am after a recommended configuration sequence, including information on what must be powered down or muted before related registers are changed.
In more detail, once I have the startup sequence sorted, I would like to better understand the fixed gain vs AGC and PGA better for both a musical synth/instrument type sampling application for the microphone but also, for the medium term, the removal of cockpit noise and preservation of user voice signal.
One of the unusual behaviours I have observed with testing so far is that I have also noticed that when I remove the heaphones from the 3.5mm jack, the audio does not resume when I plug them back in.
I have based my current board configuration on the Teensy audio library configuration for the TLV320AIC3206 but there is not enough similarity between that chip's registers to be sure that I am doing the configuration correctly. I am able to play audio over I2S into the speakers and headphones, change the output volume and I am quite happy with this apart from the muted headphones when I reinsert them. I am able to configure the microphone and hear audio that is streamed to the Teensy over I2S and then back to the codec for output on headphones. The Teensy is able to add eg delays etc. I have managed to get the AGC working but I do think there is a bit of noise and would appreciate tips on a methodical process to follow to search the configuration space for optimal performance (sensitivity, noise rejection). Eventually this will mean cockpit background noise but I am happy to start in quieter environments and work up to that point.