Web Analytics
Datasheet 搜索 > 微控制器 > Microchip(微芯) > PIC16F676-I/ML 数据手册 > PIC16F676-I/ML 用户编程技术手册 5/24 页
PIC16F676-I/ML
器件3D模型
13.807
导航目录
PIC16F676-I/ML数据手册
Page:
of 24 Go
若手册格式错乱,请下载阅览PDF原文件
© 2005 Microchip Technology Inc. DS41191D-page 5
PIC12F629/675/PIC16F630/676
2.3 Program/Verify Mode
The Program/Verify mode is entered by holding pins clock
and data low while raising MCLR
pin from VIL to VIHH
(high voltage). Apply VDD and data. Once in this mode,
the user program memory, data memory and the configu-
ration memory can be accessed and programmed in
serial fashion. Clock is Schmitt Trigger and data is TTL
input in this mode. GP4 (PIC12F629/675) or RA4
(PIC16F630/676) is tri-state, regardless of use setting.
The sequence that enters the device into the Program-
ming/Verify mode places all other logic into the Reset
state (the MCLR
pin was initially at VIL). This means
that all I/O’s are in the Reset state (high-impedance
inputs).
FIGURE 2-2: ENTERING HIGH
VOLTAGE PROGRAM/
VERIFY MODE
The normal sequence for programming is to use the
Load Data command to set a value to be written at the
selected address. Issue the Begin Programming
command followed by a Read Data command to verify
and then increment the address.
A device Reset will clear the PC and set the address to
0’. The Increment Address command will increment
the PC. The Load Configuration command will set the
PC to 0x2000. The available commands are shown in
Table 2-1.
2.3.1 SERIAL PROGRAM/VERIFY
OPERATION
The clock pin is used as a clock input pin and the data
pin is used for entering command bits and data input/out-
put during serial operation. To input a command, the
clock pin (CLOCK) is cycled six times. Each command
bit is latched on the falling edge of the clock with the LSb
of the command being input first. The data on pin DATA
is required to have a minimum setup and hold time (see
Table 5-1), with respect to the falling edge of the clock.
Commands that have data associated with them (Read
and Load) are specified to have a minimum delay of 1 μs
between the command and the data. After this delay, the
clock pin is cycled 16 times with the first cycle being a
Start bit and the last cycle being a Stop bit. Data is also
input and output LSb first.
Therefore, during a read operation, the LSb will be
transmitted onto pin DATA on the rising edge of the
second cycle. During a load operation, the LSb will be
latched on the falling edge of the second cycle. A
minimum 1 μs delay is also specified between
consecutive commands.
All commands are transmitted LSb first. Data words are
also transmitted LSb first. The data is transmitted on
the rising edge and latched on the falling edge of the
clock. To allow for decoding of commands and reversal
of data pin configuration, a time separation of at least
1 μs is required between a command and a data word
(or another command).
The commands that are available are described in
Table 2-1.
TABLE 2-1: COMMAND MAPPING FOR PIC12F629/675/PIC16F630/676
VPP
THLD0
DATA
SDATA = Input
CLOCK
VDD
TPPDP
Command Mapping (MSb … LSb) Data
Load Configuration XX00000, data (14), 0
Load Data for Program Memory XX00100, data (14), 0
Load Data for Data Memory XX00110, data (8), zero (6), 0
Read Data from Program Memory XX01000, data (14), 0
Read Data from Data Memory XX01010, data (8), zero (6), 0
Increment Address XX0110
Begin Programming 001000Internally Timed
Begin Programming 011000Externally Timed
End Programming 001010
Bulk Erase Program Memory XX1001Internally Timed
Bulk Erase Data Memory XX1011Internally Timed

PIC16F676-I/ML 数据手册

Microchip(微芯)
132 页 / 1.31 MByte
Microchip(微芯)
137 页 / 5.82 MByte
Microchip(微芯)
24 页 / 0.35 MByte
Microchip(微芯)
12 页 / 0.24 MByte
Microchip(微芯)
2 页 / 0.1 MByte
Microchip(微芯)
4 页 / 0.15 MByte

PIC16F676 数据手册

Microchip(微芯)
14引脚基于闪存的8位CMOS微控制器 14-Pin FLASH-Based 8-Bit CMOS Microcontrollers
Microchip(微芯)
MICROCHIP  PIC16F676-I/SL  微控制器, 8位, 闪存, AEC-Q100, PIC16F, 20 MHz, 1.75 KB, 64 Byte, 14 引脚, SOIC
Microchip(微芯)
MICROCHIP  PIC16F676-I/P  微控制器, 8位, 闪存, AEC-Q100, PIC16F, 20 MHz, 1.75 KB, 64 Byte, 14 引脚, DIP
Microchip(微芯)
MICROCHIP  PIC16F676T-I/SL  微控制器, 8位, 闪存, AEC-Q100, PIC16F, 20 MHz, 1.75 KB, 64 Byte, 14 引脚, SOIC
Microchip(微芯)
MICROCHIP  PIC16F676-I/ST  微控制器, 8位, 闪存, AEC-Q100, PIC16F, 20 MHz, 1.75 KB, 64 Byte, 14 引脚, TSSOP
Microchip(微芯)
PIC16 系列 64 B RAM 1.75 kB 闪存 8位 CMOS 微控制器 - SOIC-14
Microchip(微芯)
MICROCHIP  PIC16F676T-I/ST  微控制器, 8位, 闪存, AEC-Q100, PIC16F6xxx, 20 MHz, 1.75 KB, 64 Byte, 14 引脚, TSSOP
Microchip(微芯)
MICROCHIP  PIC16F676-E/P  芯片, 8位微控制器, PIC116F, 20MHZ, DIP-14
Microchip(微芯)
14引脚基于闪存的8位CMOS微控制器 14-Pin FLASH-Based 8-Bit CMOS Microcontrollers
器件 Datasheet 文档搜索
器件加载中...
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件