Hi everyone,
I am using tms320c6748 for an audio project.
I want the AIC3106 to be on master mode and to produce the clock for the McASP.
In addition want to configure the input/output for an I2S sterio mode.
For some reason I receive noise at the output which means something In my McASP configuration is wrong.
Here are the main configuration which I beleive are related to the problem:
MCASP->RFMT = 0x0001807C-> this register configure the format of the input. The data is one bit delayed, (received one bit after the frame sync) Msb first and slot size 16.data rotated (16 bits).
MCASP->RTDM = 0x00000003; activate slot 0 and slot 1
MCASP->AFSRCTL = 0x00000110; which means that the frame sync is externaly generated, one word width. The configuration of the Tx registrs are similar to those of the Rx. I suspect I don't fully understand the role of the frame sync in the I2S mode. Also I am not sure if I need to generate the frame sync externally or internally from the RCLK (which itself is external). (as described in figure 17 p.27 on the manual) In the AIC3106 I configured master mode (BCLK and WCLK for output) and I2S mode word length 32 bits. (registers 8 and 9 page 0) Thanks in advance! Ariel