- 23 Apr, 2014 4 commits
-
-
Michel Arruat authored
Trigger and channel signals are not going through the same path on the board and trigger is faster. Trying to sample the trigger itself by connecting it to a channel, one can see a delay of 20ns between trigger and its sampling. The compensation is done by delaying the trigger by 2 sample tick (2*10ns)
-
Michel Arruat authored
The new firmware (3.0) increase decimation register width from 16 to 32 bits
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
-
- 16 Apr, 2014 1 commit
-
-
Federico Vaga authored
This patch is temporary at it should be reverted in the future when a better alternative is ready Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
- 15 Apr, 2014 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>
-
- 07 Apr, 2014 10 commits
-
-
Michel Arruat authored
Checking trigger parameter at each single change may lead to detect error on intermediate configuration which is not the final one. The check is done when the user starts an acquisition
-
Michel Arruat authored
Application using the ADC driver may run with real-time scheduling and high priority. The default shared queue is running with non real-time scheduling policy. ADC crates its own workqueue, that one can adjust in terms of scheduling policy to fulfill application's real-time constraints.
-
Michel Arruat authored
The IRQ handler defers to a workqueue the execution of the DMA. The workqueue can be delayed (depending of workqueue scheduling policy) and it may happen that meanwhile a trigger start/stop sequence occurs to serve a trigger configuration change. Data blocks exist but are inconsistent with the current acquisition. To avoid this concurrency issue CSET_BUSY flag is raised in the IRQ Handler.
-
Michel Arruat authored
This is work of Michel Arruat, recommitted by Alessandro. These svec-specific files match what the previous commit did for spec code. We are thus using the new register table, sdb support, and carrier-provided VIC support for interrupts. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Michel Arruat authored
This is a major change, work of Michel Arruat, then re-committed as a single commit by Alessandro. The original development happened mainly on the SVEC carrier, and support for SPEC (PCI) was added back at a later time. I (Alessandro) chose to pick individual changes one at a time, for better documentation and later "git blame", up to this point. Now, this is a big commit that completely changes the driver, mainly in the following places: - split carrier-specific from generic code, like the TDC driver is now (this is mainly the dma-specific and irq-specific code) - use of SDB to get base addresses (with new fmc-util file) - use the VIC core to manage interrupts, relying on carrier support - change the field-desc table for the better - add carrier-specific init, reset, exit - split irq and adc-specific stuff out of zio-drv.c - DMA data and interrupt is now different: the timestamp is at end-of-data, thus we don't have the "trigger-happened" interrupt any more - use a work queue for interrupt management, instead of a tasklet, this allows sleeping, which is needed by this code base Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Michel Arruat authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 06 Mar, 2014 9 commits
-
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Michel Arruat authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
While the headers are not used yet the next commits will include them. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Although the file is not yet used (it will be used by svec code), it is a common file in several projects, so I pick it now to shrink the diff from the code base currently under test. The file comes from current master of svec-sw, which is unchanged since release 2013-12. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 05 Mar, 2014 2 commits
-
-
Michel Arruat authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Michel Arruat authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 01 Mar, 2014 6 commits
-
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Michel Arruat authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Michel Arruat authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Michel Arruat authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 28 Feb, 2014 3 commits
-
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
By referring to our spec-sw subdirectory, we ensure versions are matched. Also, we'll later need to include "spec.h", for carrier-specific DMA code: we'd better not refer to ../spec-sw by default. Signed-off-by: Alessandro Rubini <rubini@gnudd.com> Acked-by: Michel Arruat <michel.arruat@cern.ch>
-
- 26 Feb, 2014 2 commits
-
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-