Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC ADC 100M 14b 4cha - Gateware
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
8
Issues
8
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
FMC ADC 100M 14b 4cha - Gateware
Commits
6c5b1142
Commit
6c5b1142
authored
Aug 05, 2019
by
Dimitris Lampridis
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[doc] fix formula for calculating the corrected DAC value. Fixes
#1
parent
9f8fbde7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
fmcadc100m14b4cha_gateware_manual.in
doc/manual/fmcadc100m14b4cha_gateware_manual.in
+1
-1
No files found.
doc/manual/fmcadc100m14b4cha_gateware_manual.in
View file @
6c5b1142
...
@@ -956,7 +956,7 @@ As for the ADC correction values, there is one pair (offset, gain) of DAC correc
...
@@ -956,7 +956,7 @@ As for the ADC correction values, there is one pair (offset, gain) of DAC correc
Below is the formula to calculate the corrected DAC value (applying gain and offset correction):
Below is the formula to calculate the corrected DAC value (applying gain and offset correction):
@example
@example
@group
@group
c
_
val = ((val + offset) * gain/0x8000)
-
0x8000
c
_
val = ((val + offset) * gain/0x8000)
+
0x8000
where:
where:
c
_
val = corrected value to write to DAC (16-bit unsigned)
c
_
val = corrected value to write to DAC (16-bit unsigned)
val = value from user (16-bit signed)
val = value from user (16-bit signed)
...
...
Dimitris Lampridis
@dlampridis
mentioned in issue
#1 (closed)
·
Aug 05, 2019
mentioned in issue
#1 (closed)
mentioned in issue #1
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment