We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Took a look at the datasheet today.
hs2-dds-host/src/dac5687.c
Lines 63 to 64 in 56d4b1b
Wrong bitshifts for interp and pll_lock, should be 2 and 1 respectively.
Lines 85 to 86 in 56d4b1b
Bitshift should be by 4, not 8.
Lines 90 to 91 in 56d4b1b
Should be 0x700 instead of 0x500, because 0x500=0b101.
0x700
0x500
0x500=0b101
Line 94 in 56d4b1b
Should be 0xF00 instead of 0x800, because 0x800=0b1000 0000 0000.
0xF00
0x800
0x800=0b1000 0000 0000
Line 95 in 56d4b1b
Should be 0xF, not 0x8, and 0x3 instead of 0x2, and phstr_del needs to be bitshifted left by 1.
0xF
0x8
0x3
0x2
The text was updated successfully, but these errors were encountered:
sailedeer
No branches or pull requests
Took a look at the datasheet today.
hs2-dds-host/src/dac5687.c
Lines 63 to 64 in 56d4b1b
Wrong bitshifts for interp and pll_lock, should be 2 and 1 respectively.
hs2-dds-host/src/dac5687.c
Lines 85 to 86 in 56d4b1b
Bitshift should be by 4, not 8.
hs2-dds-host/src/dac5687.c
Lines 90 to 91 in 56d4b1b
Should be
0x700
instead of0x500
, because0x500=0b101
.hs2-dds-host/src/dac5687.c
Line 94 in 56d4b1b
Should be
0xF00
instead of0x800
, because0x800=0b1000 0000 0000
.hs2-dds-host/src/dac5687.c
Line 95 in 56d4b1b
Should be
0xF
, not0x8
, and0x3
instead of0x2
, and phstr_del needs to be bitshifted left by 1.The text was updated successfully, but these errors were encountered: