How to display the real frequency for an AD9850


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: How to display the real frequency for an AD9850

    Hi,
    Well, the basic answer is to take the tuning value and divide it by 2^32/125M or, in this case 17179869/(2^32/125000000) or, in short, 17179869/34.359738 = 500000.
    Now, how to do this in PBP depends on if you're able to use LONG variables or not and to what accuracy you need the result. I don't know if you've seen my Wiki-article regarding the AD9850 or not but it describes two possible ways to calculate the tuning value when you know the frequency, it should be pretty straight forward to adapt any of the two methods to do the reverse.

    /Henrik.

  2. #2
    Join Date
    Apr 2011
    Posts
    53


    Did you find this post helpful? Yes | No

    Default Re: How to display the real frequency for an AD9850

    If you are using keyboard input for frequency selection just port the keypresses directly to the display at the same time you use it in the calculation for register coding.

  3. #3
    Join Date
    Jun 2008
    Location
    Varese , Italy
    Posts
    326


    Did you find this post helpful? Yes | No

    Default Re: How to display the real frequency for an AD9850

    Kellyseye,

    if I enter the output frequency then I have to compute the Tuning word.
    If I enter the tuning word I have to compute the frequency to be displayed .
    Tell me if I am wrong .
    Thanks,
    Ambrogio

  4. #4
    Join Date
    Jun 2008
    Location
    Varese , Italy
    Posts
    326


    Did you find this post helpful? Yes | No

    Default Re: How to display the real frequency for an AD9850

    Thanks Henrik for having understood my problem.
    I have seen all your implementations: they are great.
    Congratulation.
    I can use the LONG variables in PBP.
    Thanks
    Regards,
    Ambrogio
    IW2FVO

Similar Threads

  1. Real Ice and PBP
    By MikeBZH in forum General
    Replies: 21
    Last Post: - 25th November 2019, 22:21
  2. Display real clock and date by using pic16877a on lcd
    By eepro in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 11th August 2008, 07:06
  3. Me again, but need REAL help now
    By gringobomba14 in forum General
    Replies: 33
    Last Post: - 19th June 2008, 20:51
  4. Real time the right way?
    By Michael in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 1st March 2007, 18:38
  5. Real Time Clock
    By savnik in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 8th December 2006, 02:02

Members who have read this thread : 1

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