Web Analytics
Datasheet 搜索 > 微控制器 > Microchip(微芯) > PIC12F509T-I/MC 数据手册 > PIC12F509T-I/MC 用户编程技术手册 3/20 页
PIC12F509T-I/MC
器件3D模型
7.334
导航目录
  • 引脚图在P1
  • 电气规格在P17
PIC12F509T-I/MC数据手册
Page:
of 20 Go
若手册格式错乱,请下载阅览PDF原文件
© 2007 Microchip Technology Inc. Preliminary DS41227E-page 3
PIC12F508/509
3.0 COMMANDS AND
ALGORITHMS
3.1 Program/Verify Mode
The Program/Verify mode is entered by holding pins
ICSPCLK and ICSPDAT low while raising V
DD pin from
V
IL to VDD. Then raise VPP from VIL to VIHH. Once in
this mode, the user program memory and configuration
memory can be accessed and programmed in serial
fashion. Clock and data are Schmitt Trigger input in this
mode.
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 are in the Reset state (high-impedance
inputs).
3.1.1 PROGRAMMING
The programming sequence loads a word, programs,
verifies and finally increments the PC.
Program/Verify mode entry will set the address to
0x3FF for the PIC12F508 and 0x7FF for the
PIC12F509. The Increment Address command will
increment the PC. The available commands are shown
in Table 3-1.
FIGURE 3-1: ENTERING HIGH
VOLTAGE PROGRAM/
VERIFY MODE
3.1.2 SERIAL PROGRAM/VERIFY
OPERATION
The ICSPCLK pin is used for clock input and the
ICSPDAT pin is used for data input/output during serial
operation. To input a command, the clock pin 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 must adhere to the setup (T
SET1)
and hold (T
HLD1) times with respect to the falling edge
of the clock (see Table 6-1).
Commands that do not have data associated with them
are required to wait a minimum of T
DLY2 measured
from the falling edge of the last command clock to the
rising edge of the next command clock (see Table 6-1).
Commands that do have data associated with them
(Read and Load) are also required to wait TDLY2
between the command and the data segment
measured from the falling edge of the last command
clock to the rising edge of the first data clock. The data
segment, consisting of 16 clock cycles, can begin after
this delay.
The first and last clock pulses during the data segment
correspond to the Start and Stop bits, respectively.
Input data is a “don't care” during the Start and Stop
cycles. The 14 clock pulses between the Start and Stop
cycles clock the 14 bits of input/output data. Data is
transferred LSb first.
During Read commands, in which the data is output
from the PIC12F508/509, the ICSPDAT pin transitions
from the high-impedance input state to the low-imped-
ance output state at the rising edge of the second data
clock (first clock edge after the Start cycle). The
ICSPDAT pin returns to the high-impedance state at
the rising edge of the 16th data clock (first edge of the
Stop cycle). See Figure 3-3.
The commands that are available are described in
Table 3-1.
TABLE 3-1: COMMAND MAPPING FOR PIC12F508/509
VPP
THLD0
ICSPDAT
ICSPCLK
VDD
TPPDP
Note: After every End Programming command,
a delay of T
DIS is required.
Command Mapping (MSb … LSb) Data
Load Data for Program Memory xx00100, data (14), 0
Read Data from Program Memory xx01000, data (14), 0
Increment Address xx0110
Begin Programming xx1000Externally Timed
End Programming xx1110
Bulk Erase Program Memory xx1001Internally Timed

PIC12F509T-I/MC 数据手册

Microchip(微芯)
110 页 / 1.45 MByte
Microchip(微芯)
137 页 / 5.82 MByte
Microchip(微芯)
20 页 / 0.41 MByte
Microchip(微芯)
4 页 / 0.09 MByte
Microchip(微芯)
2 页 / 0.1 MByte

PIC12F509 数据手册

Microchip(微芯)
MICROCHIP  PIC12F509-I/MS  微控制器, 8位, 闪存, AEC-Q100, PIC12F5xx, 4 MHz, 1.5 KB, 41 Byte, 8 引脚, MSOP
Microchip(微芯)
MICROCHIP  PIC12F509-I/SN  微控制器, 8位, 闪存, AEC-Q100, PIC12F5xx, 4 MHz, 1.5 KB, 41 Byte, 8 引脚, SOIC
Microchip(微芯)
PIC12F508/509 8 位闪存微控制器Microchip 的 PIC12 微控制器 (MCU) 是世界首个 8 引脚微控制器。 最初已经作为一次可编程 (OTP) 部件推出,此系列设备继续扩展为额外功能且添加了附加改进功能。 PIC12F508/509 系列微控制器基于 Microchip 的基线内核,带 2 层深硬件堆栈和 33 个指令。 这些 MCU 提供高达 1 MIPS、高达 1.5 K 字节程序内存和高达 41 字节 SRAM 数据内存。 板载 RC 振荡器,精确度为 ±1%。### 特点33 个指令 2 级硬件堆栈 4 MHz 内部振荡器 6 个输入/输出引脚 一个 8 位计时器 监控器计时器 (WDT) 在线串行编程 (ICSP) 在线调试 (ICD) ### PIC12F 微控制器### Microchip PIC12F 8 位 PIC® 微控制器Microchip 的 PIC12F 微控制器 (MCU) 是世界首个 8 引脚微控制器。 最初已经作为一次可编程 (OTP) 部件推出,此系列的设备将继续扩展为 Microchip 添加额外功能,进一步提高规格,并继续提供比以前更大的值。 PIC12F 成功的关键是在一个 8 引脚封装中允许六个输入/输出通道的内部 RC 振荡器。 此 RC 振荡器的更高版本可在 31kHz 和 32MHz 之间配置。
Microchip(微芯)
MICROCHIP  PIC12F509T-I/MS  微控制器, 8位, 闪存, AEC-Q100, PIC12F5xx, 4 MHz, 1.5 KB, 41 Byte, 8 引脚, MSOP
Microchip(微芯)
PIC12 系列 41 B RAM 1.5 kB 闪存 8位 闪存 微控制器 - DFN-8
Microchip(微芯)
MICROCHIP  PIC12F509-E/SN  微控制器, 8位, 闪存, AEC-Q100, PIC12F5xx, 4 MHz, 1.5 KB, 41 Byte, 8 引脚, SOIC
Microchip(微芯)
MICROCHIP  PIC12F509T-I/SN  微控制器, 8位, 闪存, AEC-Q100, PIC12C5xx, 4 MHz, 1.5 KB, 41 Byte, 8 引脚, SOIC
Microchip(微芯)
8位微控制器 -MCU 1.5KB 41B RAM 4MHz
Microchip(微芯)
MICROCHIP  PIC12F509-I/SM  微控制器, 8位, 闪存, AEC-Q100, PIC12F5xx, 4 MHz, 1.5 KB, 41 Byte, 8 引脚, SOIC
Microchip(微芯)
MICROCHIP  PIC12F509-E/P  芯片, 微控制器, 8位, PIC12F, 4MHZ, DIP-8
器件 Datasheet 文档搜索
器件加载中...
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件