Search found 88 matches

by Hannu
Wed 2020-09-16 8:40
Forum: DSP and Audio Software
Topic: VS1053b:Mic Recording:Convert sampled data back to mV
Replies: 6
Views: 77

Re: VS1053b:Mic Recording:Convert sampled data back to mV

Someone hopefully corrects me if I'm wrong. First is differential part. If voltage difference is 0 V, then you'll get 0 on ADC. After differential input pins there is mic amplifier with of gain 20X (26dB). After that you can think the signal is single-ended line level, biased around reference and th...
by Hannu
Tue 2020-09-15 8:07
Forum: DSP and Audio Software
Topic: VS1053b:Mic Recording:Convert sampled data back to mV
Replies: 6
Views: 77

Re: VS1053b:Mic Recording:Convert sampled data back to mV

Hello! I'm not really expert with VS1053 but I'll try to give some ideas what to try and see if it works. You might be interested: http://www.vlsi.fi/fileadmin/software/VS10XX/VS1053_VS1063_PcmRecorder.pdf That document explains the AGC quite well. datasheet gives: Disabling AGC: SCI_AICTRL1, bits 1...
by Hannu
Fri 2020-09-04 13:03
Forum: DSP and Audio Software
Topic: Must Run C-code to Install Plugin?
Replies: 2
Views: 75

Re: Must Run C-code to Install Plugin?

plugin is uploaded through SCI interface accessing WRAM and WRAMADDR registers. The program in the plugin array is transferred to the memories of VS1053 and then executed. So. If you connect your MCU with SPI to SCI (and SDI which isn't used for upload) interface and write the plugin to VS1053 it wo...
by Hannu
Fri 2020-09-04 8:48
Forum: Microcontroller Software
Topic: Help: Proposed Method to Burn eeprom With uC Instead of Computer
Replies: 9
Views: 367

Re: Help: Proposed Method to Burn eeprom With uC Instead of Computer

Basically your current plan is good. VS1053 doesn't support I2C flashes so you want to use SPI flash. Most of them have 25xxx kind of part number. Also check that the flash is 5V tolerant. Pins for the SPI flash are defined in chapter 10.9 SPI boot of the datasheet. There is probably some arduino co...
by Hannu
Wed 2020-07-15 17:23
Forum: VS1010 Forum
Topic: VS1010 Mini-demoboard
Replies: 1
Views: 505

Re: VS1010 Mini-demoboard

It is correct that you can load your code to SPI flash. I would suggest that you develop your code on SD card as it is way more easier to unbrick by putting it to computer and formatting. The trickery which is needed to access the SPI flash is reboot 4 (see the book pg. 178 and few pages back and fo...
by Hannu
Wed 2020-07-08 7:20
Forum: VS1005 and VSOS Software
Topic: SD Ident / Card stuck. Chip gets hot as hell.
Replies: 2
Views: 916

Re: SD Ident / Card stuck. Chip gets hot as hell.

Does GPIO0.7 have pull-up? GPIO0.7 determines boot voltage for IOVDD and if it is pulled to IOVDD -> IOVDD is set to 3.3 V and if it is low IOVDD stays in 1.8 V. Best fix is to have the pull-up and alternative software fix is to use setclock program to set the voltage to 3.3 V. With setclock it is p...
by Hannu
Tue 2020-06-30 7:51
Forum: Stand-Alone Applications
Topic: VS1053 EndFillBytes + Power Off "Plopp"
Replies: 13
Views: 1638

Re: VS1053 EndFillBytes + Power Off "Plopp"

I was thinking about external relay or muting chip and controlling it with GPIO.

VS1053 doesn't have internal muting circuit.
by Hannu
Mon 2020-06-22 8:03
Forum: Stand-Alone Applications
Topic: VS1053 EndFillBytes + Power Off "Plopp"
Replies: 13
Views: 1638

Re: VS1053 EndFillBytes + Power Off "Plopp"

My point was that if you don't have any GPIOs left on the MCU you can control the VS1053 GPIOs through SCI interface. Datasheet pages: 44, 45 and 76 have info about these. I haven't tested this, but pin control should go like this... Registers are: 0xC017 DDR 0xC018 IDATA 0xC019 ODATA And then norma...
by Hannu
Thu 2020-06-18 7:32
Forum: Stand-Alone Applications
Topic: VS1053 EndFillBytes + Power Off "Plopp"
Replies: 13
Views: 1638

Re: VS1053 EndFillBytes + Power Off "Plopp"

Have you already used VS1053 GPIOs? If amplifier or extra relay has enable (signal high lets audio pass to output) controlling VS1053 GPIO pin is few SCI operations. Pull-down on the pin will keep output muted and when VS1053 is awaken and in use, it can be used to enable the output. The signal pola...
by Hannu
Thu 2020-03-05 8:36
Forum: VS1010 Forum
Topic: Music Player with USB File Transfer support for VS1010D
Replies: 6
Views: 6374

Re: Music Player with USB File Transfer support for VS1010D

Hello and welcome to the forum! It looks like you are trying to install program to your project directory and the build process fails at program deployment. The green play and printer button with tool tip "Target drive" next to build and clean buttons selects the target path. First click clears the ...