Search found 384 matches

by Hannu
Fri 2022-07-01 8:20
Forum: Stand-Alone Applications
Topic: What does this capacitor do?
Replies: 7
Views: 46

Re: What does this capacitor do?

Your calculation is seems correct. If signal level is RMS, and your signal is 200 mV peak, difference is about 3 dB which would mean sqrt(2) difference which would match RMS <-> peak difference. I've attached a small wav file. The peak is on -20 dBFS and RMS would be -23 dBFS If you want to check so...
by Hannu
Thu 2022-06-30 12:37
Forum: Stand-Alone Applications
Topic: What does this capacitor do?
Replies: 7
Views: 46

Re: What does this capacitor do?

From ADC point of view 0 is RCAP and positive and negative numbers are available as Pasi mentioned. If you short line input connector to ground, ADC will give you 0 because it is after DC-block capacitor. And the voltage between ADC and DC-block cap (C11) is RCAP voltage. I hope picture below helps....
by Hannu
Thu 2022-06-30 8:45
Forum: VS1005 and VSOS Software
Topic: Designing my PCB.. Have some questions
Replies: 17
Views: 267

Re: Designing my PCB.. Have some questions

The pull-down is about 1Mohm and you can see them from pin table. DIOPD type pin is with and DIO without pull-down. Normally those pins without pull-down don't use more current but if those pins are left to floating or some other chip has pull-ups and then those pins are biased somewhere around IOVD...
by Hannu
Wed 2022-06-29 13:47
Forum: VS1005 and VSOS Software
Topic: Designing my PCB.. Have some questions
Replies: 17
Views: 267

Re: Designing my PCB.. Have some questions

Just some random thoughts which have popped up to my head from this thread and can be totally irrelevant to your design: If VBUS is connected to VHIGH, you can read it with SAR. If VHIGH is measured, it is possible then to check how the data pins are and after that start USB device program. If there...
by Hannu
Tue 2022-06-28 14:43
Forum: VS1010 Forum
Topic: EMMC drive not showing up after copying over files
Replies: 22
Views: 866

Re: EMMC drive not showing up after copying over files

Here is the project. It isn't the highest quality which I have done. The SD erase is possible to disable by commenting one #define out. The program space is quite full. Only less than 100 bytes left. I did the post modification of the image with external hack script on Linux. Panu probably knows how...
by Hannu
Mon 2022-06-27 13:50
Forum: VS1005 and VSOS Software
Topic: Designing my PCB.. Have some questions
Replies: 17
Views: 267

Re: Designing my PCB.. Have some questions

I am also on uncharted waters and I'll try to get you a better answer, but USB_UTMIW register is the one register to poke. I took a look at the spec and then I remembered again that this is USB. Too many TLAs and ETLAs for my taste to give quick answer. So you want USBP 1.5k pull-up and USBN 15k pul...
by Hannu
Thu 2022-06-23 14:11
Forum: DSP and Audio Software
Topic: Generating Frequency
Replies: 8
Views: 4322

Re: Generating Frequency

I wrote something for you. Hope this helps. It has one kind of fade out (a cheap one) so it doesn't hurt to ears. It can be disabled by commenting out the USE_FADE define. The beeper works with with 16 and 32-bit and probably all sample rates. I didn't tested thoroughly. This program however keeps y...
by Hannu
Wed 2022-06-22 14:26
Forum: DSP and Audio Software
Topic: Generating Frequency
Replies: 8
Views: 4322

Re: Generating Frequency

Maybe you don't have paramspl installed on your board? The Sine was built just fine. If I remember correctly I wrote a sine generator (good for beeps) in getting started VS1005 application note in 2016. After all Sine.dl3 is huge when compared to simple sine generator. Another some test program whic...
by Hannu
Tue 2022-06-21 13:24
Forum: VS23S010 Forum
Topic: BGA layout design tip article
Replies: 0
Views: 45

BGA layout design tip article

Hi everyone, I stumbled on quite good, easy to understand post on BGA package and using it on PCB. No VLSI chips mentioned. VS23S040 users may find it useful to get some confidence on designing a PCB footprint and routing if BGA components aren't used commonly. The article can be seen in https://hac...
by Hannu
Thu 2022-06-16 12:31
Forum: Microcontroller Software
Topic: How to use the vs1053b pitch/tempo shifter plugin?
Replies: 4
Views: 133

Re: How to use the vs1053b pitch/tempo shifter plugin?

I don't know much about Arduino (never used) but if this is same kind of situation as it is with real AVR programs this might be your issue. The plugin loader uses some progmem read function. My understanding is that, your patch[] array is currently in RAM, not in program flash. https://www.arduino....