Hello,
I have searched forums for a number of days now and read posts that have had success with combining the EthernetShield together with the Waveshield. As of yet I have not succeeded and ask for help from someone who has gotten this running on an UNO.
After reading many posts I think I understood that there is a conflict with the SS signal. I added and defined pin 9 to be an SS_CS signal and in then changed the SPISSHigh and Low functions to use SS_CS (pin 9) rather than pin 10 (SS). I also initialized both pin 10 and pin 9 as outputs and set them high.
This allowed me to run either the Waveshield (using pin 9) or the Ethernet Shield (using pin 10) successfully when independent.
I was also able combine both hardware's with the UNO and then run either's code successfully whereas I was not able to do that previously, without the changes to the conflicting SS pins.
However I am still unable to run the combined code. The Ethernetshield runs and finds the client but I am unable to play a wavefile. It reports that it is unable to open a wave file on the SD card. I know all is fine with the SD card files as the waveshield runs fine as long as the Ethernet code is not running.
Looking at the pins with a scope it occurs to me that Pin10 for the Ethernet is Oscillating high/low constantly. Is the problem perhaps that the code has to disable the ethernetshields activity temporarily when the SD card needs to be accessed?
When I run only the Waveshield code I see its (pin9) select pin rest low normally. It goes high and low during the play of a file and then rests low once again when done. This also seems a little strange, but works when only the waveshield code is run. I also put all the hardware back to original ( only UNO + waveshield on pin 10) and pin 10 acts the same so it was not anything I changed. It seems to me that the select pin should rest high when not playing a file?
In all the examples I have read about they seem to make it appear as simple as remapping another unused pin for the chip select to the waveshield?
Can anyone please help me out with this? Code size is only 18K and I am running the 328 microcontrolller.