7
RM24C32C
DS-RM24C32C–056E–9/2015
6. Byte Write Operation
If the R/W bit in the control byte is set to zero, the device will be in write mode. Once the control byte is received, the
device will perform an acknowledge; it will then be ready to receive the Address High Byte (see Figure 6-1). After
receiving the Address High Byte, the device acknowledges and then is ready to receive the Address Low Byte. After
receiving the Address Low Byte, the device will acknowledge and then write the address (expressed by the high and low
address bytes) into its address pointer. The device is then ready to receive a byte of data to be written into the
addressed memory location. After the device receives the data, it performs an acknowledge. After the master has
received the last acknowledge (after the data byte) the master should send a STOP condition. The STOP condition
initiates the internal write cycle in the device. If the master does not send a STOP, the device will not write the data into
the addressed memory location.
While the device is in the write cycle it will not generate an acknowledge signal. Meanwhile, the master can poll the
device to determine when the write cycle is complete by sending it a control byte and looking for an acknowledge. Once
the write cycle has completed, the device will acknowledge a control byte sent to it.
After the data byte has been written, the internal address pointer will be incremented by one. If, in the RM24C32C, the
byte written is the last byte in a 32-byte page, the address will wrap around to the beginning of the same page. For
instance, if the byte is written to address 001Fh, the incremented address will be 0000h. If the byte is written to address
07FFh, the incremented address will be 07E0h.
If a write cycle is attempted with the WP (write protect) pin held high, the device will acknowledge the command, address,
and data, but no write cycle will occur following the STOP command. The data will not be written, and the device will
immediately be available to accept a new command. However, the internal address pointer will be written; so after the
data byte is transmitted to the device and the STOP command issued by the master, the internal address pointer will
again be incremented by one.
Figure 6-1. Byte Write Cycle
7. Page Write Operation
During a Page Write cycle, a Page with up to 32 bytes of data can be written in one continuous write command. The
Page Write starts in the same manner as the Byte Write. In a Page Write, after the acknowledge following the first data
byte, the master does not send a STOP, but continues to send additional data bytes (See Figure 7-1). At the end of the
number of bytes to be written, the master sends a STOP command. Once the STOP command is sent, the device will
write all the data bytes into memory, starting at the address location given in the address bytes.
If the master should transmit more than 32 bytes prior to generating the STOP command, the internal 32-byte data buffer
in the device will wrap around and the first data bytes transmitted will be overwritten.
Product Density Page Size (byte)
RM24C32 32Kbit 32