Web Analytics
Datasheet 搜索 > 微控制器 > Microchip(微芯) > PIC16C771-I/SO 数据手册 > PIC16C771-I/SO 用户编程技术手册 3/5 页
PIC16C771-I/SO
器件3D模型
11.131
导航目录
  • 典型应用电路图在P1
PIC16C771-I/SO数据手册
Page:
of 5 Go
若手册格式错乱,请下载阅览PDF原文件
1996 Microchip Technology Inc. DS30154F-page 3
SQTP Specification for PIC16/17
APPENDIX A:
Implementing a table in the program memory of
PIC16C5X and PIC16C5XA:
The PIC16C5X and the PIC16C5XA family uses Har-
vard architecture, in which the program memory is sep-
arate from data memory. All instructions operate on
data that is fetched from the register file or data mem-
ory. Since there are no instructions to read from or write
to the program memory, simply storing data words in
program memory is of no use. There is, however, a sim-
ple and elegant way to implement constant tables in the
program memory by using the
RETLW
instruction. This
instruction returns from a subroutine as well as loads
an 8-bit constant into the W register. The following
example shows how to get a byte of “serial information”
from the table stored at location 000h in PIC16C54:
ORG 0 ;store serial numbers
RETLW 0FFh
RETLW 0FFh
RETLW 0FFh
RETLW 0FFh
RETLW 0FFh
RETLW 0FFh
RETLW 0FFh
RETLW 0FFh ;end of serial
;numbers
main_prog ORG XYZ ;This is main program
MOVLW byte_num ;byte_num = 0 for 1st
;byte
CALL get_1byte;
get_1byte MOVWF PC ;write W to program
;counter
;W = offset = 0 for
;1st byte
;end of get_1byte sub
;routine
END
The next example shows how a serial number may
reside at location other than 000h.
main_prog ORG XYZ ;This is main program
MOVLW byte_num ;byte_num = 0 for 1st
;byte
CALL get_1byte;
get_1byte ADDWFPC ;W = offset
RETLW 0ffh ;
RETLW 0ffh ;
RETLW 0ffh ;
RETLW 0ffh ;
RETLW 0ffh ;
RETLW 0ffh ;
RETLW 0ffh ;
RETLW 0ffh ;end of serial
;numbers
END
APPENDIX B:
Standard hex file format for serial programming:
The hex file containing the ‘serial numbers’ will be in
Intel hex 8-bit format. Since the PIC16C5X and the
PIC16C5XA have 12-bit data words, all addresses are
doubled in this hex format. Each line of the hex file will
be for a new part. Each line can contain only up to 16
bytes (i.e. eight PIC16C5X, PIC16C5XA instruction
words). The format is as follows:
:
NNAAAATTHHHHHH......HHCC
where:
NN = byte count on current line (max 10h allowed)
AAAA = address in four hex digits
TT = record type, always 00 except 01 for EOF
HH = Two digit hex data byte
CC = Two digit hex checksum

PIC16C771-I/SO 数据手册

Microchip(微芯)
224 页 / 3.07 MByte
Microchip(微芯)
688 页 / 2.66 MByte
Microchip(微芯)
5 页 / 0.05 MByte
Microchip(微芯)
24 页 / 0.47 MByte
Microchip(微芯)
18 页 / 0.58 MByte
Microchip(微芯)
2 页 / 0.1 MByte

PIC16C771 数据手册

Microchip(微芯)
MICROCHIP  PIC16C771/P  微控制器, 8位, 一次性可编程, PIC16C7xx, 20 MHz, 7 KB, 256 Byte, 20 引脚, DIP
Microchip(微芯)
PIC16C717/770/771 8 位微控制器Microchip 的 PIC16C 系列微控制器 8 位 CMOS MCU,将 Microchip 的 PIC® 体系架构融入到引脚和封装选件中,从节省空间的 14 引脚设备到功能丰富的 64 引脚设备。 现在由基于闪存的型号代替,这些设备在传统设计方面也仍受到欢迎。 对于新应用,应考虑 PIC16F 型号。 PIC16C717/770/771 系列微控制器基于 Microchip 的中级体系结构,带 8 层硬件堆栈和 35 个 14 位指令。 这些 MCU 可提供高达 5 MIP、7 千字节的程序存储器,数据存储器为 256 字节 RAM。 板载 RC 振荡器,精确度为 ±1%。### 特点35 指令 8 级硬件堆栈 15 个输入/输出引脚 1 个增强型捕获、比较、PWM (ECCP) 模块 6 通道模拟到数字转换器 (ADC) - PIC16C717 10 位、PIC16C770/771 12 位 两个 8 位计时器 一个 16 位计时器 主同步串行端口 (MSSP),带有 SPI 和 I2C 监控器计时器 (WDT) 通电重置 (POR) 通电计时器 (PWRT) 振荡器启动计时器 (OST) 可编程掉电重置 (PBOR) 在线串行编程 (ICSP)
Microchip(微芯)
PIC 20MHz 闪存:4K@x14bit
Microchip(微芯)
PIC16 系列 256 B RAM 4 K x 14位 EPROM 8位 CMOS 微控制器 - PDIP-20
Microchip(微芯)
PIC16 系列 376 B RAM 8 K x 14位 EPROM 8位 CMOS 微控制器 - PLCC-44
Microchip(微芯)
Microchip(微芯)
8位微控制器 -MCU 7KB 256 RAM 16 I/O
Microchip(微芯)
PIC 20MHz 闪存:4K@x14bit
Microchip(微芯)
PIC16C72/73(A)/74(A)/76/77 8 位微控制器Microchip 的 PIC16C 系列微控制器 8 位 CMOS MCU,将 Microchip 的 PIC® 体系架构融入到引脚和封装选件中,从节省空间的 14 引脚设备到功能丰富的 64 引脚设备。 现在由基于闪存的型号代替,这些设备在传统设计方面也仍受到欢迎。 对于新应用,应考虑 PIC16F 型号。 PIC16C72/73(A)/74(A)/76/77 系列微控制器基于 Microchip 中档体系结构,带 8 层硬件堆栈和 35 个 14 位指令。 这些 MCU 提供高达 5 MIPS、14 字节程序内存和 368 字节 RAM 的数据存储器。 板载是一个 RC 振荡器,精确度为 ±1%。### 特点35 个指令 8 级硬件堆栈 22 个输入/输出引脚 – PIC16C72/73/73A/76 33 个输入/输出引脚 – PIC16C74/74A/77 2 个捕获、比较、PWM (CCP) 模块 – 除 PIC16C72 外的所有型号,该型号具有 1 个模块 5 通道 8 位模拟到数字转换器 (ADC) – PIC16C72/73/73A/76 8 通道 8 位模拟到数字转换器 (ADC) – PIC16C74/74A/77 两个 8 位计时器 一个 16 位计时器 同步串行端口 (SSP),带有 SPI 和 I2C 通用同步异步接收器发射器 (USART/SCI) – 除 PIC16C72 外的所有型号 从并行端口 – 仅限型号 PIC16C74/74A/77 监控计时器 (WDT) 通电重置 (POR) 通电计时器 (PWRT) 振荡器启动计时器 (OST) 掉电重置 (BOR) 在线串行编程 (ICSP) ### PIC16 微控制器
Microchip(微芯)
8位微控制器 -MCU 7KB 256 RAM 16 I/O
器件 Datasheet 文档搜索
器件加载中...
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件