I2C Error Compendium

From STorM32-BGC Wiki V1
Revision as of 14:19, 10 January 2015 by OlliW (talk | contribs)
Jump to navigation Jump to search

I2C errors are probably the most annoying sideffects of the technology presently used in our brushless gimbals. Many discussions and advices how to avoid them are found on the net, and also quite some myths.

I2C errors occur then the signals on I2C clock and/or data lines are disturbed beyond ceratin limits, and they are due to two main reason:

  • capacitive load on the I2C clock and/or data lines
  • induced signal disturbances due to capacitive coupling to outside fields

Importantly, all error sources add up. One hence can't give decicive threshold values, such as that the length of the I2C wires should be shorter than 40 cm. Whithout any further error sources one might well be able to use much longer wires, while if motor wires are nearby only much shorter wires would be acceptable. It's like a glass of wine: When it's full it will overflow. It doesn't matter if you fill in Bordeau, Chianti, a mixture of that, or even just plain water.