Datasheet
VS1053b Datasheet
10 OPERATION
10.8.7 Record Monitoring Volume
In VS1053b writing to the SCI_VOL register during IMA ADPCM encoding does not change the
volume. You need to set a suitable volume before activating the IMA ADPCM mode, or you can
use the VS1053 hardware volume control register DAC_VOL directly.
For example:
WriteVS10xxRegister(SCI_WRAMADDR, 0xc045); /*DAC_VOL*/
WriteVS10xxRegister(SCI_WRAM, 0x0101); /*-6.0 dB*/
The hardware volume control DAC_VOL (address 0xc045) allows 0.5 dB steps for both left (high
8 bits) and right channel (low 8 bits). The low 4 bits of both 8-bit values set the attenuation in
6 dB steps (range 0..15), the high 4 bits in 0.5 dB steps (range 0..11). For examples, see table
below.
dB DAC_VOL
-0.0 0x0000
-0.5 0xb1b1
-1.0 0xa1a1
-1.5 0x9191
-2.0 0x8181
-2.5 0x7171
-3.0 0x6161
-3.5 0x5151
-4.0 0x4141
-4.5 0x3131
-5.0 0x2121
-5.5 0x1111
-6.0 0x0101
dB DAC_VOL
-6.5 0xb2b2
: :
-12.0 0x0202
-12.5 0xb3b3
: :
-18.0 0x0303
-18.5 0xb4b4
: :
-24.0 0x0404
-24.5 0xb5b5
: :
-30.0 0x0505
-30.5 0xb6b6
dB DAC_VOL
: :
-36.0 0x0606
-36.5 0xb7b7
: :
-42.0 0x0707
-42.5 0xb8b8
: :
-48.0 0x0808
-48.5 0xb9b9
: :
-54.0 0x0909
-54.5 0xbaba
: :
dB DAC_VOL
-60.0 0x0a0a
-60.5 0xbbbb
: :
-66.0 0x0b0b
-66.5 0xbcbc
: :
-72.0 0x0c0c
-72.5 0xbdbd
: :
-78.0 0x0d0d
-78.5 0xbebe
: :
-84.0 0x0e0e
Version: 1.22, 2014-12-19 58