Search found 1596 matches

by pasi
Today 10:48
Forum: Microcontroller Software
Topic: vs1063 : g711/722 full duplex example
Replies: 8
Views: 46

Re: vs1063 : g711/722 full duplex example

The codec mode playback function by default reads and interprets a WAV header and gets the format, samplerate, and number of channels from there. If you feed back what you received from the encoder, it should work. Your problem may be that you read too much at once from the encoder, and the decoder ...
by pasi
Fri 2019-10-18 11:17
Forum: Microcontroller Software
Topic: vs1063 : g711/722 full duplex example
Replies: 8
Views: 46

Re: vs1063 : g711/722 full duplex example

Have you loaded the vs1063a patches anywhere?

Writing 0x0050 to AIADDR restarts the patch. Without the patch you start encoding mode by triggering a software reset from SCI_MODE with SM_ENCODE set.
by pasi
Thu 2019-10-17 10:32
Forum: Microcontroller Software
Topic: VS1053 Volume
Replies: 8
Views: 112

Re: VS1053 Volume

I write 0xc00 to SCI_MODE (our setup requires shared mode), then 0xe000 to SCI_CLOCKF, then send the data according to DREQ. My SPI speed is around 500kbit/s. If you're not using headphones, do you have a proper line out connection? ( http://www.vsdsp-forum.com/phpbb/viewtopic.php?f=9&t=69 ) Remembe...
by pasi
Thu 2019-10-17 10:16
Forum: Microcontroller Software
Topic: vs1063 : g711/722 full duplex example
Replies: 8
Views: 46

Re: vs1063 : g711/722 full duplex example

Codec mode (full duplex) is part of the encoding mode, so start with just the encoding. You can find encoding mode examples here: http://www.vlsi.fi/en/support/software/microcontrollersoftware.html For best results you would use the vs1063a patches package (from http://www.vlsi.fi/en/support/softwar...
by pasi
Tue 2019-10-15 15:28
Forum: Microcontroller Software
Topic: VS1053 Volume
Replies: 8
Views: 112

Re: VS1053 Volume

If the file you attached is the normalized version, then I can't reproduce your issue.

Are you using headphones? Have you checked your board for short-circuits?
by pasi
Mon 2019-10-14 10:51
Forum: Microcontroller Software
Topic: VS1053 Volume
Replies: 8
Views: 112

Re: VS1053 Volume

Seems to play fine with my vs1053b as long as the clock is 2.0x or higher (both with or without vs1053b patches).

What are your symptoms?
by pasi
Wed 2019-10-09 15:54
Forum: Microcontroller Software
Topic: VS1053 Volume
Replies: 8
Views: 112

Re: VS1053 Volume

Does the volume always increase at the same point of the file? Does it happen with other files? (If not, can you send a file which produces the issue?) What are you writing to SCI_VOL initially? Can you read it back during the playback and see if it has accidentally changed? Are you reading SCI regi...
by pasi
Thu 2019-09-26 9:25
Forum: Slave Decoder Applications
Topic: VS1053 record OOG silent
Replies: 7
Views: 230

Re: VS1053 record OOG silent

Yes, strange. SM_LINE1 is a hardware bit. It directly switches between using a mic amplifier (MICP + MICN) and not using mic amplifier (LINE1). It could also be a co-incidence. After each recording you should give a hardware reset, otherwise it is possible the ADC channels get swapped when the ADC g...
by pasi
Tue 2019-09-24 14:46
Forum: Slave Decoder Applications
Topic: VS1053 record OOG silent
Replies: 7
Views: 230

Re: VS1053 record OOG silent

I don't know why must enable bit SM_LINE1 while i'm using microphone recording input??? Check pins 1 and 2 of the vs1053. If they are accidentally connected together (e.g. too much solder), it would explain what you see. (I.e. If MICP and MICN are shorted, when microphone amp is selected, MICP and ...
by pasi
Mon 2019-09-23 11:12
Forum: Microcontroller Software
Topic: Setting Up Generic MicroController code for VS1053 & PIC24EP512GU810
Replies: 1
Views: 497

Re: Setting Up Generic MicroController code for VS1053 & PIC24EP512GU810

On the .plg I did have to edit table definition slightly; /*const*/ __eds__ unsigned short plugin[] __attribute__((space(psv))) = As I was getting the error described in the below url; It sounds like you moved the plugin array to program memory, but it doesn't fit into the program memory. Note that...