Search found 146 matches

by Hannu
Yesterday 15:00
Forum: System Software
Topic: VS1053b I2S output to Esp32
Replies: 4
Views: 25

Re: VS1053b I2S output to Esp32

VS1053 can be 48,96 or 192 kHz master. So configure ESP to to slave and expecting 16 bits samples. Then you need to write VS1053 I2S_CF I2S CF_ENA bit high and the samplerate bits to enable i2S out. You shouldn't need MCLK.
by Hannu
Mon 2021-03-01 8:53
Forum: VS1010 Forum
Topic: VS1010 MEMS microphone capture
Replies: 4
Views: 1825

Re: VS1010 MEMS microphone capture

I don't have LQFP card on hand right now to test but I think you have the I2S overriding the GPIO0_1 and GPIO1_14 function. I would try something like: GpioSetAsPeripheral(0x01); //MD0 GpioSetAsPeripheral(0x1E); //MC0 PERIP(MEMSMIC_CF) = MEMSMIC_CF_ENA;//| MEMSMIC_CF_REDGE;/* MEMSMIC_SELIO should st...
by Hannu
Wed 2021-02-24 11:11
Forum: Microcontroller Software
Topic: VS1053 sample rate fine tuning value changes after a while
Replies: 12
Views: 447

Re: VS1053 sample rate fine tuning value changes after a while

I'll try to stab in the dark too. If I have understood your problem correctly, the buffer starts rising at some point of decoding and the data consumption is low. Which would look like someone turned suddenly sample rate down on VS1053. And the transition is step like. Can you capture the stream par...
by Hannu
Wed 2021-02-24 9:48
Forum: Microcontroller Software
Topic: VS1063a MP3 Encode Not Working. Decoding just fine
Replies: 10
Views: 808

Re: VS1063a MP3 Encode Not Working. Decoding just fine

The signal could be the problem. I'm not a specialist with vs1063 (Pasi is) or UNIX signals as I like to select my battles which I can win. And writing really portable signal handler is hard. The execution environment of signal context differs normal execution environment of the code. Also as signal...
by Hannu
Wed 2021-02-24 9:30
Forum: VS1010 Forum
Topic: VS1010 USB Audio with Mic
Replies: 6
Views: 774

Re: VS1010 USB Audio with Mic

Interesting. I wrote that code on V2 developer board and sampled two more boards and had no issues. But as you mentioned, reality and datasheet differs. Someone has decided to call reset pin as PDN. I even opened and put back the JP3 jumper a few. The ADC survived the power cycle which makes me thin...
by Hannu
Wed 2021-02-10 11:46
Forum: VS1010 Forum
Topic: VS1010 USB Audio with Mic
Replies: 6
Views: 774

Re: VS1010 USB Audio with Mic

Hi!

Here is simple i2s -> DAC copy solution. FIFO fill is done in interrupt and playing is done in main loop. Enter exits.
by Hannu
Wed 2021-02-10 10:50
Forum: VS1010 Forum
Topic: Reducing Power Draw on the VS1010
Replies: 3
Views: 301

Re: Reducing Power Draw on the VS1010

Hi To reduce VHIGH current was interesting problem and not all questions got their answers. I used minidemoboard without SPI flash which basically is connectors and VS1010. What my example program does: Disables unused perips Sets GPIO pins to sane state THIS IS IMPORTANT Sets CBUF reference to 1.2V...
by Hannu
Mon 2021-02-08 16:26
Forum: VS1010 Forum
Topic: GPIO information
Replies: 1
Views: 69

Re: GPIO information

Hi I have a few questions on the electrical characteristics of the GPIO that I haven't been able to find in the datasheet or handbook: * What output current can the gpios handle? We're looking to drive some leds from gpios (with current limiting resistors) so need to know what is the maximum curren...
by Hannu
Tue 2021-02-02 9:36
Forum: VS1005 and VSOS Software
Topic: VS1005 board stuck in a loop
Replies: 12
Views: 312

Re: VS1005 board stuck in a loop

Hello and welcome to the forum! Something has broken your filesystem of the flash as the VS1005 can't find any files. Connect mini-USB cable and reset VS1005 S1 pressed. The flash should show as USB mass storage device on your computer. Safest approach is to reformat the file system and copy program...
by Hannu
Mon 2021-02-01 9:50
Forum: VS1010 Forum
Topic: VS1010 Minidemo USB Host mode Question
Replies: 3
Views: 449

Re: VS1010 Minidemo USB Host mode Question

liamfrappell wrote:
Tue 2020-10-20 9:52
reverse the data lines on a female USB A cable.
No don't or you have to chop another cable. USB has always VBUS, D-, D+ and GND order of signals in 4 or 5 pin connector. Otherwise the host mode should work.