DSPRelated.com
Forums

DSK6211 with codec 535 communication

Started by anitha r October 29, 2007
Hi all,
I m facing a problems while communicating with codec 535 on DSK6211 board.
I m doing this using MCBSP0 using polling method.
Im using analog loop back method ie from DSP->DAC->ADC->DSP using data
channel by configuring control registers 1&2 of AD535.
I found from data sheets that setting D4 bit of control reg 1 of AD535 makes
analog loop back possible.
But while reading data from MCBSP DRR im not able to recieve the data which
i've transmitted to DAC.*i m getting the recieve bit enabled also before
reading,but the data comes meaningless like -208,-209 etc.*
I dont know wats going wrong.Is it because my SPI(ie MCBSP0) clk is very
high or some thing like that.Actually i've configured for only RCR,XCR and
SPCR of MCBSP0 .
pls help me...