I have a system where I will connect up to 128 identical magnometer ICs up to an FPGA. I am trying to decide between SPI and I2C for comms. If I use SPI the setup will require 128 + 3 wires IF all sensors are on the same bus.
How do I decide/calculate if this is feasible and the sensors and wire won't load the circuit with too much capacitance or resistance?
The sensors will be distributed across several circuit boards so most of the wire length will be connecting sensor boards to each other.
I guess a general answer would be nice but just in case I am using these sensors and FPGA.
- https://embeddedmicro.com/tutorials/mojo/
- http://www.st.com/web/en/resource/technical/document/datasheet/DM00057547.pdf
EDIT: I appreciate any helpful advice on changing the system but what I'm looking for is how to calculate how many wires and sensors I can add before the capacitance is too great.