Hi,
I’m trying to use the sparkfun mp3 shield and a screen that use SPI too with an arduino mega. So far i’m not able to make them work together properly, everything works separately when plugged on the arduino, but trying to make the player and the screen working at the same time doesn’t work.
Does Sparkfun has a demo code somewhere that show the mp3 shield working alongside another SPI-driven part, a display if possible ?
Regards.
Hi, thanks for writing in.
I regret to say that we don’t have an example like that if it is not currently on the product page for the MP3 player.
Hmmm, could be a hardware limitation issue in the screen perhaps? Do you know if there is a buildup of resistance when the 2 parts are combined on the SPI lines? Maybe try shorter or different wires?
In what way are things not working when combined?
Hi ! Thanks for the answer.
I don’t know if the screen have this kind of limitation, it’s a 2.2" TFT based on an ILI9341 driver, maybe i can find the answer in the documentation (have to look for it). My wires are already shorts but in order to use the screen i need resistors, maybe it doesn’t help.
When in try to mix the sketches on the arduino, the screen works, everything seems to show up in the serial monitor concerning the MP3 but when i send a command, nothing happen, and then, randomly, maybe 30 seconds later, the serial monitor shows the command have been sent, the screen goes blank and show some artefacts, and then the player start (not always) to play music. It tends to make me think that the problem is more on the software side.
Regards.