Web Analytics
Datasheet 搜索 > 8位微控制器 > Microchip(微芯) > PIC18F258-I/SO 数据手册 > PIC18F258-I/SO 用户编程技术手册 6/36 页
PIC18F258-I/SO
器件3D模型
72.086
导航目录
PIC18F258-I/SO数据手册
Page:
of 36 Go
若手册格式错乱,请下载阅览PDF原文件
PIC18FXX2/XX8
DS39576C-page 6 2010 Microchip Technology Inc.
2.6 Serial Program/Verify Operation
The SCLK pin is used as a clock input pin and the
SDATA pin is used for entering command bits and data
input/output during serial operation. Commands and
data are transmitted on the rising edge of SCLK,
latched on the falling edge of SCLK, and are Least
Significant bit (LSb) first.
2.6.1 4-BIT COMMANDS
All instructions are 20 bits, consisting of a leading 4-bit
command followed by a 16-bit operand, which depends
on the type of command being executed. To input a
command, SCLK is cycled four times. The commands
needed for programming and verification are shown in
Table 2-3.
Depending on the 4-bit command, the 16-bit operand
represents 16 bits of input data or 8 bits of input data
and 8 bits of output data.
Throughout this specification, commands and data are
presented as illustrated in Figure 2-4. The 4-bit com-
mand is shown MSb first. The command operand, or
“Data Payload”, is shown <MSB><LSB>. Figure 2-7
demonstrates how to serially present a 20-bit
command/operand to the device.
2.6.2 CORE INSTRUCTION
The core instruction passes a 16-bit instruction to the
CPU core for execution. This is needed to setup
registers as appropriate for use with other commands.
TABLE 2-3: COMMANDS FOR
PROGRAMMING
TABLE 2-4: SAMPLE COMMAND
SEQUENCE
FIGURE 2-7: TABLE WRITE, POST INCREMENT TIMING (1101)
Description
4-Bit
Command
Core Instruction
(Shift in16-bit instruction)
0000
Shift out TABLAT register
0010
Table Read
1000
Table Read, post-increment
1001
Table Read, post-decrement
1010
Table Read, pre-increment
1011
Table Write
1100
Table Write, post-increment by 2
1101
Table Write, post-decrement by 2
1110
Table Write, start programming
1111
4-Bit
Command
Data
Payload
Core Instruction
1101 3C 40 Table Write,
post-increment by 2
1234
SCLK
P5
SDATA
SDATA = Input
5678 1
234
P5A
9
10 11 13 15 161412
Fetch Next 4-bit Command
1011
1234
nnnn
P3
P2
P2A
000000 010001111 0
04C3
P4
4-bit Command 16-bit Data Payload
P2B

PIC18F258-I/SO 数据手册

Microchip(微芯)
8 页 / 0.18 MByte
Microchip(微芯)
62 页 / 1.49 MByte
Microchip(微芯)
36 页 / 0.24 MByte
Microchip(微芯)
21 页 / 0.23 MByte
Microchip(微芯)
32 页 / 0.67 MByte
Microchip(微芯)
2 页 / 0.53 MByte
Microchip(微芯)
2 页 / 0.11 MByte

PIC18F258 数据手册

Microchip(微芯)
MICROCHIP  PIC18F258-I/SP  微控制器, 8位, 闪存, PIC18F, 40 MHz, 32 KB, 1.5 KB, 28 引脚, NDIP
Microchip(微芯)
PIC18F248/258/448/458 8 位闪存微控制器### PIC18 微控制器
Microchip(微芯)
PIC18F2480/2580/4480/4580 8 位闪存微控制器### PIC18 微控制器
Microchip(微芯)
MICROCHIP  PIC18F2580-I/SP  微控制器, 8位, 闪存, PIC18F2xxx, 40 MHz, 32 KB, 1.5 KB, 28 引脚, NDIP
Microchip(微芯)
MICROCHIP  PIC18F2580-I/ML  微控制器, 8位, 闪存, PIC18F2xxx, 40 MHz, 32 KB, 1.5 KB, 28 引脚, QFN
Microchip(微芯)
MICROCHIP  PIC18F2585-I/SO  微控制器, 8位, 闪存, PIC18F, 40 MHz, 48 KB, 3.25 KB, 28 引脚, SOIC
Microchip(微芯)
MICROCHIP  PIC18F2585-I/SP  微控制器, 8位, 闪存, PIC18F2xxx, 40 MHz, 48 KB, 3.25 KB, 28 引脚, DIP
Microchip(微芯)
PIC18 系列 1.5 kB RAM 32 kB 闪存 8位 增强型 微控制器 - SOIC-28
Microchip(微芯)
PIC18 系列 1.5 kB RAM 32 kB 闪存 8位 微控制器 - SOIC-28
Microchip(微芯)
PIC18F2480/2580/4480/4580 8 位闪存微控制器### PIC18 微控制器
器件 Datasheet 文档搜索
器件加载中...
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件