Hello everybody. I was wondering if you could help me with the following problem I'm having. I'm working on a project that communicates a master device to multiple slaves, 12 to be exact, on different boards. The connection would be using ribbon cable. My question is what would be the most reliable to use, SPI or I2C, using a clock speed of 100 kHz? The cable length would be 40 cm. I attach an image to better explain the idea.
I know RS-485 or CAN would be more reliable protocols, but because of cost, SPI or I2C would be better.
I know RS-485 or CAN would be more reliable protocols, but because of cost, SPI or I2C would be better.
Attachments
-
12.3 KB Views: 75