The setup has a TW2835 codec interfaced with McASP of DM6467.
The codec has been tested for a loopback and it works fine.
But when recorded and played back via McASP, the audio output is jerky, i.e.it plays-stops-plays-stops-...continuously. The input comes from a microphone being spoken into on a windows machine. A windows application takes care of sending it to the TW2835 - DM6467 setup. On DM6467, a linux application takes care of the record and playback.
The register settings on McASP:
GBL CTL : 00000000 PFUNC : 00000000
PDIR : 08000002 AMUTE : 00000000
DLB CTL : 00000000 DIT CTL : 00000000
RXMASK : ffffffff RX FMT : 00018070
RX FMCTL : 00000111 ACLKRCTL: 00000080
AHCLKR CTL : 0000805d RX TDM : 00000003
EVTR CTL : 00000000 RX STAT : 00000000
RXTDM SLOT : 00000000 RXCLKCHK: 00ff0000
REVTCTL : 00000000
TX MASK : ffffffff TX FMT : 00018070
TX FMCTL : 00000111 ACLKXCTL: 00000040
AHCLKXTL : 00008000 TXTDM : 00000003
EVTX CTL : 00000000 TX STATL: 00000008
TX TDMSLOT : 0000017f TXCLKCHK: 00ff0000
SRCTL0 : 00000002
SRCTL1 : 00000011
Using external clocks and frame syncs, from the codec. Clock and frame sync waveforms are fine. The audio output waveform, captured for the jerky intervals it does play for, looks like a half-sine clipped off. TW2835 handles only mono audio.
It would be great if anybody could help me out here.