![Waveshare Music Shield User Manual Download Page 4](http://html1.mh-extra.com/html/waveshare/music-shield/music-shield_user-manual_3870066004.webp)
Music Shield User Manual
4
Revision 1.1. Date: December 7, 2015. Author: W. L. Yan. Editor: Felix.
share awesome hardware
address. After the address has been read in, any further data on SI is ignored by the chip. The 16-bit
data corresponding to the received address will be shifted out onto the SO line.
XCS should be driven high after data has been shifted out.
DREQ is driven low for a short while when in a read operation by the chip. This is a very short
time and doesn’t require special user attention.
SCI Write
(See the Figure 7 of VS1053b datasheet)
VS1053b registers are written from using the following sequence. First, XCS line is pulled low to
select the device. Then the WRITE opcode (0x2) is transmitted via the SI line followed by an 8-bit word
address.
After the word has been shifted in and the last clock has been sent, XCS should be pulled high to
end the WRITE sequence.
2.3.
SCI Register
VS1053 has 16 SCI registers in total. They are used to control the operation of VS1053b, as
shown in the following figure:
SCI registers, prefix SCI_
Reg Type Reset
Time
Abbrev[bits]
Description
0x0 rw
0x4800 80 CLKI
MODE
Mode control
0x1 rw
0x000C 80 CLKI
STATUS
Status of VS1053b
0x2 rw
0 80 CLKI
BASS
Built-in bass/treble control
0x3 rw
0 1200 XTALI CLOCKF
Clock freq + multiplier
0
1
2
3
4
5
6
7
8
9
10 11 12 13
30 31
14 15 16 17
0
0
0
0
0
0
1
0
0
0
0
3
2
1
0
1
0
X
address
XCS
SCK
SI
15 14
data out
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
SO
0
0
0
0 X
0
instruction (write)
DREQ
execution