Multiplying with 11 using PIC


Closed Thread
Results 1 to 28 of 28

Hybrid View

  1. #1
    Join Date
    May 2013
    Location
    australia
    Posts
    2,714


    Did you find this post helpful? Yes | No

    Default Re: Multiplying with 11 using PIC

    the closest i get to 11 meg in mcc for a pwm module is 8meg next step down is 5.33 meg next up 16 meg
    Name:  Untitled.jpg
Views: 2523
Size:  80.0 KB
    Name:  Untitled.png
Views: 2603
Size:  24.7 KB
    Last edited by richard; - 17th October 2021 at 12:33.
    Warning I'm not a teacher

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,626


    Did you find this post helpful? Yes | No

    Default Re: Multiplying with 11 using PIC

    Off list I tried to get Mike to put some sort of number on the needed frequency resolution and allowable jitter. I got neither. I tried to explain how the NCO works and he determined it wasn't up to the task. I did some experiments with the 18F57Q43 running at 64MHz and I'll post some images showing the output of the NCO.

    Name:  SDS2104X Plus_PNG_4.png
Views: 2276
Size:  75.5 KB

    Name:  SDS2104X Plus_PNG_3.png
Views: 2344
Size:  75.0 KB

    Here we can see how the NCO generates an average frequency of 7.619MHz (as evident by the frequency counter in the top right corner). But when looking closely we can see that MOST of the time (as shown by the "warm" trace) the actual frequency is 7.936MHz and occationally (as shown by the "cold" trace) it's 6.309MHz. The NCO "dithers" between these two frequencies so that, over time, the average frequency is 7.619MHz.

    I tried to squeeze 11MHz out of it but it won't do it, runt pulses and all sorts of weird looking stuff - some of which most likely comes from the setup and probing.

    I still think something like an AD9850 with proper filtering on the output, and then turning that signal back to digital might work.

Similar Threads

  1. pass pic basic pro pic from pic 16f877a to pic 16f887
    By joseluisatmega8 in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 12th February 2020, 17:17
  2. High Speed Serial Comm PC - PIC and PIC - PIC
    By manumenzella in forum mel PIC BASIC Pro
    Replies: 23
    Last Post: - 16th January 2007, 22:55
  3. Multiplying large numbers
    By jhonea1 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 14th April 2006, 18:41

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