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.
For the ADS1252U the Documentation Of the equivalent circuit shows two separate clock pins onboard. In the Doc it discusses running the CLK as a 16Mhz speed, can this be done using a crystal oscillator like that on a Arduino? If not what is the best way to supply the clock signal using a raspberry pi or some similar single board computer to get the max rate and accuracy.
Hi Avery Mills,
You can use a clock output on your controller to supply the CLK pin on the ADS1252. You would need a 16MHz clock output to achieve the maximum data rate (41.7kHz).
-Bryan
Hi Avery Mills,
I thought you said you had a clock oscillator output on your Arduino / Raspberry Pi? Is that not the case?
The ADS1252 does not support crystal inputs, so you would need a 16MHz clock oscillator e.g. https://www.digikey.com/en/products/detail/ecs-inc/ECS-2520MVLC-160-CN-TR/14548830 if you do not have an onboard clock output from your controller
-Bryan
The raspberry pi has a 400Mhz clock speed pin. Arduino can have a 16Mhz clock speed. would i just connect 1 of the SBC's clk pins to the ads1252 or would i Connect 2 pins to the chip.
Hi Avery Mills,
You would connect the clock output pin to the CLK input on the ADS1252.
Please note that SCLK is the serial clock pin, and is used with the SPI peripheral on your controller. This is a separate input to the ADC and controls the communication timing. The CLK pin controls the ADC timing
You could also consider a newer ADC that has an integrated clock e.g. ADS127L11 (https://www.ti.com/product/ADS127L11) or ADS1260 (https://www.ti.com/product/ADS1260)
-Bryan
Can i use the SPI from a pi as the SCLK and also a separate clock pin from the PI to do the CLK input?
Hi Avery Mills,
With Raspberry PI you would also need a Linux driver for the ADC. I am not aware of an existing Linux driver for the ADS1252, which means you would need to write your own
Yes, you would need two separate outputs from your controller for the ADS1252: a constant 16 MHz (max) for the CLK pin; and a variable 16 MHz (max) for the SCLK pin. You will need to write code such that controller needs to output the correct SCLK pattern, as per Figures 12-14 in the ADS1252 datasheet
-Bryan
If i were to use a SMD oscillator like you had linked im assuming i would need to find a 16Mhz version max?
Hi Avery Mills,
Correct, you should always follow the ADC datasheet recommendations, which for the ADS1252 states a maximum of 16 MHz. The oscillator I linked to is a 16 MHz clock
-Bryan
I see i must have clicked on a similar product my apologies. i appreciate the help