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.

ADS7952-Q1: ADS7952

Part Number: ADS7952-Q1

Hi,

I am using ADS7952 in manual programming mode, with analog and digital supply of 5V and separate AGND and DGND connected at one point, Vref=2.5V. In manual mode, I am not able to select range 2 (0- 2*Vref), 2.5V input to CH0 reads 4095 instead of ~2045.

I am writing SDI=0x1840 to select CH0 and range 2. Here is a code snippet.

sdata=0x1840;

for(;;)
   {
     
     spi_xmit(sdata); //transmiting 0x1840
     // Wait until data is received
     while(SpiaRegs.SPIFFRX.bit.RXFFST !=1) { }
     // Check against sent data
     rdata = SpiaRegs.SPIRXBUF;
   
   }

Thanks

  • Hello,

    It seems you are providing the correct command code. what is the actual SDO data output, the first four bits will show what channel the output corresponds to

    Would you provide a scope shot of the digital communications? please include CS, SDO, SDI, SCLK,  for three frames, starting with the command code (0x1840) and the two frames after.

    This device has a two frame latency, meaning that the output data for the selected channel will be outputted two frames after the initial frame.