<?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: Playing sine wave via MQS on RT1050 in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Playing-sine-wave-via-MQS-on-RT1050/m-p/1561424#M22701</link>
    <description>&lt;P&gt;First time hearing about the WAVToCode conversion. I will give that Windows program a try, thanks!&lt;/P&gt;&lt;P&gt;I still have a few questions regarding MQS:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;About that &lt;A href="https://github.com/NXPmicro/mcux-sdk-examples/blob/95e0e9b2aa9d27cec8f12842ee1146792d5b8311/evkbimxrt1050/demo_apps/sai_peripheral/playbackSineWave.c#L216-L224" target="_self"&gt;PlaybackSine()&lt;/A&gt; function: Isn't MQS a simple HW module to convert SAI output to the MQS's PWM pin(s)? If so, why would we need additional audio format conversion when RT1050's SAI+codec demo doesn't need that conversion?&lt;/LI&gt;&lt;LI&gt;Is WAVToCode pre-processing a must-have? The situation is we need real-time tone generation with arbitrary frequency. It's just impractical to pre-record all possible frequencies of sine wave and find storage for the converted C arrays.&lt;/LI&gt;&lt;LI&gt;Are there known limitations of what MQS can or cannot do v.s. SAI+codec?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Thanks again.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Nov 2022 20:46:18 GMT</pubDate>
    <dc:creator>alfredatai</dc:creator>
    <dc:date>2022-11-29T20:46:18Z</dc:date>
    <item>
      <title>Playing sine wave via MQS on RT1050</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Playing-sine-wave-via-MQS-on-RT1050/m-p/1555283#M22511</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Is there an official example project for playing arbitrary sine wave via MQS?&lt;/P&gt;&lt;P&gt;My configuration:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;IMXRT1050-EVKB&lt;/LI&gt;&lt;LI&gt;MQS left connected to an analog amplifier (customize-made breadboard similar to &lt;A href="https://community.nxp.com/t5/i-MX-RT/Using-MQS-for-PAM8302A-amplifier-in-SLN-LOCAL2-IOT/m-p/1392638/highlight/false#M17763" target="_self"&gt;PAM8302A on SLN-LOCAL2-IOT&lt;/A&gt;), with a low-pass filter as on that demo board.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I found it surprising to see so little MQS code example even in the forum.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 22:09:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Playing-sine-wave-via-MQS-on-RT1050/m-p/1555283#M22511</guid>
      <dc:creator>alfredatai</dc:creator>
      <dc:date>2022-11-16T22:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Playing sine wave via MQS on RT1050</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Playing-sine-wave-via-MQS-on-RT1050/m-p/1558103#M22597</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/208894"&gt;@alfredatai&lt;/a&gt;&amp;nbsp;，&lt;BR /&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;To provide the fastest possible support, I'd highly recommend you refer to the &lt;A href="https://www.nxpic.org.cn/module/forum/thread-621220-1-1.html" target="_self"&gt;post&lt;/A&gt;.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 02:43:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Playing-sine-wave-via-MQS-on-RT1050/m-p/1558103#M22597</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2022-11-23T02:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: Playing sine wave via MQS on RT1050</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Playing-sine-wave-via-MQS-on-RT1050/m-p/1558672#M22608</link>
      <description>&lt;P&gt;Thanks Jeremy.&lt;/P&gt;&lt;P&gt;Google translate says that the code attached in that post plays some "music". Is there an example for playing sin wave?&lt;/P&gt;&lt;P&gt;Also is there a way to host the two zip files in this official forum? I think there is no easy way to register a "nxpic" account for non-China residents.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 15:22:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Playing-sine-wave-via-MQS-on-RT1050/m-p/1558672#M22608</guid>
      <dc:creator>alfredatai</dc:creator>
      <dc:date>2022-11-23T15:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Playing sine wave via MQS on RT1050</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Playing-sine-wave-via-MQS-on-RT1050/m-p/1559133#M22622</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/208894"&gt;@alfredatai&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;Please check the attachment, further, it needs to convert the sine wave audio signal into the C array, then the MQS can 'play' it.&lt;BR /&gt;BR,&lt;/P&gt;
