- 18 Oct, 2018 1 commit
-
-
Federico Vaga authored
We have always been useing an uncalibrated DAC value whenever we were using 'test data' or the input configuration was in open-drain. We recently discovered that this is not true, and actually the voltage range on the input channel is 1V. For this reason the DAC value still needs to be fixed with eeprom calibration data. Signed-off-by: Federico Vaga <federico.vaga@cern.ch> Acked-by: Dimitris Lampridis <Dimitris.Lampridis@cern.ch>
-
- 27 Jun, 2018 2 commits
-
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
- 26 Feb, 2018 6 commits
-
-
Federico Vaga authored
This prevent to get confused about the value of this register. Whenever the user starts a new acquisition we reset the last triggered register. This guarantee that the value shown comes from the last acquisition Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
The driver's users are supposed to use the generic `adc-lib` library from OHWR. Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
Enabling the software trigger by default it does not cause any harm and it simplifies the code and the interface. The user is free to disable it using the `source` attribute from sysfs. Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
The gateware version 5 does not have anymore the selection between internal or external trigger. Instead, there is the possibility to have more that one trigger source enabled. Internals: - the acquisition metadata now provides a whiterabbit timestamp and information about the trigger source that started the acquisition Registers change: - one register to enable/disable all trigger sources - one register to set the polarity on all the triggers - threshould/hysteresis for each channel - delay on the following triggers: ext, channel[1; 4] Sysfs changes - add attributes to configure threshould - trigger "enable" will restore the last known enable status
-
Federico Vaga authored
In gateware version 5 the logic of the FMC reset bit change from active low to active high: "reset: {1: reset, 0 unreset}". Here with this patch we do a complete reset cycle of the FMC mezzanine. The sleeping time between reset and unreset is huge but we do not care much, this is just the initialization. Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
- 14 Feb, 2018 4 commits
-
-
Federico Vaga authored
In gateware v5 all the necessary compensations are done in FPGA 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
The test data from the FPGA does not exercise the FPGA design. With the test data directly from the ADC chip we can use the full ADC design. I decided to evaluate the test mode just before the start of the acquisition in order to be able to change the test pattern at any time. Chaning the test pattern is useful to identify the different acquisitions and being able to validate the acquisition content. Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
- 13 Feb, 2018 4 commits
-
-
Federico Vaga authored
The debugfs is the right place for such output Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
It is good practice to reset thing 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>
-
- 09 Feb, 2018 1 commit
-
-
Federico Vaga authored
The user-space may not have a definition for `BIT()`, so when an application includes this header it will get error about missing `BIT` definition. This is a fix for this possible of issue. Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
- 29 Jan, 2018 3 commits
-
-
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
Never used and in v5 it will disappear from the gateware as well Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
- 21 Dec, 2017 1 commit
-
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
- 29 Nov, 2017 1 commit
-
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
- 28 Nov, 2017 3 commits
-
-
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
The patch was wrong. Actyally the message says the opposite! This reverts commit 101891a7.
-
- 07 Apr, 2017 3 commits
-
-
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>
-
- 22 Feb, 2017 1 commit
-
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
- 21 Feb, 2017 2 commits
-
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
keep the typo as define to avoid compatibility issues. Remove it later when we are sure Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
- 07 Dec, 2016 3 commits
-
-
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>
-
- 21 Sep, 2016 2 commits
-
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
- 17 Jul, 2016 1 commit
-
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@gmail.com>
-
- 13 Jul, 2016 2 commits
-
-
Federico Vaga authored
this will fix g++ warnings and will not affect the gcc and C logic even if `(void *)` is perfectly legal in C Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
This is a C library that it can be used by C++ programs as well. So the library header will be included in some C++ program and g++ will rise warnings like this: ------ fmcadc-lib.h: In function 'int fmcadc_mshot_buf_max_size_get(fmcadc_dev*, int*)': fmcadc-lib.h:202:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return fmcadc_get_param(dev, "cset0/max-sample-mshot", NULL, value); ------ This patch will suppress all these warning because what we are doing is correct. The message says that it's deprecated; probably at some point in time it will not be supported at all and we will see errors instead of warnings. This patch is suppressing only the warnings. For the time being we prefer this solution instead of casting strings to `(char *)` because it's ugly and unclear from C point of view. Signed-off-by: Federico Vaga <federico.vaga@cern.ch> Signed-off-by: Juan David Gonzalez Cobas <dcobas@cern.ch>
-