<?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 IIC I2c_AsyncTransmit Call Error in S32K</title>
    <link>https://community.nxp.com/t5/S32K/IIC-I2c-AsyncTransmit-Call-Error/m-p/1623124#M21685</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used NXP S32k Chip,and use the I2c_AsyncTransmit function in the task to start a iic communication.&lt;/P&gt;&lt;P&gt;Normally It works ok. But I use a short circuit SDL and SCL to trigger an IIC error&amp;nbsp;, then&amp;nbsp;restore the circuit to normal.The IIC channel status&amp;nbsp;is always SEND,and never comes to Finish,so IIC communication is always error.&lt;/P&gt;&lt;P&gt;I use I2c_SyncTransmit function,and do the same operation, it will recovery.IIC communication will be ok.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Mar 2023 07:39:11 GMT</pubDate>
    <dc:creator>qiu</dc:creator>
    <dc:date>2023-03-28T07:39:11Z</dc:date>
    <item>
      <title>IIC I2c_AsyncTransmit Call Error</title>
      <link>https://community.nxp.com/t5/S32K/IIC-I2c-AsyncTransmit-Call-Error/m-p/1623124#M21685</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used NXP S32k Chip,and use the I2c_AsyncTransmit function in the task to start a iic communication.&lt;/P&gt;&lt;P&gt;Normally It works ok. But I use a short circuit SDL and SCL to trigger an IIC error&amp;nbsp;, then&amp;nbsp;restore the circuit to normal.The IIC channel status&amp;nbsp;is always SEND,and never comes to Finish,so IIC communication is always error.&lt;/P&gt;&lt;P&gt;I use I2c_SyncTransmit function,and do the same operation, it will recovery.IIC communication will be ok.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 07:39:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/IIC-I2c-AsyncTransmit-Call-Error/m-p/1623124#M21685</guid>
      <dc:creator>qiu</dc:creator>
      <dc:date>2023-03-28T07:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: IIC I2c_AsyncTransmit Call Error</title>
      <link>https://community.nxp.com/t5/S32K/IIC-I2c-AsyncTransmit-Call-Error/m-p/1625816#M21772</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/196945"&gt;@qiu&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;What is the package's name you are using? (for example:&amp;nbsp;S32K14X_MCAL4_2_RTM_1_0_4)&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2023 06:28:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/IIC-I2c-AsyncTransmit-Call-Error/m-p/1625816#M21772</guid>
      <dc:creator>DanNguyenDuy</dc:creator>
      <dc:date>2023-03-31T06:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: IIC I2c_AsyncTransmit Call Error</title>
      <link>https://community.nxp.com/t5/S32K/IIC-I2c-AsyncTransmit-Call-Error/m-p/1626487#M21797</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;SPAN&gt;Dan&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;S32K14X_MCAL4_2_RTM_HF6_1_0_2&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Qiu&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 01:27:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/IIC-I2c-AsyncTransmit-Call-Error/m-p/1626487#M21797</guid>
      <dc:creator>qiu</dc:creator>
      <dc:date>2023-04-03T01:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: IIC I2c_AsyncTransmit Call Error</title>
      <link>https://community.nxp.com/t5/S32K/IIC-I2c-AsyncTransmit-Call-Error/m-p/1629741#M21929</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/196945"&gt;@qiu&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The I2c_AsyncTransmit method use LPI2C interrupt to transmit data. when an error occur, the driver will disable transmit interrupt bit and perform raise errors. Hence, data can't re-transmit after restore the circuit to normal if you didn't re-call&amp;nbsp;I2c_AsyncTransmit function again. But if you call this function in the&amp;nbsp;ErrorNotification function then will have some errors will occur because&amp;nbsp;LPI2C interrupt called to&amp;nbsp;ErrorNotification function and the&amp;nbsp;I2c_AsyncTransmit function will be raised a new LPI2C interrupt.&lt;/P&gt;
&lt;P&gt;So, I created an example for your situation and I tested successful from my side. Please check in the attachment file.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 11:25:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/IIC-I2c-AsyncTransmit-Call-Error/m-p/1629741#M21929</guid>
      <dc:creator>DanNguyenDuy</dc:creator>
      <dc:date>2023-04-07T11:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: IIC I2c_AsyncTransmit Call Error</title>
      <link>https://community.nxp.com/t5/S32K/IIC-I2c-AsyncTransmit-Call-Error/m-p/1680210#M24669</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="master sync send" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/230452iD77FBF5F89A8C176/image-size/large?v=v2&amp;amp;px=999" role="button" title="Snipaste_2023-07-03_14-20-51.png" alt="master sync send" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;master sync send&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="a213373a-4b9d-4a3b-8466-42b3ce561957.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/230456i86DB43975216F938/image-size/medium?v=v2&amp;amp;px=400" role="button" title="a213373a-4b9d-4a3b-8466-42b3ce561957.png" alt="a213373a-4b9d-4a3b-8466-42b3ce561957.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; I2c master sync send error, 100K&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;It can be transmitted normally through oscilloscope observation the slave device address send out OK&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;but no slave device response ACK, so it ran at&amp;nbsp;&lt;DIV&gt;I2c_aeChannelStatus[s8LogicalChannel] = I2C_CH_ERROR_PRESENT; return NO_OK&lt;/DIV&gt;How can I test the master sync send use S32K14x MCAL.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 03 Jul 2023 06:38:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/IIC-I2c-AsyncTransmit-Call-Error/m-p/1680210#M24669</guid>
      <dc:creator>DELPHI_Eric</dc:creator>
      <dc:date>2023-07-03T06:38:53Z</dc:date>
    </item>
  </channel>
</rss>

