Audible "Hello" example for VS1003B + Microcontroller
Re: Audible "Hello" example for VS1003B + Microcontroller
Does anyone port VS1053 with STM32 ? thanks
Re: Audible "Hello" example for VS1003B + Microcontroller
Mp3DeselectData(); // Release the SDI bus
// You can do something else here, the bus is free...
// Maybe set the volume or whatever...
Can I put delay for 10ms on it ? or longer ? thanks
// You can do something else here, the bus is free...
// Maybe set the volume or whatever...
Can I put delay for 10ms on it ? or longer ? thanks
Re: Audible "Hello" example for VS1003B + Microcontroller
This code is working for VS1003B and ATMEGA128, I compiled with Atmel Studio 6
I tested "Hello" and 1 KHz Sine at once...
Please comment or delete USART and LCD init code, except you have same LCD and usart for debugging...
Thanks
I tested "Hello" and 1 KHz Sine at once...
Please comment or delete USART and LCD init code, except you have same LCD and usart for debugging...
Thanks
- Attachments
-
- test_sine.c
- (21.12 KiB) Downloaded 733 times
-
- VS1003B.h
- (3.97 KiB) Downloaded 752 times
-
- VS1003B.c
- (6.61 KiB) Downloaded 777 times
Re: Audible "Hello" example for VS1003B + Microcontroller
I used the same code above for VS1053....it gives me tuck...tuck...tuck.....I don't understand why ??
Re: Audible "Hello" example for VS1003B + Microcontroller
It works now with VS1053, I must connect all GPIOs to GND, pull down with 100K resistor
Hopefully the files will be usefull for everybody...
Thanks
Hopefully the files will be usefull for everybody...
Thanks
- Attachments
-
- test_sine.c
- (21.15 KiB) Downloaded 686 times
-
- VS1003B.h
- (3.97 KiB) Downloaded 701 times
-
- VS1003B.c
- (6.89 KiB) Downloaded 886 times
Re: Audible "Hello" example for VS1003B + Microcontroller
Now I want to test it with STM32...suppose to work...
Re: Audible "Hello" example for VS1003B + Microcontroller
This code is running on STM32F107 and VS1053...Hello and Sine wave 1KHz test..
Re: Audible "Hello" example for VS1003B + Microcontroller
Right.... hmm, perhaps the VS1053 was running in MIDI mode (GPIO1) and it was confusing the protocol..?It works now with VS1053, I must connect all GPIOs to GND, pull down with 100K resistor
Hopefully the files will be usefull for everybody...
Anyway, congratulations for making it work!
-Panu
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo
Panu-Kristian Poiksalo
Re: Audible "Hello" example for VS1003B + Microcontroller
Anyone using mikroc pro arm for sine test and hello? My sine test is working but not working with sdcard.... do i need 2048 0x00 after 32bytes data.
? Thx
? Thx
Re: Audible "Hello" example for VS1003B + Microcontroller
Hi bianchi, do you have an email for sharing some ideas about MP3 player with external microcontroller?
Are you italian?
Thanks.
Are you italian?
Thanks.