DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

ADM1168 데이터 시트보기 (PDF) - Analog Devices

부품명
상세내역
제조사
ADM1168 Datasheet PDF : 27 Pages
First Prev 21 22 23 24 25 26 27
Data Sheet
ADM1168
To set up a 2-byte EEPROM address for a subsequent read,
write, block read, block write, or page erase. In this case, the
command byte is the high byte of EEPROM Address 0xF8
to EEPROM Address 0xFB. The only data byte is the low
byte of the EEPROM address, as shown in Figure 31.
1
2
3
4
5
6
78
EEPROM
EEPROM
S
SLAVE
ADDRESS
W
A
ADDRESS
HIGH BYTE
A
ADDRESS
LOW BYTE
AP
(0xF8 TO 0xFB) (0x00 TO 0xFF)
Figure 31. Setting an EEPROM Address
Because a page consists of 32 bytes, only the three MSBs of
the address low byte are important for page erasure. The
lower five bits of the EEPROM address low byte specify the
addresses within a page and are ignored during an erase
operation.
To write a single byte of data to the EEPROM. In this case, the
command byte is the high byte of EEPROM Address 0xF8
to EEPROM Address 0xFB. The first data byte is the low
byte of the EEPROM address, and the second data byte is
the actual data, as shown in Figure 32.
1
2
3
4
5
6
7 8 9 10
EEPROM
EEPROM
S
SLAVE
ADDRESS
W
A
ADDRESS
HIGH BYTE
A
ADDRESS
LOW BYTE
A DATA A P
(0xF8 TO 0xFB) (0x00 TO 0xFF)
Figure 32. Single Byte Write to the EEPROM
Block Write
In a block write operation, the master device writes a block of
data to a slave device, as shown in Figure 34. The start address
for a block write must have been set previously. In the ADM1168,
a send byte operation sets a RAM address, and a write byte/word
operation sets an EEPROM address as follows:
1. The master device asserts a start condition on SDA.
2. The master sends the 7-bit slave address followed by
the write bit (low).
3. The addressed slave device asserts ACK on SDA.
4. The master sends a command code that tells the slave
device to expect a block write. The ADM1168 command
code for a block write is 0xFC (1111 1100).
5. The slave asserts ACK on SDA.
6. The master sends a data byte that tells the slave device how
many data bytes are being sent. The SMBus specification
allows a maximum of 32 data bytes in a block write.
7. The slave asserts ACK on SDA.
8. The master sends N data bytes.
9. The slave asserts ACK on SDA after each data byte.
10. The master asserts a stop condition on SDA to end the
transaction.
Unlike some EEPROM devices that limit block writes to within
a page boundary, there is no limitation on the start address when
performing a block write to EEPROM, except when
There must be at least N locations from the start address to
the highest EEPROM address (0xFBFF) to avoid writing to
invalid addresses.
An address crosses a page boundary. In this case, both
pages must be erased before programming.
Note that the ADM1168 features a clock extend function for
writes to the EEPROM. Programming an EEPROM byte takes
approximately 250 μs, which limits the SMBus clock for repeated
or block write operations. The ADM1168 pulls SCL low and
extends the clock pulse when it cannot accept any more data.
READ OPERATIONS
The ADM1168 uses the following SMBus read protocols.
Receive Byte
In a receive byte operation, the master device receives a single
byte from a slave device, as follows:
1. The master device asserts a start condition on SDA.
2. The master sends the 7-bit slave address followed by the
read bit (high).
3. The addressed slave device asserts ACK on SDA.
4. The master receives a data byte.
5. The master asserts NACK on SDA.
6. The master asserts a stop condition on SDA, and the
transaction ends.
In the ADM1168, the receive byte protocol is used to read a
single byte of data from a RAM or EEPROM location whose
address has previously been set by a send byte or write byte/
word operation, as shown in Figure 33.
1
2
3
4
56
S
SLAVE
ADDRESS
RA
DATA
AP
Figure 33. Single Byte Read from the EEPROM or RAM
1
2
3
4
5 6 789
10
S
SLAVE
ADDRESS
W
A
COMMAND 0xFC
(BLOCK WRITE)
A
BYTE
COUNT
A
DATA
1
A
DATA
2
A
DATA
N
A
P
Figure 34. Block Write to the EEPROM or RAM
Rev. B | Page 25 of 27

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]