<?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 Issue using MLIB 4.2 with DSP 56800EX in Digital Signal Controllers</title>
    <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Issue-using-MLIB-4-2-with-DSP-56800EX/m-p/925263#M1678</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using the FSLESL library Rev. 4.2 with micro MC56F84452 (56800EX core) and I'm having a very intriguing issue when I try to put some math operation in the same line of code as in here:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="code1.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/87173i75C8EC3CBC029FD3/image-size/large?v=v2&amp;amp;px=999" role="button" title="code1.PNG" alt="code1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After line 792 is executed the value of park1.Ds is wrongly defined to&amp;nbsp;-1056178177. However, if I separate the operation in three steps (multiply, multiply, then sum) as lines 793-795 show, the value of park1.Ds after line 795 is executed is&amp;nbsp;49419 which is the expected value:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="code2.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/87174iD9D7AA4740FA29F1/image-size/large?v=v2&amp;amp;px=999" role="button" title="code2.PNG" alt="code2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Does anyone have a good explanation for this behavior?&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 16 Jun 2019 02:07:32 GMT</pubDate>
    <dc:creator>plinioandrade</dc:creator>
    <dc:date>2019-06-16T02:07:32Z</dc:date>
    <item>
      <title>Issue using MLIB 4.2 with DSP 56800EX</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Issue-using-MLIB-4-2-with-DSP-56800EX/m-p/925263#M1678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using the FSLESL library Rev. 4.2 with micro MC56F84452 (56800EX core) and I'm having a very intriguing issue when I try to put some math operation in the same line of code as in here:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="code1.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/87173i75C8EC3CBC029FD3/image-size/large?v=v2&amp;amp;px=999" role="button" title="code1.PNG" alt="code1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After line 792 is executed the value of park1.Ds is wrongly defined to&amp;nbsp;-1056178177. However, if I separate the operation in three steps (multiply, multiply, then sum) as lines 793-795 show, the value of park1.Ds after line 795 is executed is&amp;nbsp;49419 which is the expected value:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="code2.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/87174iD9D7AA4740FA29F1/image-size/large?v=v2&amp;amp;px=999" role="button" title="code2.PNG" alt="code2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Does anyone have a good explanation for this behavior?&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Jun 2019 02:07:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Issue-using-MLIB-4-2-with-DSP-56800EX/m-p/925263#M1678</guid>
      <dc:creator>plinioandrade</dc:creator>
      <dc:date>2019-06-16T02:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: Issue using MLIB 4.2 with DSP 56800EX</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Issue-using-MLIB-4-2-with-DSP-56800EX/m-p/925264#M1679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Plinio,&lt;/P&gt;&lt;P&gt;Regarding your question, I have checked that the 49419 in decimal is 0xC10B, the -1056178177 in decimal is 0x3EF4 0001, the 0xC10B is complementary of 0x3EF4. So they are the same value with different format.&lt;/P&gt;&lt;P&gt;Pls check the variable type of the park1.Ds&amp;nbsp; variable.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2019 01:53:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Issue-using-MLIB-4-2-with-DSP-56800EX/m-p/925264#M1679</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2019-06-18T01:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Issue using MLIB 4.2 with DSP 56800EX</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Issue-using-MLIB-4-2-with-DSP-56800EX/m-p/925265#M1680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;XiangJun,&lt;/P&gt;&lt;P&gt;Very interesting points. However, it's still hard to understand why the same logic works when it's executed line by line. If I use the function MLIB_Mul_A32 instead of MLIB_MulSat_A32 it works just fine.&lt;/P&gt;&lt;P&gt;Anyways, park1.Ds is a acc32_t variable just like a and b.&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2019 01:32:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Issue-using-MLIB-4-2-with-DSP-56800EX/m-p/925265#M1680</guid>
      <dc:creator>plinioandrade</dc:creator>
      <dc:date>2019-06-19T01:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Issue using MLIB 4.2 with DSP 56800EX</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Issue-using-MLIB-4-2-with-DSP-56800EX/m-p/925266#M1681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Plinio,&lt;/P&gt;&lt;P&gt;I suggest you use Hex format to display the variable, then check what&amp;nbsp; the difference is.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2019 06:26:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Issue-using-MLIB-4-2-with-DSP-56800EX/m-p/925266#M1681</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2019-06-19T06:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Issue using MLIB 4.2 with DSP 56800EX</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Issue-using-MLIB-4-2-with-DSP-56800EX/m-p/925267#M1682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Plinio,&lt;/P&gt;&lt;P&gt;What is the version of the CodeWarrior you are using? Is it possible to attach a simple project which can reproduce this issue?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2019 10:27:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Issue-using-MLIB-4-2-with-DSP-56800EX/m-p/925267#M1682</guid>
      <dc:creator>sutter_zhou</dc:creator>
      <dc:date>2019-06-21T10:27:53Z</dc:date>
    </item>
  </channel>
</rss>

