<?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>MBDT for RADARのトピックRe: How to use the scalar product command scp_mex() in Matlab (Radar SPT core)</title>
    <link>https://community.nxp.com/t5/MBDT-for-RADAR/How-to-use-the-scalar-product-command-scp-mex-in-Matlab-Radar/m-p/856525#M110</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/andreas.schibilla@aptiv.com"&gt;andreas.schibilla@aptiv.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry to hear that. Please escalate on the ticket support since we are not allowed to share documents that are marked as "confidential information"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/florianebert"&gt;florianebert&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;Can you have a look at this issue. Thank you!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Mar 2019 08:45:08 GMT</pubDate>
    <dc:creator>Daniel_Popa</dc:creator>
    <dc:date>2019-03-05T08:45:08Z</dc:date>
    <item>
      <title>How to use the scalar product command scp_mex() in Matlab (Radar SPT core)</title>
      <link>https://community.nxp.com/t5/MBDT-for-RADAR/How-to-use-the-scalar-product-command-scp-mex-in-Matlab-Radar/m-p/856520#M105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I’m trying to get familiar with the SPT core and like to use the scalar product command.&lt;/P&gt;&lt;P&gt;The goal is to perform 8 multiply operations and compute the sum (don’t care about the Im() parts, set to 0).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In Matlab R2018b, I installed the “NXP_radar_Toolbox_for_S32R” toolkit, and tried the following:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;a = [0,1,2,3,4,5,6,7];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;c = [1,1,1,1,1,1,1,1];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;M_Op = complex (a, 0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;M_Coeff = complex(c, 0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;no_of_taps = 8;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;shft_val = 0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;M_Out = scp_mex(M_Coeff, M_Op, no_of_taps, shft_val)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which gives me the result:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;M_Out =&amp;nbsp;&amp;nbsp; 0.0000 + 0.0000i&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I would expect 0*1 + 1*1 + 2*1 + 3*1 + 4*1 + 5*1 + 6*1 + 7*1 = 28&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What am I missing?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2019 10:41:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MBDT-for-RADAR/How-to-use-the-scalar-product-command-scp-mex-in-Matlab-Radar/m-p/856520#M105</guid>
      <dc:creator>andreas_schibil</dc:creator>
      <dc:date>2019-02-12T10:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the scalar product command scp_mex() in Matlab (Radar SPT core)</title>
      <link>https://community.nxp.com/t5/MBDT-for-RADAR/How-to-use-the-scalar-product-command-scp-mex-in-Matlab-Radar/m-p/856521#M106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The instruction has a scale after the multiplication is done of 13 bits, and another after the adding is done of 4 bits.&lt;/P&gt;&lt;P&gt;So if you run&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;a = [0,1,2,3,4,5,6,7]*2^17;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;c = [1,1,1,1,1,1,1,1];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;M_Op = complex(a, 0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;M_Coeff = complex(c, 0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;no_of_taps = 8;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;shft_val = 0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;M_Out = scp_mex(M_Coeff, M_Op, no_of_taps, shft_val)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;you will get&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;M_Out = 28.0000 + 0.0000i&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit; "&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit; "&gt;Iulian&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2019 12:55:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MBDT-for-RADAR/How-to-use-the-scalar-product-command-scp-mex-in-Matlab-Radar/m-p/856521#M106</guid>
      <dc:creator>iulianbulancea</dc:creator>
      <dc:date>2019-02-12T12:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the scalar product command scp_mex() in Matlab (Radar SPT core)</title>
      <link>https://community.nxp.com/t5/MBDT-for-RADAR/How-to-use-the-scalar-product-command-scp-mex-in-Matlab-Radar/m-p/856522#M107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect. Many thanks for your fast answer. I wonder where I can find more information about this shifting and the exact bit width used for the MUL and ADD operations?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2019 20:22:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MBDT-for-RADAR/How-to-use-the-scalar-product-command-scp-mex-in-Matlab-Radar/m-p/856522#M107</guid>
      <dc:creator>andreas_schibil</dc:creator>
      <dc:date>2019-02-12T20:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the scalar product command scp_mex() in Matlab (Radar SPT core)</title>
      <link>https://community.nxp.com/t5/MBDT-for-RADAR/How-to-use-the-scalar-product-command-scp-mex-in-Matlab-Radar/m-p/856523#M108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should open a ticket here&amp;nbsp;&lt;A class="link-titled" href="https://www.nxp.com/support/support:SUPPORTHOME" title="https://www.nxp.com/support/support:SUPPORTHOME"&gt;https://www.nxp.com/support/support:SUPPORTHOME&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Iulian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2019 12:17:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MBDT-for-RADAR/How-to-use-the-scalar-product-command-scp-mex-in-Matlab-Radar/m-p/856523#M108</guid>
      <dc:creator>iulianbulancea</dc:creator>
      <dc:date>2019-02-14T12:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the scalar product command scp_mex() in Matlab (Radar SPT core)</title>
      <link>https://community.nxp.com/t5/MBDT-for-RADAR/How-to-use-the-scalar-product-command-scp-mex-in-Matlab-Radar/m-p/856524#M109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Iulian,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I created such a ticket. Unfortunately, I didn't get any answers yet. Could you provide me more details about it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Best regards,&lt;BR /&gt;Andreas&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2019 08:53:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MBDT-for-RADAR/How-to-use-the-scalar-product-command-scp-mex-in-Matlab-Radar/m-p/856524#M109</guid>
      <dc:creator>andreas_schibil</dc:creator>
      <dc:date>2019-03-04T08:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the scalar product command scp_mex() in Matlab (Radar SPT core)</title>
      <link>https://community.nxp.com/t5/MBDT-for-RADAR/How-to-use-the-scalar-product-command-scp-mex-in-Matlab-Radar/m-p/856525#M110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/andreas.schibilla@aptiv.com"&gt;andreas.schibilla@aptiv.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry to hear that. Please escalate on the ticket support since we are not allowed to share documents that are marked as "confidential information"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/florianebert"&gt;florianebert&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;Can you have a look at this issue. Thank you!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2019 08:45:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MBDT-for-RADAR/How-to-use-the-scalar-product-command-scp-mex-in-Matlab-Radar/m-p/856525#M110</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2019-03-05T08:45:08Z</dc:date>
    </item>
  </channel>
</rss>

