Topic: FMC 104 clock setup  (Read 7021 times)

norume July 10, 2013, 08:09 PM

  • Member
  • *
  • Posts: 13

Another question about the example code -- this time in Refs/Software/FMC10x/Libs/FMC10x/Impls/fmc10x_clocktree.cpp lines 31 to 34:
Code: [Select]
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
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?

Kyu July 12, 2013, 11:04 AM (#1)

  • Member
  • *
  • Posts: 154

Datasheet should be correct. We will correct the comments.


Thanks,
Kyu

norume July 12, 2013, 05:46 PM (#2)

  • Member
  • *
  • Posts: 13
Doh!
There's an error in my original message.  A value of 0x0C selects 660 mV (not the 610 in my original message nor the 810 in the reference design example code).