<?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>S32K中的主题 Re: Multiple I2C slave configuration in processor expert</title>
    <link>https://community.nxp.com/t5/S32K/Multiple-I2C-slave-configuration-in-processor-expert/m-p/1097291#M8053</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jeremy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found another way to change the slave address using&amp;nbsp;LPI2C_DRV_MasterSetSlaveAddr function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Aug 2020 04:56:31 GMT</pubDate>
    <dc:creator>pranavshinde</dc:creator>
    <dc:date>2020-08-18T04:56:31Z</dc:date>
    <item>
      <title>Multiple I2C slave configuration in processor expert</title>
      <link>https://community.nxp.com/t5/S32K/Multiple-I2C-slave-configuration-in-processor-expert/m-p/1097289#M8051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using S32K144 for my product.&lt;/P&gt;&lt;P&gt;I have different I2C slaves connected to S32K144 which I need to access periodically.&lt;/P&gt;&lt;P&gt;How do I manage them in processor expert?&lt;/P&gt;&lt;P&gt;It looks like I need to call Master_Init function every time while accessing a different I2C slave.&lt;/P&gt;&lt;P&gt;Is there any better way?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2020 14:40:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Multiple-I2C-slave-configuration-in-processor-expert/m-p/1097289#M8051</guid>
      <dc:creator>pranavshinde</dc:creator>
      <dc:date>2020-08-17T14:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple I2C slave configuration in processor expert</title>
      <link>https://community.nxp.com/t5/S32K/Multiple-I2C-slave-configuration-in-processor-expert/m-p/1097290#M8052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pranav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Besides calling&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Master_Init every time you switch to a different slave, you can also change the address or other params in below 2 variables directly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lpi2c_master_state_t&amp;nbsp; I2C_StateUser;&lt;/P&gt;&lt;P&gt;/*init i2c master,only need to call for one time*/&lt;BR /&gt; LPI2C_DRV_MasterInit(INST_LPI2C1, &amp;amp;lpi2c1_MasterConfig0,&amp;amp;I2C_StateUser);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/*Address which is set in PE&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;will be communicated by default&lt;/SPAN&gt;&lt;SPAN&gt;*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LPI2C_DRV_MasterSendDataBlocking(INST_LPI2C1,dataSend,1,true,1000);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you want to switch to a different slave ID, just change the value of the below variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lpi2c1_MasterConfig0.slaveAddress = I2C_ADDRESS_CS2100;&lt;BR /&gt; I2C_StateUser.slaveAddress = I2C_ADDRESS_CS2100;&lt;/P&gt;&lt;P&gt;/*Address of &lt;SPAN&gt;I2C_ADDRESS_CS2100 will be communicated&lt;/SPAN&gt;*/&lt;/P&gt;&lt;P&gt;LPI2C_DRV_MasterSendDataBlocking(INST_LPI2C1,dataSend,1,true,1000);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2020 00:58:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Multiple-I2C-slave-configuration-in-processor-expert/m-p/1097290#M8052</guid>
      <dc:creator>Jeremy_He</dc:creator>
      <dc:date>2020-08-18T00:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple I2C slave configuration in processor expert</title>
      <link>https://community.nxp.com/t5/S32K/Multiple-I2C-slave-configuration-in-processor-expert/m-p/1097291#M8053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jeremy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found another way to change the slave address using&amp;nbsp;LPI2C_DRV_MasterSetSlaveAddr function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2020 04:56:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Multiple-I2C-slave-configuration-in-processor-expert/m-p/1097291#M8053</guid>
      <dc:creator>pranavshinde</dc:creator>
      <dc:date>2020-08-18T04:56:31Z</dc:date>
    </item>
  </channel>
</rss>

