Difference between revisions of "Struck SIS3302 ADC"
Line 127: | Line 127: | ||
==Compiling s3302Libtest on rocdaq2== | ==Compiling s3302Libtest on rocdaq2== | ||
+ | the command below compiled the program s3302LibTest | ||
+ | [daq@rocdaq2 test]$ make -f Makefile s3302LibTest | ||
+ | cc -Wall -O2 -I. -I.. -I/home/daq/CODA/3.08/linuxvme/include -L. -L.. -L/home/daq/CODA/3.08/linuxvme/lib -DJLAB -g -o s3302LibTest s3302LibTest.c -lrt -ljvme -lsis3302 | ||
==error message when outof memory when external trigger set== | ==error message when outof memory when external trigger set== |
Latest revision as of 21:54, 7 November 2018
SIS 3302 ADC digitizer, 100 MHz 12 bit
Manual
DIP settings
Address | |
Jumper | location |
JP120A | top |
JP120B | top |
JP120C | top |
JP120D | top |
JP102 | top |
JP101 settings, left pin is toward front face of module
Address | |
pins | location |
left | top |
right | top |
Jumper JP80 settings
Address | |
Pin | Setting |
1 | ON |
2 | OFF |
3 | OFF |
4 | OFF |
5 | ON |
6 | OFF |
7 | OFF |
8 | ON |
- JTAG jumpers (JP102) are closed on bottom for VME configuration
Address switches
SW1=0 SW2=8 A32 address = 0x08000000
SW1=5 SW2=0 A32 address = 0x50000000
ROC Lib
ROC source directory
Original files on DAQ1 are located in
/home/daq/CODA/ROClibs/sis3300
A copy was put in
/home/daq/CODA/ROClibs/SIS3302
Functions
sisInit
s3320Init (0x50000000, 0, 0)
error message
-> s3320Init(0x50000000,0,0) s3320Init: ERROR in sysBusToLocalAdrs(0x09,0x50000000,&laddr) value = -1 = 0xffffffff
tried with bits swapped
-> s3320Init(0x05000000,0,0) s3320Init: ERROR in sysBusToLocalAdrs(0x09,0x5000000,&laddr) value = -1 = 0xffffffff
Running
Program direcotry on rocdaq2
in subdirectory on rocdaq2
/home/daq/CODA/linuxvme/sis3302/test
Compiling s3302Libtest on rocdaq2
the command below compiled the program s3302LibTest
[daq@rocdaq2 test]$ make -f Makefile s3302LibTest cc -Wall -O2 -I. -I.. -I/home/daq/CODA/3.08/linuxvme/include -L. -L.. -L/home/daq/CODA/3.08/linuxvme/lib -DJLAB -g -o s3302LibTest s3302LibTest.c -lrt -ljvme -lsis3302
error message when outof memory when external trigger set
I ran ./s3302IntTest
gave it an external trigger and it filled the module memory giving the error
./s3302LibTest
JLAB s3302 Lib Tests ---------------------------- s3302SetDebugMask: Debug Mask set to 0x2 s3302SetDebugMask: Debug Mask set to 0x0 ---------- Checking SIS3302 address space ---------- ---------- ALL GOOD ---------- Opening CRCSR Window jlabgefOpenCRCSR: ERROR gefVmeCreateMasterWindow returned: Out Of Memory (2)