Using 2 SPI devices with a UNO

Hi
I want to be able to use 2 SPI devices (NRF24L01 and an SPI OLED) on a UNO. Does anyone know if this can be done?

Jeff Monegal

Connect all pin together, but use 1 pin for each SS device.

Ref: How to Connect Multiple SPI devices to an Arduino Microcontroller

Yes. The point of the SPI bus is that it can be shared. Each thing on the bus needs a unique slave select SS (sometimes called chip select CS) pin. But they all share the same MOSI, MISO, and Clock pins.

You can run one at a time for short periods and it will act smoothly.

Topic moved to a more suitable location on the forum; the question is not IDE specific.

Hi guys

Thankyou very much for the answer to my problem. This is one of those problems where the answer become obvious once pointed in the right direction. Thanks again guys

Jeff Monegal

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.