Search found 3 matches

by mbprogrammer
Sun 2019-08-04 12:24
Forum: Microcontroller Software
Topic: VS1003 WAV recording
Replies: 24
Views: 6846

Re: VS1003 WAV recording

The problem was because of the SDCard module, when I disconnect the SD Module, I can read from VS1003 SPI. Both modules (vs1003 and SD card) were connecting to SPI ports, (with different Chip_Select pins). I connected SD card to other pins and enabled SoftwareSPI for SD access (using SdFat library)....
by mbprogrammer
Thu 2019-07-25 11:34
Forum: Microcontroller Software
Topic: VS1003 WAV recording
Replies: 24
Views: 6846

Re: VS1003 WAV recording

I found out that my problem is during read from spi port, I receive 0 from spi. I'm using this function for reading spi: uint16_t VS1003::read_register(uint8_t _reg) const { uint16_t result; control_mode_on(); //dcs=HIGH, cs=Low unsigned char hsb = 0, lsb = 0; delayMicroseconds(1); // tXCSS SPI.tran...
by mbprogrammer
Tue 2019-07-23 9:57
Forum: Microcontroller Software
Topic: VS1003 WAV recording
Replies: 24
Views: 6846

Re: VS1003 WAV recording

Hello, I'm a newbie in vs1003. I have an Arduino-Mega 2560 and a VS1003. I was able to build and program vs1003_hello. I want to record wav with vs1003, (actually I prefer to record in compressed formats like mp3 or .. but for now, I have VS1003 and it doesn't have the ability to encode to mp3 so..)...