<?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: LPi2c Driver - FreeRTOS issue :  I could not generate multiple i2c data in S32K</title>
    <link>https://community.nxp.com/t5/S32K/LPi2c-Driver-FreeRTOS-issue-I-could-not-generate-multiple-i2c/m-p/1998920#M43499</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/243446"&gt;@well29&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Is the driver initialized inside a FreeRTOS task after the scheduler is started?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Nov 2024 13:48:45 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2024-11-21T13:48:45Z</dc:date>
    <item>
      <title>LPi2c Driver - FreeRTOS issue :  I could not generate multiple i2c data</title>
      <link>https://community.nxp.com/t5/S32K/LPi2c-Driver-FreeRTOS-issue-I-could-not-generate-multiple-i2c/m-p/1995842#M43358</link>
      <description>&lt;P&gt;I followed the recommendation to successfully fix issue of lpi2c and freertos integration from&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/S32K/S32K142-lpi2c-is-not-working-with-freeRTOS-integration/td-p/875028" target="_blank"&gt;S32K142: lpi2c is not working with freeRTOS integration. - NXP Community.&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The problem is that when I use&amp;nbsp;LPI2C_DRV_MasterSendDataBlocking function to write data with big size like in example foo function below, it could not write the whole data block and would send stop after around 4 bytes. The same function works without FreeRtos but not with it.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;foo(uint8_t reg, uint8_t* data, uint16_t count) {&lt;BR /&gt;uint8_t dt[256];&lt;BR /&gt;dt[0] = reg;&lt;BR /&gt;uint8_t i;&lt;BR /&gt;for(i = 0; i &amp;lt; count; i++)&lt;BR /&gt;dt[i+1] = data[i];&lt;/P&gt;&lt;P&gt;LPI2C_DRV_MasterSendDataBlocking(INST_LPI2C0, dt, count+1, true, 10);&lt;/P&gt;&lt;P&gt;}&lt;BR /&gt;&lt;BR /&gt;I'm using&amp;nbsp;S32 Design Studio for S32 Platform Version: 3.5 Build id: 220726.&amp;nbsp;&lt;BR /&gt;I used the freeRtos example and added i2c peripheral.&lt;BR /&gt;&lt;BR /&gt;Is there a way to quickly solve this?&lt;/P&gt;</description>
      <pubDate>Sun, 17 Nov 2024 15:52:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LPi2c-Driver-FreeRTOS-issue-I-could-not-generate-multiple-i2c/m-p/1995842#M43358</guid>
      <dc:creator>well29</dc:creator>
      <dc:date>2024-11-17T15:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: LPi2c Driver - FreeRTOS issue :  I could not generate multiple i2c data</title>
      <link>https://community.nxp.com/t5/S32K/LPi2c-Driver-FreeRTOS-issue-I-could-not-generate-multiple-i2c/m-p/1998920#M43499</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/243446"&gt;@well29&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Is the driver initialized inside a FreeRTOS task after the scheduler is started?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 13:48:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LPi2c-Driver-FreeRTOS-issue-I-could-not-generate-multiple-i2c/m-p/1998920#M43499</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2024-11-21T13:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: LPi2c Driver - FreeRTOS issue :  I could not generate multiple i2c data</title>
      <link>https://community.nxp.com/t5/S32K/LPi2c-Driver-FreeRTOS-issue-I-could-not-generate-multiple-i2c/m-p/2001540#M43648</link>
      <description>&lt;P&gt;Yes, the i2c works. It's just that it's capped to about 5-10 sent data bytes. I'm trying to send about 128 data bytes and that's where it failed.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 03:13:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LPi2c-Driver-FreeRTOS-issue-I-could-not-generate-multiple-i2c/m-p/2001540#M43648</guid>
      <dc:creator>well29</dc:creator>
      <dc:date>2024-11-26T03:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: LPi2c Driver - FreeRTOS issue :  I could not generate multiple i2c data</title>
      <link>https://community.nxp.com/t5/S32K/LPi2c-Driver-FreeRTOS-issue-I-could-not-generate-multiple-i2c/m-p/2001941#M43663</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/243446"&gt;@well29&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Does the function return, what is the status?&lt;/P&gt;
&lt;P&gt;Have you tried the non-blocking function?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 11:09:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LPi2c-Driver-FreeRTOS-issue-I-could-not-generate-multiple-i2c/m-p/2001941#M43663</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2024-11-26T11:09:03Z</dc:date>
    </item>
  </channel>
</rss>

