Hello,
We are using TMS320C6745 DSP. And try to configure Codec AIC23 with McASP0 port of DSP. We have successfully configured SPI port with codec AIC23 for configuration of AIC23 registers, it is ok.
Now we are configuring McASP0 of TMS320C6745 in I2S mode to digital audio communication. TMS320C6745 is in master mode and AIC23 is in Slave mode. DSP is generating 12.5MHz BCLK frequency and 390.635 KHz of FSCLK (LRCLK).
If we read value from receiver serializer and immediately pass to transmitter serializer then we get output at LINEOUT as same as input given at LINEIN of AIC23. if we do some calculation in between transmission and reception then transmitter serializer is not ready to transmit any data and showing “underrun “ error in XSTAT register.
We are using CCS V5. As 6745 and 6747 having the same core, we are using EVM6747 as a target and .gel file of the EVM6747. I am attaching C file of the program.
Does anyone have any information or guidance they can share in this regard?
Thanks,
Pravin