Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #543081

Re: I2C cable

Path csiph.com!goblin1!goblin.stu.neva.ru!spln!extra.newsguy.com!newsp.newsguy.com!drn
From Winfield Hill <hill@rowland.harvard.edu>
Newsgroups sci.electronics.design
Subject Re: I2C cable
Date 12 May 2019 01:44:00 -0700
Organization Rowland Institute
Lines 65
Message-ID <qb8mcg0b13@drn.newsguy.com> (permalink)
References <qb40m902842@drn.newsguy.com> <qb44ki$r6l$1@dont-email.me> <b0e42157-9e42-4729-a0c2-106262574a65@googlegroups.com> <qb7ho601ol2@drn.newsguy.com> <d5ifde921jlcdba61cr00o01qo2abhprfu@4ax.com>
NNTP-Posting-Host pe29beb1b4309dba65e9017fd866078893ed9b556511538bc.newsdawg.com
User-Agent Direct Read News 5.60
Xref csiph.com sci.electronics.design:543081

Show key headers only | View raw


upsidedown@downunder.com wrote...
>
> Winfield Hill wrote:
>> Rick C wrote...
>>> Winfield Hill wrote:
>>>> Winfield Hill wrote...
>>>>> Lasse Langwadt Christensen wrote...
>>>>>>
>>>>>> the STM have programmable slewrate on the IOs
>>>>>
>>>>> Aha!  I'll see if our programmer can activate that.
>>>>
>>>>  I miss-spoke, we're using an Atmel ARM SAM D21.
>>>>  Not sure if they have programmable slew rate,
>>>>  but datasheet says the I2C outputs have reduced
>>>>  slew-rates.   Hmm, the IO spec says 20-50ns with
>>>>  a 10 to 400pF load.  Well, anyway, I've added a
>>>>  resistor (100-ohm) in series with the I2C lines.
>
> A twisted pair typically has an impedance of 100-120
> ohms and since the transmitter has some output
> impedance, a smaller resistor should be sufficient
> to match to the line impedance.

 Thanks for your calculations, thoughts and comments.

 I had to decide against CAT5 and twisted pair.  I'm
 not trying to match impedances at my slow speeds, the
 100-ohms is to slow falltime against 200pF of load.

> [snip] If the current through the open drain pull-up
> resistor(s) is more than 4 mA, this will reduce the
> low state noise margin by 400 mV ...

 The pullup resistors are 10k to 3.3V and 10k to 1.8V,
 or about 0.5mA.  So with 100 ohms that's 50mV, and
 adding my analog switch, that's 100mV.  [Actually,
 the switch may be enough resistance, scope meas on
 Monday may show I can skip the 100-ohms.]

> ... so if a conventional TTL receiver is used ...

 The drivers and receivers are all proper I2C, with
 (lousy) thresholds spec'd at 0.3 to 0.7 Vdd.  For
 3.3V that's 1.0V, for 1.8-volt devices, it's 540mV.

>> Yes, I agree, but my worry isn't so much about
>> reflections, as about crosstalk.  If a fast SCL
>> falltime induces an SDA signal, apparently this
>> can cause trouble.  Fix with slow falltimes.
>
> I do not understand this crosstalk objections if
> CAT5/6 cables are used ...

 Sorry, I've been forced away from CAT5, and have
 selected flat six-wire cables on RJ12.  But, yes,
 on opposite sides and separated by ground wires,
 there likely won't be any crosstalk.  I'll make
 scope meas on Monday.  If I leave a spot for 100
 ohms on the PCB, it may be best to be 0 ohms.


-- 
 Thanks,
    - Win

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

I2C cable Winfield Hill <hill@rowland.harvard.edu> - 2019-05-10 07:09 -0700
  Re:I2C cable Martin Rid <martin_riddle@verison.net> - 2019-05-10 10:25 -0400
    Re:I2C cable Martin Rid <martin_riddle@verison.net> - 2019-05-10 10:31 -0400
  Re: I2C cable "Tim Williams" <tiwill@seventransistorlabs.com> - 2019-05-10 10:16 -0500
    Re: I2C cable Winfield Hill <hill@rowland.harvard.edu> - 2019-05-10 09:02 -0700
      Re: I2C cable jrwalliker@gmail.com - 2019-05-10 10:13 -0700
        Re: I2C cable Winfield Hill <hill@rowland.harvard.edu> - 2019-05-10 10:50 -0700
          Re: I2C cable Steve Wilson <no@spam.com> - 2019-05-10 18:33 +0000
          Re: I2C cable upsidedown@downunder.com - 2019-05-10 23:21 +0300
            Re: I2C cable jrwalliker@gmail.com - 2019-05-10 14:22 -0700
              Re: I2C cable Winfield Hill <hill@rowland.harvard.edu> - 2019-05-10 15:00 -0700
                Re: I2C cable Lasse Langwadt Christensen <langwadt@fonz.dk> - 2019-05-11 06:01 -0700
                Re: I2C cable Winfield Hill <hill@rowland.harvard.edu> - 2019-05-11 07:04 -0700
                Re: I2C cable Winfield Hill <hill@rowland.harvard.edu> - 2019-05-11 14:23 -0700
                Re: I2C cable Rick C <gnuarm.deletethisbit@gmail.com> - 2019-05-11 15:02 -0700
                Re: I2C cable Winfield Hill <hill@rowland.harvard.edu> - 2019-05-11 15:18 -0700
                Re: I2C cable Rick C <gnuarm.deletethisbit@gmail.com> - 2019-05-11 15:43 -0700
                Re: I2C cable upsidedown@downunder.com - 2019-05-12 10:34 +0300
                Re: I2C cable Winfield Hill <hill@rowland.harvard.edu> - 2019-05-12 01:44 -0700
                Re: I2C cable Simon S Aysdie <gwhite@ti.com> - 2019-05-14 11:29 -0700
                Re: I2C cable Clifford Heath <no.spam@please.net> - 2019-05-12 11:19 +1000
                Re: I2C cable Winfield Hill <hill@rowland.harvard.edu> - 2019-05-11 19:13 -0700
                Re: I2C cable Clifford Heath <no.spam@please.net> - 2019-05-12 12:51 +1000
                Re: I2C cable Rick C <gnuarm.deletethisbit@gmail.com> - 2019-05-11 20:14 -0700
                Re: I2C cable Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2019-05-12 07:10 +0000
                Re: I2C cable Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2019-05-12 07:16 +0000
                Re: I2C cable Clifford Heath <no.spam@please.net> - 2019-05-12 19:38 +1000
                Re: I2C cable Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2019-05-12 12:10 +0000
                Re: I2C cable Winfield Hill <hill@rowland.harvard.edu> - 2019-05-12 06:20 -0700
                Re: I2C cable Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2019-05-12 14:05 +0000
                Re: I2C cable makolber@yahoo.com - 2019-05-13 10:20 -0700
              Re: I2C cable upsidedown@downunder.com - 2019-05-11 10:22 +0300
            Re: I2C cable "Tim Williams" <tiwill@seventransistorlabs.com> - 2019-05-10 17:22 -0500
              Re: I2C cable Rick C <gnuarm.deletethisbit@gmail.com> - 2019-05-10 15:32 -0700
                Re: I2C cable "Tim Williams" <tiwill@seventransistorlabs.com> - 2019-05-11 02:11 -0500
                Re: I2C cable Rick C <gnuarm.deletethisbit@gmail.com> - 2019-05-11 07:57 -0700
              Re: I2C cable Winfield Hill <hill@rowland.harvard.edu> - 2019-05-10 15:33 -0700
                Re: I2C cable Rick C <gnuarm.deletethisbit@gmail.com> - 2019-05-10 17:10 -0700
    Re: I2C cable John S <Sophi.2@invalid.org> - 2019-05-10 17:03 -0500
  Re: I2C cable Jasen Betts <jasen@xnet.co.nz> - 2019-05-11 05:25 +0000
    Re: I2C cable Winfield Hill <hill@rowland.harvard.edu> - 2019-05-11 05:08 -0700
      Re: I2C cable Martin Riddle <martin_ridd@verizon.net> - 2019-05-11 13:55 -0400
        Re: I2C cable Winfield Hill <hill@rowland.harvard.edu> - 2019-05-12 06:11 -0700
          Re: I2C cable Rick C <gnuarm.deletethisbit@gmail.com> - 2019-05-12 08:28 -0700
            Re: I2C cable "Tim Williams" <tiwill@seventransistorlabs.com> - 2019-05-13 18:07 -0500
              Re: I2C cable Winfield Hill <hill@rowland.harvard.edu> - 2019-05-14 02:19 -0700
  Re: I2C cable Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2019-05-11 14:36 +0000

csiph-web