We are developing basic analog phone using TMS320C54CST and
MSM7716 as codec.
Codec is going to be connected at McBSP0 for audio data and
McBSP1 configured thru SPI for control data.
I need to know how we can configure the McBSP for our codec
(MSM7716), we have tried to configure but looks like its not working
So any suggession how to do this or any basic source code to
configure McBSP and read write will be great help as we are at
critical stage of the project.
I am also not sure whether the McBSP setting will depend upon
codec we use, as I am new to DSP so plz bare with my stupid question..
//Code for McBSP #0 initialization
mcbspCFG0.spcr1 = MCBSP_SPCR1_RMK(
mcbspCFG0.spcr2 = MCBSP_SPCR2_RMK(
mcbspCFG0.rcr1 = MCBSP_RCR1_RMK(
mcbspCFG0.rcr2 = MCBSP_RCR2_RMK(
mcbspCFG0.xcr1 = MCBSP_XCR1_RMK(
mcbspCFG0.xcr2 = MCBSP_XCR2_RMK(
mcbspCFG0.srgr1 = MCBSP_SRGR1_RMK(
mcbspCFG0.srgr2 = MCBSP_SRGR2_RMK(
mcbspCFG0.pcr = MCBSP_PCR_RMK(
MCBSP_PCR_CLKXP_RISING, // Writing data on Rising Edge
MCBSP_PCR_CLKRP_DEFAULT // Reading data on falling Edge
asm(" rpt #0x0100 "); // waiting for 2 CLKG
asm(" nop ");
hMcbsp0 = MCBSP_open(MCBSP_PORT0, MCBSP_OPEN_RESET);
I am developing code for interfacing TMS320C54CST and PCM3003 codec (will switch to AIC23 soon) using the TMS320C54CST EVM and PCM3003 daughter card. I have found some useful code for that and also got hints from TI tech support. Do you still need help?
> We are developing basic analog phone using TMS320C54CST and
>MSM7716 as codec.