Hi all
Our company uses vs1063 in Stm chips.
Can I use Vs1063 to enter pcm data to export mp3 data?
Please provide me with the software if possible.
ASAP PLEASE
Thanks
VS1063: PCM DATA MP3 DATA CONVERT
Re: VS1063: PCM DATA MP3 DATA CONVERT
See from https://www.vlsi.fi/en/support/software ... tions.html
VS1063a SDIEncoder
* Allows encoding of the codec-mode WAV formats into WAV, MP3 or Ogg Vorbis formats.
VS1063a SDIEncoder
* Allows encoding of the codec-mode WAV formats into WAV, MP3 or Ogg Vorbis formats.
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook
Re: VS1063: PCM DATA MP3 DATA CONVERT
thanks
but c souce in vs1063a-sdiencoder090.zip is patch version.
I need full source.
please provide full source
and after source merge and then let me know how to test.(pcm -> mp3)
thanks
but c souce in vs1063a-sdiencoder090.zip is patch version.
I need full source.
please provide full source
and after source merge and then let me know how to test.(pcm -> mp3)
thanks
Re: VS1063: PCM DATA MP3 DATA CONVERT
Why do you need the source code? What would you merge it with?
The SDI Encoder application replaces the normal ADC input of the encoders by data from SDI (through a simple WAV decoder). The application uses the ROM code for the encoding.
You upload the SDIEncoder application to vs1063, then send your PCM data as a WAV file to SDI, receive the encoded version by reading from SCI (or through UART).
The SDI Encoder application replaces the normal ADC input of the encoders by data from SDI (through a simple WAV decoder). The application uses the ROM code for the encoding.
You upload the SDIEncoder application to vs1063, then send your PCM data as a WAV file to SDI, receive the encoded version by reading from SCI (or through UART).
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook
Re: VS1063: PCM DATA MP3 DATA CONVERT
I need an example source that converts Pcm data to mp3 data using Vs1063. Vs1063 use spi interface.
I need your help because I'm a beginner.
I am attaching the 1063 circuit diagram that we use.
Help me
Thanks
I need your help because I'm a beginner.
I am attaching the 1063 circuit diagram that we use.
Help me
Thanks
- Attachments
-
- vs1063 codec.png (118.02 KiB) Viewed 3381 times
Re: VS1063: PCM DATA MP3 DATA CONVERT
Hi
I gave a quick look on your schematics. I noticed some design details which should have explanation or the may need some thinking.
1) Is there a some specific reason to have ferrite beds between AGND and DGND?
The general rule is to connect the ground together under the chip and not route digital signals over analog.
2) The DAC output which you aren't using isn't the recommended (20R,10n) (10R, 47n) (20R 10n) (left CBUF right). For not used DAC it doesn't matter but if design is copied and then reused, then it matters.
On the input side best the performance depends on source too so I won't say it is wrong. For a many times used analog input and output circuits have a look at viewtopic.php?f=9&t=69
3) Is 33pF correct load capacitor for your crystal?
I gave a quick look on your schematics. I noticed some design details which should have explanation or the may need some thinking.
1) Is there a some specific reason to have ferrite beds between AGND and DGND?
The general rule is to connect the ground together under the chip and not route digital signals over analog.
2) The DAC output which you aren't using isn't the recommended (20R,10n) (10R, 47n) (20R 10n) (left CBUF right). For not used DAC it doesn't matter but if design is copied and then reused, then it matters.
On the input side best the performance depends on source too so I won't say it is wrong. For a many times used analog input and output circuits have a look at viewtopic.php?f=9&t=69
3) Is 33pF correct load capacitor for your crystal?
Re: VS1063: PCM DATA MP3 DATA CONVERT
See Hannu's notes above. AGND and DGND must be connected together directly under the chip.
First check that the decoding works. You don't need the audio output (although it would help). You can see from SCI_DECODETIME that the vs1063 is decoding your test file.
Then get the recording working. It doesn't matter that you don't have ADC connected to anything. Your goal is to produce a valid recording file with your controller using the normal encoding mode of the vs1063a.
You seem to have ADC connected, so if by "PCM data" you meant encode to mp3 from analog line inputs, you're now done. If you get a digital PCM audio from somewhere else, then continue to the next step.
When you get that working, the next step is to use the vs1063 SDIEncoder. The recording example probably loads vs1063a-patches.plg . You replace this plugin with the vs1063a SDIEncoder application. The encoded data will be read in the same way as in the normal encoding mode. You need to provide the PCM data you want to encode to the serial data interface (SDI) with a wav header (which defines the number of channels, samplerate, and sample size).
You can start with any generic vs1063 recorder source code you can find for your microcontroller. You can find our examples from viewtopic.php?t=840 , but you might find examples online that are specific to your controller.
First check that the decoding works. You don't need the audio output (although it would help). You can see from SCI_DECODETIME that the vs1063 is decoding your test file.
Then get the recording working. It doesn't matter that you don't have ADC connected to anything. Your goal is to produce a valid recording file with your controller using the normal encoding mode of the vs1063a.
You seem to have ADC connected, so if by "PCM data" you meant encode to mp3 from analog line inputs, you're now done. If you get a digital PCM audio from somewhere else, then continue to the next step.
When you get that working, the next step is to use the vs1063 SDIEncoder. The recording example probably loads vs1063a-patches.plg . You replace this plugin with the vs1063a SDIEncoder application. The encoded data will be read in the same way as in the normal encoding mode. You need to provide the PCM data you want to encode to the serial data interface (SDI) with a wav header (which defines the number of channels, samplerate, and sample size).
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook
Re: VS1063: PCM DATA MP3 DATA CONVERT
hi
Should I use the void VS1063RecordFile(FILE *writeFp) function inside this file source(vs1063an_playrec.zip)? (https://www.vlsi.fi/en/support/software ... tware.html)
Let me know pcm data to mp3 souce code.
help me
Thanks
Should I use the void VS1063RecordFile(FILE *writeFp) function inside this file source(vs1063an_playrec.zip)? (https://www.vlsi.fi/en/support/software ... tware.html)
Let me know pcm data to mp3 souce code.
help me
Thanks
Re: VS1063: PCM DATA MP3 DATA CONVERT
We don't have an example code on how to combine the SDIEncoder application. This is why I suggested taking it one step a time to:
1. learn how to decode files (send data to SDI),
2. learn how to encode from line input (read data through SCI and save to file), and only then combine what you're learnt and
3. start the SDIEncoder app, send PCM samples to SDI and save to file.
1. learn how to decode files (send data to SDI),
2. learn how to encode from line input (read data through SCI and save to file), and only then combine what you're learnt and
3. start the SDIEncoder app, send PCM samples to SDI and save to file.
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook
Re: VS1063: PCM DATA MP3 DATA CONVERT
Hi
We don't have an example code on how to combine the SDIEncoder application.
→
Please make a difficult one. Please make an example source.
Because of this problem, I may be kicked out of the company now.
Help me
Thanks
We don't have an example code on how to combine the SDIEncoder application.
→
Please make a difficult one. Please make an example source.
Because of this problem, I may be kicked out of the company now.
Help me
Thanks