MOSA
BUS INTERFACE
MS6266
6-Channel Electronic Volume Controller
Data are transmitted to and from the MCU to the MS6266 via the SDA and SCL. The SDA and SCL make up the
BUS interface. It should be noted that pull-up resistors must be connected to the positive supply voltage.
V
DD
Rp
Rp
Pull up resistors
SDA (Serial Data Line)
SCL (Serial Clock Line)
MCU
MS6266
Interface protocol
The format consists of the following
‧A
START condition
‧A
chip address byte including the MS6266 address. (7bits)
‧The
8
th
bit of the byte must be “0”.(write=0, read=1)
‧MS6266
must always acknowledge the end of each transmitted byte.
‧A
data sequence (N-bytes + Acknowledge)
‧A
STOP condition
SDA
SCL
1-7
8
9
1-7
8
9
1-7
8
9
S
START
CONDITION
ADDRESS
R / --
W
ACK
DATA
ACK
DATA
ACK
P
STOP
CONDITION
Address code
The MS6266 has four address codes, they were selected by AC1(pin17)and AC2(pin4).
AC1
0
0
1
1
AC2
0
1
0
1
Address code
80H
84H
88H
8CH
7 bits address
MS6266 address
W
1
0
AC1=1, AC2=0
0
0
1
0
0
0
0: connected to GND, 1: connected to V
DD
REV1
7
www.mosanalog.com.tw