2010 Microchip Technology Inc.
DS70102K-page 35
dsPIC30F Flash Programming Specification
11.2.2
REGOUT SERIAL INSTRUCTION
EXECUTION
The REGOUT control code allows for data to be
extracted from the device in ICSP mode. It is used to
clock the contents of the VISI register out of the device
over the PGD pin. Once the REGOUT control code is
received, eight clock cycles are required to process the
command. During this time, the CPU is held idle. After
these eight cycles, an additional 16 cycles are required
to clock the data out (see Figure 11-3).
The REGOUT instruction is unique because the PGD
pin is an input when the control code is transmitted to
the device. However, once the control code is
processed, the PGD pin becomes an output as the VISI
register is shifted out. After the contents of the VISI are
shifted out, PGD becomes an input again as the state
machine holds the CPU idle until the next 4-bit control
code is shifted in.
Note:
Once the contents of VISI are shifted out,
the dsPIC DSC device maintains PGD
as an output until the first rising edge of
the next clock is received.
FIGURE 11-1:
PROGRAM ENTRY AFTER RESET
FIGURE 11-2:
SIX SERIAL EXECUTION
FIGURE 11-3:
REGOUT SERIAL EXECUTION
P4
23
12
3
23 24
1
2
3
4
P1
PGC
P4a
PGD
24-bit Instruction Fetch
Execute 24-bit Instruction,
Execute PC – 1,
14
00
0
Fetch SIX Control Code
Fetch Next Control Code
4
5
6
7
8
18 19 202122
17
LSB X
X
X MSB
PGD = Input
P2
P3
P1B
P1A
56
7
00
0
00
0
89
00
P4
23
1
2
3
23 24
1
2
3
4
P1
PGC
P4a
PGD
24-bit Instruction Fetch
Execute 24-bit Instruction,
Execute PC – 1,
14
00
0
00
0
Fetch SIX Control Code
Fetch Next Control Code
4
5
6
7
8
18 19 202122
17
LSB X
X
X MSB
PGD = Input
P2
P3
P1a
P1b
12
3
4
1
2
7
8
PGC
P4
PGD
PGD = Input
Execute Previous Instruction,
CPU Held In Idle
Shift Out VISI Register <15:0>
P5
PGD = Output
12
3
12
3
4
P4a
11
13
15 16
14
12
No Execution Takes Place,
Fetch Next Control Code
0
00
0
PGD = Input
MSb
1
2
3
4
1
45
6
LSb
14
13
12
...
11
10
0
Fetch REGOUT Control Code
0
相关PDF资料
PIC16LF819T-I/MLTSL IC PIC MCU FLASH 2KX14 28QFN
PIC16LF819T-I/SOTSL IC PIC MCU FLASH 2KX14 18SOIC
PIC18LF8410T-I/PT IC PIC MCU FLASH 8KX16 80TQFP
PIC18F2410T-I/ML IC PIC MCU FLASH 8KX16 28QFN
PIC18F2331T-E/SOG IC PIC MCU FLASH 4KX16 28SOIC
PIC18F4331T-I/ML IC MCU FLASH 4KX16 44QFN
PIC16F690-I/ML IC PIC MCU FLASH 4KX14 20QFN
PIC16C56A-04I/P IC MCU OTP 1KX12 18DIP
相关代理商/技术参数
DSPIC30F3014T-20I/PT 功能描述:IC DSPIC MCU/DSP 24K 44TQFP RoHS:否 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:dsPIC™ 30F 产品培训模块:XLP Deep Sleep Mode 8-bit PIC® Microcontroller Portfolio 标准包装:22 系列:PIC® XLP™ 18F 核心处理器:PIC 芯体尺寸:8-位 速度:48MHz 连通性:I²C,SPI,UART/USART,USB 外围设备:欠压检测/复位,POR,PWM,WDT 输入/输出数:14 程序存储器容量:8KB(4K x 16) 程序存储器类型:闪存 EEPROM 大小:256 x 8 RAM 容量:512 x 8 电压 - 电源 (Vcc/Vdd):1.8 V ~ 5.5 V 数据转换器:A/D 11x10b 振荡器型:内部 工作温度:-40°C ~ 85°C 封装/外壳:20-DIP(0.300",7.62mm) 包装:管件 产品目录页面:642 (CN2011-ZH PDF) 配用:DV164126-ND - KIT DEVELOPMENT USB W/PICKIT 2DM164127-ND - KIT DEVELOPMENT USB 18F14/13K50AC164112-ND - VOLTAGE LIMITER MPLAB ICD2 VPP
dsPIC30F3014T-30I/ML 功能描述:数字信号处理器和控制器 - DSP, DSC 44LD 30MIPS 24 KB RoHS:否 制造商:Microchip Technology 核心:dsPIC 数据总线宽度:16 bit 程序存储器大小:16 KB 数据 RAM 大小:2 KB 最大时钟频率:40 MHz 可编程输入/输出端数量:35 定时器数量:3 设备每秒兆指令数:50 MIPs 工作电源电压:3.3 V 最大工作温度:+ 85 C 封装 / 箱体:TQFP-44 安装风格:SMD/SMT
dsPIC30F3014T-30I/PT 功能描述:数字信号处理器和控制器 - DSP, DSC 30MIPS 24 KB RoHS:否 制造商:Microchip Technology 核心:dsPIC 数据总线宽度:16 bit 程序存储器大小:16 KB 数据 RAM 大小:2 KB 最大时钟频率:40 MHz 可编程输入/输出端数量:35 定时器数量:3 设备每秒兆指令数:50 MIPs 工作电源电压:3.3 V 最大工作温度:+ 85 C 封装 / 箱体:TQFP-44 安装风格:SMD/SMT
DSPIC30F4011-20E/ML 功能描述:数字信号处理器和控制器 - DSP, DSC 16 Bit MCU/DSP 44LD 20M 48KB FL RoHS:否 制造商:Microchip Technology 核心:dsPIC 数据总线宽度:16 bit 程序存储器大小:16 KB 数据 RAM 大小:2 KB 最大时钟频率:40 MHz 可编程输入/输出端数量:35 定时器数量:3 设备每秒兆指令数:50 MIPs 工作电源电压:3.3 V 最大工作温度:+ 85 C 封装 / 箱体:TQFP-44 安装风格:SMD/SMT
DSPIC30F4011-20E/P 功能描述:数字信号处理器和控制器 - DSP, DSC 16 Bit MCU/DSP 40LD 20M 48KB FL RoHS:否 制造商:Microchip Technology 核心:dsPIC 数据总线宽度:16 bit 程序存储器大小:16 KB 数据 RAM 大小:2 KB 最大时钟频率:40 MHz 可编程输入/输出端数量:35 定时器数量:3 设备每秒兆指令数:50 MIPs 工作电源电压:3.3 V 最大工作温度:+ 85 C 封装 / 箱体:TQFP-44 安装风格:SMD/SMT
DSPIC30F4011-20E/PT 功能描述:数字信号处理器和控制器 - DSP, DSC 16 Bit MCU/DSP 20M 48KB FL RoHS:否 制造商:Microchip Technology 核心:dsPIC 数据总线宽度:16 bit 程序存储器大小:16 KB 数据 RAM 大小:2 KB 最大时钟频率:40 MHz 可编程输入/输出端数量:35 定时器数量:3 设备每秒兆指令数:50 MIPs 工作电源电压:3.3 V 最大工作温度:+ 85 C 封装 / 箱体:TQFP-44 安装风格:SMD/SMT
DSPIC30F4011-20I/ML 功能描述:数字信号处理器和控制器 - DSP, DSC 16 Bit MCU/DSP 44LD 20M 48KB FL RoHS:否 制造商:Microchip Technology 核心:dsPIC 数据总线宽度:16 bit 程序存储器大小:16 KB 数据 RAM 大小:2 KB 最大时钟频率:40 MHz 可编程输入/输出端数量:35 定时器数量:3 设备每秒兆指令数:50 MIPs 工作电源电压:3.3 V 最大工作温度:+ 85 C 封装 / 箱体:TQFP-44 安装风格:SMD/SMT
DSPIC30F4011-20I/ML 制造商:Microchip Technology Inc 功能描述:16- Bit Digital Signal Controller Memory