AnsweredAssumed Answered

How do I create a sine wave using MK64 MCU?

Question asked by Michael Martin on Oct 8, 2015
Latest reply on Oct 12, 2015 by ZhangJennie

Hi All,

First, I am a complete NEWB when it comes to MCU's and MCU programming.  I have a decent background in programming (experience with C, pascal, java, and python, but absolutely none on MCU.


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:


1hz to 1mhz frequency

1mV RMS amplitude


My lab manager said that obviously we don't expect to need the whole range of frequency, but possibly any value in between.


I've done about 8-10 hours of google searching on this at this point, and I'm coming up fairly short on solutions.  It may be that I'm looking in the wrong places.


Does anyone have any sample code of generating a sine wave using the MK64 product?  Or perhaps any site they'd recommend referencing to help do this?


Also what kind of compiler will I need to write this code?


Would REALLY appreciate your help!