Can I have 3 SPI slaves on the Photon

I need 3 SPI slaves. Can I just run all 3 on SPI1 and use 3 separate GPIOs for CS?

@bbeardmore, yes you can. You will need to consider if the devices need to run using different SPI modes or the not. If all devices use the same SPI modes (data mode and bit order) and all can use a common clock speed then no problem. Otherwise, you will need to use Arduino’s SPISettings() function that has recently been added to the 0.6.1-rc.1 beta firmware. This function is run prior to interacting with each SPI device in order to set its specific SPI operating settings (ie switching “on-the fly”).