I am using DM368 mcbsp port to comunicate with TLV320AIC32, mcbsp is slave and aic32 is master. AIC32 WCLK and BCLK is set output ,WCLK is 8KHz, BLCK is 256KHz, (sample rate is 8KHz, data width is 16bits, 2 channels).
MCBSP registers settings are as below:
DAVINCI_MCBSP_SPCR_REG = 0x 2308039
DAVINCI_MCBSP_RCR_REG = 0x 410140
DAVINCI_MCBSP_XCR_REG = 0x 450140
DAVINCI_MCBSP_SRGR_REG = 0x201f0f01
DAVINCI_MCBSP_PCR_REG = 0x 3
DM368 and AIC32 is connected as below
MCBSP AIC32
FSX -> WCLK
FSR -> WCLK
CLKX -> BCLK
CLKR -> BCLK
DX -> DIN
DR -> DOUT
When FSR was not conneted (only FSX is connected to WCLK), i measured FSX, it is 8KHz ,the signal wave is correct as below:
when FSR is also connected (FSX and FSR are both connected to WCLK), FSX signal is becoming bad, the wave is not square as below:
FSX and FSR are both input, how FSR can interfere FSX signal? Is there any register set not connect?
I also checked PSC and PLL registers, It seams noting wrong with them,
IRQ_ENT0 = 0x240f1133
PINMUX0 = 0x fc0000
PLLCTL = 0x 51
PLLCMD = 0x 1
PLLSTAT = 0x 6
CKSTAT = 0x b
SYSTAT = 0x 1ff
PLLDIV4 = 0x 8003
PLLM = 0x 5a
PREDIV = 0x 8007
POSTDIV = 0x 8000
MDSTAT(8) = 0x 1f03
MDCTL(8) = 0x 703
I am confused with this for several days,Who have an experience with mcbsp and aic32 and can help me?