Hi there,
The Music Shield is an audio encoder/decoder. It is based on the VC1053B chip, which enabled it to play sound files from SD card and do short-time recording as well.
Pins usage on Arduino
Pins used for Play Control:
D3 - Receiving signal from button for Volume Up.
D4 - Receiving signal from switch for Next Song function.
D5 - Receiving signal from switch for Play&Stop and Record function.
D6 - Receiving signal from switch for Previous Song function.
D7 - Receiving signal from button for Volume Down.
D8 - Green Led instructions.
Pins Used for SPI Interface:
D10 - SPI Chip Select
D11 - SPI MOSI
D12 - SPI MISO
D13 - SPI SCK
Pins Used for VS1053 Interface:
A0 - Reset of VS1053
A1 - Data Require of VS1053
A2 - Data Select of VS1053
A3 - Chip Select of VS1053
We see some one already generate STM32 library for STM32. You can leverage it and compare with our library to do modification. thanks.
<LINK_TEXT text=“https://github.com/rogerclarkmelbourne/ … S1003B_STM”>https://github.com/rogerclarkmelbourne/Arduino_STM32/tree/master/STM32F1/libraries/Serasidis_VS1003B_STM</LINK_TEXT>
Bill