summaryrefslogtreecommitdiffstats
path: root/docs/desy20.txt
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-08-30 15:55:03 +0200
committerSuren A. Chilingaryan <csa@suren.me>2018-08-30 15:55:03 +0200
commit8dd39dc3a74012174a4869c969cc90ba9cf6ca4e (patch)
tree69f537a8235ee16282134fc04c7acda28b208774 /docs/desy20.txt
parent010b46493f7393f2d67276b292e355e2b992f43f (diff)
downloadipecamera-8dd39dc3a74012174a4869c969cc90ba9cf6ca4e.tar.gz
ipecamera-8dd39dc3a74012174a4869c969cc90ba9cf6ca4e.tar.bz2
ipecamera-8dd39dc3a74012174a4869c969cc90ba9cf6ca4e.tar.xz
ipecamera-8dd39dc3a74012174a4869c969cc90ba9cf6ca4e.zip
Add a bit info about Desy camera and a pair of debugging scripts
Diffstat (limited to 'docs/desy20.txt')
-rw-r--r--docs/desy20.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/docs/desy20.txt b/docs/desy20.txt
new file mode 100644
index 0000000..2b4dafa
--- /dev/null
+++ b/docs/desy20.txt
@@ -0,0 +1,23 @@
+Camera: 3840x5120
+======
+ - 5120 = 16 channels of 320 pixels each.
+ * In fact two lines returned simultaneously (in each payload). So, there is 8 channels per line and 640 payloads are transferred to complete 2 lines.
+ * Actually, 641. There is always 1 extra payload which is just skipped in libufodecode (starting with C0)
+ * Actually, 1 (last) payload is missing for the first two rows. So, total number of payloads is (3840/2) * (640 + 1) - 32
+
+
+Triggering
+==========
+ There is 2 bits of control register responsible for external triggering
+ bit 16 (from 1): enables external triggering (should be 1)
+ bit 15 (from 1): sets edge type of triggering (should be 1)
+
+ - Start external triggering
+ pci -w control 0x8000C201
+ - Stop external triggering
+ pci -w control 0x80008201
+
+
+Repeating line bug
+==================
+ - Happening with manual triggering, but do not happen in external trigger mode