&lt;P&gt;Jeremy&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 06:11:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Playing-sine-wave-via-MQS-on-RT1050/m-p/1559133#M22622</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2022-11-24T06:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Playing sine wave via MQS on RT1050</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Playing-sine-wave-via-MQS-on-RT1050/m-p/1560877#M22677</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/56840"&gt;@jeremyzhou&lt;/a&gt;thanks for uploading the zip files. I wished they were for RT1050 and with GCC toolchain though.&lt;/P&gt;&lt;P&gt;&amp;gt; it needs to convert the sine wave audio signal into the C array&lt;/P&gt;&lt;P&gt;I tried to make use of the sine wave function as-is in the 1050 demo app (&lt;A href="https://github.com/NXPmicro/mcux-sdk-examples/blob/95e0e9b2aa9d27cec8f12842ee1146792d5b8311/evkbimxrt1050/demo_apps/sai_peripheral/playbackSineWave.c#L216-L224" target="_self"&gt;`&lt;SPAN class=""&gt;PlaybackSine&lt;/SPAN&gt;()`&lt;/A&gt;) but I found the sine wave "shifted" up/down. This is measure on MQS-right after the low-pass filter:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="204388746-ac4822c6-0f04-49ee-b4e5-0fc8a6cf41c8.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/201980i1DB747A70489F655/image-size/medium?v=v2&amp;amp;px=400" role="button" title="204388746-ac4822c6-0f04-49ee-b4e5-0fc8a6cf41c8.jpg" alt="204388746-ac4822c6-0f04-49ee-b4e5-0fc8a6cf41c8.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can you think of what could I misconfigured (there are just very little registers for MQS)? Is there an example for playing a sine wave via MQS?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 22:28:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Playing-sine-wave-via-MQS-on-RT1050/m-p/1560877#M22677</guid>
      <dc:creator>alfredatai</dc:creator>
      <dc:date>2022-11-28T22:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Playing sine wave via MQS on RT1050</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Playing-sine-wave-via-MQS-on-RT1050/m-p/1560986#M22686</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/208894"&gt;@alfredatai&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please follow the &lt;A href="https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/RT106L-S-voice-control-system-based-on-the-Baidu-cloud/ta-p/1363295" target="_self"&gt;post&lt;/A&gt; to convert the WAV file to a C array via the WAVToCode.&lt;BR /&gt;Jeremy&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 03:29:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Playing-sine-wave-via-MQS-on-RT1050/m-p/1560986#M22686</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2022-11-29T03:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Playing sine wave via MQS on RT1050</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Playing-sine-wave-via-MQS-on-RT1050/m-p/1561424#M22701</link>
      <description>&lt;P&gt;First time hearing about the WAVToCode conversion. I will give that Windows program a try, thanks!&lt;/P&gt;&lt;P&gt;I still have a few questions regarding MQS:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;About that &lt;A href="https://github.com/NXPmicro/mcux-sdk-examples/blob/95e0e9b2aa9d27cec8f12842ee1146792d5b8311/evkbimxrt1050/demo_apps/sai_peripheral/playbackSineWave.c#L216-L224" target="_self"&gt;PlaybackSine()&lt;/A&gt; function: Isn't MQS a simple HW module to convert SAI output to the MQS's PWM pin(s)? If so, why would we need additional audio format conversion when RT1050's SAI+codec demo doesn't need that conversion?&lt;/LI&gt;&lt;LI&gt;Is WAVToCode pre-processing a must-have? The situation is we need real-time tone generation with arbitrary frequency. It's just impractical to pre-record all possible frequencies of sine wave and find storage for the converted C arrays.&lt;/LI&gt;&lt;LI&gt;Are there known limitations of what MQS can or cannot do v.s. SAI+codec?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 20:46:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Playing-sine-wave-via-MQS-on-RT1050/m-p/1561424#M22701</guid>
      <dc:creator>alfredatai</dc:creator>
      <dc:date>2022-11-29T20:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Playing sine wave via MQS on RT1050</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Playing-sine-wave-via-MQS-on-RT1050/m-p/1561900#M22718</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/208894"&gt;@alfredatai&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thanks for your reply. &lt;BR /&gt;Regarding to your purpose, I'd like to suggest you ask for some advice via the below email address, as I'm not very clear about the limitations of MQS.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Voice@nxp.com&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;Jeremy&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 09:14:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Playing-sine-wave-via-MQS-on-RT1050/m-p/1561900#M22718</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2022-11-30T09:14:44Z</dc:date>
    </item>
  </channel>
</rss>

