<?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>Kinetis MicrocontrollersのトピックRe: How do I create a sine wave using MK64 MCU?</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-create-a-sine-wave-using-MK64-MCU/m-p/446359#M26366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you are welcome!&lt;BR /&gt;Have a great day,&lt;BR /&gt;Zhang Jun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Oct 2015 02:30:58 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2015-10-13T02:30:58Z</dc:date>
    <item>
      <title>How do I create a sine wave using MK64 MCU?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-create-a-sine-wave-using-MK64-MCU/m-p/446356#M26363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;First, I am a complete NEWB when it comes to MCU's and MCU programming.&amp;nbsp; I have a decent background in programming (experience with C, pascal, java, and python, but absolutely none on MCU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That being said, I've begun working in a lab environment, and my first project is to get our MK64FX512VLQ12 Kinetis K64 MCU to generate a sine wave with the following requirements:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1hz to 1mhz frequency&lt;/P&gt;&lt;P&gt;1mV RMS amplitude&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My lab manager said that obviously we don't expect to need the whole range of frequency, but possibly any value in between.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've done about 8-10 hours of google searching on this at this point, and I'm coming up fairly short on solutions.&amp;nbsp; It may be that I'm looking in the wrong places.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any sample code of generating a sine wave using the MK64 product?&amp;nbsp; Or perhaps any site they'd recommend referencing to help do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also what kind of compiler will I need to write this code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would REALLY appreciate your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 22:09:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-create-a-sine-wave-using-MK64-MCU/m-p/446356#M26363</guid>
      <dc:creator>michaelmartin</dc:creator>
      <dc:date>2015-10-08T22:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a sine wave using MK64 MCU?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-create-a-sine-wave-using-MK64-MCU/m-p/446357#M26364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;Please refer this article&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-328241"&gt;An example project for FIR function implement on KV31 with SDK and CMSIS&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it includes using CMSIS DSP function to generate sine wave. the method is the same for K64F.&lt;/P&gt;&lt;P&gt;can it help you?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Zhang Jun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 08:46:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-create-a-sine-wave-using-MK64-MCU/m-p/446357#M26364</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2015-10-09T08:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a sine wave using MK64 MCU?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-create-a-sine-wave-using-MK64-MCU/m-p/446358#M26365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zhang,&lt;/P&gt;&lt;P&gt;Thank you for your reply!&amp;nbsp; I've had a look and I think that will help.&amp;nbsp; As I'm very unfamiliar right now with the different variables, calls, etc in the code, it doesn't make 100% sense to me yet.&amp;nbsp; But, I'll review it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The creation of the sine curve looks fairly simple.&amp;nbsp; I guess the q15_t is a specific function for freescale processors that truncates the value or something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also need to do some reading/referencing on what pins I need to call for the MK64 to output this sine wave.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, yes, I'll review this, thanks so much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 09:25:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-create-a-sine-wave-using-MK64-MCU/m-p/446358#M26365</guid>
      <dc:creator>michaelmartin</dc:creator>
      <dc:date>2015-10-12T09:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a sine wave using MK64 MCU?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-create-a-sine-wave-using-MK64-MCU/m-p/446359#M26366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you are welcome!&lt;BR /&gt;Have a great day,&lt;BR /&gt;Zhang Jun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 02:30:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-create-a-sine-wave-using-MK64-MCU/m-p/446359#M26366</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2015-10-13T02:30:58Z</dc:date>
    </item>
  </channel>
</rss>

