![Harman Kardon AVR 145 Service Manual Download Page 135](http://html1.mh-extra.com/html/harman-kardon/avr-145/avr-145_service-manual_599878135.webp)
M24C64, M24C32
DEVICE OPERATION
The device supports the I
2
C protocol. This is sum-
marized in
Figure 5.
. Any device that sends data
on to the bus is defined to be a transmitter, and
any device that reads the data to be a receiver.
The device that controls the data transfer is known
as the bus master, and the other as the slave de-
vice. A data transfer can only be initiated by the
bus master, which will also provide the serial clock
for synchronization. The M24Cxx device is always
a slave in all communication.
Start Condition
Start is identified by a falling edge of Serial Data
(SDA) while Serial Clock (SCL) is stable in the
High state. A Start condition must precede any
data transfer command. The device continuously
monitors (except during a Write cycle) Serial Data
(SDA) and Serial Clock (SCL) for a Start condition,
and will not respond unless one is given.
Stop Condition
Stop is identified by a rising edge of Serial Data
(SDA) while Serial Clock (SCL) is stable and driv-
en High. A Stop condition terminates communica-
tion between the device and the bus master. A
Read command that is followed by NoAck can be
followed by a Stop condition to force the device
into the Stand-by mode. A Stop condition at the
end of a Write command triggers the internal Write
cycle.
Acknowledge Bit (ACK)
The acknowledge bit is used to indicate a success-
ful byte transfer. The bus transmitter, whether it be
bus master or slave device, releases Serial Data
(SDA) after sending eight bits of data. During the
9
th
clock pulse period, the receiver pulls Serial
Data (SDA) Low to acknowledge the receipt of the
eight data bits.
Data Input
During data input, the device samples Serial Data
(SDA) on the rising edge of Serial Clock (SCL).
For correct device operation, Serial Data (SDA)
must be stable during the rising edge of Serial
Clock (SCL), and the Serial Data (SDA) signal
must change
only when Serial Clock (SCL) is driv-
en Low.
Memory Addressing
To start communication between the bus master
and the slave device, the bus master must initiate
a Start condition. Following this, the bus master
sends the Device Select Code, shown in
Table 3.
(on Serial Data (SDA), most significant bit first).
The Device Select Code consists of a 4-bit Device
Type Identifier, and a 3-bit Chip Enable “Address”
(E2, E1, E0). To address the memory array, the 4-
bit Device Type Identifier is 1010b.
Up to eight memory devices can be connected on
a single I
2
C bus. Each one is given a unique 3-bit
code on the Chip Enable (E0, E1, E2) inputs.
When the Device Select Code is received, the de-
vice only responds if the Chip Enable Address is
the same as the value on the Chip Enable (E0, E1,
E2) inputs.
The 8
th
bit is the Read/Write bit (RW). This bit is
set to 1 for Read and 0 for Write operations.
If a match occurs on the Device Select code, the
corresponding device gives an acknowledgment
on Serial Data (SDA) during the 9
th
bit time. If the
device does not match the Device Select code, it
deselects itself from the bus, and goes into Stand-
by mode.
Table 6. Operating Modes
Note: 1. X =
V
IH
or V
IL
.
Mode
RW bit
WC
1
Bytes
Initial Sequence
Current Address Read
1
X
1
START, Device Select, RW = 1
Random Address Read
0
X
1
START, Device Select, RW = 0, Address
1
X
reSTART, Device Select, RW = 1
Sequential Read
1
X
≥
1
Similar to Current or Random Address Read
Byte Write
0
V
IL
1
START, Device Select, RW = 0
Page Write
0
V
IL
≤
32
START, Device Select, RW = 0
135
AVR145
harman/kardon
Summary of Contents for AVR 145
Page 32: ...32 AVR145 harman kardon ...
Page 34: ...34 AVR145 harman kardon ...
Page 35: ...35 AVR145 harman kardon ...
Page 36: ...36 AVR145 harman kardon ...
Page 37: ...37 AVR145 harman kardon ...
Page 38: ...38 AVR145 harman kardon ...
Page 39: ...39 AVR145 harman kardon ...
Page 40: ...40 AVR145 harman kardon ...
Page 41: ...41 AVR145 harman kardon ...
Page 76: ...76 AVR145 harman kardon ...
Page 77: ...77 AVR145 harman kardon ...
Page 78: ...78 AVR145 harman kardon ...
Page 79: ...79 AVR145 harman kardon ...
Page 80: ...80 AVR145 harman kardon ...
Page 81: ...81 AVR145 harman kardon ...
Page 82: ...82 AVR145 harman kardon ...
Page 83: ...83 AVR145 harman kardon ...
Page 84: ...84 AVR145 harman kardon ...
Page 85: ...85 AVR145 harman kardon ...
Page 86: ...86 AVR145 harman kardon ...
Page 87: ...87 AVR145 harman kardon ...
Page 90: ...90 AVR145 harman kardon ...
Page 91: ...91 AVR145 harman kardon ...
Page 92: ...92 AVR145 harman kardon ...
Page 93: ...93 AVR145 harman kardon ...
Page 94: ...94 AVR145 harman kardon ...
Page 95: ...95 AVR145 harman kardon ...
Page 96: ...96 AVR145 harman kardon ...
Page 97: ...97 AVR145 harman kardon ...
Page 98: ...98 AVR145 harman kardon ...
Page 99: ...99 AVR145 harman kardon ...
Page 100: ...100 AVR145 harman kardon ...
Page 101: ...101 AVR145 harman kardon ...
Page 102: ...102 AVR145 harman kardon ...
Page 103: ...103 AVR145 harman kardon ...
Page 111: ...111 AVR145 harman kardon ...
Page 125: ...125 AVR145 harman kardon ...
Page 126: ...126 AVR145 harman kardon ...
Page 128: ...128 AVR145 harman kardon ...
Page 129: ...129 AVR145 harman kardon ...
Page 130: ...130 AVR145 harman kardon ...
Page 142: ...142 AVR145 harman kardon ...
Page 143: ...143 AVR145 harman kardon ...
Page 144: ...3 SCH sch 1 Mon Oct 23 17 10 00 2006 144 AVR145 harman kardon ...
Page 145: ...061023 SCH sch 3 Mon Oct 23 17 22 48 2006 145 AVR145 harman kardon ...
Page 146: ...061011 SCH sch 2 Fri Oct 13 14 43 06 2006 146 AVR145 harman kardon ...
Page 147: ...61011 SCH sch 1 Fri Oct 13 14 42 17 2006 147 AVR145 harman kardon ...
Page 148: ...1023 SCH sch 1 Mon Oct 23 17 28 12 2006 148 AVR145 harman kardon ...
Page 149: ...149 AVR145 harman kardon ...
Page 150: ...23 SCH sch 1 Mon Oct 23 17 14 10 2006 150 AVR145 harman kardon ...
Page 151: ...t 13 11 20 20 2006 151 AVR145 harman kardon ...