Search found 8 matches

by almen_80
Fri 2016-12-09 9:54
Forum: Microcontroller Software
Topic: VS1053 & PIC24
Replies: 5
Views: 1257

Re: VS1053 & PIC24

Hi Panu, i have got a last question. The endFileByte returns as unsigned int from registry. Rethinking about it I suppose that the endFileByte is the lower byte. I’m right in my assumption or should both bytes (L & H) be transfered? Thanks in advance! PS: based on the example: memset(playBuf, endFil...
by almen_80
Thu 2016-12-08 18:55
Forum: Microcontroller Software
Topic: VS1053 & PIC24
Replies: 5
Views: 1257

Re: VS1053 & PIC24

Hi Panu, I'm able to read/write registers and play the hello. My problem was, obviously now for me, my implementation of the SPI byte exchange. :roll: Here is the MP3-Hello code for PIC24s, maybe of interest for someone who is experimenting too with PIC and VS1053. As far as I understood it should b...
by almen_80
Thu 2016-12-08 11:41
Forum: Microcontroller Software
Topic: VS1053 & PIC24
Replies: 5
Views: 1257

VS1053 & PIC24

Hi, I start a new thread asking for best practices confirming correct SPI transfer implementation. I’m getting really troubles trying to use the Adafruit VS1053 Breakout using a PIC24. I’m able to read the right chip version but writing the registers (sanity check) doesn’t work as expected, followin...
by almen_80
Wed 2016-12-07 17:40
Forum: Microcontroller Software
Topic: Audible "Hello" example for VS1003B + Microcontroller
Replies: 64
Views: 81167

Re: Audible "Hello" example for VS1003B + Microcontroller

Hi Panu, Sorry to ask you again for advice, but I’m going out of ideas what I’m doing wrong. The information under the link "MCU Howto" is a little different from the one described in the datasheet. I suppose that the link describes the first or minimal steps. I re-write the code trying to follow th...
by almen_80
Tue 2016-12-06 17:38
Forum: Microcontroller Software
Topic: Audible "Hello" example for VS1003B + Microcontroller
Replies: 64
Views: 81167

Re: Audible "Hello" example for VS1003B + Microcontroller

Hi Panu, I’m sorry but I don’t have an oscilloscope or logic analyzer. But I’m able to mount and read the SD-Card located on the Adafruit Breakout (sharing same SPI). I’m initializing with slow SPI having 500 kHz. “FastSPI” on current PIC configuration would be maximal 4 MHz. I’m able to read and wr...
by almen_80
Mon 2016-12-05 10:11
Forum: Microcontroller Software
Topic: Audible "Hello" example for VS1003B + Microcontroller
Replies: 64
Views: 81167

Re: Audible "Hello" example for VS1003B + Microcontroller

Hi Panu,

The Adafruit’s schematic shows a “XTEST” connected to 3v3. In the VS1053 Datasheet XTEST should be connected to IOVDD (4.8 Analog characteristics: IOVDD=2.8V).

Could be the XTEST the cause of the issue? Is possible to check this using registers?
by almen_80
Mon 2016-12-05 8:52
Forum: Microcontroller Software
Topic: Audible "Hello" example for VS1003B + Microcontroller
Replies: 64
Views: 81167

Re: Audible "Hello" example for VS1003B + Microcontroller

Hi Panu,

DREQ is defined low at start. I put a 2 seconds delay after sending the Hello but the chip is still unable to play the whole data or is playing it wrong.


Are there other registers that could help checking the state of the chip?
by almen_80
Sat 2016-12-03 15:43
Forum: Microcontroller Software
Topic: Audible "Hello" example for VS1003B + Microcontroller
Replies: 64
Views: 81167

Re: Audible "Hello" example for VS1003B + Microcontroller

Hi, I’m trying to play the “Hello” mp3 using a PIC24 and a VS1053b integrated in the Adafruit “VS1053 Breakout”. Playing the Hello following the code posted in the first page of this thread results in random sound outputs. It is like the SV1053 is not been “done” with the decoding and the next bytes...