How to interact with Multiple slaves on SPI having different clock speeds

Hi, I want to connect 3 SPI slaves on the same SPI bus, But all slaves are working at different Clock frequencies and frame structures. What will be efficient way to communicate through SPI?

Parents
  • You can send to multiple slaves at the same time, as long as no more than a single slave activates the MISO signal. The slaves just has a maximum clock rate they may support. So it's enough that the master makes sure that the clock frequency isn't higher than what the slowest slave can support - and that the clock signal symmetry also fulfills the requirements of all slaves.

    If the different slaves receives data using different protocols, then you'll have to enable them one by one when sending data to them. The slaves that doesn't see a SSEL (Slave Select) will ignore anything that happens on the MOSI signal line, and they will also stay away from driving the MISO signal line.

Reply
  • You can send to multiple slaves at the same time, as long as no more than a single slave activates the MISO signal. The slaves just has a maximum clock rate they may support. So it's enough that the master makes sure that the clock frequency isn't higher than what the slowest slave can support - and that the clock signal symmetry also fulfills the requirements of all slaves.

    If the different slaves receives data using different protocols, then you'll have to enable them one by one when sending data to them. The slaves that doesn't see a SSEL (Slave Select) will ignore anything that happens on the MOSI signal line, and they will also stay away from driving the MISO signal line.

Children
More questions in this forum