What is the best way to read the ADC12020 adc with a micrcontroller?Do you have any code avaiable to read external adc?
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.
What is the best way to read the ADC12020 adc with a micrcontroller?Do you have any code avaiable to read external adc?
Hi Tahir
I haven't found any specific code for data capture from this ADC into a microcontroller.
The task is fairly straightforward. Refer to the ADC12020 datasheet. Specifically the AC ELECTRICAL CHARACTERISTICS table on page 8 and the Timing Diagram on page 10.
The recommended approach would be to connect a copy of the ADC12020 input CLK signal to one of the micro-controller inputs. The micro-controller should read the 12 bit data input port every time the CLK signal transitions from High to Low. To work at high speed this will need to be either a dedicated hardware read request function, or an interrupt input.
The maximum supported sample rate will depend on the capabilities of the micro-controller being used.
The ADC CLK signal should be provided by a low jitter clock source at the desired sampling frequency.
Best regards,
Jim B