| Electronic Components Datasheet Search |
|
X40231 Datasheet(PDF) 15 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
X40231 Datasheet(HTML) 15 Page - Renesas Technology Corp |
|
15 / 36 page ![]() X40231, X40233, X40235, X40237, X40239 FN8115 Rev 0.00 Page 15 of 36 April 11, 2005 EEPROM Byte Write In order to perform an EEPROM Byte Write operation to the EEPROM array, the Write Enable Latch (WEL) bit of the CR Register must first be set (See “BL1, BL0: Block Lock protection bits - (Nonvolatile)” on page 18.) For a write operation, the X4023x requires the Slave Address Byte and an Address Byte. This gives the mas- ter access to any one of the words in the array. After receipt of the Address Byte, the X4023x responds with an ACKNOWLEDGE, and awaits the next eight bits of data. After receiving the 8 bits of the Data Byte, it again responds with an ACKNOWLEDGE. The master then terminates the transfer by generating a STOP condition, at which time the X4023x begins the internal write cycle to the nonvolatile memory (See Figure 11). During this internal write cycle, the X4023x inputs are disabled, so it does not respond to any requests from the master. The SDA output is at high impedance. A write to a region of EEPROM memory which has been protected with the Block-Lock feature (See “BL1, BL0: Block Lock protec- tion bits - (Nonvolatile)” on page 18.), suppresses the ACKNOWLEDGE bit after the Address Byte. EEPROM Page Write In order to perform an EEPROM Page Write operation to the EEPROM array, the Write Enable Latch (WEL) bit of the CR Register must first be set (See “BL1, BL0: Block Lock protection bits - (Nonvolatile)” on page 18.) The X4023x is capable of a page write operation. It is ini- tiated in the same manner as the byte write operation; but instead of terminating the write cycle after the first data byte is transferred, the master can transmit an unlimited number of 8-bit bytes. After the receipt of each byte, the X4023x responds with an ACKNOWLEDGE, and the address is internally incremented by one. The page address remains constant. When the counter reaches the end of the page, it “rolls over” and goes back to ‘0’ on the same page. For example, if the master writes 12 bytes to the page starting at location 11 (decimal), the first 5 bytes are writ- ten to locations 11 through 15, while the last 7 bytes are written to locations 0 through 6. Afterwards, the address counter would point to location 7. If the master supplies more than 16 bytes of data, then new data overwrites the previous data, one byte at a time (See Figure 13). The master terminates the Data Byte loading by issuing a STOP condition, which causes the X4023x to begin the nonvolatile write cycle. As with the byte write opera- tion, all inputs are disabled until completion of the inter- nal write cycle. See Figure 12 for the address, ACKNOWLEDGE, and data transfer sequence. Stops and EEPROM Write Modes Stop conditions that terminate write operations must be sent by the master after sending at least 1 full data byte and receiving the subsequent ACKNOWLEDGE signal. If the master issues a STOP within a Data Byte, or before the X4023x issues a corresponding ACKNOWL- EDGE, the X4023x cancels the write operation. There- fore, the contents of the EEPROM array does not change. EEPROM Array Read Operations Read operations are initiated in the same manner as write operations with the exception that the R/W bit of the Slave Address Byte is set to one. There are three basic read operations: Current EEPROM Address Read, Random EEPROM Read, and Sequential EEPROM Read. Current EEPROM Address Read Internally the device contains an address counter that maintains the address of the last word read incremented by one. Therefore, if the last read was to address n, the next read operation would access data from address S t a r t S t o p Slave Address Address Byte Data (n) A C K A C K A C K SDA Bus Signals from the Slave Signals from the Master Data (1) A C K (2 < n < 16) Figure 12. EEPROM Page Write Operation 10 1 0 0 0 0 0 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |