Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[PIC] PIC 18F ADC sampling rate calculaion

Status
Not open for further replies.

qne

Newbie level 4
Newbie level 4
Joined
Oct 12, 2011
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,326
hi all ..
i want to calculate sampling rate of pic 18f452 adc...
i m using 10MHz crystal and adc clock frequency is set to Fosc /16. it gives 1.6us TAD. for 10 bit conversion it takes 19.2us , including 2 TAD acquisiotion time , it becomes 22.4 us to convert 10bits.
from this time , frequency is 44.6KHz...
is it sampling frequency or not...
if not than how to find out samplig freq of ADC...
help....
 

To convert one sample to ADC = ACQUISITION TIME + A/D CONVERSION TAD CYCLES

As per datasheet ACQUISITION TIME = 19.72us

A/D CONVERSION TAD CYCLES = 12 * 1.6us = 19.2us

Also consider, Holding capacitor is disconnected time 100ns


This is the minimum specified values to be considered, but it is always better to allow some higher time for both Acquisition time and conversion time


Now you have to take in to account, what kind of action that can be taken for the result and time before take in to account next sample, other wise result registers will overwrite

Also note that the ADC operation is Independen operation
 
Last edited:

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top