Hi,
We are using DM6446 and TI MP2 Codec to decode audio with two languages that are encoded on two separate audio channels within a single stream and pass the decoded PCM data to the AIC23; we have observed the languages are alternatively intermixed e.g. left speaker will output English, Spanish, English, Spanish… and right speaker will output Spanish, English, Spanish, English…
We need to have a clean separate language output on the left and right speakers so what could cause this?
Are the settings below correct?
DM6446 ASP McBSP register setting:
Serial Port Control Register (SPCR) = 0x02F10031
FREE = 1;
FRST = 1;
GRST = 1;
XINTM = 3;
XRST = 1;
RINTM = 3;
RRST = 1.
Receive Control Register (RCR) = 0x10400040
RPHASE = 1;
RFRLEN2 = 0 (1 word);
RWDLEN2 = 2 (16 bits);
RFRLEN1 = 0 (1 word);
RWDLEN1 = 2 (16bits).
Transmit Control Register (XCR) = 0x10440040
XPHASE = 1;
XFRLEN2 = 0 (1 word);
XWDLEN2 = 2 (16 bits);
XFIG = 1;
XFRLEN1 = 0 (1 word);
XWDLEN1 = 2 (16bits).
Sample Rate Generate Register (SRGR) = 0x301FFF01
CLKSM = 1;
FSGM = 1;
FPER = 31;
FWID = 15.
Pin Control Register (PCR) = 0x03 (Runs as Slave)
CLKXP = 1;
CLKRP = 1.