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

PIC12F683

15.8AC Characteristics: PIC12F683 (Industrial, Extended)

FIGURE 15-4:

CLOCK TIMING

 

 

 

 

 

 

Q4

Q1

Q2

Q3

Q4

Q1

OSC1/CLKIN

 

 

 

 

 

 

 

 

OS02

 

OS04

OS04

 

 

 

 

 

 

 

 

 

 

OS03

 

 

OSC2/CLKOUT

 

 

 

 

 

 

(LP,XT,HS Modes)

 

 

 

 

 

 

OSC2/CLKOUT

 

 

 

 

 

 

(CLKOUT Mode)

 

 

 

 

 

 

TABLE 15-1: CLOCK OSCILLATOR TIMING REQUIREMENTS

Standard Operating Conditions (unless otherwise stated)

 

 

 

Operating temperature

-40°C ≤ TA ≤ +125°C

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Param

Sym

 

Characteristic

 

Min

Typ†

Max

Units

Conditions

No.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OS01

FOSC

External CLKIN Frequency(1)

 

DC

37

kHz

LP Oscillator mode

 

 

 

 

 

DC

4

MHz

XT Oscillator mode

 

 

 

 

 

DC

20

MHz

HS Oscillator mode

 

 

 

 

 

DC

20

MHz

EC Oscillator mode

 

 

 

 

 

 

 

 

 

 

 

Oscillator Frequency(1)

 

32.768

kHz

LP Oscillator mode

 

 

 

 

 

0.1

4

MHz

XT Oscillator mode

 

 

 

 

 

1

20

MHz

HS Oscillator mode

 

 

 

 

 

DC

4

MHz

RC Oscillator mode

 

 

 

 

 

 

 

 

 

OS02

TOSC

External CLKIN Period(1)

 

27

μs

LP Oscillator mode

 

 

 

 

 

250

ns

XT Oscillator mode

 

 

 

 

 

50

ns

HS Oscillator mode

 

 

 

 

 

50

ns

EC Oscillator mode

 

 

 

 

 

 

 

 

 

 

 

Oscillator Period(1)

 

30.5

μs

LP Oscillator mode

 

 

 

 

 

250

10,000

ns

XT Oscillator mode

 

 

 

 

 

50

1,000

ns

HS Oscillator mode

 

 

 

 

 

250

ns

RC Oscillator mode

 

 

 

 

 

 

 

 

 

OS03

TCY

Instruction Cycle Time(1)

 

200

TCY

DC

ns

TCY = 4/FOSC

OS04*

TosH,

External CLKIN High,

 

2

μs

LP oscillator

 

TosL

External CLKIN Low

 

100

ns

XT oscillator

 

 

 

 

 

20

ns

HS oscillator

 

 

 

 

 

 

 

 

 

OS05*

TosR,

External CLKIN Rise,

 

0

ns

LP oscillator

 

TosF

External CLKIN Fall

 

0

ns

XT oscillator

 

 

 

 

 

0

ns

HS oscillator

 

 

 

 

 

 

 

 

 

 

*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: Instruction cycle period (TCY) equals four times the input oscillator time base period. All specified values are based on characterization data for that particular oscillator type under standard operating conditions with the device executing code. Exceeding these specified limits may result in an unstable oscillator operation and/or higher than expected current consumption. All devices are tested to operate at “min” values with an external clock applied to OSC1 pin. When an external clock input is used, the “max” cycle time limit is “DC” (no clock) for all devices.

2007 Microchip Technology Inc.

DS41211D-page 125

PIC12F683

TABLE 15-2: OSCILLATOR PARAMETERS

Standard Operating Conditions (unless otherwise stated)

 

 

 

 

 

Operating Temperature

-40°C ≤ TA ≤ +125°C

 

 

 

 

 

Param

Sym

 

Characteristic

Freq.

 

Min

Typ†

Max

Units

Conditions

No.

 

Tolerance

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OS06

TWARM

Internal Oscillator Switch

 

2

TOSC

Slowest clock

 

 

when running(3)

 

 

 

 

 

 

 

OS07

TSC

Fail-Safe Sample Clock

 

21

ms

LFINTOSC/64

 

 

Period(1)

 

 

 

 

 

 

 

OS08

HFOSC

Internal Calibrated

±1%

 

