Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC ADC 100M 14b 4cha
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
Commits
b289e8ed
Commit
b289e8ed
authored
Nov 26, 2020
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: move calibration info all together
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
d810e31a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
197 additions
and
200 deletions
+197
-200
index.rst
doc/gateware/index.rst
+197
-200
No files found.
doc/gateware/index.rst
View file @
b289e8ed
...
...
@@ -643,6 +643,203 @@ contains mandatory IPMI records specified in the FMC Standard VITA
| ``0x100`` | calib | binary | Calibration values |
+-------------+-----------+-----------+---------------------+
The following table describes the ADC calibration arrangement.
+-----------------+-----------------+-----------------+-----------------+
| Byte offset | Input range | Description | Type |
+=================+=================+=================+=================+
| 0x00 | 10V | Offset | 16-bit signed |
| | | correction | |
| | | channel 1 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x02 | | Offset | 16-bit signed |
| | | correction | |
| | | channel 2 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x04 | | Offset | 16-bit signed |
| | | correction | |
| | | channel 3 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x06 | | Offset | 16-bit signed |
| | | correction | |
| | | channel 4 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x08 | | Gain correction | 16-bit unsigned |
| | | channel 1 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x0A | | Gain correction | 16-bit unsigned |
| | | channel 2 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x0C | | Gain correction | 16-bit unsigned |
| | | channel 3 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x0E | | Gain correction | 16-bit unsigned |
| | | channel 4 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x10 | | Temperature | 16-bit unsigned |
| | | | \* 0.01° |
+-----------------+-----------------+-----------------+-----------------+
| 0x12 | 1V | Offset | 16-bit signed |
| | | correction | |
| | | channel 1 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x14 | | Offset | 16-bit signed |
| | | correction | |
| | | channel 2 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x16 | | Offset | 16-bit signed |
| | | correction | |
| | | channel 3 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x18 | | Offset | 16-bit signed |
| | | correction | |
| | | channel 4 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x1A | | Gain correction | 16-bit unsigned |
| | | channel 1 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x1C | | Gain correction | 16-bit unsigned |
| | | channel 2 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x1E | | Gain correction | 16-bit unsigned |
| | | channel 3 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x20 | | Gain correction | 16-bit unsigned |
| | | channel 4 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x22 | | Temperature | 16-bit unsigned |
| | | | \* 0.01° |
+-----------------+-----------------+-----------------+-----------------+
| 0x24 | 100mV | Offset | 16-bit signed |
| | | correction | |
| | | channel 1 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x26 | | Offset | 16-bit signed |
| | | correction | |
| | | channel 2 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x28 | | Offset | 16-bit signed |
| | | correction | |
| | | channel 3 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x2A | | Offset | 16-bit signed |
| | | correction | |
| | | channel 4 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x2C | | Gain correction | 16-bit unsigned |
| | | channel 1 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x2E | | Gain correction | 16-bit unsigned |
| | | channel 2 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x30 | | Gain correction | 16-bit unsigned |
| | | channel 3 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x32 | | Gain correction | 16-bit unsigned |
| | | channel 4 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x34 | | Temperature | 16-bit unsigned |
| | | | \* 0.01° |
+-----------------+-----------------+-----------------+-----------------+
The following table describes the DAC calibration arrangement.
+-----------------+-----------------+-----------------+-----------------+
| Byte offset | Input range | Description | Type |
+=================+=================+=================+=================+
| 0x36 | 10V | Offset | 16-bit signed |
| | | correction | |
| | | channel 1 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x38 | | Offset | 16-bit signed |
| | | correction | |
| | | channel 2 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x3A | | Offset | 16-bit signed |
| | | correction | |
| | | channel 3 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x3C | | Offset | 16-bit signed |
| | | correction | |
| | | channel 4 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x3E | | Gain correction | 16-bit unsigned |
| | | channel 1 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x40 | | Gain correction | 16-bit unsigned |
| | | channel 2 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x42 | | Gain correction | 16-bit unsigned |
| | | channel 3 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x44 | | Gain correction | 16-bit unsigned |
| | | channel 4 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x46 | | Temperature | 16-bit unsigned |
| | | | \* 0.01° |
+-----------------+-----------------+-----------------+-----------------+
| 0x48 | 1V | Offset | 16-bit signed |
| | | correction | |
| | | channel 1 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x4A | | Offset | 16-bit signed |
| | | correction | |
| | | channel 2 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x4C | | Offset | 16-bit signed |
| | | correction | |
| | | channel 3 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x4E | | Offset | 16-bit signed |
| | | correction | |
| | | channel 4 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x50 | | Gain correction | 16-bit unsigned |
| | | channel 1 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x52 | | Gain correction | 16-bit unsigned |
| | | channel 2 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x54 | | Gain correction | 16-bit unsigned |
| | | channel 3 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x56 | | Gain correction | 16-bit unsigned |
| | | channel 4 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x58 | | Temperature | 16-bit unsigned |
| | | | \* 0.01° |
+-----------------+-----------------+-----------------+-----------------+
| 0x5A | 100mV | Offset | 16-bit signed |
| | | correction | |
| | | channel 1 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x5C | | Offset | 16-bit signed |
| | | correction | |
| | | channel 2 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x5E | | Offset | 16-bit signed |
| | | correction | |
| | | channel 3 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x60 | | Offset | 16-bit signed |
| | | correction | |
| | | channel 4 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x62 | | Gain correction | 16-bit unsigned |
| | | channel 1 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x64 | | Gain correction | 16-bit unsigned |
| | | channel 2 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x66 | | Gain correction | 16-bit unsigned |
| | | channel 3 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x68 | | Gain correction | 16-bit unsigned |
| | | channel 4 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x6A | | Temperature | 16-bit unsigned |
| | | | \* 0.01° |
+-----------------+-----------------+-----------------+-----------------+
Calibration Data Usage
~~~~~~~~~~~~~~~~~~~~~~
...
...
@@ -917,206 +1114,6 @@ shots organisation in the DDR memory.
(eg. if the actual maximum number of samples allowed is 8000, the
register will read 7998).
Calibration Data Storage in EEPROM
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The following table describes the ADC calibration arrangement.
+-----------------+-----------------+-----------------+-----------------+
| Byte offset | Input range | Description | Type |
+=================+=================+=================+=================+
| 0x00 | 10V | Offset | 16-bit signed |
| | | correction | |
| | | channel 1 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x02 | | Offset | 16-bit signed |
| | | correction | |
| | | channel 2 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x04 | | Offset | 16-bit signed |
| | | correction | |
| | | channel 3 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x06 | | Offset | 16-bit signed |
| | | correction | |
| | | channel 4 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x08 | | Gain correction | 16-bit unsigned |
| | | channel 1 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x0A | | Gain correction | 16-bit unsigned |
| | | channel 2 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x0C | | Gain correction | 16-bit unsigned |
| | | channel 3 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x0E | | Gain correction | 16-bit unsigned |
| | | channel 4 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x10 | | Temperature | 16-bit unsigned |
| | | | \* 0.01° |
+-----------------+-----------------+-----------------+-----------------+
| 0x12 | 1V | Offset | 16-bit signed |
| | | correction | |
| | | channel 1 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x14 | | Offset | 16-bit signed |
| | | correction | |
| | | channel 2 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x16 | | Offset | 16-bit signed |
| | | correction | |
| | | channel 3 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x18 | | Offset | 16-bit signed |
| | | correction | |
| | | channel 4 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x1A | | Gain correction | 16-bit unsigned |
| | | channel 1 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x1C | | Gain correction | 16-bit unsigned |
| | | channel 2 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x1E | | Gain correction | 16-bit unsigned |
| | | channel 3 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x20 | | Gain correction | 16-bit unsigned |
| | | channel 4 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x22 | | Temperature | 16-bit unsigned |
| | | | \* 0.01° |
+-----------------+-----------------+-----------------+-----------------+
| 0x24 | 100mV | Offset | 16-bit signed |
| | | correction | |
| | | channel 1 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x26 | | Offset | 16-bit signed |
| | | correction | |
| | | channel 2 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x28 | | Offset | 16-bit signed |
| | | correction | |
| | | channel 3 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x2A | | Offset | 16-bit signed |
| | | correction | |
| | | channel 4 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x2C | | Gain correction | 16-bit unsigned |
| | | channel 1 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x2E | | Gain correction | 16-bit unsigned |
| | | channel 2 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x30 | | Gain correction | 16-bit unsigned |
| | | channel 3 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x32 | | Gain correction | 16-bit unsigned |
| | | channel 4 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x34 | | Temperature | 16-bit unsigned |
| | | | \* 0.01° |
+-----------------+-----------------+-----------------+-----------------+
The following table describes the DAC calibration arrangement.
+-----------------+-----------------+-----------------+-----------------+
| Byte offset | Input range | Description | Type |
+=================+=================+=================+=================+
| 0x36 | 10V | Offset | 16-bit signed |
| | | correction | |
| | | channel 1 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x38 | | Offset | 16-bit signed |
| | | correction | |
| | | channel 2 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x3A | | Offset | 16-bit signed |
| | | correction | |
| | | channel 3 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x3C | | Offset | 16-bit signed |
| | | correction | |
| | | channel 4 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x3E | | Gain correction | 16-bit unsigned |
| | | channel 1 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x40 | | Gain correction | 16-bit unsigned |
| | | channel 2 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x42 | | Gain correction | 16-bit unsigned |
| | | channel 3 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x44 | | Gain correction | 16-bit unsigned |
| | | channel 4 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x46 | | Temperature | 16-bit unsigned |
| | | | \* 0.01° |
+-----------------+-----------------+-----------------+-----------------+
| 0x48 | 1V | Offset | 16-bit signed |
| | | correction | |
| | | channel 1 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x4A | | Offset | 16-bit signed |
| | | correction | |
| | | channel 2 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x4C | | Offset | 16-bit signed |
| | | correction | |
| | | channel 3 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x4E | | Offset | 16-bit signed |
| | | correction | |
| | | channel 4 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x50 | | Gain correction | 16-bit unsigned |
| | | channel 1 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x52 | | Gain correction | 16-bit unsigned |
| | | channel 2 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x54 | | Gain correction | 16-bit unsigned |
| | | channel 3 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x56 | | Gain correction | 16-bit unsigned |
| | | channel 4 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x58 | | Temperature | 16-bit unsigned |
| | | | \* 0.01° |
+-----------------+-----------------+-----------------+-----------------+
| 0x5A | 100mV | Offset | 16-bit signed |
| | | correction | |
| | | channel 1 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x5C | | Offset | 16-bit signed |
| | | correction | |
| | | channel 2 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x5E | | Offset | 16-bit signed |
| | | correction | |
| | | channel 3 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x60 | | Offset | 16-bit signed |
| | | correction | |
| | | channel 4 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x62 | | Gain correction | 16-bit unsigned |
| | | channel 1 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x64 | | Gain correction | 16-bit unsigned |
| | | channel 2 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x66 | | Gain correction | 16-bit unsigned |
| | | channel 3 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x68 | | Gain correction | 16-bit unsigned |
| | | channel 4 | |
+-----------------+-----------------+-----------------+-----------------+
| 0x6A | | Temperature | 16-bit unsigned |
| | | | \* 0.01° |
+-----------------+-----------------+-----------------+-----------------+
Glossary
========
...
...
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