This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Need Help with ads8332 working

Other Parts Discussed in Thread: ADS8332

Hi,

  I am using ADS8332 over MCBSP- SPI  interface( I am using TMS320c6713 for DSP), and have the MCBSp peripheral for the following settings ->

mcr  = 0x00000000; rcer = 0x00000000; xcer = 0x00000000;     spcr = 0x02001800; /XINTM = XRDY; RINTM = RRDY; FREE RUNNING = YES; CLKSTOPDELAY = YES; NO SYNCERROR; DX - DISABLED, DLB - DISABLED rcr   = 0x00040040; // SINGLE PHASE, FRAME IGNORE; 0BIT DELAY; FRAMELEN = 1, WORDLEN = 16; NO COMPAND - MSB; xcr  = 0x00040040; // SINGLE PHASE, FRAME IGNORE; 0BIT DELAY; FRAMELEN = 1, WORDLEN = 16; NO COMPAND - MSB; srgr = 0x2019001E;// INTERNAL CLOCK SOURCE, DXRTOXSR; CLK DIV = 30; FRAME PERIOD 30; FRAME WIDTH = 1 pcr = 0x00000F05; // FSXM- FSRM  = INTERNAL, CLKXM-CLKRM = OUTPUT; FSXP - FSRP = ACTIVE HIGH; CLKXP- CLKRP - FALLING EDGE;

 and teh following pins

RESET - always high CONVST - always high EOC - i/p ( not monitered)...

I am sending following commands to the adc 8332 1) 0x0000 ( channel 0 select) 2) 0xe7fd ( CFR SETTINGS) 3) 0xC000 ( COMMAND TO READ CFR) 4)  at this point i recieve 0xffff; ---> which is wrong

can any one tell me wher i have gone wrong, is there any problem with mcbsp settings or in sending the commands to the adc? is toggling convst and monitoring eoc essential for the proper working?

 

 

Regards,

Deepa