Page 1 of 1

VS1010 uart controlled player with I2S

Posted: Fri 2020-02-28 10:31
by mr_smit
Hello. I liked the VS1010 Minidemo Board. But I can not fully understand its functionality. I need a uart controlled player to play mp3 / flac from an SD card through an external I2S DAC.

For example:
An SD card contains 2 folders (folder1, folder2). There are 3 files in each folder (music1.mp3, music2.mp3, music3.mp3). After connecting the SD card, the board sends a message to the UART:

Minidemo --> Card is inserted. On the card there are 2 folders: folder1, folder2.
PC --> Open folder1
Minidemo --> Opened. Contains 3 files music1.mp3, music2.mp3, music3.mp3
PC --> Play folder1/music1.mp3

Minidemo --> Played folder1/music1.mp3 00:01
Minidemo --> Played folder1/music1.mp3 00:02
Minidemo --> Played folder1/music1.mp3 00:03
...
PC --> Play next
Minidemo --> Played folder1/music2.mp3 00:01
Minidemo --> Played folder1/music2.mp3 00:02
Minidemo --> Played folder1/music2.mp3 00:03
...
PC --> Return to dir
Minidemo --> 2 folders folder1, folder2.
PC --> Open folder2
Minidemo --> Opened. Contains 3 files music1.mp3, music2.mp3, music3.mp3
PC --> Play folder2/music3.mp3

Minidemo --> Played folder2/music3.mp3 00:01
Minidemo --> Played folder2/music3.mp3 00:02
Minidemo --> Played folder2/music3.mp3 00:03
...

To do this, I need to write the firmware in VSIDE? Or will it work by default?