Please can you provide some more details.... Which clock to configure? How to configure the clock?
2009/3/3 Kapil Pendse <[email protected]> > Hi All, > > > I am developing driver for daughter sound card on DM355 by modifying the > AIC33 driver. > > > > I2C is working fine and the ioctl's are working fine but recording is not > working. > > > > There are 2 McBSP bus (McBSP1 and McBSP2) used for DMA transfer out of > which McBSP1 is used for the sound daughter card. > > Audio format is I2S. > > Following is the configuration that I tried: > > #define DEFAULT_BITPERSAMPLE 256 > > #define AUDIO_RATE_DEFAULT 8000 > > #define AUDIO_MCBSP DAVINCI_MCBSP1 > > McBSP1 is configured as slave for recording. > > Below is configuration for McBSP1: > > .spcr2 = FREE | XINTM(3), > .spcr1 = RINTM(3), > .rcr2 = RWDLEN2(DAVINCI_MCBSP_WORD_16) | RDATDLY(1), > .rcr1 = RFRLEN1(1) | RWDLEN1(DAVINCI_MCBSP_WORD_16), > .xcr2 = XWDLEN2(DAVINCI_MCBSP_WORD_16) | XDATDLY(1) | XFIG, > .xcr1 = XFRLEN1(1) | XWDLEN1(DAVINCI_MCBSP_WORD_16), > .srgr1 = FWID(DEFAULT_BITPERSAMPLE - 1), > .srgr2 = FSGM | FPER(DEFAULT_BITPERSAMPLE * 2 - 1), > /* configure McBSP to be the I2S master */ > .pcr0 = FSXM | FSRM | CLKXM | CLKRM | CLKXP | CLKRP, > > > > Daughter card is configured for 16bit word, 8000KHz and 256bits per sample. > > > AIC33 uses McBSP2 while my audio daughter card uses McBSP1. Also, the > default bits per sample for AIC33 is 16, I've changed it to 256. > > > But I don't get any interrupt for recording. > > Please can anyone help to sort out the problem. > > > > Thanks, > > Azam. > > _______________________________________________ > Davinci-linux-open-source mailing list > [email protected] > http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source > > -- "Happiness keeps u Sweet, Trials keep u Strong, Sorrow keeps u Human, Failure Keeps u Humble, Success keeps u Glowing, But only GOD Keeps u Going....."
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
