<?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: s32k144 FreeRTOS + I2C in S32K</title>
    <link>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1681644#M24768</link>
    <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199019"&gt;@DanNguyenDuy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;even i add installHandler INT_SYS_EnableIRQ(LPI2C0_Master_IRQn); &lt;STRONG&gt;or&lt;/STRONG&gt; set MCR MIER ISER register,&lt;/DIV&gt;&lt;DIV&gt;but still can't enter&amp;nbsp;LPI2C_DRV_SlaveIRQHandler(0);&amp;nbsp; what is problem ? did you run my project and enther i2c irq ?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;/* Install Button interrupt handler */&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;INT_SYS_InstallHandler&lt;/SPAN&gt;&lt;SPAN&gt;(LPI2C0_Master_IRQn, &lt;/SPAN&gt;&lt;SPAN&gt;vPort_i2C0_ISRHandler&lt;/SPAN&gt;&lt;SPAN&gt;, (&lt;/SPAN&gt;&lt;SPAN&gt;isr_t&lt;/SPAN&gt; &lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;NULL&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; /* Enable Button interrupt handler */&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;INT_SYS_EnableIRQ&lt;/SPAN&gt;&lt;SPAN&gt;(LPI2C0_Master_IRQn);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;//LPI2C0-&amp;gt;MCR |= 0x09;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;//LPI2C0-&amp;gt;MIER |= 0x01;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;//S32_NVIC-&amp;gt;ISER[0] |= 0x01000000;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;static void prvSetupHardware( void )&lt;/DIV&gt;&lt;DIV&gt;{&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;int i = 1;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;lpi2c_master_state_t lpi2c1MasterState;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; /* Initialize and configure clocks&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*&amp;nbsp; -&amp;nbsp; &amp;nbsp;Setup system clocks, dividers&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*&amp;nbsp; -&amp;nbsp; &amp;nbsp;see clock manager component for more details&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*/&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; CLOCK_SYS_Init(g_clockManConfigsArr, CLOCK_MANAGER_CONFIG_CNT,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;g_clockManCallbacksArr, CLOCK_MANAGER_CALLBACK_CNT);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; CLOCK_SYS_UpdateConfiguration(0U, CLOCK_MANAGER_POLICY_AGREEMENT);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;PINS_DRV_Init(NUM_OF_CONFIGURED_PINS, g_pin_mux_InitConfigArr);&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LPUART_DRV_Init(INST_LPUART1, &amp;amp;lpuart1_State, &amp;amp;lpuart1_InitConfig0);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LPI2C_DRV_MasterInit(INST_LPI2C1, &amp;amp;lpi2c1_MasterConfig0,&amp;amp;lpi2c1MasterState);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; boardSetup();&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; //&amp;nbsp; LPUART_DRV_Init(INST_LPUART1, &amp;amp;lpuart1_State, &amp;amp;lpuart1_InitConfig0);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; AMS_LOG("prvSetupHardware=%d\n",i);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;/* Install Button interrupt handler */&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; INT_SYS_InstallHandler(BTN_PORT_IRQn, vPort_C_ISRHandler, (isr_t *)NULL);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; /* Enable Button interrupt handler */&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; INT_SYS_EnableIRQ(BTN_PORT_IRQn);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;/* Install Button interrupt handler */&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; INT_SYS_InstallHandler(LPI2C0_Master_IRQn, vPort_i2C0_ISRHandler, (isr_t *)NULL);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; /* Enable Button interrupt handler */&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; INT_SYS_EnableIRQ(LPI2C0_Master_IRQn);&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;//LPI2C0-&amp;gt;MCR |= 0x09;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;//LPI2C0-&amp;gt;MIER |= 0x01;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;//S32_NVIC-&amp;gt;ISER[0] |= 0x01000000;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;/* Enable global interrupt */&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; INT_SYS_EnableIRQGlobal();&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; /* The interrupt calls an interrupt safe API function - so its priority must&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; be equal to or lower than configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY. */&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; INT_SYS_SetPriority( BTN_PORT_IRQn, configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY );&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;INT_SYS_SetPriority( LPI2C0_Master_IRQn, configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY + 1 );&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alice_thanks_0-1688536750721.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/230803i101B734381587DEF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alice_thanks_0-1688536750721.png" alt="alice_thanks_0-1688536750721.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;alice_thanks_0-1688536750721.png&lt;/span&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 05 Jul 2023 06:01:44 GMT</pubDate>
    <dc:creator>alice_th</dc:creator>
    <dc:date>2023-07-05T06:01:44Z</dc:date>
    <item>
      <title>s32k144 FreeRTOS + I2C</title>
      <link>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1677024#M24465</link>
      <description>&lt;P&gt;&lt;SPAN&gt;i find this LPI2C_DRV_MasterSendDataBlocking can't used under freertos task,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;read is always return 2, seems when write i2c is always busy, can anybody help to check it ?&lt;/P&gt;&lt;P&gt;i2c_test11,TMF882X_STAT=0&lt;BR /&gt;tmf882x_i2c_write ret=0&lt;BR /&gt;tmf882x_i2c_read,fisrt ret1=0,second ret2=2,recv=0&lt;/P&gt;&lt;P&gt;BTW, when use without freertos i can read i2c slave data correctly.&lt;/P&gt;&lt;P&gt;int test_tmf882x_i2c_read(uint32_t slave_addr, uint8_t reg, uint8_t *buf, int len)&lt;BR /&gt;{&lt;BR /&gt;//return read_i2c_block(slave_addr, reg, buf, len);&lt;BR /&gt;int ret1,ret2;&lt;BR /&gt;ret1 = LPI2C_DRV_MasterSendDataBlocking(INST_LPI2C1, &amp;amp;reg, 1, false, I2C_TIME_OUT);&lt;BR /&gt;&lt;BR /&gt;ret2 = LPI2C_DRV_MasterReceiveDataBlocking(INST_LPI2C1, buf, len, true,I2C_TIME_OUT);&lt;BR /&gt;AMS_TOF_LOG("tmf882x_i2c_read,fisrt ret1=%d,second ret2=%d,recv=%d\n",ret1,ret2,*buf);&lt;BR /&gt;return ret2;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;int test_tmf882x_i2c_write(uint32_t slave_addr, uint8_t reg, uint8_t *buf, int len)&lt;BR /&gt;{&lt;BR /&gt;&lt;BR /&gt;int i,ret;&lt;BR /&gt;uint8_t send[len+1];&lt;BR /&gt;send[0] = reg;&lt;BR /&gt;if(len == 1)&lt;BR /&gt;send[len] = *buf;&lt;BR /&gt;else&lt;BR /&gt;{&lt;BR /&gt;for(i=0;i&amp;lt;len;i++)&lt;BR /&gt;send[i+1] = buf[i];&lt;BR /&gt;}&lt;BR /&gt;ret = LPI2C_DRV_MasterSendDataBlocking(INST_LPI2C1, send, len+1, true,I2C_TIME_OUT);&lt;BR /&gt;AMS_TOF_LOG("tmf882x_i2c_write ret=%d\n",ret);&lt;BR /&gt;return 0;&lt;BR /&gt;}&lt;BR /&gt;void i2c_test11()&lt;BR /&gt;{&lt;BR /&gt;uint8_t send[2];&lt;BR /&gt;uint8_t recv[2];&lt;BR /&gt;recv[0] = 0x80;&lt;BR /&gt;recv[1] = 0x90;&lt;BR /&gt;uint8_t regval = 0;&lt;BR /&gt;LPI2C_DRV_MasterSetSlaveAddr(INST_LPI2C1,0x39,false);&lt;BR /&gt;while(1)&lt;BR /&gt;{&lt;BR /&gt;regval = 0x03;&lt;BR /&gt;test_tmf882x_i2c_write(0x39,0x80,&amp;amp;regval, 1);&lt;BR /&gt;regval = 0x00;&lt;BR /&gt;test_tmf882x_i2c_read(0x39,0x80, &amp;amp;regval, 1);&lt;BR /&gt;printf("i2c_test11,TMF882X_STAT=%x\n",regval);&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;int main (void)&lt;BR /&gt;{&lt;BR /&gt;//initialize System&lt;BR /&gt;lpi2c_master_state_t lpi2c1MasterState;&lt;BR /&gt;init_sys ();&lt;BR /&gt;//WDOG_disable();&lt;BR /&gt;// sensor_interface_init();&lt;BR /&gt;LPSPI_DRV_MasterInit(LPSPICOM1,&amp;amp;lpspiCom1State,&amp;amp;lpspiCom1_MasterConfig0);&lt;BR /&gt;LPUART_DRV_Init(INST_LPUART1, &amp;amp;lpuart1_State, &amp;amp;lpuart1_InitConfig0);&lt;BR /&gt;LPI2C_DRV_MasterInit(INST_LPI2C1, &amp;amp;lpi2c1_MasterConfig0,&amp;amp;lpi2c1MasterState);&lt;BR /&gt;enable_fault_handlers(); // If not set, all fault are handled by HardFault_Handler&lt;BR /&gt;set_fault_handlers_priority(); // priority: MemManage (1), BusFault (1), UsageFault(1)&lt;BR /&gt;LPI2C_DRV_MasterSetSlaveAddr(INST_LPI2C1,I2C_SLAVEADDR,false);&lt;BR /&gt;INT_SYS_SetPriority( LPI2C0_Master_IRQn, configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY + 1 );&lt;BR /&gt;//while(1)&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;//tof882x_init();&lt;BR /&gt;//i2c_test11();&lt;BR /&gt;//flash_read_write_test();&lt;BR /&gt;}&lt;BR /&gt;rtos_start();&lt;/P&gt;&lt;P&gt;return exit_code;&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 12:39:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1677024#M24465</guid>
      <dc:creator>alice_th</dc:creator>
      <dc:date>2023-06-27T12:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 FreeRTOS + I2C</title>
      <link>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1677803#M24523</link>
      <description>&lt;P&gt;can any NXP mcu team members help this case, thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 10:48:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1677803#M24523</guid>
      <dc:creator>alice_th</dc:creator>
      <dc:date>2023-06-28T10:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 FreeRTOS + I2C</title>
      <link>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1679297#M24612</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218113"&gt;@alice_th&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;What are the FreeRTOS and S32K1 packages you are using?&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 06:34:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1679297#M24612</guid>
      <dc:creator>DanNguyenDuy</dc:creator>
      <dc:date>2023-06-30T06:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 FreeRTOS + I2C</title>
      <link>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1679438#M24621</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199019"&gt;@DanNguyenDuy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i attached the project here, two issues&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. i2c always busy with rtos(without rtos i2c read data ok)&lt;/P&gt;&lt;P&gt;logs below:&lt;BR /&gt;prvQueueSendTask=0&lt;BR /&gt;test_i2c000 tmf882x_i2c_read,fisrt ret1=2,second ret2=2,recv=0&lt;BR /&gt;prvQueueSendTask,value=0&lt;BR /&gt;prvQueueReceiveTask=0&lt;BR /&gt;prvQueueSendTask=0&lt;BR /&gt;test_i2c000 tmf882x_i2c_read,fisrt ret1=2,second ret2=2,recv=0&lt;BR /&gt;prvQueueSendTask,value=0&lt;BR /&gt;prvQueueReceiveTask=0&lt;/P&gt;&lt;P&gt;2. when add more task , like&amp;nbsp;&lt;SPAN&gt;&lt;SPAN&gt;prvTestTask /&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;prvNewTestTask, it will blocked, i think it should be printf issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;please help to check it, thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 08:44:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1679438#M24621</guid>
      <dc:creator>alice_th</dc:creator>
      <dc:date>2023-06-30T08:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 FreeRTOS + I2C</title>
      <link>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1680093#M24660</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218113"&gt;@alice_th&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Please provide the name of the S32DS versions you are using.&lt;/P&gt;
&lt;P&gt;And what are the FreeRTOS package's name and the S32K1 package's name you are using?&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 03:25:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1680093#M24660</guid>
      <dc:creator>DanNguyenDuy</dc:creator>
      <dc:date>2023-07-03T03:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 FreeRTOS + I2C</title>
      <link>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1680099#M24662</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199019"&gt;@DanNguyenDuy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;S32 Design Studio for ARM&lt;/P&gt;&lt;P&gt;Version: 2.2&lt;BR /&gt;Build id: 200116&lt;/P&gt;&lt;P&gt;Copyright Freescale Semiconductor 2016. All rights reserved.&lt;BR /&gt;Copyright 2017-2020 NXP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alice_thanks_0-1688355213921.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/230432i13AA3D5777FBF0CA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alice_thanks_0-1688355213921.png" alt="alice_thanks_0-1688355213921.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;alice_thanks_0-1688355213921.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 03:33:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1680099#M24662</guid>
      <dc:creator>alice_th</dc:creator>
      <dc:date>2023-07-03T03:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 FreeRTOS + I2C</title>
      <link>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1680102#M24663</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199019"&gt;@DanNguyenDuy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alice_thanks_0-1688355314223.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/230433i803A6AEA5214487C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alice_thanks_0-1688355314223.png" alt="alice_thanks_0-1688355314223.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;alice_thanks_0-1688355314223.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 03:35:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1680102#M24663</guid>
      <dc:creator>alice_th</dc:creator>
      <dc:date>2023-07-03T03:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 FreeRTOS + I2C</title>
      <link>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1680280#M24673</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218113"&gt;@alice_th&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I can't find out the link to download the FreeRTOS 10.0.1 version on the NXP.com&lt;/P&gt;
