24C08B/16B
3.6
Device Addressing
4.0
WRITE OPERATION
A control byte is the first byte received following the
start condition from the master device. The control byte
4.1
Byte Write
consists of a 4-bit control code, for the 24C08B/16B
this is set as 1010 binary for read and write operations.
The next three bits of the control byte are the block
select bits (B2, B1, B0). They are used by the master
device to select which of the eight 256 word blocks of
memory are to be accessed. These bits are in effect the
three most significant bits of the word address.
The last bit of the control byte defines the operation to
be performed. When set to one a read operation is
selected, when set to zero a write operation is selected.
Following the start condition, the 24C08B/16B monitors
the SDA bus checking the device type identifier being
transmitted, upon a 1010 code the slave device outputs
an acknowledge signal on the SDA line. Depending on
the state of the R/W bit, the 24C08B/16B will select a
read or write operation.
Following the start condition from the master, the
device code (4 bits), the block address (3 bits), and the
R/W bit which is a logic low is placed onto the bus by
the master transmitter. This indicates to the addressed
slave receiver that a byte with a word address will fol-
low after it has generated an acknowledge bit during
the ninth clock cycle. Therefore the next byte transmit-
ted by the master is the word address and will be writ-
ten into the address pointer of the 24C08B/16B. After
receiving another acknowledge signal from the
24C08B/16B the master device will transmit the data
word to be written into the addressed memory location.
The 24C08B/16B acknowledges again and the master
generates a stop condition. This initiates the internal
write cycle, and during this time the 24C08B/16B will
not generate acknowledge signals (Figure 4-1).
Operation
Read
Write
Control
Code
1010
1010
Block Select
Block Address
Block Address
R/W
1
0
4.2 Page Write
The write control byte, word address and the first data
byte are transmitted to the 24C08B/16B in the same
way as in a byte write. But instead of generating a stop
FIGURE 3-2:
START
CONTROL BYTE
ALLOCATION
READ/WRITE
condition the master transmits up to 16 data bytes to
the 24C08B/16B which are temporarily stored in the
on-chip page buffer and will be written into the memory
after the master has transmitted a stop condition. After
the receipt of each word, the four lower order address
SLAVE ADDRESS
R/W
A
pointer bits are internally incremented by one. The
higher order seven bits of the word address remains
constant. If the master should transmit more than 16
words prior to generating the stop condition, the
address counter will roll over and the previously
1
0
1
0
B2
B1
B0
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 4-2).
? 2004 Microchip Technology Inc.
Note:
Page write operations are limited to writing
bytes within a single physical page, regardless
of the number of bytes actually being written.
Physical page boundaries start at addresses that
are integer multiples of the page buffer size (or
‘page size’) and end at addresses that are integer
multiples of [page size - 1]. If a page write com-
mand attempts to write across a physical page
boundary, the result is that the data wraps
around to the beginning of the current page
(overwriting data previously stored there),
instead of being written to the next page as
might be expected. It is therefore necessary for
the application software to prevent page write
operations that would attempt to cross a page
boundary.
DS21081G-page 5
相关PDF资料
24FC1026-I/P IC EEPROM 1024KB 1MHZ 8-DIP
24FC128-I/MNY IC EEPROM 128KBIT 1MHZ 8TDFN
24FC515T-I/SM IC EEPROM 512KBIT 1MHZ 8SOIC
24FC64T-I/MF IC EEPROM 64KBIT 1MHZ 8DFN
24LC014H-I/P IC EEPROM 1KBIT 400KHZ 8DIP
24LC014T-E/OT IC EEPROM 1KBIT 400KHZ SOT23-6
24LC01B-I/SNG IC EEPROM 1KBIT 400KHZ 8SOIC
24LC024H-I/ST IC EEPROM 2KBIT 400KHZ 8TSSOP
相关代理商/技术参数
24C08B-E/SL 制造商:未知厂家 制造商全称:未知厂家 功能描述:I2C Serial EEPROM
24C08B-E/SN 制造商:未知厂家 制造商全称:未知厂家 功能描述:I2C Serial EEPROM
24C08B-EP 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:8K/16K 5.0V I 2 C O Serial EEPROMs
24C08B-ESL 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:8K/16K 5.0V I 2 C O Serial EEPROMs
24C08B-ESN 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:8K/16K 5.0V I 2 C O Serial EEPROMs
24C08B-I/P 制造商:未知厂家 制造商全称:未知厂家 功能描述:I2C Serial EEPROM
24C08B-I/SL 制造商:未知厂家 制造商全称:未知厂家 功能描述:I2C Serial EEPROM
24C08B-I/SN 制造商:未知厂家 制造商全称:未知厂家 功能描述:I2C Serial EEPROM