Giter Club home page Giter Club logo

Comments (1)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
This is expected behavior, and is a limitation of the FTDI chips themselves. 

As with many pieces of hardware that accept a programmable clock rate, the FTDI 
chips accept not an absolute clock rate, but rather a divisor that is used to 
derive the desired clock rate from the primary clock. These divisors are 
finitely precise; in the case of the FTDI chips, the divisor is a 16 bit value. 
 So you can't set the clock rate so something as specific as 15.000001MHZ. 

If you take a look at the freq2div code in the support.c file, you'll see the 
algorithm used to derive a divisor from a given clock frequency, as specified 
in the FTDI data sheet (not complicated). Basically, any value above 15MHz will 
result in a divisor of 0, which gives you a clock rate of 30MHz. Any value 
between 10 and 15MHz gives you a 15MHz clock rate and a value between 6 and 
10MHz gives you a 10MHz clock rate. Values from 1-6MHz can be specified 
exactly, in 1MHz steps.

Original comment by [email protected] on 25 Jul 2012 at 7:29

  • Changed state: Invalid

from libmpsse.

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.