<?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: MLIB and SPI compilation error in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MLIB-and-SPI-compilation-error/m-p/1440543#M7141</link>
    <description>&lt;P&gt;That works, thank you&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/72088"&gt;@mariuslucianand&lt;/a&gt;.&lt;/P&gt;</description>
    <pubDate>Thu, 07 Apr 2022 11:36:19 GMT</pubDate>
    <dc:creator>engineer_attila</dc:creator>
    <dc:date>2022-04-07T11:36:19Z</dc:date>
    <item>
      <title>MLIB and SPI compilation error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MLIB-and-SPI-compilation-error/m-p/1435630#M7128</link>
      <description>&lt;P&gt;Hi, i have a MPC5775E-EVB .I can't use MBLIB within SPI defined project.When i just put spi configure block on this simple project, i got the error.&lt;/P&gt;&lt;P&gt;what causing this problem?&lt;/P&gt;&lt;P&gt;My Matlab version:2020a .I also made "set path" configuration for AMMCLib.&lt;/P&gt;&lt;P&gt;MPC5775E parameters&lt;BR /&gt;Compile Options: -g3 -mbig -mvle -O1 -mregnames -mlsp -specs=ewl_c9x.specs -mhard-float -Wall -c -std=c99 -fdata-sections -ffunction-sections -funsigned-char -fmessage-length=0 -nostdinc -fno-jump-tables -DTURN_ON_CPU0&lt;/P&gt;&lt;P&gt;Assemble Options: -g3 -mbig -mvle -mregnames -O1 -DTURN_ON_CPU0 -mhard-float&lt;/P&gt;&lt;P&gt;Link Options: -Xlinker -gc-sections&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;v15.c: In function 'v15_initialize':&lt;BR /&gt;v15.c:145:1: error: insn does not satisfy its constraints:&lt;BR /&gt;}&lt;BR /&gt;^&lt;BR /&gt;(insn/f 117 116 118 2 (set (mem/c:V2SI (plus:SI (reg:SI 11 %r11)&lt;BR /&gt;(const_int 0 [0])) [0 S8 A8])&lt;BR /&gt;(reg:V2SI 31 %r31)) v15.c:54 2475 {*movv2si_internal}&lt;BR /&gt;(expr_list:REG_DEAD (reg:SI 11 %r11)&lt;BR /&gt;(expr_list:REG_DEAD (reg:V2SI 31 %r31)&lt;BR /&gt;(expr_list:REG_FRAME_RELATED_EXPR (set (mem/c:V2SI (plus:SI (reg/f:SI 1 %r1)&lt;BR /&gt;(const_int 360 [0x168])) [0 S8 A8])&lt;BR /&gt;(reg:V2SI 31 %r31))&lt;BR /&gt;(nil)))))&lt;BR /&gt;v15.c:145:1: internal compiler error: in copyprop_hardreg_forward_1, at regcprop.c:775&lt;BR /&gt;Please submit a full bug report,&lt;BR /&gt;with preprocessed source if appropriate.&lt;BR /&gt;See &amp;lt;&lt;A href="http://gcc.gnu.org/bugs.html" target="_blank" rel="noopener"&gt;http://gcc.gnu.org/bugs.html&lt;/A&gt;&amp;gt; for instructions.&lt;BR /&gt;gmake: *** [v15.o] Error 1&lt;/P&gt;&lt;P&gt;Error(s) encountered while building "v15"&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="issue.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/175186i4756856A07E68AC1/image-size/large?v=v2&amp;amp;px=999" role="button" title="issue.png" alt="issue.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;UPDATE&lt;/P&gt;&lt;P&gt;If i disable CS pin from SPI Config block , Automotive Math and Motor Control library error is dissapear. But i need to CS pin.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 11:01:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MLIB-and-SPI-compilation-error/m-p/1435630#M7128</guid>
      <dc:creator>engineer_attila</dc:creator>
      <dc:date>2022-03-31T11:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: MLIB and SPI compilation error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MLIB-and-SPI-compilation-error/m-p/1436119#M7129</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/72088"&gt;@mariuslucianand&lt;/a&gt;&amp;nbsp; Can you help me?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2022 10:47:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MLIB-and-SPI-compilation-error/m-p/1436119#M7129</guid>
      <dc:creator>engineer_attila</dc:creator>
      <dc:date>2022-03-30T10:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: MLIB and SPI compilation error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MLIB-and-SPI-compilation-error/m-p/1440304#M7138</link>
      <description>&lt;P&gt;Indeed there are conflicts as the ArduinoRobot library already includes SPI&lt;BR /&gt;library.&lt;BR /&gt;You may remove the SPI library directory from your arduino/libraries&lt;BR /&gt;directory when using ArduinoRobot.&lt;BR /&gt;Also remove Robot_Control and Robot_Motor when not using the ArduinoRobot.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 07:04:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MLIB-and-SPI-compilation-error/m-p/1440304#M7138</guid>
      <dc:creator>Carmela</dc:creator>
      <dc:date>2022-04-07T07:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: MLIB and SPI compilation error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MLIB-and-SPI-compilation-error/m-p/1440339#M7139</link>
      <description>&lt;P&gt;Hi Carmela, Thank you for responding my problem.That looks like weird. I completely uninstall Arduino that includes&amp;nbsp;&lt;SPAN&gt;Robot_Control and&amp;nbsp;Robot_Motor directories&lt;/SPAN&gt; from my computer ,but nothing changed.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 07:46:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MLIB-and-SPI-compilation-error/m-p/1440339#M7139</guid>
      <dc:creator>engineer_attila</dc:creator>
      <dc:date>2022-04-07T07:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: MLIB and SPI compilation error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MLIB-and-SPI-compilation-error/m-p/1440395#M7140</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/198355"&gt;@engineer_attila&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;It looks to be something related to the compiler. The workaround I've found is to assign another CS pin in the SPI block. It can be a pin that is not used in your project.&lt;/P&gt;
&lt;P&gt;Can you please try this workaround?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariuslucianand_0-1649321096087.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/176195iB5005FBB8BB98825/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mariuslucianand_0-1649321096087.png" alt="mariuslucianand_0-1649321096087.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Marius&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 08:47:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MLIB-and-SPI-compilation-error/m-p/1440395#M7140</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2022-04-07T08:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: MLIB and SPI compilation error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MLIB-and-SPI-compilation-error/m-p/1440543#M7141</link>
      <description>&lt;P&gt;That works, thank you&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/72088"&gt;@mariuslucianand&lt;/a&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 11:36:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MLIB-and-SPI-compilation-error/m-p/1440543#M7141</guid>
      <dc:creator>engineer_attila</dc:creator>
      <dc:date>2022-04-07T11:36:19Z</dc:date>
    </item>
  </channel>
</rss>

