<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to use a LAN cable for I2C and SPI? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-a-LAN-cable-for-I2C-and-SPI/m-p/1014418#M56150</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Personally I would never pursue this path.&lt;BR /&gt;This is the kind of thing RS485 was meant for.&lt;BR /&gt;That being said:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;If we use the P82B715 can the Master and Slave operate at different voltages by just having Vcc-master at 3.3v and Vcc-slave at 5v? "&lt;BR /&gt;&lt;BR /&gt;Section 9.1 of the data sheet addresses that:&lt;BR /&gt;" &lt;SPAN class=""&gt;the logic-signal levels at Sx/Lx are independent of the supply voltage. They remain at the levels presented to the chip by the attached devices&lt;/SPAN&gt;&amp;nbsp;"&amp;nbsp; So it depends on if your devices are 5V tolerate, or will work with a 3.3V input threshold with a Vcc of 5V.&lt;BR /&gt;&lt;BR /&gt;I would also replace the passive pull-up resistors with active current sources.&lt;BR /&gt;&lt;BR /&gt;I don't see any reason, other than size and power, that the P82B715 could not also be used for SPI if there are no speed issues.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Mar 2020 12:30:07 GMT</pubDate>
    <dc:creator>bobpaddock</dc:creator>
    <dc:date>2020-03-26T12:30:07Z</dc:date>
    <item>
      <title>How to use a LAN cable for I2C and SPI?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-a-LAN-cable-for-I2C-and-SPI/m-p/1014417#M56149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a situation where I need to have an I2C master drive multiple I2C slaves over distances of 1 foot to 50 feet. Specifically I want to use CAT-6 shielded cable to run the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Power: 12v, GND&lt;/LI&gt;&lt;LI&gt;I2C: SDA, SCL&lt;/LI&gt;&lt;LI&gt;SPI: MOSI, MISO, CLK, CS&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I'm currently looking at the P82B715 for the I2C bus, but I don't have a solution for the SPI bus. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, on the I2C bus, the Master operates at 3.3v while the Slaves operate at 5v.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Is there a single chip (or two chip) solution to support the data lines at this distance range?&lt;/LI&gt;&lt;LI&gt;If we use the P82B715 can the Master and Slave operate at different voltages by just having Vcc-master at 3.3v and Vcc-slave at 5v?&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2020 19:05:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-a-LAN-cable-for-I2C-and-SPI/m-p/1014417#M56149</guid>
      <dc:creator>mark5</dc:creator>
      <dc:date>2020-03-25T19:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a LAN cable for I2C and SPI?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-a-LAN-cable-for-I2C-and-SPI/m-p/1014418#M56150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Personally I would never pursue this path.&lt;BR /&gt;This is the kind of thing RS485 was meant for.&lt;BR /&gt;That being said:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;If we use the P82B715 can the Master and Slave operate at different voltages by just having Vcc-master at 3.3v and Vcc-slave at 5v? "&lt;BR /&gt;&lt;BR /&gt;Section 9.1 of the data sheet addresses that:&lt;BR /&gt;" &lt;SPAN class=""&gt;the logic-signal levels at Sx/Lx are independent of the supply voltage. They remain at the levels presented to the chip by the attached devices&lt;/SPAN&gt;&amp;nbsp;"&amp;nbsp; So it depends on if your devices are 5V tolerate, or will work with a 3.3V input threshold with a Vcc of 5V.&lt;BR /&gt;&lt;BR /&gt;I would also replace the passive pull-up resistors with active current sources.&lt;BR /&gt;&lt;BR /&gt;I don't see any reason, other than size and power, that the P82B715 could not also be used for SPI if there are no speed issues.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2020 12:30:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-a-LAN-cable-for-I2C-and-SPI/m-p/1014418#M56150</guid>
      <dc:creator>bobpaddock</dc:creator>
      <dc:date>2020-03-26T12:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a LAN cable for I2C and SPI?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-a-LAN-cable-for-I2C-and-SPI/m-p/1014419#M56151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/mark@paradoxrooms.com"&gt;mark@paradoxrooms.com&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en-US"&gt;For long distances, the general approach is to use the RS-485 protocol. You could take a look out&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.nxp.com/products/peripherals-and-logic/signal-chain/bridges:MC_50962"&gt;&lt;SPAN lang="es-MX"&gt;Bridges | Protocol Bridge | Bridge IC Solutions | NXP&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN lang="en-US"&gt;&amp;nbsp;portfolio to find a chip to translate SPI/I2C to RS-485 and vice-versa.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en-US"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Have a nice day.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards Diego.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2020 22:16:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-a-LAN-cable-for-I2C-and-SPI/m-p/1014419#M56151</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2020-03-26T22:16:23Z</dc:date>
    </item>
  </channel>
</rss>

