<?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: CMSIS-DSP Libraries: convert signed integer to q31 notation  in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/CMSIS-DSP-Libraries-convert-signed-integer-to-q31-notation/m-p/530544#M2041</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by miccio on Mon Oct 19 08:22:30 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;wow, no one with experience on CMSIS-DSP libraries? not even lpcxpresso-support? :(&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 00:15:40 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T00:15:40Z</dc:date>
    <item>
      <title>CMSIS-DSP Libraries: convert signed integer to q31 notation</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/CMSIS-DSP-Libraries-convert-signed-integer-to-q31-notation/m-p/530543#M2040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by miccio on Fri Oct 16 11:16:37 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My latest project requires some help from the DSP libraries (mostly for fast trigonometric functions and vector math). However, all of the data I acquire is in the form of int16_t. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How can this be converted into the q31_t used by the library functions (which is actually an int32_t)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, once my variables are converted in q31_t, how can I perform normal math? Wikipedia explanation is pretty straightforward but very verbose nevertheless, so I wonder if the library had some helper functions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way, I'm using an LPC1549 (Cortex M3 core).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance and have a nice weekend! :) &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:15:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/CMSIS-DSP-Libraries-convert-signed-integer-to-q31-notation/m-p/530543#M2040</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: CMSIS-DSP Libraries: convert signed integer to q31 notation</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/CMSIS-DSP-Libraries-convert-signed-integer-to-q31-notation/m-p/530544#M2041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by miccio on Mon Oct 19 08:22:30 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;wow, no one with experience on CMSIS-DSP libraries? not even lpcxpresso-support? :(&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:15:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/CMSIS-DSP-Libraries-convert-signed-integer-to-q31-notation/m-p/530544#M2041</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: CMSIS-DSP Libraries: convert signed integer to q31 notation</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/CMSIS-DSP-Libraries-convert-signed-integer-to-q31-notation/m-p/530545#M2042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Tue Oct 20 04:13:37 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Suggest you do some reading up on fixed point. Using your favourite search engine for something like "convert integer to fixed point" or similar should throw up plenty of hits. For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[list]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp; [*]&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fblogs.mathworks.com%2Fseth%2F2008%2F12%2F14%2Frepresenting-numbers-integers-and-fixed-point%2F" rel="nofollow" target="_blank"&gt;http://blogs.mathworks.com/seth/2008/12/14/representing-numbers-integers-and-fixed-point/&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp; [*]&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fbooks.google.co.uk%2Fbooks%3Fid%3Dh590cd_BagMC%26pg%3DPA42%26lpg%3DPA42%26dq%3Dconvert%2Binteger%2Bto%2Bq1.31%26source%3Dbl%26ots%3DFAVukjPiiS%26sig%3DKc6NaTrXt_k9qNoe4hxzsVpziU0%26hl%3Den%26sa%3DX%26ved%3D0CDoQ6AEwBGoVChMIru7nj_TQyAIVQzkUCh0MAQRF%23v%3Donepage%26q%3Dconvert%2520integer%2520to%2520q1.31%26f%3Dfalse" rel="nofollow" target="_blank"&gt;https://books.google.co.uk/books?id=h590cd_BagMC&amp;amp;pg=PA42&amp;amp;lpg=PA42&amp;amp;dq=convert+integer+to+q1.31&amp;amp;source=bl&amp;amp;ots=FAVukjPiiS&amp;amp;sig=Kc6NaTrXt_k9qNoe4hxzsVpziU0&amp;amp;hl=en&amp;amp;sa=X&amp;amp;ved=0CDoQ6AEwBGoVChMIru7nj_TQyAIVQzkUCh0MAQRF#v=onepage&amp;amp;q=convert%20integer%20to%20q1.31&amp;amp;f=false&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/list]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Support&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:15:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/CMSIS-DSP-Libraries-convert-signed-integer-to-q31-notation/m-p/530545#M2042</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:15:41Z</dc:date>
    </item>
  </channel>
</rss>

