How to pass through audio via external CODEC in I2S mode
In this project sport 2A is configured as a transmitter and sport 2B is configured as a receiver and we developed this project using 3.0 APIs.
In this project we are using AD1937 as an external CODEC.
The AD1937 has four ADC/8DAC with PLL 8KHz to 192kz samplerate,24 bit codec
The ADC can operate at a nominal sample rate of 48kHz, 96kHz, or 192kHz
The DAC operating at an over-sampling ratio of 4 (48kHz or 96kHz modes) or 2(192kHz mode)
Here is the SPORT configuration
Word length-24 bit
MSB position-I2S-bit clock delay by 1
channel mode - I2S two channel, 32bit/channel
CODEC can be connected with ADZS-SC573-EZLITE using DAI pins as per the below SRU configurations.
SPORT2A(RX) CLK - DAI0_PIN_08
SPORT2A(RX) FS - DAI0_PIN_07
SPORT2A(RX) DATA - DAI0_PIN_05
SPORT2B(TX) CLK - DAI0_PIN_10
SPORT2B(TX) FS - DAI0_PIN_06
SPORT2B(TX) DATA - DAI0_PIN_09
The attached application tested in CCES2.11.1 in SC573-EZLITE Evaluation kit