Specifications
SLAA154
Interfacing the TLV320AIC12/13/14/15 Codec to the TMS320C5402™ DSP 13
5.4 AC Test
With the jumper settings as described above, apply a periodic signal from a function generator to
J3 and J5 input terminals of the AIC12 EVM board. The frequency of the applied signal must be
less than 7 kHz, since the sampling frequency of the codec is 15.625 kHz.
Compile and load the AIC12SW_C.pjt project program onto the DSK. This software programs
the codec to operate in the continuous mode—set M = 20, N = 5 and P = 2. Since MCLK
frequency is 50 MHz, then FS = MCLK / (16 * M * N * P) = 15.625 kHz. Because there are two
AIC12 devices on the board, and the AICs are programmed for continuous mode operation, the
SCLK = FS * 2 * 16 = 500 kHz.
Confirm that both the sampling rate (FS) and the sample clock frequency (SCLK) are 15.625
kHz and 0.5 MHz, respectively.
Using a two-wire speaker probe, verify that the signal outputs on the respective terminals tally
with the signals in the following table.
Table 6. EVM Output Signals
Terminal Pin Selection Output Signal
J6 1 & 2, (OutP1_b & OutM1_b) DSP generated DFTM tone
J7 1 & 2, (OutP1_a & OutM1_a) Reproduction of function generator tone
J10 1 & 2, (OutP2_b & OutMV_b) DSP generated DFTM tone
J10 3 & 2, (OutP3_b & OutMV_b) DSP generated DFTM tone
J11 1 & 2, (OutP2_a & OutMV_a) Reproduction of function generator tone
J11 3 & 2, (OutP3_a & OutMV_a) Reproduction of function generator tone
6 References
[1] TLV320AIC12, Low Power CMOS, 16-bit, 26-KSPS Codec with Smart Time Division
Multiplexed (SMARTDM
TM
) Serial Port, data manual (SLWS115)
[2] TLV320AIC13, SMARTDM
TM
Low Power, Low Voltage, 1.1 V to 3.6 V I/O, 16-bit, 26-
KSPS Codec, data manual (SLWS139)
[3] TLV320AIC14, Low Power CMOS, 16-bit, 26-KSPS Codec with Smart Time Division
Multiplexed (SMARTDM
TM
) Serial Port, data manual (SLWS140)
[4] TLV320AIC15, SMARTDM
TM
Low Power, Low Voltage, 1.1 V to 3.6 V I/O, 16-bit, 26-
KSPS Codec data manual (SLWS141)
[5]. TLV320AIC12/13/14/15 Codec Operating under Stand-Alone Slave Mode, application
report, (SLAA142)
[6] TLV320AIC Family EVM System (Bolanle Onodipe and Joe Purvis, SLAA141)
[7] TMS320VC5402 Fixed-Point Digital Signal Processor (SPRS079D)
[8] TMS320C54x DSP CPU and Peripherals, Reference Set Volume 1 (SPRU131F)
[9] TMS320C54x DSP Enhanced Peripherals, Reference Set Volume 5 (SPRU302)
[10] Code Composer, user’s guide (SPRU296)