Giter VIP home page Giter VIP logo

Comments (3)

F5OEO avatar F5OEO commented on July 16, 2024

Here is a more detailed explanation :

By default, modulation output is done with PWM engine. It outputs a 32bit pattern which is mastered by the clock. The pattern is 101010...in order to simulate a cycle. It means that it outputs a frequency/2 (compared to clock). That's explain the /2.

There is an other mode (prefered) which use directly the clock output :add -c 1 to the command line and use GPIO 4 (Pin 7 of header). Signal is not divided by 2 and is cleaner than with PWM.

Hope that it answers your question. Feel free to ask other details if needed.

from rpitx.

jlc66 avatar jlc66 commented on July 16, 2024

I understand the factor of 2, which is actually a multiplication by 2. I am saying that instead of dividing by 3 when using the 3rd harmonic, the program appears to divide by 3^2 = 9. For example, when 720 MHz is requested, rather than generating a 240 MHz square wave, it generates an 80 MHz square wave. This is due to dividing by the HarmonicNumber twice.

from rpitx.

F5OEO avatar F5OEO commented on July 16, 2024

Yes there is something weird..Have to check the code , something suspect in calculating. Thx for pointing this bug.

from rpitx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.