Waveshare Music Shield User Manual - page 6
Music Shield User Manual
6
Revision 1.1. Date: December 7, 2015. Author: W. L. Yan. Editor: Felix.
share awesome hardware
10
SM_SDISHARE
Share SPI chip select
0
1
no
yes
11
SM_SDINEW
VS1002 native SPI modes
0
1
no
yes
12
SM_ADPCM
ADPCM recording active
0
1
no
yes
13
-
-
0
1
right
wrong
14
SM_LINE1
MIC / LINE1 selector
0
1
MICP
LINE1
15
SM_CLK
Input clock range
0
1
12..13 MHz
24..26 MHz
These bits are the primary focus of the present register:
2nd bit: SM_RESET Soft reset,
12th bit: SM_ADPCM ADPCM recording active,
14th bit: SM_LINE1 MIC / LINE1 selector.
SCI_BASS Register: it is used to control the sound effect of VS1053b.
Name
Bits
Descriptions
ST_AMPLITUDE 15:12 Treble Control in 1.5 dB steps (-8..7, 0 = off)
ST_FREQLIMIT
11:8
Lower limit frequency in 1000 Hz steps (1..15)
SB_AMPLITUDE 7:4
Bass Enhancement in 1 dB steps (0..15, 0 = off)
SB_FREQLIMIT
3:0
Lower limit frequency in 10 Hz steps (2..15)
The sound effect can be set by modifying the bit of the register.
SCI_CLOCKF Register: it is used to set the frequency, multiplier, etc, of the clock.
SCI_CLOCKF bits
Name
Bits
Description
SC_MULT 15:13 Clock multiplier
SC_ADD
12:11 Allowed multiplier addition
SC_FREQ
10:0
Clock frequency
SCI_VOL Register: it is a volume control for the player hardware. The most significant byte of the
volume register controls the left channel volume, the low part controls the right channel volume. The
channel volume sets the attenuation from the maximum volume level in 0.5 dB steps. Thus, maximum
volume is 0x0000 and total silence is 0xFEFE.