11.07.2015 Views

16K I2C Serial EEPROM - Hifi-remote.com

16K I2C Serial EEPROM - Hifi-remote.com

16K I2C Serial EEPROM - Hifi-remote.com

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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

24AA16/24LC16B3.6 Device AddressingA control byte is the first byte received following thestart condition from the master device. The control byteconsists of a four bit control code, for the 24XX16 thisis set as 1010 binary for read and write operations.The next three bits of the control byte are the blockselect bits (B2, B1, B0). They are used by the masterdevice to select which of the eight 256 word blocks ofmemory are to be accessed. These bits are in effect thethree most significant bits of the word address. Itshould be noted that the protocol limits the size of thememory to eight blocks of 256 words, therefore the protocolcan support only one 24XX16 per system.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 24XX16 monitorsthe SDA bus checking the device type identifier beingtransmitted, upon a 1010 code the slave device outputsan acknowledge signal on the SDA line. Dependingon the state of the R/W bit, the 24XX16 will select aread or write operation.OperationControlCodeBlock SelectR/WRead 1010 Block Address 1Write 1010 Block Address 0FIGURE 3-2:STARTCONTROL BYTEALLOCATIONSLAVE ADDRESSREAD/WRITER/W1 0 1 0 B2 B1 B0ADS21703B-page 6© 2002 Microchip Technology Inc.

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

Saved successfully!

Ooh no, something went wrong!