11.07.2015 Views

datasheet: pdf - AdvanIDe

datasheet: pdf - AdvanIDe

datasheet: pdf - AdvanIDe

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

24AA08/24LC08B3.6 Device AddressingA control byte is the first byte received following theStart condition from the master device (Figure 3-2).The control byte consists of a four-bit control code. Forthe 24XX08, this is set as ‘1010’ binary for read andwrite operations. The next three bits of the control byteare the block-select bits (B2, B1, B0). B2 is a “don’tcare” for the 24XX08. They are used by the masterdevice to select which of the four 256 word-blocks ofmemory are to be accessed. These bits are in effect thethree Most Significant bits of the word address.The last bit of the control byte defines the operation tobe performed. When set to ‘1’ a read operation isselected. When set to ‘0’ a write operation is selected.Following the Start condition, the 24XX08 monitors theSDA bus, checking the device type identifier beingtransmitted and, upon receiving a ‘1010’ code, theslave device outputs an Acknowledge signal on theSDA line. Depending on the state of the R/W bit, the24XX08 will select a read or write operation.FIGURE 3-2:SStart BitCONTROL BYTEALLOCATION1 0 1 0 x B1 B0 R/W ACKx = “don’t care”Control CodeSlave AddressBlockSelectBitsRead/Write BitAcknowledge BitOperationControlCodeBlock SelectR/WRead 1010 Block Address 1Write 1010 Block Address 0DS21710E-page 6© 2005 Microchip Technology Inc.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!