<?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のトピックI Need Simple I2C Example</title>
    <link>https://community.nxp.com/t5/S32K/I-Need-Simple-I2C-Example/m-p/1330291#M11844</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;it is very hard to make a initilaize code using NXP,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to make a I2C code.&lt;/P&gt;&lt;P&gt;in IDE, s32k116_Project_LPI2C project shows that I2C example.&lt;/P&gt;&lt;P&gt;but, it is not work. there is no pulse feedback in PTA2 and PTA3&amp;nbsp; pin(SDA,SDL)&lt;/P&gt;&lt;P&gt;I looking for some code to communicate Master - Slve, easily&lt;/P&gt;&lt;P&gt;I'm already make a code by using ST HAL library.&lt;/P&gt;&lt;P&gt;I using I2C I/O Expander IC TCA9539.&lt;/P&gt;&lt;P&gt;slve address 0x74 because A0, A1 is low.&lt;/P&gt;&lt;P&gt;And I sand 0xE9 to use it only read mode.&lt;/P&gt;&lt;P&gt;I make it follow code.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;uint8_t data[16];&lt;BR /&gt;HAL_I2C_Master_Transmit(&amp;amp;hi2c1, 0x74, data, 16, 10); //Awake&amp;nbsp;&lt;BR /&gt;HAL_Delay(1); // Delay&lt;BR /&gt;HAL_I2C_Master_Transmit(&amp;amp;hi2c1, 0xE9, data, 16, 10); // Set data readonly&lt;BR /&gt;HAL_Delay(1); // delay&lt;BR /&gt;HAL_I2C_Master_Receive(&amp;amp;hi2c1, 0xE9, data, 16, 10); // read data from IC&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please,,, I want make code like that.. How can I?&lt;/P&gt;</description>
    <pubDate>Thu, 26 Aug 2021 10:25:45 GMT</pubDate>
    <dc:creator>skb</dc:creator>
    <dc:date>2021-08-26T10:25:45Z</dc:date>
    <item>
      <title>I Need Simple I2C Example</title>
      <link>https://community.nxp.com/t5/S32K/I-Need-Simple-I2C-Example/m-p/1330291#M11844</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;it is very hard to make a initilaize code using NXP,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to make a I2C code.&lt;/P&gt;&lt;P&gt;in IDE, s32k116_Project_LPI2C project shows that I2C example.&lt;/P&gt;&lt;P&gt;but, it is not work. there is no pulse feedback in PTA2 and PTA3&amp;nbsp; pin(SDA,SDL)&lt;/P&gt;&lt;P&gt;I looking for some code to communicate Master - Slve, easily&lt;/P&gt;&lt;P&gt;I'm already make a code by using ST HAL library.&lt;/P&gt;&lt;P&gt;I using I2C I/O Expander IC TCA9539.&lt;/P&gt;&lt;P&gt;slve address 0x74 because A0, A1 is low.&lt;/P&gt;&lt;P&gt;And I sand 0xE9 to use it only read mode.&lt;/P&gt;&lt;P&gt;I make it follow code.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;uint8_t data[16];&lt;BR /&gt;HAL_I2C_Master_Transmit(&amp;amp;hi2c1, 0x74, data, 16, 10); //Awake&amp;nbsp;&lt;BR /&gt;HAL_Delay(1); // Delay&lt;BR /&gt;HAL_I2C_Master_Transmit(&amp;amp;hi2c1, 0xE9, data, 16, 10); // Set data readonly&lt;BR /&gt;HAL_Delay(1); // delay&lt;BR /&gt;HAL_I2C_Master_Receive(&amp;amp;hi2c1, 0xE9, data, 16, 10); // read data from IC&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please,,, I want make code like that.. How can I?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 10:25:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/I-Need-Simple-I2C-Example/m-p/1330291#M11844</guid>
      <dc:creator>skb</dc:creator>
      <dc:date>2021-08-26T10:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: I Need Simple I2C Example</title>
      <link>https://community.nxp.com/t5/S32K/I-Need-Simple-I2C-Example/m-p/1330712#M11855</link>
      <description>&lt;P&gt;Hi&amp;nbsp;skb,&lt;/P&gt;
&lt;P&gt;s32k116_Project_LPI2C is none SDK example. Recommend you&amp;nbsp;refer the &lt;STRONG&gt;lpi2c_master_s32k116&lt;/STRONG&gt; and &lt;STRONG&gt;lpi2c_slave_s32k116&lt;/STRONG&gt;, which can be found in &lt;STRONG&gt;S32SDK S32K1xx RTM v3.0.0 Examples Projects&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lpi2c_master_s32k116.png" style="width: 816px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/154274iD1FFA91F719BBB3E/image-size/large?v=v2&amp;amp;px=999" role="button" title="lpi2c_master_s32k116.png" alt="lpi2c_master_s32k116.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LPI2C MASTER guide.png" style="width: 574px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/154275iB4009282A00E5F20/image-size/large?v=v2&amp;amp;px=999" role="button" title="LPI2C MASTER guide.png" alt="LPI2C MASTER guide.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Robin&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 03:24:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/I-Need-Simple-I2C-Example/m-p/1330712#M11855</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2021-08-27T03:24:57Z</dc:date>
    </item>
  </channel>
</rss>

