Hello,
I have a custom PCB with a TLV320AIC3204 audio codec. I have the primary audio bus set as I2S master and connected to my microcontroller. The codec is configured through the I2C data bus. This part works fine.
Here's the part that doesn’t work: I also have some of the CODECs MFP pins connected to a header which then goes to a piece of audio test equipment. I'm hoping to get these pins working as the secondary audio bus (also I2S) so I can switch to this secondary bus and output digital audio to my test equipment. I'd like to configure the MFP pins as follows:
DIN/MFP1 -> Secondary audio bit clock input
SCLK/MFP3 -> Secondary audio word clock input
MISO/MFP4 -> Secondary audio data output
I understand how to configure the MFP3 and MFP4 pins appropriately, but for the life of me I cannot determine how you're supposed to configure MFP1 as the secondary audio bit clock input. I've been staring at the "Application Reference Guide" (SLAA557) for hours. The best I can figure is to set MFP1 as the PLL Clock input, and then set the PLL Clock as the secondary audio BCLK. But I can't find the proper register combinations to do this.
The datasheet clearly states that MFP1 can be used as a secondary audio serial data bus bit clock input.
Can someone please help me with this?