fouadalnoor
Member
Hi guys,
I am currently trying to create a very simple MP3 player using the VS1011 MP3 Decoder and the PIC16LF877 Microcontroller as well as an SD card adaptor.
I am a little confused about how the PIC will communicate with the decoder. I know that both IC's will use the SPI Protocol to send and recieve data, but when I look at the decoder data sheet it talks about "SCI" and "SPI".
I know SCI is used to control the the decoder (setting the "mode" registers, volume etc) while SPI is used to actually send the music data. How do I switch between the two modes?
Decoder datasheet: https://www.vlsi.fi/en/products/vs1011.html
PIC Data Sheet: https://www.datasheetarchive.com/PIC16LF877-datasheet.html
Thanks,
Fouad.
I am currently trying to create a very simple MP3 player using the VS1011 MP3 Decoder and the PIC16LF877 Microcontroller as well as an SD card adaptor.
I am a little confused about how the PIC will communicate with the decoder. I know that both IC's will use the SPI Protocol to send and recieve data, but when I look at the decoder data sheet it talks about "SCI" and "SPI".
I know SCI is used to control the the decoder (setting the "mode" registers, volume etc) while SPI is used to actually send the music data. How do I switch between the two modes?
Decoder datasheet: https://www.vlsi.fi/en/products/vs1011.html
PIC Data Sheet: https://www.datasheetarchive.com/PIC16LF877-datasheet.html
Thanks,
Fouad.
Last edited: