Hi,
I am very much new to VLSI products. I have bought VS1005 breakout board.I am not using LCD or buttons. I downloaded and installed VSIDE .My application requirement is :
1) Record and play files either from SD card or USB
2) I am using I2S audio input/output .
I want to control the VS 1005 through microcontroller which should i use UART or SPI?
VS1005 player and recorder
Re: VS1005 player and recorder
Hi, and welcome to the Forum!
You'll need the VSOS kernel and suitable drivers and applications on the flash. You can communicate with VS1005 using the VSOS command line shell using UART at 115200, N81. From the command line shell you can do everything that you need. First do it by connecting the UART to a PC and typing with the keyboard, and then make your MCU give the same commands.
Download the latest VSIDE to compile and flash the kernel and take small_root from the latest root image zip package to the internal flash. Both can be found from the kernel release thread here in vsdsp forum. Please scan this forum and read posts here and there to get a feeling on how people do stuff with the VS1005.
Further information: viewtopic.php?f=13&t=1500
-Panu
You'll need the VSOS kernel and suitable drivers and applications on the flash. You can communicate with VS1005 using the VSOS command line shell using UART at 115200, N81. From the command line shell you can do everything that you need. First do it by connecting the UART to a PC and typing with the keyboard, and then make your MCU give the same commands.
Download the latest VSIDE to compile and flash the kernel and take small_root from the latest root image zip package to the internal flash. Both can be found from the kernel release thread here in vsdsp forum. Please scan this forum and read posts here and there to get a feeling on how people do stuff with the VS1005.
Further information: viewtopic.php?f=13&t=1500
-Panu
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo
Panu-Kristian Poiksalo
Re: VS1005 player and recorder
Hi
I download the VSOS kernel drivers .It plays the file by [+p] command but dont give response for other commands how to control them. i am using lcd connected to microcontroller how to read the size and of duration of file in lcd . vs1005 support sd card of how much GB?
I download the VSOS kernel drivers .It plays the file by [+p] command but dont give response for other commands how to control them. i am using lcd connected to microcontroller how to read the size and of duration of file in lcd . vs1005 support sd card of how much GB?
Re: VS1005 player and recorder
Hi,
i have played the song by playfile *.mp3 . How to do other functions like pause , record, forward, backward? also please suggest how to control vs1005 through microcontroller
i have played the song by playfile *.mp3 . How to do other functions like pause , record, forward, backward? also please suggest how to control vs1005 through microcontroller
Re: VS1005 player and recorder
Hello!
This is an answer to the message you wrote in another thread:
Kind regards,
- Henrik
This is an answer to the message you wrote in another thread:
This sounds weird. Is it a normal MP3 file, with an .mp3 extension? What happens? Can you copy here the exact command you enter and copy the output from your terminal program? What happens if you have more than one MP3 file in the same directory?divya wrote:i used the command playdir [+p] but it does not play the file .
Kind regards,
- Henrik
Good signatures never die. They just fade away.
Re: VS1005 player and recorder
Do you mean PlayDir? Documentation for the control keys are available in the document VS1005 VSOS Shell, Chapter 8, "Using the UART Controlled Player". (Chapter 8.1.2 is incorrectly named "PlayFile Control Keys", it should be "PlayDir Control Keys".) The document is a part of the VSOS 3.40 Root and Libraries Source Code package, available here:divya wrote:Hi
I download the VSOS kernel drivers .It plays the file by [+p] command but dont give response for other commands how to control them.
viewtopic.php?f=13&t=680&start=60#p10366
To get file durations of audio files you can enter commands like this one:i am using lcd connected to microcontroller how to read the size and of duration of file in lcd
Code: Select all
S:>cd d:AUDIO
D: SDSD
D:AUDIO/>dir -a
- 2. AUD00096.WAV 2:11.8 96000 2 2017-05-09 16:29:44 AUD00096.WAV
- 3. AUD00097.WAV 1:22.2 48000 2 2017-05-09 16:31:12 AUD00097.WAV
- 4. AUD00103.WAV 180:00.0 48000 2 2017-05-10 08:13:22 AUD00103.WAV
VS1005 supports large SD Cards if they are formatted to FAT32. Cards up to 32 GB usually come preformatted to FAT32, and Microsoft Windows will format it to FAT32. Cards 64 GB and larger are usually formatted using exFAT which VSOS does not support. Also, Microsoft Windows always formats them to exFAT.vs1005 support sd card of how much GB?
However, if you download the FORMAT.DL3 utility, you can use it to format even larger cards to FAT32. They will also work with other operating systems, like the different Microsoft Windows variants. FORMAT.DL3 is available here:
viewtopic.php?f=13&t=2109
Kind regards,
- Henrik
Good signatures never die. They just fade away.
Re: VS1005 player and recorder
Hello!
As for your question of how to record, you can record to Ogg Vorbis or MP3 formats using the "Rec" utility. More information is available in VS1005 VSOS Shell document Chapter 8.2, Rec: Interactive UART Recorder. Example:
Kind regards,
- Henrik
The easiest way is first to control VS1005 using a terminal program and VSOS Shell, then you can use your microncontroller and UART to give the same commands. So, I suggest UART control.divya wrote:also please suggest how to control vs1005 through microcontroller
As for your question of how to record, you can record to Ogg Vorbis or MP3 formats using the "Rec" utility. More information is available in VS1005 VSOS Shell document Chapter 8.2, Rec: Interactive UART Recorder. Example:
Code: Select all
S:>cd d:audio
D: SDSD
D:AUDIO/>rec -fm -q6 mytest.mp3
Recording MP3: 48000 Hz stereo at quality 6
~050a'mytest.mp3
~030a=1
~030a=2
~030a=3
~030a=4
~030a=5
~030a=6
~030a=7
~030a=8
~030a=9
~030a=10
~030a=11
~030a=12
~030a=13
~030a=14
~030a=15
{... I pushed 'q' here to quit recording ...]
~010b=1
D:AUDIO/>auinfo MYTEST.MP3
MYTEST.MP3:
size: 208.2 KiB
format: MP3
conf: 2 channels at 48000 Hz
time: 0:15.0 seconds
bitrate: 113.3 kbit/s
analyze: 0.02 seconds
- Henrik
Good signatures never die. They just fade away.
Re: VS1005 player and recorder
Hi
I have another problem related to vs1005. Actually we are adding a feature of recorder to our project digital mixer. For this we are using vs1005 and connected it to msp430 controller.
1. how to read data from vs1005 on LCD (qvga 2.2 TFT SPI 240*320) which is connected to msp430 controller.
2. i am sending command to vs1005 through controller via uart but we can send only one command at a time it makes the code lengthy . is there any other way to control it.
I have another problem related to vs1005. Actually we are adding a feature of recorder to our project digital mixer. For this we are using vs1005 and connected it to msp430 controller.
1. how to read data from vs1005 on LCD (qvga 2.2 TFT SPI 240*320) which is connected to msp430 controller.
2. i am sending command to vs1005 through controller via uart but we can send only one command at a time it makes the code lengthy . is there any other way to control it.
Re: VS1005 player and recorder
Hi!
Hmm, what data do you want to show?
-Panu
Hmm, what data do you want to show?
-Panu
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo
Panu-Kristian Poiksalo
Re: VS1005 player and recorder
like we are in sd mode , name of the file which is playing