<?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>Model-Based Design Toolbox (MBDT)のトピックRe: LPI2C redefinition Error</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPI2C-redefinition-Error/m-p/1547748#M7774</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202837"&gt;@saurabhkulkarni123&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Can you provide some information about this error? What board do you use? What toolbox? What Matlab version?&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Bancila Sorin&lt;/P&gt;</description>
    <pubDate>Wed, 02 Nov 2022 12:34:50 GMT</pubDate>
    <dc:creator>SorinIBancila</dc:creator>
    <dc:date>2022-11-02T12:34:50Z</dc:date>
    <item>
      <title>LPI2C redefinition Error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPI2C-redefinition-Error/m-p/1547675#M7773</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to build a model where LPI2C master sends data and the slave receives it. but when I am trying to generate code from the model it shows a redefinition error.&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;check_com.c:40:6: error: redefinition of 'LPI2C_DRV_SetSlaveAddr' void LPI2C_DRV_SetSlaveAddr(uint16_t addr, bool is10BitAddr) ^~~~~~~~~~~~~~~~~~~~~~ check_com.c:29:6: note: previous definition of 'LPI2C_DRV_SetSlaveAddr' was here void LPI2C_DRV_SetSlaveAddr(uint16_t addr, bool is10BitAddr)&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;How can I solve it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 09:49:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPI2C-redefinition-Error/m-p/1547675#M7773</guid>
      <dc:creator>saurabhkulkarni123</dc:creator>
      <dc:date>2022-11-02T09:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: LPI2C redefinition Error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPI2C-redefinition-Error/m-p/1547748#M7774</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202837"&gt;@saurabhkulkarni123&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Can you provide some information about this error? What board do you use? What toolbox? What Matlab version?&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Bancila Sorin&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 12:34:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPI2C-redefinition-Error/m-p/1547748#M7774</guid>
      <dc:creator>SorinIBancila</dc:creator>
      <dc:date>2022-11-02T12:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: LPI2C redefinition Error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPI2C-redefinition-Error/m-p/1547759#M7776</link>
      <description>&lt;P&gt;I am using an NXP S32K148 board and Toolbox is NXP S32K148 and MATLAB version is 2022A.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 13:22:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPI2C-redefinition-Error/m-p/1547759#M7776</guid>
      <dc:creator>saurabhkulkarni123</dc:creator>
      <dc:date>2022-11-02T13:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: LPI2C redefinition Error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPI2C-redefinition-Error/m-p/1547769#M7778</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I built the example from the toolbox and I did not receive any errors. If possible, can you share with me your model?&lt;/P&gt;
&lt;P&gt;By any chance, do you have any other toolboxes from NXP installed in Matlab?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 13:44:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPI2C-redefinition-Error/m-p/1547769#M7778</guid>
      <dc:creator>SorinIBancila</dc:creator>
      <dc:date>2022-11-02T13:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: LPI2C redefinition Error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPI2C-redefinition-Error/m-p/1548232#M7783</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/180247"&gt;@SorinIBancila&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I am attaching a ScreenShot of the Model, I am using I2c Master and Slave Example in a single project and trying to send data from master to slave.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 10:13:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPI2C-redefinition-Error/m-p/1548232#M7783</guid>
      <dc:creator>saurabhkulkarni123</dc:creator>
      <dc:date>2022-11-03T10:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: LPI2C redefinition Error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPI2C-redefinition-Error/m-p/1548273#M7785</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Even though I am trying to use the I2C Master example only for NXP S32K148 MATLAB&amp;nbsp; Toolbox, I am not getting output at SDA and SCL. How I can solve it? or Is there any hardware jumper setting required?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 11:44:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPI2C-redefinition-Error/m-p/1548273#M7785</guid>
      <dc:creator>saurabhkulkarni123</dc:creator>
      <dc:date>2022-11-03T11:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: LPI2C redefinition Error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPI2C-redefinition-Error/m-p/1548295#M7787</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was able to reproduce the problem. Apparently, the toolbox doesn't allow to add 2 LPI2C config blocks as it generates that error with redefinition of 'LPI2C_DRV_SetSlaveAddr'.&lt;/P&gt;
