Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
даташитина PIC 12F683 .pdf
Скачиваний:
14
Добавлен:
02.02.2015
Размер:
3.06 Mб
Скачать

PIC12F683

FIGURE 15-8: TIMER0 AND TIMER1 EXTERNAL CLOCK TIMINGS

T0CKI

40

 

 

 

 

 

41

 

 

 

 

 

 

 

 

 

42

T1CKI

 

 

 

45

 

 

 

 

 

 

 

46

 

 

 

 

 

49

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TMR0 or

 

 

 

 

 

 

 

47

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TMR1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TABLE 15-5: TIMER0 AND TIMER1 EXTERNAL CLOCK REQUIREMENTS

Standard Operating Conditions (unless otherwise stated)

 

 

 

 

 

Operating Temperature

-40°C TA +125°C

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Param

Sym

 

 

 

Characteristic

Min

Typ†

Max

Units

Conditions

No.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

40*

TT0H

T0CKI High Pulse Width

No Prescaler

0.5 TCY + 20

ns

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

With Prescaler

10

ns

 

 

 

 

 

 

 

 

 

 

41*

TT0L

T0CKI Low Pulse Width

No Prescaler

0.5 TCY + 20

ns

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

With Prescaler

10

ns

 

 

 

 

 

 

 

 

 

 

 

42*

TT0P

T0CKI Period

 

 

Greater of:

ns

N = prescale value

 

 

 

 

 

 

 

20 or TCY + 40

 

 

 

(2, 4, ..., 256)

 

 

 

 

 

 

 

N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

45*

TT1H

T1CKI High

 

Synchronous, No Prescaler

0.5 TCY + 20

ns

 

 

 

Time

 

 

 

 

 

 

 

 

 

 

 

 

 

Synchronous,

 

15

ns

 

 

 

 

 

 

with Prescaler

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Asynchronous

 

30

ns

 

 

 

 

 

 

 

 

 

 

 

46*

TT1L

T1CKI Low

 

Synchronous, No Prescaler

0.5 TCY + 20

ns

 

 

 

Time

 

 

 

 

 

 

 

 

 

 

 

 

 

Synchronous,

 

15

ns

 

 

 

 

 

 

with Prescaler

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Asynchronous

 

30

ns

 

 

 

 

 

 

 

 

 

 

 

 

47*

TT1P

T1CKI Input

 

Synchronous

 

Greater of:

ns

N = prescale value

 

 

Period

 

 

 

 

30 or TCY + 40

 

 

 

(1, 2, 4, 8)

 

 

 

 

 

 

 

N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Asynchronous

 

60

ns

 

 

 

 

 

 

 

 

 

 

 

48

FT1

Timer1 Oscillator Input Frequency Range

32.768

kHz

 

 

 

(oscillator enabled by setting bit T1OSCEN)

 

 

 

 

 

 

 

 

 

 

 

 

 

49*

TCKEZTMR1

Delay from External Clock Edge to Timer

2 TOSC

7 TOSC

Timers in Sync

 

 

Increment

 

 

 

 

 

 

mode

 

 

 

 

 

 

 

 

 

 

 

 

*These parameters are characterized but not tested.

Data in “Typ” column is at 5V, 25°C unless otherwise stated. These parameters are for design guidance only and are not tested.

DS41211D-page 130

2007 Microchip Technology Inc.

PIC12F683

FIGURE 15-9: CAPTURE/COMPARE/PWM TIMINGS (ECCP)

CCP1 (Capture mode)

CC01

 

 

 

CC02

 

 

CC03

Note: Refer to Figure 15-3 for load conditions.

TABLE 15-6: CAPTURE/COMPARE/PWM REQUIREMENTS (ECCP)

Standard Operating Conditions (unless otherwise stated)

Operating Temperature -40°C TA +125°C

Param

Sym

Characteristic

Min

Typ†

Max

Units

Conditions

No.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CC01*

TccL

CCP1 Input Low Time

No Prescaler

0.5TCY + 20

ns

 

 

 

 

 

 

 

 

 

 

 

 

 

With Prescaler

20

ns

 

 

 

 

 

 

 

 

 

 

CC02*

TccH

CCP1 Input High Time

No Prescaler

0.5TCY + 20

ns

 

 

 

 

 

 

 

 

 

 

 

 

 

With Prescaler

20

ns

 

 

 

 

 

 

 

 

 

 

CC03*

TccP

CCP1 Input Period

 

3TCY + 40

ns

N = prescale

 

 

 

 

N

 

 

 

value (1, 4 or

 

 

 

 

 

 

 

 

16)

 

 

 

 

 

 

 

 

 

*These parameters are characterized but not tested.

Data in “Typ” column is at 5V, 25°C unless otherwise stated. These parameters are for design guidance only and are not tested.

2007 Microchip Technology Inc.

DS41211D-page 131

PIC12F683

TABLE 15-7: COMPARATOR SPECIFICATIONS

Standard Operating Conditions (unless otherwise stated)

