<?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: S32K142: lpi2c is not working with freeRTOS integration. in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K142-lpi2c-is-not-working-with-freeRTOS-integration/m-p/875037#M3972</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;Issue got resolved !!!!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Solution&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;When your software integrated with FreeRTOS need to handle the interrupt priority properly. i used following functions&amp;nbsp; during the i2c initialization&amp;nbsp; to set the i2c&amp;nbsp; interrupt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Initialize Interrupt priority for LP I2C driver as bus master */&lt;BR /&gt; INT_SYS_SetPriority( LPI2C0_Master_IRQn, configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY );&lt;/P&gt;&lt;P&gt;/* Initialize Interrupt priority for FlexIO I2C driver as bus master */&lt;BR /&gt; INT_SYS_SetPriority( FLEXIO_IRQn, configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;:&amp;nbsp;&lt;/P&gt;&lt;P&gt;After RTOS configuration Don't run any infinite loop to test like toggle pins before&amp;nbsp;start the scheduler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks for the NXP team for Quick response&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ningu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Mar 2019 13:13:55 GMT</pubDate>
    <dc:creator>danielcarlquist</dc:creator>
    <dc:date>2019-03-20T13:13:55Z</dc:date>
    <item>
      <title>S32K142: lpi2c is not working with freeRTOS integration.</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-lpi2c-is-not-working-with-freeRTOS-integration/m-p/875028#M3963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per our project requirement we configured flex_i2c and lpi2c with FreeRTOS by using S32 Design studio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From debugging we got to know once run the &lt;STRONG&gt;LPI2C_DRV_MasterSendDataBlocking(INST_LPI2C1, Data, sizeof(Data), true, 10UL);&lt;/STRONG&gt;&amp;nbsp; function the software will always stuck at at the&amp;nbsp; &lt;STRONG&gt;DefaultISR&lt;/STRONG&gt;: " startup_S32K_.S" file as mentined in below image. The software will not come out from&amp;nbsp;&lt;STRONG&gt;DefaultISR&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/64323i0CCEA6482B0F9850/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;lpi2c configuration:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/64372iB34AE3FCE4E89ABC/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;FlexIO i2c configuration:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/64422iCAD6DE11FAE46AA9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_6.png" alt="pastedImage_6.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me to resolve this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ningapa C&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2019 12:43:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-lpi2c-is-not-working-with-freeRTOS-integration/m-p/875028#M3963</guid>
      <dc:creator>danielcarlquist</dc:creator>
      <dc:date>2019-03-07T12:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: S32K142: lpi2c is not working with freeRTOS integration.</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-lpi2c-is-not-working-with-freeRTOS-integration/m-p/875029#M3964</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;Clock sources for these 2 modules are enabled?&lt;/P&gt;&lt;P&gt;Before calling&amp;nbsp;LPI2C_DRV_MasterSendDataBlocking do you call Init function?&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, 11 Mar 2019 10:44:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-lpi2c-is-not-working-with-freeRTOS-integration/m-p/875029#M3964</guid>
      <dc:creator>razva_tilimpea</dc:creator>
      <dc:date>2019-03-11T10:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: S32K142: lpi2c is not working with freeRTOS integration.</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-lpi2c-is-not-working-with-freeRTOS-integration/m-p/875030#M3965</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;Clock sources for these 2 modules are enabled?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Ans:&amp;nbsp;&lt;/STRONG&gt; Yes, clock sources are enabled.&lt;/P&gt;&lt;P&gt;Before calling&amp;nbsp;LPI2C_DRV_MasterSendDataBlocking do you call Init function?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Ans:&lt;/STRONG&gt; Yes, Init function called before calling LPI2C_DRV_MasterSendDataBlocking function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I2C is working for 400KHz frequency, But lower frequency like 20KHz, 50KHz, 100KHz, is not working. for lower frequency i selected Operating mode&amp;nbsp; &lt;STRONG&gt;Standard mode&lt;/STRONG&gt; and Higher frequency &lt;STRONG&gt;Fast mode&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is posible will discuss over a skype call for this issue ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ningappa C&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2019 08:11:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-lpi2c-is-not-working-with-freeRTOS-integration/m-p/875030#M3965</guid>
      <dc:creator>danielcarlquist</dc:creator>
      <dc:date>2019-03-12T08:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: S32K142: lpi2c is not working with freeRTOS integration.</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-lpi2c-is-not-working-with-freeRTOS-integration/m-p/875031#M3966</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 can't support you on skype.&lt;/P&gt;&lt;P&gt;Please share here the project and we will try to get the root-cause.&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, 12 Mar 2019 13:21:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-lpi2c-is-not-working-with-freeRTOS-integration/m-p/875031#M3966</guid>
      <dc:creator>razva_tilimpea</dc:creator>
      <dc:date>2019-03-12T13:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: S32K142: lpi2c is not working with freeRTOS integration.</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-lpi2c-is-not-working-with-freeRTOS-integration/m-p/875032#M3967</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;Are you starting the scheduler before using LPI2C driver? As the driver uses FreeRTOS API, the driver must be initialized and used inside a FreeRTOS task after the scheduler is started.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if it was helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Rares&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2019 10:01:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-lpi2c-is-not-working-with-freeRTOS-integration/m-p/875032#M3967</guid>
      <dc:creator>raresvasile</dc:creator>
      <dc:date>2019-03-13T10:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: S32K142: lpi2c is not working with freeRTOS integration.</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-lpi2c-is-not-working-with-freeRTOS-integration/m-p/875033#M3968</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;Please find the the attached, its having information regariing how we initializing Drivers and Creating task using FreeRTOS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Stuck in startup code issue is resolved but One more issue is observed !!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When start the software it always stuck at &lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #ff0000;"&gt;configASSERT( ucCurrentPriority &amp;gt;= ucMaxSysCallPriority );&lt;/SPAN&gt;&amp;nbsp; &lt;/STRONG&gt;in &lt;STRONG&gt;port.c&lt;/STRONG&gt; file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;i suspect with improper &amp;nbsp;priority handling between RTOS and I2C protocol, But i'm unable to resolve this issue.&amp;nbsp; Please help me to resolve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regads&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Ningappa C&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2019 11:09:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-lpi2c-is-not-working-with-freeRTOS-integration/m-p/875033#M3968</guid>
      <dc:creator>danielcarlquist</dc:creator>
      <dc:date>2019-03-14T11:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: S32K142: lpi2c is not working with freeRTOS integration.</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-lpi2c-is-not-working-with-freeRTOS-integration/m-p/875034#M3969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above assertion will fail if a service routine (ISR) for an interrupt that has been assigned a priority above configMAX_SYSCALL_INTERRUPT_PRIORITY calls an ISR safe FreeRTOS API function.&amp;nbsp; ISR safe FreeRTOS API functions must be called from interrupts that have been assigned a priority at or below configMAX_SYSCALL_INTERRUPT_PRIORITY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, what priority do you have defined in configMAX_SYSCALL_INTERRUPT_PRIORITY and what priority do you define in the I2C task?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Mar 2019 23:25:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-lpi2c-is-not-working-with-freeRTOS-integration/m-p/875034#M3969</guid>
      <dc:creator>jorge_a_vazquez</dc:creator>
      <dc:date>2019-03-15T23:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: S32K142: lpi2c is not working with freeRTOS integration.</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-lpi2c-is-not-working-with-freeRTOS-integration/m-p/875035#M3970</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;In S32 Desing studio there is no configuration to set&amp;nbsp; I2C interrupt priority, Just i enabled interupt configuration.&lt;/P&gt;&lt;P&gt;Please find the attached images for I2C and Os Configuration..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Could you please let me know where i can change the interrupt priority for I2C&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2019 08:23:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-lpi2c-is-not-working-with-freeRTOS-integration/m-p/875035#M3970</guid>
      <dc:creator>danielcarlquist</dc:creator>
      <dc:date>2019-03-18T08:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: S32K142: lpi2c is not working with freeRTOS integration.</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-lpi2c-is-not-working-with-freeRTOS-integration/m-p/875036#M3971</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;In SDK interrupt priority can be changed just by calling&amp;nbsp;INT_SYS_SetPriority in your source code, otherwise the SDK will use default priorities of the hardware.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Razvan&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2019 09:15:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-lpi2c-is-not-working-with-freeRTOS-integration/m-p/875036#M3971</guid>
      <dc:creator>razva_tilimpea</dc:creator>
      <dc:date>2019-03-18T09:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: S32K142: lpi2c is not working with freeRTOS integration.</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-lpi2c-is-not-working-with-freeRTOS-integration/m-p/875037#M3972</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;Issue got resolved !!!!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Solution&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;When your software integrated with FreeRTOS need to handle the interrupt priority properly. i used following functions&amp;nbsp; during the i2c initialization&amp;nbsp; to set the i2c&amp;nbsp; interrupt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Initialize Interrupt priority for LP I2C driver as bus master */&lt;BR /&gt; INT_SYS_SetPriority( LPI2C0_Master_IRQn, configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY );&lt;/P&gt;&lt;P&gt;/* Initialize Interrupt priority for FlexIO I2C driver as bus master */&lt;BR /&gt; INT_SYS_SetPriority( FLEXIO_IRQn, configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;:&amp;nbsp;&lt;/P&gt;&lt;P&gt;After RTOS configuration Don't run any infinite loop to test like toggle pins before&amp;nbsp;start the scheduler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks for the NXP team for Quick response&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ningu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2019 13:13:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-lpi2c-is-not-working-with-freeRTOS-integration/m-p/875037#M3972</guid>
      <dc:creator>danielcarlquist</dc:creator>
      <dc:date>2019-03-20T13:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: S32K142: lpi2c is not working with freeRTOS integration.</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-lpi2c-is-not-working-with-freeRTOS-integration/m-p/875038#M3973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;#freertos # lpspi&lt;/P&gt;&lt;P&gt;i also have a problem with spi in s32k144 with freetos. here i used 2 spi one as slave and other as master and it works fine without freertos but freertos it stuck in the&amp;nbsp;vPortRaiseBASEPRI please give some solution for this. i think its with giving priority. if so please show how to give priority to lpspi with the initialization.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jun 2020 06:03:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-lpi2c-is-not-working-with-freeRTOS-integration/m-p/875038#M3973</guid>
      <dc:creator>sandeepsandeepk</dc:creator>
      <dc:date>2020-06-20T06:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: S32K142: lpi2c is not working with freeRTOS integration.</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-lpi2c-is-not-working-with-freeRTOS-integration/m-p/1349731#M12306</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I'm checking I2C on Freertos but it do not work as I expected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My test project is as below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Make new freertos project from freertos example.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Add I2c pin assign and peripheral setting to FAST.&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Add I2C Clock setting and master drive init routine&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. Add&amp;nbsp;I2C Prioirty level same as SYSCALL.&amp;nbsp;&lt;/P&gt;&lt;P&gt;/* Initialize Interrupt priority for LP I2C driver as bus master */&lt;BR /&gt;INT_SYS_SetPriority(LPI2C0_Master_IRQn, configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY );&lt;/P&gt;&lt;P&gt;5. Add I2C data send routine in&amp;nbsp;prvQueueSendTask as below.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;static void prvQueueSendTask( void *pvParameters )&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;/* Send a packet of data to the bus slave */&lt;BR /&gt;masterTxBuffer[0]=0x00;&lt;BR /&gt;masterTxBuffer[1]=0xAF;&lt;BR /&gt;LPI2C_DRV_MasterSendDataBlocking(INST_LPI2C0, masterTxBuffer, 2, true, OSIF_WAIT_FOREVER);&lt;/P&gt;&lt;P&gt;xQueueSend( xQueue, &amp;amp;ulValueToSend, mainDONT_BLOCK );&lt;/P&gt;&lt;P&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;6. Compile and Start bebug ==&amp;gt;&amp;nbsp; LED shoud be blink but does not caused by&amp;nbsp;LPI2C_DRV_MasterSendDataBlocking function.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;==&amp;gt; LPI2C_DRV_MasterSendDataBlocking(INST_LPI2C0, masterTxBuffer, 2, true, OSIF_WAIT_FOREVER);&lt;/P&gt;&lt;P&gt;==&amp;gt; When I change&amp;nbsp;OSIF_WAIT_FOREVER to 500 then LED start blinking.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please check attached project file.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Oct 2021 06:41:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-lpi2c-is-not-working-with-freeRTOS-integration/m-p/1349731#M12306</guid>
      <dc:creator>cheoljin</dc:creator>
      <dc:date>2021-10-02T06:41:50Z</dc:date>
    </item>
  </channel>
</rss>

