As you said I can connect CK pin to Digital #13 , the SDO pin to Digital #12 ,the SDI pin to Digital #11. But this only for one amplifier. How do I do it with all the others?
Look there, right the first picture clarify the problem: Multiple SPI Slaves. Common MOSI, MISO, SCK and an extra SS for each slave.
- SCK - This is the SPI Clock pin, its an input to the chip
- SDO - this is the Serial Data Out / Master In Slave Out pin, for data sent from the MAX31856 to your processor
- SDI - this is the Serial Data In / Master Out Slave In pin, for data sent from your processor to the MAX31856
- CS - this is the Chip Select pin, drop it low to start an SPI transaction. Its an input to the chip
