参数资料
型号: PIC16F54-I/P
厂商: Microchip Technology
文件页数: 31/88页
文件大小: 0K
描述: IC MCU FLASH 512X12 18DIP
产品培训模块: Asynchronous Stimulus
8-bit PIC® Microcontroller Portfolio
标准包装: 25
系列: PIC® 16F
核心处理器: PIC
芯体尺寸: 8-位
速度: 20MHz
外围设备: POR,WDT
输入/输出数: 12
程序存储器容量: 768B(512 x 12)
程序存储器类型: 闪存
RAM 容量: 25 x 8
电压 - 电源 (Vcc/Vdd): 2 V ~ 5.5 V
振荡器型: 外部
工作温度: -40°C ~ 85°C
封装/外壳: 18-DIP(0.300",7.62mm)
包装: 管件
产品目录页面: 638 (CN2011-ZH PDF)
配用: DVA16XP180-ND - ADAPTER DEVICE FOR MPLAB-ICE
AC164001-ND - MODULE SKT PROMATEII 18/28DIP
2007 Microchip Technology Inc.
DS41213D-page 35
PIC16F5X
7.1
Using Timer0 with an External
Clock
When an external clock input is used for Timer0, it must
meet
certain
requirements.
The
external
clock
requirement is due to internal phase clock (TOSC)
synchronization. Also, there is a delay in the actual
incrementing of Timer0 after synchronization.
7.1.1
EXTERNAL CLOCK
SYNCHRONIZATION
When no prescaler is used, the external clock is the
Timer0 input. The synchronization of T0CKI with the
internal phase clocks is accomplished by sampling the
prescaler output on the Q2 and Q4 cycles of the inter-
nal phase clocks (Figure 7-4). Therefore, it is neces-
sary for T0CKI to be high for at least 2TOSC (and a small
RC delay of 20 ns) and low for at least 2TOSC (and a
small RC delay of 20 ns). Refer to the electrical
specification of the desired device.
When a prescaler is used, the external clock input is
divided by the asynchronous ripple counter-type
prescaler so that the prescaler output is symmetrical.
For the external clock to meet the sampling require-
ment, the ripple counter must be taken into account.
Therefore, it is necessary for T0CKI to have a period of
at least 4TOSC (and a small RC delay of 40 ns) divided
by the prescaler value. The only requirement on T0CKI
high and low time is that they do not violate the
minimum pulse width requirement of 10 ns. Refer to
parameters 40, 41 and 42 in the electrical specification
of the desired device.
7.1.2
TIMER0 INCREMENT DELAY
Since the prescaler output is synchronized with the
internal clocks, there is a small delay from the time the
external clock edge occurs to the time the Timer0
module is actually incremented. Figure 7-4 shows the
delay from the external clock edge to the timer
incrementing.
FIGURE 7-4:
TIMER0 TIMING WITH EXTERNAL CLOCK
7.2
Prescaler
An 8-bit counter is available as a prescaler for the
Timer0 module, or as a postscaler for the Watchdog
Timer
(WDT),
respectively
Period”). For simplicity, this counter is being referred
to as “prescaler” throughout this data sheet. Note that
the prescaler may be used by either the Timer0 module
or the WDT, but not both. Thus, a prescaler assignment
for the Timer0 module means that there is no prescaler
for the WDT, and vice-versa.
The PSA and PS<2:0> bits (OPTION<3:0>) determine
prescaler assignment and prescale ratio.
When assigned to the Timer0 module, all instructions
writing to the TMR0 register (e.g., CLRF 1, MOVWF 1,
BSF 1
, x, etc.) will clear the prescaler. When assigned
to WDT, a CLRWDT instruction will clear the prescaler
along with the WDT. The prescaler is neither readable
nor writable. On a Reset, the prescaler contains all ‘0’s.
Increment Timer0 (Q4)
External Clock Input or
Q1
Q2
Q3 Q4
Q1
Q2
Q3 Q4
Q1
Q2
Q3 Q4
Q1
Q2
Q3 Q4
Timer0
T0
T0 + 1
T0 + 2
Small pulse
misses sampling
External Clock/Prescaler
Output After Sampling
(2)
Prescaler Output(1)
(3)
Note
1:
External clock if no prescaler selected; prescaler output otherwise.
2:
The arrows indicate the points in time where sampling occurs.
3:
Delay from clock input change to Timer0 increment is 3TOSC to 7TOSC (duration of Q = TOSC). Therefore, the error
in measuring the interval between two edges on Timer0 input =
± 4TOSC max.
相关PDF资料
PDF描述
PIC10LF322-I/MC IC MCU 8BIT 896B FLASH 8DFN
PIC10F322-I/MC IC MCU 8BIT 896B FLASH 8DFN
PIC12F509-I/SN IC MCU FLASH 1KX12 8SOIC
PIC12F508-I/MS IC PIC MCU FLASH 512X12 8MSOP
046214027000800+ CONN FPC VERTICAL 0.5 MM 27POS
相关代理商/技术参数
参数描述
PIC16F54T-E/SO 功能描述:8位微控制器 -MCU .77KB 25 RAM 12 I/O Ext Temp SOIC18 RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC16F54T-E/SS 功能描述:8位微控制器 -MCU .77KB 25 RAM 12 I/O Ext Temp SSOP20 RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC16F54T-I/ML 制造商:Microchip Technology Inc 功能描述:28 PIN, .77KB STD FLASH, 25 RA - Tape and Reel
PIC16F54T-I/SO 功能描述:8位微控制器 -MCU .77KB 25 RAM 12 I/O Ind Temp SOIC18 RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC16F54T-I/SO034 制造商:Microchip Technology Inc 功能描述: