<?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: Slave addressing as I2C Master in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Slave-addressing-as-I2C-Master/m-p/649220#M505</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hello Jeremiah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; You are right, in order to communicate with another slave you must call LPI2C_DRV_MasterSetSlaveAddr() with the new slave address. After this, all transfers will use this address, until the next call to LPI2C_DRV_MasterSetSlaveAddr().&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; It is also possible to call Deinit and then Init again with a new configuration, but this would consume much more processing time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Best regards,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cristian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Nov 2016 18:55:55 GMT</pubDate>
    <dc:creator>cristianzamfire</dc:creator>
    <dc:date>2016-11-10T18:55:55Z</dc:date>
    <item>
      <title>Slave addressing as I2C Master</title>
      <link>https://community.nxp.com/t5/S32K/Slave-addressing-as-I2C-Master/m-p/649219#M504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am looking for some clarification using the I2C component for the S32K144. I currently have my Component Inspector set to:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="168505_168505.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122483i3B66DDB49A6D67D3/image-size/large?v=v2&amp;amp;px=999" role="button" title="168505_168505.png" alt="168505_168505.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7552i3293551888A3F4FC/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have separately established communications with configuration 0 and configuration 1. I'm not exactly sure how NXP intended us to communicate to each slave when multiple slaves are present. It looks like the functions present in the Kinetis line of Processor Expert pass the Config along with the data for sending and receiving. That is not present on the S32K.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a semaphore set up which uses the&amp;nbsp;LPI2C_DRV_MasterSetSlaveAddr function to switch the address so I can communicate with each slave.&amp;nbsp;Another&amp;nbsp;option would be to Deinit, then Init with the Config that contains the desired slave address. What was NXP intending to do here?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is possible that the I2C module is still being development.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 15:51:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Slave-addressing-as-I2C-Master/m-p/649219#M504</guid>
      <dc:creator>jeremiahg</dc:creator>
      <dc:date>2016-11-10T15:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Slave addressing as I2C Master</title>
      <link>https://community.nxp.com/t5/S32K/Slave-addressing-as-I2C-Master/m-p/649220#M505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hello Jeremiah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; You are right, in order to communicate with another slave you must call LPI2C_DRV_MasterSetSlaveAddr() with the new slave address. After this, all transfers will use this address, until the next call to LPI2C_DRV_MasterSetSlaveAddr().&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; It is also possible to call Deinit and then Init again with a new configuration, but this would consume much more processing time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Best regards,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cristian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 18:55:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Slave-addressing-as-I2C-Master/m-p/649220#M505</guid>
      <dc:creator>cristianzamfire</dc:creator>
      <dc:date>2016-11-10T18:55:55Z</dc:date>
    </item>
  </channel>
</rss>

