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

PIC16CE625-04/SO 参数 Datasheet PDF下载

PIC16CE625-04/SO图片预览
型号: PIC16CE625-04/SO
PDF下载: 下载PDF文件 查看货源
内容描述: OTP 8位CMOS微控制器与EEPROM数据存储器 [OTP 8-Bit CMOS MCU with EEPROM Data Memory]
分类和应用: 存储微控制器和处理器外围集成电路光电二极管PC可编程只读存储器电动程控只读存储器电可擦编程只读存储器时钟
文件页数/大小: 108 页 / 2330 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC16CE625-04/SO的Datasheet PDF文件第28页浏览型号PIC16CE625-04/SO的Datasheet PDF文件第29页浏览型号PIC16CE625-04/SO的Datasheet PDF文件第30页浏览型号PIC16CE625-04/SO的Datasheet PDF文件第31页浏览型号PIC16CE625-04/SO的Datasheet PDF文件第33页浏览型号PIC16CE625-04/SO的Datasheet PDF文件第34页浏览型号PIC16CE625-04/SO的Datasheet PDF文件第35页浏览型号PIC16CE625-04/SO的Datasheet PDF文件第36页  
PIC16CE62X  
6.3  
WRITE OPERATIONS  
6.4  
ACKNOWLEDGE POLLING  
6.3.1  
BYTE WRITE  
Since the EEPROM will not acknowledge during a write  
cycle, this can be used to determine when the cycle is  
complete (this feature can be used to maximize bus  
throughput). Once the stop condition for a write com-  
mand has been issued from the processor, the  
EEPROM initiates the internally timed write cycle. ACK  
polling can be initiated immediately. This involves the  
processor sending a start condition followed by the  
control byte for a write command (R/W = 0). If the  
device is still busy with the write cycle, then no ACK will  
be returned. If no ACK is returned, then the start bit and  
control byte must be re-sent. If the cycle is complete,  
then the device will return the ACK and the processor  
can then proceed with the next read or write command.  
See Figure 6-5 for flow diagram.  
Following the start signal from the processor, the  
device code (4 bits), the don't care bits (3 bits), and the  
R/W bit which is a logic low is placed onto the bus by  
the processor. This indicates to the EEPROM that a  
byte with a word address will follow after it has gener-  
ated an acknowledge bit during the ninth clock cycle.  
Therefore the next byte transmitted by the processor is  
the word address and will be written into the address  
pointer of the EEPROM. After receiving another  
acknowledge signal from the EEPROM the processor  
will transmit the data word to be written into the  
addressed memory location. The EEPROM acknowl-  
edges again and the processor generates a stop con-  
dition. This initiates the internal write cycle, and during  
this time the EEPROM will not generate acknowledge  
signals (Figure 6-6).  
FIGURE 6-5: ACKNOWLEDGE POLLING  
FLOW  
6.3.2  
PAGE WRITE  
Send  
Write Command  
The write control byte, word address and the first data  
byte are transmitted to the EEPROM in the same way  
as in a byte write. But instead of generating a stop con-  
dition the processor transmits up to eight data bytes to  
the EEPROM which are temporarily stored in the on-  
chip page buffer and will be written into the memory  
after the processor has transmitted a stop condition.  
After the receipt of each word, the three lower order  
address pointer bits are internally incremented by one.  
The higher order five bits of the word address remains  
constant. If the processor should transmit more than  
eight words prior to generating the stop condition, the  
address counter will roll over and the previously  
received data will be overwritten. As with the byte write  
operation, once the stop condition is received an inter-  
nal write cycle will begin (Figure 6-7).  
Send Stop  
Condition to  
Initiate Write Cycle  
Send Start  
Send Control Byte  
with R/W = 0  
Did EEPROM  
NO  
Acknowledge  
(ACK = 0)?  
YES  
Next  
Operation  
FIGURE 6-6: BYTE WRITE  
S
T
A
R
T
S
T
O
P
BUS ACTIVITY  
PROCESSOR  
CONTROL  
BYTE  
WORD  
ADDRESS  
DATA  
SDA LINE  
P
S
1
0
1
0
X
X
X
0
X
X
X X  
A
C
K
A
C
K
A
C
K
BUS ACTIVITY  
X = Don’t Care Bit  
DS40182A-page 32  
Preliminary  
1998 Microchip Technology Inc.  
 
 
 复制成功!