Figure 3-7. Programming Sequence For I2C Current Address Read - Motorola MVME2400 Series Programmer's Reference Manual

Vme processor module
Hide thumbs Also See for MVME2400 Series:
Table of Contents

Advertisement

System Memory Controller (SMC)
DEVICE ADDR
M
SDA
START
S
3
B
(*)
Stop condition should be generated to abort the transfer after a software wait loop (~1ms) has been expired
:

Figure 3-7. Programming Sequence for I2C Current Address Read

3-28
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
DATA of (last ADDR+1)
N
A
R
C
O
STOP
D
K
A
C
K
BEGIN
READ I2C STATUS REG
CMPLT=1?
N
Y
LOAD "$09" (START CONDITION) TO
I2C CONTROL REG
LOAD "DEVICE ADDR+RD BIT" TO
I2C TRANSMITTER DATA REG
READ I2C STATUS REG
N
CMPLT=ACKIN=1?
Y
LOAD "DUMMY DATA" TO
I2C TRANSMITTER DATA REG
READ I2C STATUS REG
N
CMPLT=DATIN=1?
Y
READ I2C RECEIVER DATA REG
LOAD "$05" (STOP CONDITION) TO
I2C CONTROL REG
LOAD "DUMMY DATA" TO
I2C TRANSMITTER DATA REG
READ I2C STATUS REG
N
CMPLT=1?
Y
END
Computer Group Literature Center Web Site
ACK and DATA from Slave Device
*
*

Advertisement

Table of Contents
loading

Table of Contents