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.

ADS1282 Sync & MUX SCLK

Other Parts Discussed in Thread: ADS1282

Dear Colleagues,


First of all thanks for the opportunity to share my doubts in the community.
I have to develop an equipment with 3 x ADS1282 IC’s, acquiring data simultaneously. I intend to use only one SPI interface for data exchange between the microcontroller and ADS1282, so I found a suggestion by Christopher in the following link: http://e2e.ti.com/support/data_converters/precision_data_converters/f/73/p/291510/1018745.aspx#1018745
Seems to be very interesting to MUX the SCLK for both devices to “gate” the SPI communication. My only concern is about Synchronization, in my device it’s very important that the acquisition for both 3 ADS1282 starts at same time, in this case should I use Pulse-Sync mode and a common output in my MCU to control the SYNC pins of my ADS1282 (I’ll use the same oscillator 4.096MHz master clock for all ADS1282)?
I want to use only one data ready “DRDY” output to trigger an interruption in my microcontroller and the ADS1282 has to read the data in continuous mode. If I set properly all 3 ADS1282 (1- Power on; 2- SDATAC command; 3- Write/Read registers (250SPS); 4- RDATAC command; 5- Sync pin event) should all DRDY output goes low at the same time (for 250SPS each 4ms)?
Print screen for logic data of ADS1282EVM-PDK reading data in continuous mode:


At this moment I can’t read the data DOUT at same time (using a LV4052 MUX), but even sending SCLK transitions IC per IC to read the data, should the DRDY output goes low at same time after next conversion?
In the ADS1282 datasheet pag.:27 says: “When reading data by the continuous mode, the data must be read within four CLK periods before DRDY goes low again or the data are overwritten with new conversion data”. It means I need to read all 32 data bits 4 CLK periods before DRDY goes low again, in my case 250SPS I have approximately 4ms to read the data, so even using a LV4052 MUX to read the data IC per IC, I still have enough time because my SCLK frequency is around 2MHz?
DRDY resets high on the first falling edge of SCLK, in my case the SCLK signal is MUX so DRDY for the last IC will take longer to reset high, even doing in this way I still have the conversion for all IC’s synchronized and the DRDY output goes low at same time after next conversion?

Best Regards

Flávio Cavalieri

  • Hi Flavio,

    Good to see you again! To answer your questions...

    FlavioCavalieri said:
    in this case should I use Pulse-Sync mode and a common output in my MCU to control the SYNC pins of my ADS1282 (I’ll use the same oscillator 4.096MHz master clock for all ADS1282)?

    I recommend this!

    When laying this out on a PCB, try to keep the clock and sync traces to each ADC approximately the same length. This keeps the signal phase delay small between ADCs (i.e. signal transitions will reach all ADCs at the same time).

    FlavioCavalieri said:
    I want to use only one data ready “DRDY” output to trigger an interruption in my microcontroller and the ADS1282 has to read the data in continuous mode. If I set properly all 3 ADS1282 (1- Power on; 2- SDATAC command; 3- Write/Read registers (250SPS); 4- RDATAC command; 5- Sync pin event) should all DRDY output goes low at the same time (for 250SPS each 4ms)?

    Yes! Page 43 of the ADS1282 data sheet shows that only a single /DRDY signal is needed if all devices are synchronized.

    FlavioCavalieri said:
    At this moment I can’t read the data DOUT at same time (using a LV4052 MUX), but even sending SCLK transitions IC per IC to read the data, should the DRDY output goes low at same time after next conversion?

    /DRDY indicates when a conversion is complete. If all four channels are synchronized, they will start and end conversion cycles at the same time!

    FlavioCavalieri said:
    in my case 250SPS I have approximately 4ms to read the data, so even using a LV4052 MUX to read the data IC per IC, I still have enough time because my SCLK frequency is around 2MHz?

    Yes, you should have plenty of time to clock out all the data for 4x channels at that data rate!

    FlavioCavalieri said:
    DRDY resets high on the first falling edge of SCLK, in my case the SCLK signal is MUX so DRDY for the last IC will take longer to reset high, even doing in this way I still have the conversion for all IC’s synchronized and the DRDY output goes low at same time after next conversion?

    This is not a problem! The /DRDY's will not return high at the same time, but the ADCs will still be continuously converting and will remain synchronized.

    Currently, is your SPI communication to all four channels working?

    Best regards,
    Chris

  • Hi Christopher,

    It's good to hear the answer we are looking for! Thanks again!

    For the moment I only made some tests using one ADS1282EVM-PDK board. I'll develop now a software to integrate all necessary peripherals, I just made some confusion about the DRDY behaviour but now is clear after your answer and I can move forward to the next step. I'll also start at same time the drawing of PCB and the tips regarding the clock and sync traces will be really valuable. I'll use only the inputs (AINN1 & AINP1), should I leave the inputs (AINN2 & AINP2) opened or connected to ground?

    Good to hear you again.

    Best Regards,

    Flávio

  • Hi Flavio,

    You can do a few things with unused inputs:

    • Leave them floating
      • Usually okay, but not the best practice from an EMI standpoint
      • This has the lowest leakage current
    • Connect to a mid-supply voltage (GND with a bipolar supply)
      • Good for EMI
      • This is the next to lowest leakage option
    • Connect to AVDD 
      • Good for EMI
      • This is has slightly higher leakage
    • Connect to AVSS
      • Good for EMI
      • This will have the highest leakage current of these options

    Large (1 MOhm) resistors should work fine. I've also considered using a capacitor connection instead, but I've yet to try it out and see how well it works for leakage and EMI concerns. 

    Regards,
    Chris

  • Hi Christopher,

    Thank you very much for the answer.

    I'll use a bipolar supply so I'll follow your advice and use two 1MOhm resistors, one between AINN2 and GND and another between AINP2 and GND.

    Best Regards,

    Flávio