<?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: LPI2C Master in S32K116</title>
    <link>https://community.nxp.com/t5/S32K/LPI2C-Master-in-S32K116/m-p/1490210#M16400</link>
    <description>&lt;P&gt;I think you can copy the codes into&amp;nbsp;S32K116_Project_LPI2C project. And then modify these points:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="port the code for the S32K116.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/186781iEEFE0CB7CC5AF46E/image-size/large?v=v2&amp;amp;px=999" role="button" title="port the code for the S32K116.png" alt="port the code for the S32K116.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;16MHz external oscillator will not caused issue due to the main function call&amp;nbsp;SIRC_div():&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;System clock by default 48MHz CORE/SYS, 48MHz BUS, 24MHz FLASH in RUN mode (FIRC).&lt;/P&gt;
&lt;P&gt;Please attached the debug image, so that I can check which step caused&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;default ISR.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Jul 2022 09:15:15 GMT</pubDate>
    <dc:creator>Robin_Shen</dc:creator>
    <dc:date>2022-07-15T09:15:15Z</dc:date>
    <item>
      <title>LPI2C Master in S32K116</title>
      <link>https://community.nxp.com/t5/S32K/LPI2C-Master-in-S32K116/m-p/1488704#M16338</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am new to the S32K series MCU's I was looking for a I2C master communication sample project for the S32K116&lt;/P&gt;&lt;P&gt;We found your base "Example_S32K144_I2C_Master_MPL3115A2_S32DSR1_v3" in the forum&lt;/P&gt;&lt;P&gt;I have tried to port it and to build for the S32K116 but its not working going to unknown interrupts,&lt;/P&gt;&lt;P&gt;are LPI2C0_SCL,LPI2C0_SDA&amp;nbsp; and LPI2C0_SCLS ,LPI2C0_SDAS are the same ?&lt;/P&gt;&lt;P&gt;can someone help me to figure it out the issue&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 10:36:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LPI2C-Master-in-S32K116/m-p/1488704#M16338</guid>
      <dc:creator>MNRH</dc:creator>
      <dc:date>2022-07-13T10:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: LPI2C Master in S32K116</title>
      <link>https://community.nxp.com/t5/S32K/LPI2C-Master-in-S32K116/m-p/1489148#M16351</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please install&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/S32-Design-Studio-for-ARM-2-2-Update-1-available/ta-p/1107002" target="_self"&gt;S32 Design Studio for ARM 2.2 - Update 1 available&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Then you should find the&amp;nbsp;&lt;STRONG&gt;lpi2c_master_s32k116&lt;/STRONG&gt; example&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: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/186560i1515507908442A95/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;C:\NXP\S32DS_ARM_v2.2\S32DS\software\S32SDK_S32K1xx_RTM_3.0.0\doc\S32SDK_S32K116_UserManual.pdf may also helps.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="52.2.4 Signal Descriptions.png" style="width: 930px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/186562i542FEB15489CD4CD/image-size/large?v=v2&amp;amp;px=999" role="button" title="52.2.4 Signal Descriptions.png" alt="52.2.4 Signal Descriptions.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;</description>
      <pubDate>Thu, 14 Jul 2022 04:20:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LPI2C-Master-in-S32K116/m-p/1489148#M16351</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2022-07-14T04:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: LPI2C Master in S32K116</title>
      <link>https://community.nxp.com/t5/S32K/LPI2C-Master-in-S32K116/m-p/1489621#M16373</link>
      <description>&lt;P&gt;In My application board we have provided the PTA0 and PTA1 (SDAS and SCLS) for the I2C as SDA and SCL&lt;/P&gt;&lt;P&gt;from the information you have shared i have understand that this will not be able to use in 2 wire mode to communicate with a 2 wire slave device&amp;nbsp;&lt;/P&gt;&lt;P&gt;so we need to either use the PTA3 and PTA2 or the PTB6 and PTB7 pleas correct me if i am wrong&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 16:14:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LPI2C-Master-in-S32K116/m-p/1489621#M16373</guid>
      <dc:creator>MNRH</dc:creator>
      <dc:date>2022-07-14T16:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: LPI2C Master in S32K116</title>
      <link>https://community.nxp.com/t5/S32K/LPI2C-Master-in-S32K116/m-p/1490135#M16393</link>
      <description>&lt;P&gt;Hi Robin,&lt;/P&gt;&lt;P&gt;I have used the sample code S32K116_Project_LPI2C from the below location&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MNRH_0-1657870180382.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/186763iE53166578504C752/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MNRH_0-1657870180382.png" alt="MNRH_0-1657870180382.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I was trying to read a save device and only the Address byte is getting transferred and no read register address is passing&lt;/P&gt;&lt;P&gt;i am getting the ACK from the slave device&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MNRH_1-1657870288792.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/186764i7EF885CFC97AE5C0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MNRH_1-1657870288792.png" alt="MNRH_1-1657870288792.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea why its not allowing further ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2022 07:32:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LPI2C-Master-in-S32K116/m-p/1490135#M16393</guid>
      <dc:creator>MNRH</dc:creator>
      <dc:date>2022-07-15T07:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: LPI2C Master in S32K116</title>
      <link>https://community.nxp.com/t5/S32K/LPI2C-Master-in-S32K116/m-p/1490140#M16394</link>
      <description>&lt;P&gt;&lt;SPAN&gt;You need to either use the PTA3 and PTA2 or the PTB6 and PTB7.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;S32K116_Project_LPI2C&lt;/STRONG&gt; is simple bare metal example. Have you tried to test&amp;nbsp;&lt;STRONG&gt;lpi2c_master_s32k116&lt;/STRONG&gt;?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2022 07:46:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LPI2C-Master-in-S32K116/m-p/1490140#M16394</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2022-07-15T07:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: LPI2C Master in S32K116</title>
      <link>https://community.nxp.com/t5/S32K/LPI2C-Master-in-S32K116/m-p/1490184#M16399</link>
      <description>&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Hi Robin,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;I am going to test the lpi2c_master_s32k116 now&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;meantime I have found the example code for K144&amp;nbsp; "Example_S32K144_I2C_Master_MPL3115A2_S32DSR1_v3" can you explain&amp;nbsp;to me how can I port the code for the S32K116? that would be a great help &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;From In the In the reference manual, all the In the prereferral registers are the In same for 116 and 144, only difference I found is the Highspeed mode &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;but when I compile and run the code is getting struck in to the default ISR I am using a 16MHz external oscillator in my board not sure is that the problem.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I am attaching the Example&amp;nbsp;code here with&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2022 08:43:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LPI2C-Master-in-S32K116/m-p/1490184#M16399</guid>
      <dc:creator>MNRH</dc:creator>
      <dc:date>2022-07-15T08:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: LPI2C Master in S32K116</title>
      <link>https://community.nxp.com/t5/S32K/LPI2C-Master-in-S32K116/m-p/1490210#M16400</link>
      <description>&lt;P&gt;I think you can copy the codes into&amp;nbsp;S32K116_Project_LPI2C project. And then modify these points:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="port the code for the S32K116.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/186781iEEFE0CB7CC5AF46E/image-size/large?v=v2&amp;amp;px=999" role="button" title="port the code for the S32K116.png" alt="port the code for the S32K116.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;16MHz external oscillator will not caused issue due to the main function call&amp;nbsp;SIRC_div():&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;System clock by default 48MHz CORE/SYS, 48MHz BUS, 24MHz FLASH in RUN mode (FIRC).&lt;/P&gt;
&lt;P&gt;Please attached the debug image, so that I can check which step caused&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;default ISR.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2022 09:15:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LPI2C-Master-in-S32K116/m-p/1490210#M16400</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2022-07-15T09:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: LPI2C Master in S32K116</title>
      <link>https://community.nxp.com/t5/S32K/LPI2C-Master-in-S32K116/m-p/1490423#M16402</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi Robin,&lt;/P&gt;&lt;P&gt;When I send the data to read the slave register the Salve address is getting shifted to right by one bit&amp;nbsp;&lt;/P&gt;&lt;P&gt;LPI2C0_read(0x36,0x0b, id, 1);&lt;/P&gt;&lt;P&gt;For 0x36 I am getting the 0x1b(Shifted by 1 bit)&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Error Frame.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/186847i116EEF4BBEFCB660/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Error Frame.png" alt="Error Frame.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2022 15:12:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LPI2C-Master-in-S32K116/m-p/1490423#M16402</guid>
      <dc:creator>MNRH</dc:creator>
      <dc:date>2022-07-15T15:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: LPI2C Master in S32K116</title>
      <link>https://community.nxp.com/t5/S32K/LPI2C-Master-in-S32K116/m-p/1490557#M16406</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Take the MPL3115A2 data sheet and engineering as an example:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Figure 5. I2C bus transmission signals.png" style="width: 932px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/186873i4CD885633CD3D659/image-size/large?v=v2&amp;amp;px=999" role="button" title="Figure 5. I2C bus transmission signals.png" alt="Figure 5. I2C bus transmission signals.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="I2C Address MPL3115A2.png" style="width: 925px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/186874i7360999AD2A636FC/image-size/large?v=v2&amp;amp;px=999" role="button" title="I2C Address MPL3115A2.png" alt="I2C Address MPL3115A2.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please check the data sheet of your slave device.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jul 2022 02:43:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LPI2C-Master-in-S32K116/m-p/1490557#M16406</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2022-07-16T02:43:37Z</dc:date>
    </item>
  </channel>
</rss>

