- 23 Oct, 2018 6 commits
-
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
-
Federico Vaga authored
The API change is quite small, but the specific code that handles it for the FMC-ADC-100M is big. FMC-ADC-100M - it computes zero-offset for all channels and for all possibile ranges - split manual and automatic mode for better readability and maintenance Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
Get the total number of samples directly from the applied configuration instead of asking the user to provide this value. It is true that this can be redundant, but it is more reliable Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
- 22 Oct, 2018 14 commits
-
-
Federico Vaga authored
When the ZERO flag is set, the function will remove any zero-offset applied. This is used to reset the auto-clear status Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
With this flag we can detect if any of the configuration parameter failed. But we will not know which. It does not change much from the current situation but, it if useful when applying many configuration in a raw. Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
-
Federico Vaga authored
Also during manual configuration offset-zero must be zero. Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
It adds support for the offset auto-clear Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
It adds a new board operation for auto-clear any offset. If a board does not support this feature in its hardware or driver, then it can use the software implementation. The software implementation does an acquisition on disconnected channel and compute the signal average; we assume that this average is a constant noise, then we apply this value to the DAC to clear it on the ADC input. Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
- 19 Oct, 2018 6 commits
-
-
Federico Vaga authored
I am going to introduce the offset auto-clear feature. The purpre is to compensate any external (constant) offset on a given channel. It may happen because of temperature or other external factors. Within this commit I present the API and the documentation of it. Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
- Better sphinx+breathe usage - Improve the actual content Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
- 18 Oct, 2018 3 commits
-
-
Federico Vaga authored
-
Federico Vaga authored
If there are known issues with an acquisition, the library tries to compensate them by manipulating, somehow, an acquired buffer by using the function adc_buffer_fixup(). To keep track of these manipulation I introduced a private pointer that can be used by the library to specify how the buffer has been manipulated. Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
-
- 17 Oct, 2018 11 commits
-
-
Federico Vaga authored
-
Federico Vaga authored
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
-
Federico Vaga authored
-
Federico Vaga authored
-
Federico Vaga authored
Buffer layout is board specific. For this reason it is better to ask the board to take out the right value. Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
The number of samples should not take into account any interleaving becasue this is already counted by the board-specifc code. A sample size already count any interleaving Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
The buffer needs to be released while the device that created it is still open. So this patch revert the order which was wrong. Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
``devname`` string allocation needs one extra byte to store the terminator character '\0'. Not doing this works most of the time, but all strings need be terminated properly. Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-