&lt;P&gt;Maybe this version is too old. Could you update to use&amp;nbsp;FreeRTOS 10.4.6 (the latest version) instead of 10.0.1 version? If not, please send me the link to download&amp;nbsp;FreeRTOS 10.0.1 version and the SDK package you are using.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 08:02:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1680280#M24673</guid>
      <dc:creator>DanNguyenDuy</dc:creator>
      <dc:date>2023-07-03T08:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 FreeRTOS + I2C</title>
      <link>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1680297#M24674</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199019"&gt;@DanNguyenDuy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 08:13:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1680297#M24674</guid>
      <dc:creator>alice_th</dc:creator>
      <dc:date>2023-07-03T08:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 FreeRTOS + I2C</title>
      <link>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1680311#M24675</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199019"&gt;@DanNguyenDuy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sdk is too big, can't attached, only support 25M&lt;/P&gt;&lt;P&gt;below is what we have&amp;nbsp;&lt;/P&gt;&lt;P&gt;C:\NXP\S32DS_ARM_v2.2\S32DS\software\S32SDK_S32K1xx_RTM_3.0.0&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alice_thanks_0-1688372548234.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/230477i30F241406BC2AAE4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alice_thanks_0-1688372548234.png" alt="alice_thanks_0-1688372548234.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;alice_thanks_0-1688372548234.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 08:23:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1680311#M24675</guid>
      <dc:creator>alice_th</dc:creator>
      <dc:date>2023-07-03T08:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 FreeRTOS + I2C</title>
      <link>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1680316#M24676</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199019"&gt;@DanNguyenDuy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;all the sdk and rtos is auto download with s32ds tools&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alice_thanks_0-1688372837674.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/230478iD1E354728E82A625/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alice_thanks_0-1688372837674.png" alt="alice_thanks_0-1688372837674.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;alice_thanks_0-1688372837674.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 08:27:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1680316#M24676</guid>
      <dc:creator>alice_th</dc:creator>
      <dc:date>2023-07-03T08:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 FreeRTOS + I2C</title>
      <link>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1680851#M24707</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199019"&gt;@DanNguyenDuy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any update or can you help test the project which i already attached to find what is the problem,&lt;/P&gt;&lt;P&gt;thanks a lot!&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 03:23:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1680851#M24707</guid>
      <dc:creator>alice_th</dc:creator>
      <dc:date>2023-07-04T03:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 FreeRTOS + I2C</title>
      <link>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1680994#M24718</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218113"&gt;@alice_th&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I saw that you haven't yet installed the "LPI2C0_Master_IRQHandler" (interrupt function) for I2C Master.&lt;/P&gt;
