Skip to main content
13 events
when toggle format what by license comment
Oct 6, 2016 at 8:20 vote accept AnoE
S Oct 5, 2016 at 6:22 history suggested Peter Mortensen CC BY-SA 3.0
Copy edited (e.g. ref. <http://english.stackexchange.com/questions/15953>). Removed historical information (e.g. ref. <http://meta.stackexchange.com/a/230693> and <http://meta.stackoverflow.com/questions/266164>). Removed meta information (this belongs in comments).
Oct 5, 2016 at 5:32 review Suggested edits
S Oct 5, 2016 at 6:22
Oct 4, 2016 at 23:57 history tweeted twitter.com/StackElectronix/status/783456048275419136
Oct 4, 2016 at 22:42 history edited AnoE CC BY-SA 3.0
added 138 characters in body
Oct 4, 2016 at 15:18 comment added infixed When I had a longish run I2C via a PIC processor, the issue was crosstalk between the clock and data lines. Certainly selecting the twisted pairs right can reduce that. But another thing was that the PIC I2C module had an option bit to limit rise/fall times. That reduced crosstalk immensely. I have no idea if your processor has such an option
Oct 4, 2016 at 11:33 answer added FiddyOhm timeline score: 23
Oct 4, 2016 at 10:53 history edited AnoE CC BY-SA 3.0
added 141 characters in body
Oct 4, 2016 at 10:01 comment added Arsenal Things that work for 100 or 1000 times and then suddenly stop working can very well be a software problem (race conditions which might be even in you most trivial code).
Oct 4, 2016 at 9:35 comment added user98663 Random thought: Are you running SCL and SDA together in a single twisted pair? It might be worth rigging up your connections so that you have ... (GND+SDA), (VCC+VCC), (GND+SCL), (INT+GND). Theory being that you might get spurious edges due to close coupling.
Oct 4, 2016 at 9:30 comment added Vladimir Cravero Exactly, your clock frequency is key. I would not expect any particular problem for 1m cables, even at 400kHz. We regularily do this at work with three twisted cables, SDA, SCL and ground, no shield a lot of coupling and not an issue, and length is about 1m. Also reducing your pullup resistors to something like 1k might help.
Oct 4, 2016 at 9:27 comment added user98663 What frequency are you running your I2C at? Have you tried slowing it down? What VCC voltage have you got at the far end of the cable? What are you doing with the cable shield?
Oct 4, 2016 at 9:19 history asked AnoE CC BY-SA 3.0