This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Encountered a problem when using McASP as burst mode

Other Parts Discussed in Thread: OMAPL138

Hi, Dear TI Employees,

I want to modify the TI example routine to support my project which needs McASP as burst and aic3106 as DSP mode. The audio data is read and written by transmit interrupt. The slot size is 32 bit and each word is 16 bit. I want to get two channel data at one frame. But now I can't get the proper microphone data, it just like a series of irregular numbers. I don't know why. So I consult for help.

About the aic3106, I just modified here:EVMC6747_AIC3106_rset(  9, 0x40 );  // 9  Audio Interface Control B  <-[DSP mode][16 bit]

As for McASP, I modified here,

mcasp->regs->XFMT = 0x000080F8;             // MSB 32bit, 0-delay, no pad, CFGBus
mcasp->regs->AFSXCTL = 0x00000002;       // burst, Rising, INTERNAL FS, Single bit
mcasp->regs->ACLKXCTL = 0x000000AF;    // ASYNC, Rising INTERNAL CLK, div-by-16
mcasp->regs->AHCLKXCTL = 0x00000000;  // EXT CLK
mcasp->regs->XTDM = 0x00000001;              // slot 0
mcasp->regs->XINTCTL = 0x00000020;         // interrupt on transmit
mcasp->regs->XCLKCHK = 0x00000000;

It's my question. Thanks for guidance!

Best regards,

Wang Yu