7.92

8.0

8.08

MHz

VDD = 3.5V, 25°C

 

 

HFINTOSC Frequency(2)

±2%

 

7.84

8.0

8.16

MHz

2.5V ≤ VDD ≤ 5.5V,

 

 

 

 

 

 

 

 

 

 

0°C ≤ TA ≤ +85°C

 

 

 

 

±5%

 

7.60

8.0

8.40

MHz

2.0V ≤ VDD ≤ 5.5V,

 

 

 

 

 

 

 

 

 

 

-40°C ≤ TA ≤ +85°C (Ind.),

 

 

 

 

 

 

 

 

 

 

-40°C ≤ TA ≤ +125°C (Ext.)

 

 

 

 

 

 

 

 

 

 

OS09*

LFOSC

Internal Uncalibrated

 

15

31

45

kHz

 

 

 

LFINTOSC Frequency

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OS10*

TIOSC

HFINTOSC Oscillator

 

5.5

12

24

μs

VDD = 2.0V, -40°C to +85°C

 

ST

Wake-up from Sleep

 

 

 

 

 

μs

 

 

 

3.5

7

14

VDD = 3.0V, -40°C to +85°C

 

 

Start-up Time

 

 

 

 

 

μs

VDD = 5.0V, -40°C to +85°C

 

 

 

3

6

11

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

*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: Instruction cycle period (TCY) equals four times the input oscillator time base period. All specified values are based on characterization data for that particular oscillator type under standard operating conditions with the device executing code. Exceeding these specified limits may result in an unstable oscillator operation and/or higher than expected current consumption. All devices are tested to operate at “min” values with an external clock applied to the OSC1 pin. When an external clock input is used, the “max” cycle time limit is “DC” (no clock) for all devices.

2:To ensure these oscillator frequency tolerances, VDD and VSS must be capacitively decoupled as close to the device as possible. 0.1 μF and 0.01 μF values in parallel are recommended.

3:By design.

DS41211D-page 126

2007 Microchip Technology Inc.

PIC12F683

FIGURE 15-5: CLKOUT AND I/O TIMING

Cycle

Write

Fetch

 

Read

Execute

 

Q4

Q1

 

Q2

Q3

Fosc

 

 

 

 

 

 

 

OS11

 

 

OS12

CLKOUT

 

 

 

OS20

 

 

 

 

OS21

 

 

 

 

 

 

 

 

OS19

 

OS16

OS18

 

 

 

 

 

 

 

OS13

OS17

 

 

 

 

 

 

 

I/O pin

 

 

 

 

 

(Input)

 

 

 

 

 

 

 

OS15

 

OS14

 

I/O pin

Old Value

 

 

 

New Value

(Output)

 

 

 

 

 

 

 

 

 

 

OS18, OS19

 

 

TABLE 15-3: CLKOUT AND I/O TIMING PARAMETERS

Standard Operating Conditions (unless otherwise stated)

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

Param

Sym

Characteristic

Min

Typ†

Max

Units

Conditions

No.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OS11

TOSH2CKL

FOSC↑ to CLKOUT↓ (1)

70

ns

VDD = 5.0V

OS12

TOSH2CKH

FOSC↑ to CLKOUT↑ (1)

72

ns

VDD = 5.0V

OS13

TCKL2IOV

CLKOUT↓ to Port out valid(1)

20

ns

 

OS14

TIOV2CKH

Port input valid before CLKOUT↑(1)

TOSC + 200 ns

ns

 

OS15*

TOSH2IOV

FOSC↑ (Q1 cycle) to Port out valid

50

70

ns

VDD = 5.0V

 

 

 

 

 

 

 

 

OS16

TOSH2IOI

FOSC↑ (Q2 cycle) to Port input invalid

50

ns

VDD = 5.0V

 

 

(I/O in hold time)

 

 

 

 

 

 

 

 

 

 

 

 

 

OS17

TIOV2OSH

Port input valid to FOSC↑ (Q2 cycle)

20

ns

 

 

 

(I/O in setup time)

 

 

 

 

 

 

 

 

 

 

 

 

 

OS18

TIOR

Port output rise time(2)

15

72

ns

VDD = 2.0V

 

 

 

40

32

 

VDD = 5.0V

 

 

 

 

 

 

 

 

OS19

TIOF

