3.3 Decoupling of the Clients
Another way to mitigate the effect is by decoupling the data and clock lines. This ensures that the host/client communication is not significantly affected by other client devices. The decoupling can be achieved via a resistor on the respective line close to the client device. The resistor is only required if a device actively keeps the line driven. Therefore, not every client device in the application requires this resistor. A minimal solution is to connect only one resistor to the MISO line. However, to maintain balance within the SPI, it is recommended to add a resistor to every SPI line, as illustrated in the following figure.
The resistor value can be calculated based on the following equation.
R=5VIx⋅4
Where:
- 5V = Supply Voltage
- Ix = Lowest driver capability of the other components (client)
- 4 = Safety margin. This value ensures that the driver current from the other component is four times higher than the current that will be driven from the Microchip device (via the resistor).