- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
I am trying to generate a sine wave using nco compiler, I am using simulink for the megacore library, when I use it, in matlab promt it say that unable to locate megacore nco 2.2.2 well anyways Then i have three inputs clkken phase_inc reset output i have sine cosine data ready So I just have to plug in the 32 bit array to the phase in and attach a scope to see the output of it right? Am i missing something here ? I just see a straight in my scope Kindly Help me Regards DspBoardLink Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi DSPBoard,
If I remember NCO correctly... you will have to enable clken, pass a constant value to the phi input (the phi value can be found in the megawizard, after you set all the dithering...etc.) and lastly reset the core. If you do all three, then you should be able to see sine and cosine waves coming out of the core. Good luck!
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page