hla
Junior Member

Posts: 29
|
Post by hla on Feb 4, 2014 7:25:52 GMT -8
I've tried to to connect my Arduino Pro Mini to Gameduino2. I've got this to work by connecting all the required Arduino pins to the Gameduino2. I've also connected a ethernet shield to the SPI bus, with pin 10 as select. This combination works as long as there is no SD card in the Gameduino2. If there IS a SD card in the Gameduino2 I have problems getting everything to work. Removing the SPI connection between Arduino and ethernet shield makes it work again (even with SD card). Could it be some kind of SPI select compatibility issue ? Such as described i.e. john.crouchley.com/blog/archives/662 ? Any ideas ? BTW: More about my project here .
|
|
|
Post by jamesbowman on Feb 5, 2014 13:23:20 GMT -8
One suggestion is to make sure that all three CS signals are high before doing any initialization, e.g.
pinMode(8, OUTPUT); pinMode(9, OUTPUT); pinMode(10, OUTPUT); digitalWrite(8, HIGH); digitalWrite(9, HIGH); digitalWrite(10, HIGH);
GD.begin(); ...
|
|
hla
Junior Member

Posts: 29
|
Post by hla on Feb 6, 2014 12:08:18 GMT -8
Thanks, However, I think I've found the problem. Until today, I've uploaded the sketches to Arduino Pro Mini using a Arduino UNO (without the processor). Today I got the USB/TTL converter and uses it instead of UNO. Then it seems to work. The theory is that the SPI bus "collided" with devices on the UNO itself ! Sounds reasonable ?
|
|