Start a new topic

FMC 104 clock setup


Another question about the example code -- this time in Refs/Software/FMC10x/Libs/FMC10x/Impls/fmc10x_clocktree.cpp lines 31 to 34:
[code]
31        WriteSystemRegister(bar+0x3C, 0x0C); //enable clk_cd 810mV
32        WriteSystemRegister(bar+0x3D, 0x0C); //enable clk_ef 810mV
33        WriteSystemRegister(bar+0x3E, 0x0C); //enable clk_gh 810mV
34        WriteSystemRegister(bar+0x3F, 0x0C); //enable clk_ab 810mV
[/code]
The comment says 810 mV, but according to the AD9510 data sheet the value written actually selects 610 mV.  To get 810 mV a value of 0x08 should be written.
Which is wrong, the comment or the code or the data sheet?


Datasheet should be correct. We will correct the comments.


Thanks,
Kyu
Doh!
There's an error in my original message.  A value of 0x0C selects [b]660 mV[/b] (not the 610 in my original message nor the 810 in the reference design example code).

Login or Signup to post a comment