Port output fall time(2)

28

55

ns

VDD = 2.0V

 

 

 

15

30

 

VDD = 5.0V

 

 

 

 

 

 

 

 

OS20*

TINP

INT pin input high or low time

25

ns

 

 

 

 

 

 

 

 

 

OS21*

TGPP

GPIO interrupt-on-change new input

TCY

ns

 

 

 

level time

 

 

 

 

 

 

 

 

 

 

 

 

 

*These parameters are characterized but not tested.

† Data in “Typ” column is at 5.0V, 25°C unless otherwise stated.

Note 1: Measurements are taken in RC mode where CLKOUT output is 4 x TOSC.

2:Includes OSC2 in CLKOUT mode.

2007 Microchip Technology Inc.

DS41211D-page 127

PIC12F683

FIGURE 15-6: RESET, WATCHDOG TIMER, OSCILLATOR START-UP TIMER AND POWER-UP TIMER TIMING

VDD

 

 

MCLR

 

 

Internal

 

30

 

 

POR

 

 

PWRT

33

 

 

 

Time-out

32

 

 

 

OSC

 

 

Start-Up Time

 

 

Internal Reset(1)

 

 

Watchdog Timer

 

 

Reset(1)

 

 

 

34

31

 

34

 

 

I/O pins

 

 

Note 1:

Asserted low.

 

FIGURE 15-7: BROWN-OUT RESET TIMING AND CHARACTERISTICS

VDD

VBOR + VHYST

VBOR

(Device in Brown-out Reset)

(Device not in Brown-out Reset)

Reset

 

 

37

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

33*

 

 

(due to BOR)

 

 

 

 

 

 

 

 

 

 

 

 

*64 ms delay only if PWRTE bit in the Configuration Word register is programmed to ‘0’.

DS41211D-page 128

2007 Microchip Technology Inc.

PIC12F683

TABLE 15-4: RESET, WATCHDOG TIMER, OSCILLATOR START-UP TIMER, POWER-UP TIMER AND BROWN-OUT RESET PARAMETERS

Standard Operating Conditions (unless otherwise stated)

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

Param

Sym

 

 

Characteristic

Min

Typ†

Max

Units

Conditions

No.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

30

TMCL

 

 

Pulse Width (low)

2

μs

VDD = 5V, -40°C to +85°C

 

MCLR

 

 

 

 

 

5

μs

VDD = 5V

31

TWDT

 

Watchdog Timer Time-out

10

16

29

ms

VDD = 5V, -40°C to +85°C

 

 

 

Period (No Prescaler)

10

16

31

ms

VDD = 5V

 

 

 

 

 

 

 

 

 

32

TOST

 

Oscillation Start-up Timer

1024

TOSC

(NOTE 3)

 

 

 

Period(1, 2)

 

 

 

 

 

33*

TPWRT

 

Power-up Timer Period

40

65

140

ms

 

 

 

 

 

 

 

 

 

 

34*

TIOZ

 

I/O High-impedance from

2.0

μs

 

 

 

 

MCLR Low or Watchdog Timer

 

 

 

 

 

 

 

 

Reset

 

 

 

 

 

 

 

 

 

 

 

 

 

 

35

VBOR

 

Brown-out Reset Voltage

2.0

2.2

V

(NOTE 4)

 

 

 

 

 

 

 

 

 

36*

VHYST

 

Brown-out Reset Hysteresis

50

mV

 

 

 

 

 

 

 

 

 

 

37*

TBOR

 

Brown-out Reset Minimum

100

μs

VDD ≤ VBOR

 

 

 

Detection Period

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

*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: Instruction cycle period (TCY) equals four times the input oscillator time base period. All specified values are based on characterization data for that particular oscillator type under standard operating conditions with the device executing code. Exceeding these specified limits may result in an unstable oscillator operation and/or higher than expected current consumption. All devices are tested to operate at “min” values with an external clock applied to the OSC1 pin. When an external clock input is used, the “max” cycle time limit is “DC” (no clock) for all devices.

2:By design.

3:Period of the slower clock.

4:To ensure these voltage tolerances, VDD and VSS must be capacitively decoupled as close to the device as possible. 0.1 μF and 0.01 μF values in parallel are recommended.

2007 Microchip Technology Inc.

DS41211D-page 129