datasheetbank_Logo
전자부품 반도체 검색엔진( 무료 PDF 다운로드 ) - 데이터시트뱅크

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

부품명
상세내역
제조사
EVAL-ADM1068LQEB
ADI
Analog Devices 
EVAL-ADM1068LQEB Datasheet PDF : 28 Pages
First Prev 21 22 23 24 25 26 27 28
Preliminary Technical Data
ADM1068
To erase a page of EEPROM memory. EEPROM memory
can be written to only if it is unprogrammed. Before
writing to one or more EEPROM memory locations that
are already programmed, the page or pages containing
those locations must first be erased. EEPROM memory is
erased by writing a command byte.
The master sends a command code that tells the slave
device to erase the page. The ADM1068 command code for
a page erasure is 0xFE (1111 1110). Note that, for a page
erasure to take place, the page address has to be given in
the previous write word transaction (see the Write
Byte/Word section). Also, Bit 2 in the UPDCFG register
(Address 0x90) must be set to 1.
1
2
3
S
SLAVE
ADDRESS
WA
4
COMMAND
BYTE
(0xFE)
56
AP
Figure 29. EEPROM Page Erasure
As soon as the ADM1068 receives the command byte, page
erasure begins. The master device can send a stop
command as soon as it sends the command byte. Page
erasure takes approximately 20 ms. If the ADM1068 is
accessed before erasure is complete, it responds with a no
acknowledge (NACK).
Write Byte/Word
In a write byte/word operation, the master device sends a
command byte and one or two data bytes to the 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
write bit (low).
3. The addressed slave device asserts ACK on SDA.
4. The master sends a command code.
5. The slave asserts ACK on SDA.
6. The master sends a data byte.
7. The slave asserts ACK on SDA.
8. The master sends a data byte (or asserts a stop condition at
this point).
9. The slave asserts ACK on SDA.
10. The master asserts a stop condition on SDA to end the
transaction.
In the ADM1068, the write byte/word protocol is used for three
purposes:
To write a single byte of data to RAM. In this case, the
command byte is the RAM address from 0x00 to 0xDF and
the only data byte is the actual data, as shown in Figure 30.
1
2
3
4
5 6 78
S
SLAVE
ADDRESS
W
A
RAM
ADDRESS
(0x00 TO 0xDF)
A
DATA A P
Figure 30. Single Byte Write to RAM
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 the EEPROM address
from 0xF8 to 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
Note, for page erasure, that because a page consists of
32 bytes, only the three MSBs of the address low byte are
important. 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 EEPROM. In this case, the
command byte is the high byte of the EEPROM address
from 0xF8 to 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 EEPROM
Block Write
In a block write operation, the master device writes a block of
data to a slave device. The start address for a block write must
have been set previously. In the ADM1068, a send byte opera-
tion 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 ADM1068 command
code for a block write is 0xFC (1111 1100).
Rev. PrB | Page 23 of 28

Share Link: 

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