SIS3600 Trigger Supervisor
Setting address
Address | |
Pin | Setting |
SW-A32L | 3 |
SW-A32U | 8 |
SW-A24L | 3 |
SW-A24U | 8 |
SW-A16 | 3 |
There was also a of jumpers labeled "EN_A16, "EN_A24" and "EN_A32". The factory default setting was "EN_A32" so I moved the jumper to "EN_16".
I left the base address unchanged. Which means for A16 addressing mode the address will be 0x3800.
loading ROC library
A ROC library is created by compiling "c" code functions which make VxWorks system calls to modules in the VME.
compiling VxWorks Modules
In order to compile VxWorks modules you need the cross compiler ccppc which compiles binaries which will run on PPC chip sets used by the ROC. The cross compiled was distributed as a binary from the CODA group. You also need the header files for the particular version of VxWorks you are using. I created a subdirectory called "ROClibs" in which I store all of these libraries and download them onto the ROC. The "ROCLibs" subdirectory is located under the CODA directory but isn;t associated with a version of CODA since.
Test Communication from ROC console
From the ROC console (minicom window) I tried talking to the SIS3610 using the library function "s3610Init"
-> s3610Init 0x3800 Initialized SIS3610 ID 0 at address 0x91003800 value = 0 = 0x0
The next test was to try and turn the user LED (labeled "U" on the front pannel) on and off.
From the ROC console I typed
-> s3610SetLED value = 0 = 0x0
and I saw the green LED light up
I then typed
-> s3610ClearLED value = 0 = 0x0
and I saw it turn off