Commit b289e8ed authored by Federico Vaga's avatar Federico Vaga

doc: move calibration info all together

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent d810e31a
......@@ -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
========
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment