-
Notifications
You must be signed in to change notification settings - Fork 446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any exaples for RP2040? #654
Comments
Well now this is linked to earlephilhower/arduino-pico#1854 |
Here's the working code. You need to solder a jumper on the PCM5102 module (shown in the photo) and power the module from 5 V. To avoid jerks during playback, you need to increase the SPI speed, as shown in the code. Also, use overclocking up to 200 MHz. Under these conditions, MP3 320 kbps Stereo is played.
|
Now I am interested in other questions.
**How do I play a file from each memory card? Another interesting question. Does the library support multithreading? RP2040 has 2 cores. Perhaps by using both cores, overclocking could be avoided.** |
How did you get this to work exactly? When I try the example (while giving my value for the SDCS pin) the whole thing just hangs on the SPI.setCS() call. And I mean hangs, the whole thing stops responding. My hardware is a Feather RP2040 connected to MAX98357 amplifier. My SD card reader is on my ST7789 display unit, but that shouldn't cause anything to hang up as the SD card has its own wiring and goes to its own pins that are not shared by anything else. |
Miracles don't happen. Everything works for me. I wouldn't give you non-working code. If you have some freezes, then look for the reason somewhere else. Have you tried uploading only my code to a clean sketch in your hardware? Will it freeze? |
Hello! I want to play MP3 from SD Card on RP2040. Can someone help me with it? Examples in library is not working for me.
The text was updated successfully, but these errors were encountered: