<?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 LPI2C behavior on the overrun condition in S32K</title>
    <link>https://community.nxp.com/t5/S32K/LPI2C-behavior-on-the-overrun-condition/m-p/1271532#M10761</link>
    <description>&lt;P&gt;Hello team,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would you please clarify the LPI2C behavior&amp;nbsp;below in the slave mode?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Is the 4 depth of Rx FIFO available in the slave mode?&lt;/P&gt;
&lt;P&gt;2. If not, in the overrun condition, does the following data overwrite the pending data? or is the following data discarded?&lt;/P&gt;
&lt;P&gt;3. If the following data overwrites the pending data, when would it be done? After receiving the last bit of data?&lt;/P&gt;
&lt;P&gt;4. If the STOP condition is detected during the data was pending, how does the LPI2C module behave?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;James&lt;/P&gt;</description>
    <pubDate>Tue, 04 May 2021 02:43:59 GMT</pubDate>
    <dc:creator>james-lee</dc:creator>
    <dc:date>2021-05-04T02:43:59Z</dc:date>
    <item>
      <title>LPI2C behavior on the overrun condition</title>
      <link>https://community.nxp.com/t5/S32K/LPI2C-behavior-on-the-overrun-condition/m-p/1271532#M10761</link>
      <description>&lt;P&gt;Hello team,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would you please clarify the LPI2C behavior&amp;nbsp;below in the slave mode?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Is the 4 depth of Rx FIFO available in the slave mode?&lt;/P&gt;
&lt;P&gt;2. If not, in the overrun condition, does the following data overwrite the pending data? or is the following data discarded?&lt;/P&gt;
&lt;P&gt;3. If the following data overwrites the pending data, when would it be done? After receiving the last bit of data?&lt;/P&gt;
&lt;P&gt;4. If the STOP condition is detected during the data was pending, how does the LPI2C module behave?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;James&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 02:43:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LPI2C-behavior-on-the-overrun-condition/m-p/1271532#M10761</guid>
      <dc:creator>james-lee</dc:creator>
      <dc:date>2021-05-04T02:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: LPI2C behavior on the overrun condition</title>
      <link>https://community.nxp.com/t5/S32K/LPI2C-behavior-on-the-overrun-condition/m-p/1271647#M10771</link>
      <description>&lt;P&gt;Hello James,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1.&lt;/P&gt;
&lt;P&gt;No, only the master features the FIFO.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1620121651066.png" style="width: 482px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/143845i833ADAAD6A80C69B/image-dimensions/482x494?v=v2" width="482" height="494" role="button" title="danielmartynek_0-1620121651066.png" alt="danielmartynek_0-1620121651066.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2 &amp;amp; 3.&lt;/P&gt;
&lt;P&gt;This is not specified, but the LPI2C Slave supports clock stretching.&lt;/P&gt;
&lt;P&gt;Refer to AN5301 Using LPI2C on KL28, Section 6.2. Configure stall&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN5301.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN5301.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Or the S32K1xx RM, rev.13, Section 52.3.3.3 Clock Stretching&lt;/P&gt;
&lt;P&gt;In both configurations, the LPI2C Slave stalls the bus (SCL held low) until the data are read and the transfer acknowledged.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4.&lt;/P&gt;
&lt;P&gt;If the LPI2C slave receives a STOP condition, the SDF flag is set.&lt;/P&gt;
&lt;P&gt;But again, the Master can't send a STOP condition while the bus is being stalled.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_1-1620122243530.png" style="width: 655px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/143847iBAF61282482CD565/image-dimensions/655x349?v=v2" width="655" height="349" role="button" title="danielmartynek_1-1620122243530.png" alt="danielmartynek_1-1620122243530.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;UM10204 I2C-bus specification and user manual&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/user-guide/UM10204.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/user-guide/UM10204.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 10:02:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LPI2C-behavior-on-the-overrun-condition/m-p/1271647#M10771</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-05-04T10:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: LPI2C behavior on the overrun condition</title>
      <link>https://community.nxp.com/t5/S32K/LPI2C-behavior-on-the-overrun-condition/m-p/1590755#M20317</link>
      <description>Is there any code, like a .zip file that goes with AN5301?&lt;BR /&gt;All I'm finding is the PDF.</description>
      <pubDate>Tue, 31 Jan 2023 18:12:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LPI2C-behavior-on-the-overrun-condition/m-p/1590755#M20317</guid>
      <dc:creator>bobpaddock</dc:creator>
      <dc:date>2023-01-31T18:12:48Z</dc:date>
    </item>
  </channel>
</rss>

