欢迎访问ic37.com |
会员登录 免费注册
发布采购

93LC66 参数 Datasheet PDF下载

93LC66图片预览
型号: 93LC66
PDF下载: 下载PDF文件 查看货源
内容描述: 1K / 2K / 4K 2.5V Microwire串行EEPROM [1K/2K/4K 2.5V Microwire Serial EEPROM]
分类和应用: 可编程只读存储器电动程控只读存储器电可擦编程只读存储器
文件页数/大小: 22 页 / 102 K
品牌: MICROCHIP [ MICROCHIP TECHNOLOGY ]
 浏览型号93LC66的Datasheet PDF文件第7页浏览型号93LC66的Datasheet PDF文件第8页浏览型号93LC66的Datasheet PDF文件第9页浏览型号93LC66的Datasheet PDF文件第10页浏览型号93LC66的Datasheet PDF文件第12页浏览型号93LC66的Datasheet PDF文件第13页浏览型号93LC66的Datasheet PDF文件第14页浏览型号93LC66的Datasheet PDF文件第15页  
Using the 93LC56 and 93LC66
16c5x/7x Cross-Assembler V4.12 Released
Line
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042
0043
0044
0045
0046
0047
0048
0049
0050
0051
PC
Opcode
LIST P=16C54,c=132
;****************************************************************
;
3-Wire Byte Write with Data Poll Program (107 bytes)
;
;
This program demonstrates how to interface a
;
Microchip PIC16C54 to a 93LC56 or 93LC66 Serial EE
;
device. This program will execute the erase/write enable
;
command, write to 8 consecutive addresses, and then
;
use the ‘data polling’ method to determine when the
;
write cycle is complete. The program then executes
;
the erase/write disable command. This sequence will
;
repeat forever.
;
;
When writing to a 3-wire serial EE device, the
;
internally timed write cycle will begin after
;
the opcode, address and data are sent to the
;
device. There are two ways to make sure that the
;
cycle is complete before you send it another command.
;
The simplest method is to simply wait for the maximum
;
write cycle time, which can be obtained from the data book.
;
A more efficient method is “Data polling.” This is
;
done by toggling the chip select line low and then
;
back high after the opcode, address and data are sent.
;
The chip select line must be low for at least 250ns
;
before bringing it high again. The device will pull
;
the data out line low at that point, and set it high
;
when the write cycle is complete. The user can then check
;
or “poll” the dataout line until it goes high before
;
sending the next command.
;
;
As an option, the user can connect a LED to pin 18
;
on the PIC16C54 (use about a 1K resistor in series) as a
;
timeout indicator. This LED will come on if the
;
data polling is unsuccessful and the device being
;
programmed does not respond. This can be tested by
;
simply running the program with no part in the socket.
;
;
This program communicates to the serial EE in the
;
x16 mode, and ASSUMES THE USER HAS SET THE ORG PIN
;
ON THE DEVICE TO Vcc.
;
;
Timing is based on using the PIC16C54 in ‘XT’ mode
;
using a 4Mhz crystal. Clock speeds to the serial EE
;
will be approximately 50 kHz for this setup.
;
;
PIC16C54 to Serial EE Connections:
;
;
PIC16C54
Serial EE
;
——————
——————
;
Pin 10 (RB4) —> Chip Select
;
Pin 11 (RB5) —> Clock
Mon Jun 06 10:49:00 1994
Page 2
Mon Jun 06 10:49:00 1994
Page 1
8
16c5x/7x Cross-Assembler V4.12 Released
Line
0052
0053
0054
0055
0056
0057
0058
0059
0060
PC
Opcode
0005
0006
;
Pin 12 (RB6) —> Data In
;
Pin 13 (RB7) —> Data Out
;
ORG=Vcc
;
;************************************************************
;
Register Assignments
;************************************************************
port_a equ
5h
; port 5 (port_a)
port_b equ
6h
; port 6 (port b) used comm lines to serial EE
© 1994 Microchip Technology Inc.
DS00560D-page 11
8-109