PA3040
Advanced Member level 3
Dear All,
As I know in ADC of pic 16f877a
1TAD = 1.6 microsecond
in 10 bit mode we need 11 TAD's
if we select ADCS0 to ADCS2 = 000
that mean Fosc/2 = Tcy/2 = .5 us if our Fosc = 4MHz
that mean this selection not valid for proper ADC
but as per above Fosc/2 = 4Mhz/2 = 2Mhz and
T=1/f mean 1/2Mhz = 0.000002 s
finally I need to know 0.000002 is sampling time?
further if we select 8 bit mode that mean 2 to the power 8
it sample 256 pieces
as per above ADC module consume 0.000002 s times for sample for one piece
Am I correct track
see my picture
please advice
As I know in ADC of pic 16f877a
1TAD = 1.6 microsecond
in 10 bit mode we need 11 TAD's
if we select ADCS0 to ADCS2 = 000
that mean Fosc/2 = Tcy/2 = .5 us if our Fosc = 4MHz
that mean this selection not valid for proper ADC
but as per above Fosc/2 = 4Mhz/2 = 2Mhz and
T=1/f mean 1/2Mhz = 0.000002 s
finally I need to know 0.000002 is sampling time?
further if we select 8 bit mode that mean 2 to the power 8
it sample 256 pieces
as per above ADC module consume 0.000002 s times for sample for one piece
Am I correct track
see my picture
please advice