forked from M-Labs/artiq
1
0
Fork 0

Si5324: actually write value of N32 into registers.

This commit is contained in:
whitequark 2016-11-02 07:08:44 +00:00
parent bee9774bd5
commit 00100148f1
1 changed files with 3 additions and 0 deletions

View File

@ -45,6 +45,9 @@ def get_i2c_program(sys_clk_freq):
[(0x68 << 1), 43, (N31 >> 16) & 0xff], [(0x68 << 1), 43, (N31 >> 16) & 0xff],
[(0x68 << 1), 44, (N31 >> 8) & 0xff], [(0x68 << 1), 44, (N31 >> 8) & 0xff],
[(0x68 << 1), 45, (N31) & 0xff], [(0x68 << 1), 45, (N31) & 0xff],
[(0x68 << 1), 46, (N32 >> 16) & 0xff],
[(0x68 << 1), 47, (N32 >> 8) & 0xff],
[(0x68 << 1), 48, (N32) & 0xff],
[(0x68 << 1), 137, 0x01], # FASTLOCK=1 [(0x68 << 1), 137, 0x01], # FASTLOCK=1
[(0x68 << 1), 136, 0x40], # ICAL=1 [(0x68 << 1), 136, 0x40], # ICAL=1
] ]