&lt;P&gt;I will investigate this use case and I will try to provide a fix as soon as possible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Bancila Sorin&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 12:33:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPI2C-redefinition-Error/m-p/1548295#M7787</guid>
      <dc:creator>SorinIBancila</dc:creator>
      <dc:date>2022-11-03T12:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: LPI2C redefinition Error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPI2C-redefinition-Error/m-p/1548296#M7788</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How did you verify that you don't get any output on SDA and SCL pins?&amp;nbsp; What pins did you use to connect the slave to the master? (master being S32K148 board)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Bancila Sorin&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 12:39:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPI2C-redefinition-Error/m-p/1548296#M7788</guid>
      <dc:creator>SorinIBancila</dc:creator>
      <dc:date>2022-11-03T12:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: LPI2C redefinition Error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPI2C-redefinition-Error/m-p/1548302#M7789</link>
      <description>&lt;P&gt;I am using S32k148 as master LPI2C 1 and SDA- PTC31, SCL-PTD19. I am checking SDA and SCL at CRO, and also use ISR like when data is sent LED will Blink.&lt;/P&gt;&lt;P&gt;&amp;nbsp;I am attaching Screenshot.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 12:44:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPI2C-redefinition-Error/m-p/1548302#M7789</guid>
      <dc:creator>saurabhkulkarni123</dc:creator>
      <dc:date>2022-11-03T12:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: LPI2C redefinition Error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPI2C-redefinition-Error/m-p/1548324#M7790</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;In the screenshot, I see that you run the example in SIL/PIL mode. I strongly recommend to use 'Embedded Coder' to build and deploy the application on the board as time sensitive tasks (like communication) can have undefined behavior in SIL/PIL mode as it doesn't run in real time.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SorinIBancila_1-1667481064762.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/199048iD183DA7004EE606E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SorinIBancila_1-1667481064762.png" alt="SorinIBancila_1-1667481064762.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Secondly, make sure you have a slave connected to the master otherwise LPI2C communication doesn't work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Bancila Sorin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS: Can you explain what CRO means as I never heard this abbreviation before.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 13:19:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPI2C-redefinition-Error/m-p/1548324#M7790</guid>
      <dc:creator>SorinIBancila</dc:creator>
      <dc:date>2022-11-03T13:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: LPI2C redefinition Error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPI2C-redefinition-Error/m-p/1769768#M8699</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/180247"&gt;@SorinIBancila&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you find a fix for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to use 2 I2C instances and am dealing with the same issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 12:14:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPI2C-redefinition-Error/m-p/1769768#M8699</guid>
      <dc:creator>Poley</dc:creator>
      <dc:date>2023-12-06T12:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: LPI2C redefinition Error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPI2C-redefinition-Error/m-p/1817480#M8879</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/183842"&gt;@Poley&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;It seems I totally missed the notification you tagged me. I am really sorry for the late reply.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/I2C-config/m-p/1706713#M8418" target="_blank" rel="noopener"&gt;Here is another thread&lt;/A&gt; where I provided a hotfix patch. Can you please check if it fixes your problems (in case you still have problems with it)?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 12:17:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPI2C-redefinition-Error/m-p/1817480#M8879</guid>
      <dc:creator>SorinIBancila</dc:creator>
      <dc:date>2024-02-28T12:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: LPI2C redefinition Error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPI2C-redefinition-Error/m-p/1817482#M8880</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/180247"&gt;@SorinIBancila&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No problem at all.&lt;/P&gt;&lt;P&gt;That is great, thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I apply the patch?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 12:23:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPI2C-redefinition-Error/m-p/1817482#M8880</guid>
      <dc:creator>Poley</dc:creator>
      <dc:date>2024-02-28T12:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: LPI2C redefinition Error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPI2C-redefinition-Error/m-p/1818564#M8883</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/183842"&gt;@Poley&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;You have to extract the content of the .zip file then run (in MATLAB) the NXP_MBDToolbox_S32K1xx_patch.m file. &lt;BR /&gt;&lt;BR /&gt;Important! Make sure that the S32K1xx toolbox is added to the MATLAB's path.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Sorin Bancila&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 09:23:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPI2C-redefinition-Error/m-p/1818564#M8883</guid>
      <dc:creator>SorinIBancila</dc:creator>
      <dc:date>2024-02-29T09:23:08Z</dc:date>
    </item>
  </channel>
</rss>

