Quantcast
Channel: Data converters
Viewing all articles
Browse latest Browse all 27555

Forum Post: ADS1257: Setup ADS1257 Concerns

$
0
0
Part Number: ADS1257 Hi, I wonder if there is a faster way to setup the adc to talk to the microcontroller (ESP32). Generally, do we have to manually setup the timing, the register pulses according to the datasheet of an ADC? Also, when I look at the datasheet for this part, there are a few pins that, even after I went through their descriptions, I still don't fully understand. 1. What is the purpose of the SYNC pin. "The SYNC command synchronizes the analog-to-digital conversion." But, isn't SCLK used for that purpose? I assume that the SCLK synchronize the microcontroller and the adc 2. If I have 3 ADS1257 for each microcontroller (I use ESP32 -Thing from Sparkfun), do I need to have 3 separate DRDY output pins that are capable of hardware interrupt? 3. Since I have 3 ADS1257 , how would I be able to modify the pseudo-code to accommodate for 2 more ads? a. I think from the beginning to the line before LOOP, we will do for all ads1257 's b. If I switch between ads1257s, I don't need to power them down, right? I will go back to the LOOP and just take the CS pin of the next ads1257 LOW? 4. Where would the DRATE and PGA gain set in this pseudo-code? It is the WREG command after we send the SDATAC command, right? 5. Is there any differences in terms of performance if I measure the signal Single Ended as opposed to Differential mode ? Each ads will collect samples from 2 measurements so we also have to MUX each adc as well 6. This might be a naive question, usually digital differential signaling needs 2 pins, one P and one N (like the USB connector). The timing diagrams of DIN and DOUT suggest that they are differential signals, yet I only see one pin for DIN and one for DOUT . I wonder how this works? 7. Finally another naive question, If I set the ADC sampling rate to 1kHz but I have 2 measurements, do I get 1kHz sampling rate for each measurement? Does the LOOP frequency in the pseudo-code have to match with the sampling rate of the ADC? In other words, how would I collect 6 measurements (2 measurements for each adc) at the rate of 1kHz to my microcontroller ? Thank you very much for your support and I look forward to hearing from you soon, Khoi Ly Phd in Mechanical Engineering University of Colorado Boulder

Viewing all articles
Browse latest Browse all 27555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>