This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF51822 SPI - two or more diveces?

Hello, can i use two or more divecies using SPI protocol at same time? I want to use nRF51822.

Thank for reply.

Parents
  • Yes of course you can. For a start SPI can drive multiple slaves with one SPI instance using different chip selects, in that way you can communicate with one device at a time, then switch to another etc. So your communications can't overlap, but you can switch constantly between the devices.

    Also the nrf51822 has two SPI masters, so you can use those to drive two devices at exactly the same time, with communications on different pins.

Reply
  • Yes of course you can. For a start SPI can drive multiple slaves with one SPI instance using different chip selects, in that way you can communicate with one device at a time, then switch to another etc. So your communications can't overlap, but you can switch constantly between the devices.

    Also the nrf51822 has two SPI masters, so you can use those to drive two devices at exactly the same time, with communications on different pins.

Children
Related