Operating Temperature -40°C ≤ TA ≤ +125°C

Param

Sym

Characteristics

 

Min

Typ†

Max

Units

Comments

No.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CM01

VOS

Input Offset Voltage

 

± 5.0

± 10

mV

(VDD - 1.5)/2

CM02

VCM

Input Common Mode Voltage

 

0

VDD – 1.5

V

 

 

 

 

 

 

 

 

 

 

CM03*

CMRR

Common Mode Rejection Ratio

 

+55

dB

 

 

 

 

 

 

 

 

 

 

CM04*

TRT

Response Time

Falling

150

600

ns

(NOTE 1)

 

 

 

 

 

 

 

 

 

 

 

 

Rising

200

1000

ns

 

 

 

 

 

 

 

 

 

 

CM05*

TMC2COV

Comparator Mode Change to

 

10

μs

 

 

 

Output Valid

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

*These parameters are characterized but not tested.

Data in “Typ” column is at 5V, 25°C unless otherwise stated. These parameters are for design guidance only and are not tested.

Note 1: Response time is measured with one comparator input at (VDD - 1.5)/2 - 100 mV to (VDD - 1.5)/2 + 20 mV.

TABLE 15-8: COMPARATOR VOLTAGE REFERENCE (CVREF) SPECIFICATIONS

Standard Operating Conditions (unless otherwise stated)

Operating temperature

-40°C ≤ TA ≤ +125°C

Param

Sym

Characteristics

Min

Typ†

Max

Units

Comments

No.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CV01*

CLSB

Step Size(2)

VDD/24

V

Low Range (VRR = 1)

 

 

 

VDD/32

V

High Range (VRR = 0)

 

 

 

 

 

 

 

 

CV02*

CACC

Absolute Accuracy

± 1/2

LSb

Low Range (VRR = 1)

 

 

 

± 1/2

LSb

High Range (VRR = 0)

CV03*

CR

Unit Resistor Value (R)

2k

Ω

 

 

 

 

 

 

 

 

 

CV04*

CST

Settling Time(1)

10

μs

 

*These parameters are characterized but not tested.

Data in “Typ” column is at 5V, 25°C unless otherwise stated. These parameters are for design guidance only and are not tested.

Note 1: Settling time measured while VRR = 1 and VR<3:0> transitions from ‘0000’ to ‘1111’.

2:See Section 8.11 “Comparator Voltage Reference” for more information.

DS41211D-page 132

2007 Microchip Technology Inc.

 

 

 

 

 

 

 

 

PIC12F683

 

 

 

 

 

 

 

 

 

TABLE 15-9: PIC12F683 A/D CONVERTER (ADC) CHARACTERISTICS

 

 

 

 

 

 

 

 

 

Standard Operating Conditions (unless otherwise stated)

 

 

 

Operating temperature -40°C ≤ TA ≤ +125°C

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Param

Sym

Characteristic

Min

Typ†

 

Max

Units

Conditions

No.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

AD01

NR

Resolution

 

10 bits

bit

 

 

 

 

 

 

 

 

 

 

AD02

EIL

Integral Error

 

±1

LSb

VREF = 5.12V

AD03

EDL

Differential Error

 

±1

LSb

No missing codes to 10 bits

 

 

 

 

 

 

 

 

VREF = 5.12V

 

 

 

 

 

 

 

 

 

AD04

EOFF

Offset Error

 

±1

LSb

VREF = 5.12V

AD07

EGN

Gain Error

 

±1

LSb

VREF = 5.12V

AD06

VREF

Reference Voltage(3)

2.2

 

V

 

AD06A

 

 

2.7

 

 

VDD

 

Absolute minimum to ensure 1 LSb

 

 

 

 

 

 

 

 

accuracy

 

 

 

 

 

 

 

 

 

AD07

VAIN

Full-Scale Range

VSS

 

VREF

V

 

 

 

 

 

 

 

 

 

 

AD08

ZAIN

Recommended

 

10

 

 

 

Impedance of Analog

 

 

 

 

 

 

 

 

Voltage Source

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

AD09*

IREF

VREF Input Current(3)

10

 

1000

μA

During VAIN acquisition.

 

 

 

 

 

 

 

 

Based on differential of VHOLD to VAIN.

 

 

 

 

 

 

 

 

 

 

 

 

 

50

μA

During A/D conversion cycle.

 

 

 

 

 

 

 

 

 

*These parameters are characterized but not tested.

Data in “Typ” column is at 5.0V, 25°C unless otherwise stated. These parameters are for design guidance only and are not tested.

Note 1: Total Absolute Error includes integral, differential, offset and gain errors.

2:The A/D conversion result never decreases with an increase in the input voltage and has no missing codes.

3:ADC VREF is from external VREF or VDD pin, whichever is selected as reference input.

4:When ADC is off, it will not consume any current other than leakage current. The power-down current specification includes any such leakage from the ADC module.

2007 Microchip Technology Inc.

DS41211D-page 133