SMS46
PreliminaryInformation
2
I C INTERFACE (CONTINUED)
Current Address Read (memory only)
AcknowledgePolling
WhentheSMS46isperforminganinternalWriteoperation The SMS46 contains an internal address counter which
itwillignoreanynewStartconditions. Sincethedevicewill
only return an acknowledge after it accepts the Start the
part can be continuously queried until an acknowledge is
issued,indicatingthattheinternalWritecycleiscomplete.
maintains the address of the last word accessed, incre-
mented by one. If the last address accessed (either a
Read or Write) was to address location n, the next Read
operation would access data from address location n+1
Seetheflowchartforthepropersequenceofoperationsfor and increment the current address pointer. When the
polling.
SMS46 receives the Slave address field with the R/W bit
set to 1 it issues an acknowledge and transmits the 8-Bit
wordstoredataddresslocationn+1. Thecurrentaddress
byte Read operation only accesses a single byte of data.
The Master sets the SDA line to NACK and generates a
stop condition. At this point the SMS46 discontinues data
Write Cycle
In Progress
transmission.
Issue Start
Random Address Read (Register and Memory)
Random address Read operations allow the Master to
access any memory location in a random fashion. This
operation involves a two-step process. First, the Master
issues a write command which includes the start condi-
tion and the Slave address field (with the R/W bit set to
Write), followed by the address of the word it is to Read.
This procedure sets the internal address counter of the
SMS46 to the desired address. After the word address
Issue Stop
Issue Slave
Address and
R/W = 0
No
ACK
Returned
acknowledge is received by the Master it immediately
reissues a Start condition, followed by another Slave
addressfieldwiththeR/WbitsettoREAD. TheSMS46will
respondwithanAcknowledgeandthentransmitthe8data
bits stored at the addressed location. At this point the
Master sets the SDA line to NACK and generates a Stop
condition. TheSMS46discontinuesdatatransmissionand
reverts to its standby power mode.
Yes
Next
Operation
a Write?
No
Yes
Issue Stop
Issue
Address
Sequential READ (Memory Only)
Sequential Reads can be initiated as either a current
address Read or random access Read. The first word is
transmitted as with the other byte Read modes (current
address byte Read or random address byte Read);
however,theMasternowrespondswithanAcknowledge,
indicating that it requires additional data from the SMS46.
The SMS46 continues to output data for each Acknowl-
edge received. The Master terminates the sequential
Read operation by responding with a NACK, and issues
a Stop condition. During a sequential Read operation the
internal address counter is automatically incremented
with each Acknowledge signal. For Read operations all
address bits are incremented, allowing the entire array to
be read using a single Read command. After a count of
the last memory address the address counter will rollover
and the memory will continue to output data.
Proceed
With
Await
Next
Write
Command
2047 Fig12
Figure 10 - Write Flow Chart
READOPERATIONS
Read operations are initiated with the R/W bit of the
identification field set to 1. There are two different Read
options: 1. Current Address Byte Read, and 2. Random
Address Byte Read.
SUMMIT MICROELECTRONICS, Inc.
2083 1.1 06/04/04
14