| >>>>> "Thomas" == Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx> writes:
    Thomas> On Monday, 5. September 2011 20:02:53 Uwe Bonnes wrote:
    >> All H type behave the same until now. So no need to duplicate the
    >> expected results, as this may introduce errors. The test should loop
    >> through the same challanges with the different types.
    Thomas> Done
    >> Also my code uses the 120 MHz clock, as soon as possible (458 Baud).
    >> This results in a more exact baudrate. This is different form the old
    >> behaviour, that didn't know about the 120 MHz clock in the H parts.
    Thomas> Yeah, it's funny how the 57600 baudrate jumps to 120 Mhz and all
    Thomas> the others use the 48 Mhz clock again.
Sorry
> > Divisor = value & 0x3ff
> > Encoded Fractional bits = (index & 0x100)?4:0 + value >>12
> > clk = (index & 0x100)? 120 MHz: 48 MHz
should have read
Divisor = value & 0x3fff
Encoded Fractional bits = (index & 0x100)?4:0 + value >>14
clk = (index & 0x200)? 120 MHz: 48 MHz
Patches will follow.
Bye
-- 
Uwe Bonnes                bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   
 |