Hello Arduino Gurus
I have a little problem with the Arduino Pro Mini (16Mhz/5V), I will try to dump all the info in the question to help get this done with the least effort from you guys
I am trying to use it as an SPI slave, but the results are not as expected, I am testing it with the code from http://www.gammon.com.au/spi in the "How to get a response from a slave" section.
When i replace the Arduino pro mini with an Arduino UNO, things work perfectly, when i use the Arduino pro mini, I get the same results of the addition for both addition and subtraction (As shown in the photo).
So i hooked up a Logic Analyzer, and what i get is that pin 10 is on logic low all the time, never goes high, hence, the slave never teats the command to subtract as a command, and the letter S falls through the switch statement with no action. (results are the same whether the interrupt Pin 2 is tied/connected to pin 10 or not)
I have tried several pro mini boards, from different clone manufacturers, they all have the same problem, I have checked continuity from pin 10 to it's corresponding pin on the chip with a multi-meter, and it in indeed connected (if it were not connected, it would have gone high since that works without the board, but the point is that it is connected directly to the correct corresponding pin).
the workarounds with a constantly active SS pin won't work for me as I need to use multiple slaves.
I have a couple of hundreds of those pro mini boards that i got from several places online for a project, So i am looking for a workaround that allows me to make use of the boards i have.
As you would expect, I have a common ground, and everything that i am aware of to allow SPI communication, it works with the UNO and the wires are simply moved to the pro mini to get that problem, so it is unlikely that the problem is with the connections, but i have taken a photo of the breadboard to help assure you that this is the case
Out of completion (probably useless information), the master is an Arduino mega pro embed, pin 10 on the pro mini slave is connected to pin D9 on the master, but it used to be connected to the standard D53 before, and it made no difference (The code was obviously modified by switching SS to 9). the extra bunch of wires you see are connected to the logic analyzer.
Thank you in advance