&lt;P&gt;Could you install this interrupt function and re-test your example?&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 07:09:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1680994#M24718</guid>
      <dc:creator>DanNguyenDuy</dc:creator>
      <dc:date>2023-07-04T07:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 FreeRTOS + I2C</title>
      <link>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1681021#M24722</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199019"&gt;@DanNguyenDuy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how install it, i see&amp;nbsp;LPI2C0_Master_IRQHandler already in start.S file&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alice_thanks_0-1688455662508.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/230662i710749B65EDD94CC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alice_thanks_0-1688455662508.png" alt="alice_thanks_0-1688455662508.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;alice_thanks_0-1688455662508.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 07:29:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1681021#M24722</guid>
      <dc:creator>alice_th</dc:creator>
      <dc:date>2023-07-04T07:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 FreeRTOS + I2C</title>
      <link>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1681082#M24728</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218113"&gt;@alice_th&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;If you have an interrupt function in the startup file then you only need to enable&amp;nbsp;LPI2C0_Master_IRQn in your code.&lt;/P&gt;
&lt;P&gt;You should put a breakpoint in the&amp;nbsp;&lt;SPAN&gt;LPI2C0_Master_IRQHandler&amp;nbsp;to check whether you can jump into this function or not.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If the LPI2C0 interrupt didn't occur, you should check whether the bits are configured correctly as the below or not.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf78987_0-1688459587079.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/230679iA0417115245BBE20/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf78987_0-1688459587079.png" alt="nxf78987_0-1688459587079.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;nxf78987_0-1688459587079.png&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="nxf78987_0-1688459822276.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/230680iA0DF9B6AEB1BA3E6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf78987_0-1688459822276.png" alt="nxf78987_0-1688459822276.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;nxf78987_0-1688459822276.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If not, please modify your configuration to enable the above bits.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Dan&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 08:37:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1681082#M24728</guid>
      <dc:creator>DanNguyenDuy</dc:creator>
      <dc:date>2023-07-04T08:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 FreeRTOS + I2C</title>
      <link>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1681091#M24730</link>
      <description>&lt;P&gt;this API LPI2C_DRV_MasterInit already enable irq ,&lt;/P&gt;&lt;P&gt;see below,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alice_thanks_0-1688460166972.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/230681i7C6EB9A9E496D30B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alice_thanks_0-1688460166972.png" alt="alice_thanks_0-1688460166972.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;alice_thanks_0-1688460166972.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 08:45:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1681091#M24730</guid>
      <dc:creator>alice_th</dc:creator>
      <dc:date>2023-07-04T08:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 FreeRTOS + I2C</title>
      <link>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1681126#M24732</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218113"&gt;@alice_th&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Yes, please check the bits I said previously.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 09:18:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1681126#M24732</guid>
      <dc:creator>DanNguyenDuy</dc:creator>
      <dc:date>2023-07-04T09:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 FreeRTOS + I2C</title>
      <link>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1681644#M24768</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199019"&gt;@DanNguyenDuy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;even i add installHandler INT_SYS_EnableIRQ(LPI2C0_Master_IRQn); &lt;STRONG&gt;or&lt;/STRONG&gt; set MCR MIER ISER register,&lt;/DIV&gt;&lt;DIV&gt;but still can't enter&amp;nbsp;LPI2C_DRV_SlaveIRQHandler(0);&amp;nbsp; what is problem ? did you run my project and enther i2c irq ?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;/* Install Button interrupt handler */&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;INT_SYS_InstallHandler&lt;/SPAN&gt;&lt;SPAN&gt;(LPI2C0_Master_IRQn, &lt;/SPAN&gt;&lt;SPAN&gt;vPort_i2C0_ISRHandler&lt;/SPAN&gt;&lt;SPAN&gt;, (&lt;/SPAN&gt;&lt;SPAN&gt;isr_t&lt;/SPAN&gt; &lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;NULL&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; /* Enable Button interrupt handler */&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;INT_SYS_EnableIRQ&lt;/SPAN&gt;&lt;SPAN&gt;(LPI2C0_Master_IRQn);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;//LPI2C0-&amp;gt;MCR |= 0x09;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;//LPI2C0-&amp;gt;MIER |= 0x01;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;//S32_NVIC-&amp;gt;ISER[0] |= 0x01000000;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;static void prvSetupHardware( void )&lt;/DIV&gt;&lt;DIV&gt;{&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;int i = 1;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;lpi2c_master_state_t lpi2c1MasterState;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; /* Initialize and configure clocks&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*&amp;nbsp; -&amp;nbsp; &amp;nbsp;Setup system clocks, dividers&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*&amp;nbsp; -&amp;nbsp; &amp;nbsp;see clock manager component for more details&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*/&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; CLOCK_SYS_Init(g_clockManConfigsArr, CLOCK_MANAGER_CONFIG_CNT,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;g_clockManCallbacksArr, CLOCK_MANAGER_CALLBACK_CNT);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; CLOCK_SYS_UpdateConfiguration(0U, CLOCK_MANAGER_POLICY_AGREEMENT);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;PINS_DRV_Init(NUM_OF_CONFIGURED_PINS, g_pin_mux_InitConfigArr);&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LPUART_DRV_Init(INST_LPUART1, &amp;amp;lpuart1_State, &amp;amp;lpuart1_InitConfig0);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LPI2C_DRV_MasterInit(INST_LPI2C1, &amp;amp;lpi2c1_MasterConfig0,&amp;amp;lpi2c1MasterState);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; boardSetup();&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; //&amp;nbsp; LPUART_DRV_Init(INST_LPUART1, &amp;amp;lpuart1_State, &amp;amp;lpuart1_InitConfig0);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; AMS_LOG("prvSetupHardware=%d\n",i);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;/* Install Button interrupt handler */&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; INT_SYS_InstallHandler(BTN_PORT_IRQn, vPort_C_ISRHandler, (isr_t *)NULL);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; /* Enable Button interrupt handler */&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; INT_SYS_EnableIRQ(BTN_PORT_IRQn);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;/* Install Button interrupt handler */&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; INT_SYS_InstallHandler(LPI2C0_Master_IRQn, vPort_i2C0_ISRHandler, (isr_t *)NULL);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; /* Enable Button interrupt handler */&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; INT_SYS_EnableIRQ(LPI2C0_Master_IRQn);&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;//LPI2C0-&amp;gt;MCR |= 0x09;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;//LPI2C0-&amp;gt;MIER |= 0x01;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;//S32_NVIC-&amp;gt;ISER[0] |= 0x01000000;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;/* Enable global interrupt */&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; INT_SYS_EnableIRQGlobal();&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; /* The interrupt calls an interrupt safe API function - so its priority must&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; be equal to or lower than configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY. */&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; INT_SYS_SetPriority( BTN_PORT_IRQn, configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY );&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;INT_SYS_SetPriority( LPI2C0_Master_IRQn, configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY + 1 );&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alice_thanks_0-1688536750721.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/230803i101B734381587DEF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alice_thanks_0-1688536750721.png" alt="alice_thanks_0-1688536750721.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;alice_thanks_0-1688536750721.png&lt;/span&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 05 Jul 2023 06:01:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1681644#M24768</guid>
      <dc:creator>alice_th</dc:creator>
      <dc:date>2023-07-05T06:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 FreeRTOS + I2C</title>
      <link>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1681662#M24770</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218113"&gt;@alice_th&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Please double-click into those bits and show me the values of them.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf78987_0-1688537636172.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/230810iCD7960E835428082/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf78987_0-1688537636172.png" alt="nxf78987_0-1688537636172.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;nxf78987_0-1688537636172.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Second, I can't open your configuration to check it because something wrong (I don't know) and so, I enabled the bits in previous comment and it ran OK.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 06:16:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1681662#M24770</guid>
      <dc:creator>DanNguyenDuy</dc:creator>
      <dc:date>2023-07-05T06:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 FreeRTOS + I2C</title>
      <link>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1681667#M24771</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199019"&gt;@DanNguyenDuy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alice_thanks_0-1688538186571.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/230811i5ED8B6C888D23FC8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alice_thanks_0-1688538186571.png" alt="alice_thanks_0-1688538186571.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;alice_thanks_0-1688538186571.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 06:23:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k144-FreeRTOS-I2C/m-p/1681667#M24771</guid>
      <dc:creator>alice_th</dc:creator>
      <dc:date>2023-07-05T06:23:15Z</dc:date>
    </item>
  </channel>
</rss>

