Struck SIS3302 ADC

From New IAC Wiki
Revision as of 21:54, 7 November 2018 by Foretony (talk | contribs) (→‎Running)
Jump to navigation Jump to search

SIS 3302 ADC digitizer, 100 MHz 12 bit

Manual

File:SIS3302ADC.pdf

DIP settings

Sis3302 JP120.png

Address
Jumper location
JP120A top
JP120B top
JP120C top
JP120D top
JP102 top

Sis3302 JP101.png

JP101 settings, left pin is toward front face of module

Address
pins location
left top
right top


Sis3302 JP80.png

Jumper JP80 settings

Address
Pin Setting
1 ON
2 OFF
3 OFF
4 OFF
5 ON
6 OFF
7 OFF
8 ON

Sis3302 JP102.png

JTAG jumpers (JP102) are closed on bottom for VME configuration


Sis3302 SW.png

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

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)


VME_modules