Search found 17 matches

by xuanvn
Thu 2014-03-27 11:36
Forum: Microcontroller Software
Topic: Microcontroller examples for VS1063, VS1053, VS1003, VS1011
Replies: 42
Views: 69567

Re: Microcontroller examples for VS1063, VS1053, VS1003, VS1

Thanks Panu,

I will check it both and tell you the results

Xuanvn
by xuanvn
Thu 2014-03-27 11:10
Forum: Microcontroller Software
Topic: Microcontroller examples for VS1063, VS1053, VS1003, VS1011
Replies: 42
Views: 69567

Re: Microcontroller examples for VS1063, VS1053, VS1003, VS1

Hi Panu, Thank you for your help. I have an OSC, I will test the XDCS as your idea. I wonder why how can I capture this pulse. By the way, I hear nothing from the chip. The program passed the playing function too fast (about 500ms) although my mp3 test file is about 1 minute long. Maybe there is som...
by xuanvn
Thu 2014-03-27 9:54
Forum: Microcontroller Software
Topic: Microcontroller examples for VS1063, VS1053, VS1003, VS1011
Replies: 42
Views: 69567

Re: Microcontroller examples for VS1063, VS1053, VS1003, VS1

Hi Panu, Here is my code of WriteSdi() function, I think it doesn't work, but I don't know why. I also checked 4 situations of SPI Polarity, but nothing happened int WriteSdi(const u_int8 *data, u_int8 bytes) { int j; u_int8 i; if (bytes > 32) return -1; // Error: Too many bytes to transfer! SPICON1...
by xuanvn
Tue 2014-03-25 16:08
Forum: Microcontroller Software
Topic: Microcontroller examples for VS1063, VS1053, VS1003, VS1011
Replies: 42
Views: 69567

Re: Microcontroller examples for VS1063, VS1053, VS1003, VS1

Hi Henrik, I based on your library to build a simple mp3 playing function. It's just like that: void testMp3Play(const char *fileName) { u_int32 bytesInBuffer; u_int32 pos=0; // File position int endFillByte = 0; // What byte value to send after file int endFillBytes = SDI_END_FILL_BYTES; int playMo...
by xuanvn
Sun 2014-03-16 11:19
Forum: Microcontroller Software
Topic: Microcontroller examples for VS1063, VS1053, VS1003, VS1011
Replies: 42
Views: 69567

Re: Microcontroller examples for VS1063, VS1053, VS1003, VS1

Hi Henrik,

I've just solved the problem. It is the difference from SPI speed between SD card and VS device. I made it similar and it worked. Now I am trying to play mp3 song. Thank you very much for your help.

xuanvn
by xuanvn
Sun 2014-03-16 7:02
Forum: Microcontroller Software
Topic: Microcontroller examples for VS1063, VS1053, VS1003, VS1011
Replies: 42
Views: 69567

Re: Microcontroller examples for VS1063, VS1053, VS1003, VS1

Hi Henrik, I know what you mean, but the situation is really strange to me. I remove all VS code and test the SD card again. It worked! But when I add the VS library (not call any function from this library yet) the SD card code stop work. It really make me mad. I also attach the VS library. Could y...
by xuanvn
Thu 2014-03-13 13:38
Forum: Microcontroller Software
Topic: Microcontroller examples for VS1063, VS1053, VS1003, VS1011
Replies: 42
Views: 69567

Re: Microcontroller examples for VS1063, VS1053, VS1003, VS1

Hi Henrik,

I checked. I used SPI mode for the SD card.

Xuanvn
by xuanvn
Thu 2014-03-13 13:26
Forum: Microcontroller Software
Topic: Microcontroller examples for VS1063, VS1053, VS1003, VS1011
Replies: 42
Views: 69567

Re: Microcontroller examples for VS1063, VS1053, VS1003, VS1

Hi Henrik, I've just gone back to my project. Here is the information: 1. I used VS1053 and Microchip PIC18F87J50 for the testing 2. I used both XDCS and XCS (both of them are connected to microcontroller pins) - Don't use SM_SHARED 3. I used the library from microchip to run SD card, let I check wh...
by xuanvn
Sun 2014-03-02 5:27
Forum: Microcontroller Software
Topic: Microcontroller examples for VS1063, VS1053, VS1003, VS1011
Replies: 42
Views: 69567

Re: Microcontroller examples for VS1063, VS1053, VS1003, VS1

Hi, I had done the chip reset, I can get the great sine wave now. The problems that I found is a conflicting between SD card and the VS chip when sharing one SPI bus. the SD card as well as the VS code worked fine. But when I used both of them, it didn't work at all. Any recommendation on this issue...
by xuanvn
Thu 2014-02-27 6:52
Forum: Slave Decoder Applications
Topic: vs1053b SDI Sine test not working, SCI works - SOLVED
Replies: 7
Views: 3861

Re: vs1053b SDI Sine test not working, SCI works - SOLVED

Hi Panu,

How to "Wait for the sending of bytes to be complete" ?

Thank you