Sinewaves using interrupts.


Results 1 to 26 of 26

Threaded View

  1. #23
    Join Date
    Mar 2009
    Posts
    653


    Did you find this post helpful? Yes | No

    Default Re: Sinewaves using interrupts.

    Ok, old thread of mine & hands up...short of dabbling with scalerobotics cool sinewave generation program I never actually progressed much further - but I keep coming back to this DDS issue....I reckon I can do so much cool stuff once I've mastered the art of generating sine waves under my control

    Now I'm never the brightest button in the sewing box, but I do have dogged determination (rough translation "a pest")...I'll often kludge my way through without necessary understanding every part of the process - So with this in mind, I hope to start soon again on this pesky DDS melarky.

    So some questions.....

    all this talk of a 24 bit accumulator - how do I achieve that on a 12LF1822 with PICbasic?!!!

    Would up to 4.8Khz be do-able in HPWM for the DAC aspect?

    Can I really expect to get granular with setting the frequency without recourse to floating point? (I want to be able to set the frequency via another PIC by fiielding an Eusart interrupt to the DDS PIC)

    There are those on the net, that have done this with other processors. The Atmel AT90S2313 seems to figure large due to the lower number of clock cycles it takes per instruction. This chap has posted a great webpage...


    http://www.myplace.nu/avr/minidds/index.htm

    Including code....

    http://www.myplace.nu/avr/minidds/minidds.asm

    for those that have a clue (rules me out), how much of an ordeal would it be to move that over to a PIC?

    Is this a project where I really ought to start learning assembly?
    Last edited by HankMcSpank; - 15th July 2011 at 23:03.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts