I am new to this forum and to Arduino, currently I am working on a school project and I was looking for an explanation concerning SPI. I am building my own set of flight controls for an existing drone, pretty much much most of the project is done. I am using the Arduino uno and SPI with a wireless transceiver. Everything is working, my flight controls are operated using the 4 potentiometers. It is extremely difficult to operate, so I am looking into using a DualShock3 controller with the Arduino. I will be following this build: https://barrettsprojects.wordpress.com/2013/01/12/usb-host-shield-demonstration/.
Now my problem is, the Arduino USB host shield for the controller uses SPI as well. I need to understand how to use SPI with two slave devices. Not too sure if this is correct, I read that the MISO, MOSI and SCK will remain the same for both devices. But the SS must be different for each device. Again, I am not sure if this is correct, please correct me if wrong.
I was also wondering what is so special about pin 10(SS pin) on the UNO. I tired using the PWM pins 3, 5 and 6 as the SS pin and the drone worked perfectly. I would be great if someone one could explain the difference between using pin 10 vs using any of the other PWM pins for SS.
Any other advice concerning my project or SPI is greatly appreciated too.
Thanks for your feedback.