MOSA
MS6257
GAIN AND ATTENUATION VOLUME CONTROLLER IC
Example
Mute off
MSB
LSB
Data byte
Start 1 0 0 0 1 0 0 0 ACK 0 1 1 1 1 0 0 0 ACK Stop
MS6257 address
2-ch, Mute off
The initial condition is –79dB and mute on when power up. The first command must disable the mute function.
Set gain of 2 channel at 0dB
Start MS6257 Address ACK 1 1 1 0 0 0 0 0 ACK 1 1 0 1 0 0 0 0 ACK
2-ch, -10dB/step, 0dB
2-ch, -1dB/step, 0dB
1 1 0 0 0 0 0 0 ACK Stop
2-ch, +1dB/step, 0dB
Set gain of 2 channel at 6dB
The value of attenuation must be set zero when the volume from attenuation to gain.
Start MS6257 Address ACK 1 1 1 0 0 0 0 0 ACK 1 1 0 1 0 0 0 0 ACK
2-ch, -10dB/step, 0dB
2-ch, -1dB/step, 0dB
1 1 0 0 0 1 1 0 ACK Stop
2-ch, +1dB/step, 6dB
Set gain of 2 channel at -3dB
The value of gain must be set zero when the volume from gain to attenuation.
Start MS6257 Address ACK 1 1 0 0 0 0 0 0 ACK 1 1 1 0 0 0 0 0 ACK
2-ch, +1dB/step, 0dB
2-ch, -10dB/step, 0dB
1 1 0 1 0 0 1 1 ACK Stop
2-ch, -1dB/step, -3dB
Set attenuation of left channel at –33dB
Start MS6257 Address ACK 1 0 1 1 0 0 1 1 ACK 1 0 1 0 0 0 1 1 ACK Stop
L-ch, -10dB/step, -30dB
L-ch, -1dB/step, -3dB
REV 1
9
www.mosanalog.com