Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

PIC18F258-E/LSQTP Datasheet(PDF) 248 Page - Microchip Technology

Part # PIC18F258-E/LSQTP
Description  28/40-Pin High-Performance, Enhanced Flash Microcontrollers with CAN Module
PDF  402 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC18F258-E/LSQTP Datasheet(HTML) 248 Page - Microchip Technology

Back Button PIC18F258-E/LSQTP Datasheet HTML 244Page - Microchip Technology PIC18F258-E/LSQTP Datasheet HTML 245Page - Microchip Technology PIC18F258-E/LSQTP Datasheet HTML 246Page - Microchip Technology PIC18F258-E/LSQTP Datasheet HTML 247Page - Microchip Technology PIC18F258-E/LSQTP Datasheet HTML 248Page - Microchip Technology PIC18F258-E/LSQTP Datasheet HTML 249Page - Microchip Technology PIC18F258-E/LSQTP Datasheet HTML 250Page - Microchip Technology PIC18F258-E/LSQTP Datasheet HTML 251Page - Microchip Technology PIC18F258-E/LSQTP Datasheet HTML 252Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 248 / 402 page
background image
PIC18FXX8
DS41159E-page 246
© 2006 Microchip Technology Inc.
20.2
Selecting the A/D Conversion
Clock
The A/D conversion time per bit is defined as TAD. The
A/D conversion requires 12 TAD per 10-bit conversion.
The source of the A/D conversion clock is software
selectable. The seven possible options for TAD are:
•2 TOSC
•4 TOSC
•8 TOSC
•16 TOSC
•32 TOSC
•64 TOSC
• Internal RC oscillator.
For correct A/D conversions, the A/D conversion clock
(TAD) must be selected to ensure a minimum TAD time
of 1.6
μs.
Table 20-1 shows the resultant TAD times derived from
the device operating frequencies and the A/D clock
source selected.
20.3
Configuring Analog Port Pins
The ADCON1, TRISA and TRISE registers control the
operation of the A/D port pins. The port pins that are
desired as analog inputs must have their corresponding
TRIS bits set (input). If the TRIS bit is cleared (output),
the digital output level (VOH or VOL) will be converted.
The A/D operation is independent of the state of the
CHS2:CHS0 bits and the TRIS bits.
TABLE 20-1:
TAD vs. DEVICE OPERATING FREQUENCIES
TABLE 20-2:
TAD vs. DEVICE OPERATING FREQUENCIES (FOR EXTENDED, LF DEVICES)
Note 1: When reading the port register, all pins
configured as analog input channels will
read as cleared (a low level). Pins config-
ured as digital inputs will convert an
analog input. Analog levels on a digitally
configured
input
will
not
affect
the
conversion accuracy.
2: Analog levels on any pin that is defined as
a digital input (including the AN4:AN0
pins) may cause the input buffer to
consume current that is out of the
device’s specification.
AD Clock Source (TAD)
Device Frequency
Operation
ADCS2:ADCS0
20 MHz
5 MHz
1.25 MHz
333.33 kHz
2 TOSC
000
100 ns(2)
400 ns(2)
1.6
μs6 μs
4 TOSC
100
200 ns(2)
800 ns(2)
3.2
μs12 μs
8 TOSC
001
400 ns(2)
1.6
μs6.4 μs
24
μs(3)
16 TOSC
101
800 ns(2)
3.2
μs
12.8
μs
48
μs(3)
32 TOSC
010
1.6
μs6.4 μs
25.6
μs(3)
96
μs(3)
64 TOSC
110
3.2
μs12.8 μs
51.2
μs(3)
192
μs(3)
RC
011
2-6
μs(1)
2-6
μs(1)
2-6
μs(1)
2-6
μs(1)
Legend: Shaded cells are outside of recommended range.
Note 1:
The RC source has a typical TAD time of 4
μs.
2:
These values violate the minimum required TAD time.
3:
For faster conversion times, the selection of another clock source is recommended.
AD Clock Source (TAD)
Device Frequency
Operation
ADCS2:ADCS0
4 MHz
2 MHz
1.25 MHz
333.33 kHz
2 TOSC
000
500 ns(2)
1.0
μs(2)
1.6
μs(2)
6
μs
4 TOSC
100
1.0
μs(2)
2.0
μs(2)
3.2
μs(2)
12
μs
8 TOSC
001
2.0
μs(2)
4.0
μs6.4 μs
24
μs(3)
16 TOSC
101
4.0
μs(2)
8.0
μs
12.8
μs
48
μs(3)
32 TOSC
010
8.0
μs16.0 μs
25.6
μs(3)
96
μs(3)
64 TOSC
110
16.0
μs32.0 μs
51.2
μs(3)
192
μs(3)
RC
011
3-9
μs(1)
3-9
μs(1)
3-9
μs(1)
3-9
μs(1)
Legend: Shaded cells are outside of recommended range.
Note 1:
The RC source has a typical TAD time of 6
μs.
2:
These values violate the minimum required TAD time.
3:
For faster conversion times, the selection of another clock source is recommended.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com