<?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 Re: S32K14  IIC in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031038#M6485</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know how your application works, but I would try to move that I2C code inside your task.&lt;/P&gt;&lt;P&gt;If you need that I2C call for one time initialization purpose you can create a task which is run only one time and after that you can remove it.&lt;/P&gt;&lt;P&gt;Probably your problem is similar to what is discussed here:&amp;nbsp;&lt;A class="link-titled" href="https://www.freertos.org/FreeRTOS_Support_Forum_Archive/March_2017/freertos_What_is_normal_method_for_running_initialization_code_in_FreerTOS_92042073j.html" title="https://www.freertos.org/FreeRTOS_Support_Forum_Archive/March_2017/freertos_What_is_normal_method_for_running_initialization_code_in_FreerTOS_92042073j.html"&gt;What is normal method for running initialization code in FreerTOS? - FreeRTOS&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Razvan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jan 2020 07:49:57 GMT</pubDate>
    <dc:creator>razva_tilimpea</dc:creator>
    <dc:date>2020-01-10T07:49:57Z</dc:date>
    <item>
      <title>S32K14  IIC</title>
      <link>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031031#M6478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;use LPIIC,&lt;/P&gt;&lt;P&gt;I want to read IMU(BMI160) device info on IIC bus,device addr is 0x68,&lt;SPAN style="color: #666666; background-color: #ffffff; font-weight: normal; font-size: 14px;"&gt;The register address is 0x0,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; background-color: #ffffff; font-weight: normal; font-size: 14px;"&gt;how to do ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; background-color: #ffffff; font-weight: normal; font-size: 14px;"&gt;thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jan 2020 09:51:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031031#M6478</guid>
      <dc:creator>gravity_one</dc:creator>
      <dc:date>2020-01-02T09:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: S32K14  IIC</title>
      <link>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031032#M6479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may download the SDK for the S32K14x. Here you will find many examples using the I2C module. You can use these as a reference to connect your device via I2C.&lt;/P&gt;&lt;P&gt;To download the SDK please use this &lt;A href="https://www.nxp.com/design/software/development-software/s32-sdk/s32-software-development-kit-for-s32k1:S32SDK-ARMK1"&gt;link&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sabina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2020 15:43:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031032#M6479</guid>
      <dc:creator>Sabina_Bruce</dc:creator>
      <dc:date>2020-01-06T15:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: S32K14  IIC</title>
      <link>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031033#M6480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello，&lt;/P&gt;&lt;P&gt;no use freeRTos，&lt;/P&gt;&lt;P&gt;sta=LPI2C_DRV_MasterSendDataBlocking(INST_LPI2C1, buffer, 1, true, 0xFFFFFFFF);&lt;BR /&gt; sta=LPI2C_DRV_MasterReceiveDataBlocking(INST_LPI2C1, buffer, 1, true, 0xFFFFFFFF);&lt;/P&gt;&lt;P&gt;can read&amp;nbsp; device ID，&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but add freeRTos，&lt;/P&gt;&lt;P&gt;cannot read ID，return sta is busy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2020 07:46:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031033#M6480</guid>
      <dc:creator>gravity_one</dc:creator>
      <dc:date>2020-01-07T07:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: S32K14  IIC</title>
      <link>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031034#M6481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you try to send date outside of you tasks? If yes, please&amp;nbsp; modify&amp;nbsp; your code to do not call any function which can trigger interrupts before&amp;nbsp;vTaskStartScheduler().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Razvan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2020 07:51:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031034#M6481</guid>
      <dc:creator>razva_tilimpea</dc:creator>
      <dc:date>2020-01-08T07:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: S32K14  IIC</title>
      <link>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031035#M6482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i konw,&lt;/P&gt;&lt;P&gt;i try to it before&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;vTaskStartScheduler().but it failure，&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Grayli&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2020 08:50:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031035#M6482</guid>
      <dc:creator>gravity_one</dc:creator>
      <dc:date>2020-01-08T08:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: S32K14  IIC</title>
      <link>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031036#M6483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you send a snippet of code to understand how do you use I2C and freeRtos?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2020 10:09:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031036#M6483</guid>
      <dc:creator>razva_tilimpea</dc:creator>
      <dc:date>2020-01-08T10:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: S32K14  IIC</title>
      <link>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031037#M6484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello，&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry，&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;i try to it before&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;vTaskStartScheduler().it&amp;nbsp;ok today.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;but , i want to read after&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;vTaskStartScheduler();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;how to do?&amp;nbsp; into&amp;nbsp; &lt;STRONG&gt;taskENTER_CRITICAL();&amp;nbsp;&lt;SPAN style="background-color: #ffffff; font-weight: 400;"&gt;it failure，&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="" style="border: 0px; margin: 0px 0px 20px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit;"&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;Grayli&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2020 05:35:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031037#M6484</guid>
      <dc:creator>gravity_one</dc:creator>
      <dc:date>2020-01-10T05:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: S32K14  IIC</title>
      <link>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031038#M6485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know how your application works, but I would try to move that I2C code inside your task.&lt;/P&gt;&lt;P&gt;If you need that I2C call for one time initialization purpose you can create a task which is run only one time and after that you can remove it.&lt;/P&gt;&lt;P&gt;Probably your problem is similar to what is discussed here:&amp;nbsp;&lt;A class="link-titled" href="https://www.freertos.org/FreeRTOS_Support_Forum_Archive/March_2017/freertos_What_is_normal_method_for_running_initialization_code_in_FreerTOS_92042073j.html" title="https://www.freertos.org/FreeRTOS_Support_Forum_Archive/March_2017/freertos_What_is_normal_method_for_running_initialization_code_in_FreerTOS_92042073j.html"&gt;What is normal method for running initialization code in FreerTOS? - FreeRTOS&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Razvan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2020 07:49:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031038#M6485</guid>
      <dc:creator>razva_tilimpea</dc:creator>
      <dc:date>2020-01-10T07:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: S32K14  IIC</title>
      <link>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031039#M6486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks，&lt;/P&gt;&lt;P&gt;Are there any examples of GPIO emulating the IIC bus?&lt;/P&gt;&lt;P&gt;I used PTA-0/1 to simulate IIC&amp;nbsp; on s32k146-64pin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2020 09:05:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031039#M6486</guid>
      <dc:creator>gravity_one</dc:creator>
      <dc:date>2020-01-10T09:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: S32K14  IIC</title>
      <link>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031040#M6487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We do not have this type of driver for S32K1xx parts because there a lot of peripherals which can be used for I2C ( LPI2C and FlexIO).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't recommend to use bit-banging because it will rise many issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Razvan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2020 09:14:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031040#M6487</guid>
      <dc:creator>razva_tilimpea</dc:creator>
      <dc:date>2020-01-10T09:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: S32K14  IIC</title>
      <link>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031041#M6488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello，&lt;BR /&gt;There is a real problem with your SDK. I created a new RTOS today, and only two tasks are running, that is, 1S reads the IIC once, both of which are wrong.&lt;/P&gt;&lt;P&gt;Send the code to your mailbox.&lt;/P&gt;&lt;P&gt;please review.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Jan 2020 07:13:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031041#M6488</guid>
      <dc:creator>gravity_one</dc:creator>
      <dc:date>2020-01-11T07:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: S32K14  IIC</title>
      <link>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031042#M6489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello，&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you get my mail?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;Grayli&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2020 01:51:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031042#M6489</guid>
      <dc:creator>gravity_one</dc:creator>
      <dc:date>2020-01-13T01:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: S32K14  IIC</title>
      <link>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031043#M6490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't get anything from your side. If is possible please share your project here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Razvan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2020 08:47:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031043#M6490</guid>
      <dc:creator>razva_tilimpea</dc:creator>
      <dc:date>2020-01-13T08:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: S32K14  IIC</title>
      <link>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031044#M6491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't know how to add files&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2020 10:23:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031044#M6491</guid>
      <dc:creator>gravity_one</dc:creator>
      <dc:date>2020-01-13T10:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: S32K14  IIC</title>
      <link>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031045#M6492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;发件人: bounces+210748-7d9b-grayli.wang=cdskysoft.com@jiveon.jivesoftware.com  代表 razva_tilimpea&lt;/P&gt;&lt;P&gt;发送时间: 2020年1月13日 16:49&lt;/P&gt;&lt;P&gt;收件人: WANG LI&lt;/P&gt;&lt;P&gt;主题: Re:  - Re: S32K14  IIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg&amp;gt; NXP Community &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Re: S32K14  IIC &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Razvan-nicolae Tilimpea &amp;lt;https://community.nxp.com/people/razva_tilimpea?et=watches.email.thread&amp;gt;  in S32K - View the full discussion &amp;lt;https://community.nxp.com/message/1254389?commentID=1254389&amp;amp;et=watches.email.thread#comment-1254389&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2020 00:53:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031045#M6492</guid>
      <dc:creator>gravity_one</dc:creator>
      <dc:date>2020-01-14T00:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: S32K14  IIC</title>
      <link>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031046#M6493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main problem with this application is that state structure (lpi2c1MasterState) is overwrite by some internal calls of the FreeRTOS. I don't understand exactly why this is happening (probably FreeRTOS suppose that you don't need to use again variables from main stack), but the easy fix is to move this state structure outside of stack by declaring it as global. In this way you won't have any overlap between main stack and other tasks tasks.&lt;/P&gt;&lt;P&gt;Also, please add&amp;nbsp;INT_SYS_SetPriority(LPI2C0_Master_IRQn, 2); before starting scheduler to match maximum system call interrupt priority restriction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Razvan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2020 13:15:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031046#M6493</guid>
      <dc:creator>razva_tilimpea</dc:creator>
      <dc:date>2020-01-14T13:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: S32K14  IIC</title>
      <link>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031047#M6494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello，&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;lpi2c_master_state_t *master;&amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;Is it defined as a global variable?&lt;/P&gt;&lt;P&gt;but it is failure.&lt;/P&gt;&lt;P&gt;Have you tested your method?&lt;/P&gt;&lt;P&gt;Please specify the specific operation steps, or you know to help modify the code!&lt;/P&gt;&lt;P&gt;The way you said above is too abstract for me to understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;lpi2c_master_state_t *master;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;status_t LPI2C_DRV_MasterSendDataBlocking(uint32_t instance,&lt;/STRONG&gt;&lt;STRONG&gt;const uint8_t * txBuff,&lt;/STRONG&gt;&lt;STRONG&gt;uint32_t txSize,&lt;/STRONG&gt;&lt;STRONG&gt;bool sendStop,&lt;/STRONG&gt;&lt;STRONG&gt;uint32_t timeout)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;{&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DEV_ASSERT(instance &amp;lt; LPI2C_INSTANCE_COUNT);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; DEV_ASSERT(txBuff != NULL);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; DEV_ASSERT(txSize &amp;gt; 0U);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;master = g_lpi2cMasterStatePtr[instance];&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; DEV_ASSERT(master != NULL);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/* Check if driver is busy */&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; if(!master-&amp;gt;i2cIdle)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; {&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; return STATUS_BUSY;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; }&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/* mark transfer as blocking */&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; master-&amp;gt;blocking = true;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/* Dummy wait to ensure the semaphore is 0, no need to check result */&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; (void)OSIF_SemaWait(&amp;amp;(master-&amp;gt;idleSemaphore), 0);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(void)LPI2C_DRV_MasterSendData(instance, txBuff, txSize, sendStop);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/* Wait for transfer to end */&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; return LPI2C_DRV_MasterWaitTransferEnd(instance, timeout);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; color: #666666; font-weight: 400; "&gt;thanks&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2020 01:38:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031047#M6494</guid>
      <dc:creator>gravity_one</dc:creator>
      <dc:date>2020-01-15T01:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: S32K14  IIC</title>
      <link>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031048#M6495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check attached project.&lt;/P&gt;&lt;P&gt;LPI2C initialization must be inside taks because inside of the driver some OS services are used.&lt;/P&gt;&lt;P&gt;I wasn't able to fully test it because I don't have your I2C slave devices.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Razvan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2020 11:51:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K14-IIC/m-p/1031048#M6495</guid>
      <dc:creator>razva_tilimpea</dc:creator>
      <dc:date>2020-01-20T11:51:24Z</dc:date>
    </item>
  </channel>
</rss>

