SIS Documentation
SIS3820
VME Scaler
Page 3 of 79
1 Table of contents
1 Table of contents ................................................................................................................. 3
2 Introduction ......................................................................................................................... 7
3 Technical
Properties/Features.............................................................................................. 8
4 Functionality........................................................................................................................ 9
4.1
Block Diagram ........................................................................................................................................ 9
4.2
Modes of operation ............................................................................................................................... 10
4.2.1
Scaler/Counter............................................................................................................................... 10
4.2.2
Latching Scaler.............................................................................................................................. 10
4.2.3
Preset Scaler.................................................................................................................................. 10
4.2.4
Multi channel Scaler (MCS) ........................................................................................................ 10
4.2.5
Histogramming Scaler(3820 01 02 and higher design) ................................................................. 10
5 Getting
started.................................................................................................................... 11
5.1
Installation............................................................................................................................................. 11
5.2
LINUX example/test code..................................................................................................................... 11
5.2.1
User LED test................................................................................................................................ 11
5.2.2
Readout of Module Id. and firmware revision register ................................................................. 11
5.2.3
Standard Counter........................................................................................................................... 12
5.2.4
Multiscaler (MCS) ........................................................................................................................ 13
5.2.5
Preset Scaler.................................................................................................................................. 14
5.3
Win2K/XP Visual C++ example/test code............................................................................................ 15
6 VME
Addressing ............................................................................................................... 16
6.1
Address map.......................................................................................................................................... 17
7 Register
description ........................................................................................................... 18
7.1
Control/Status Register(0x, write/read)................................................................................................. 19
7.1.1
Counter test mode ......................................................................................................................... 20
7.1.2
25 MHz test pulse mode................................................................................................................ 20
7.1.3
Reference pulser channel 1 ........................................................................................................... 20
7.2
Module Id. and Firmware Revision Register (0x4, read) ...................................................................... 21
7.2.1
Major revision numbers ................................................................................................................ 21
7.3
Interrupt configuration register (0x8).................................................................................................... 22
7.3.1
IRQ mode...................................................................................................................................... 22
7.4
Interrupt Control/Status register (0xC).................................................................................................. 23
7.4.1
Interrupt sources............................................................................................................................ 24
7.5
(0x10)Acquisition preset register .......................................................................................................... 26
7.6
Acquisition count register (0x14).......................................................................................................... 26
7.7
LNE Prescaler factor register (0x18)..................................................................................................... 27
7.8
Preset value register counter group 1 (0x20)......................................................................................... 28
7.9
Preset value register counter group 2 (0x24)......................................................................................... 28
7.10
Preset Enable and Hit register (0x28).................................................................................................... 28
7.11
CBLT/Broadcast setup register ............................................................................................................. 29
7.12
SDRAM page register (0x34) ............................................................................................................... 30
7.13
FIFO word counter/memory address pointer register (0x38)................................................................ 31
7.14
FIFO word counter threshold (0x3C).................................................................................................... 32
7.15
HISCAL_START_PRESET register (0x40)......................................................................................... 33
7.16
HISCAL_START_COUNTER register (0x44) .................................................................................... 33
7.17
HISCAL_LAST_ACQ_COUNTER register (0x48)............................................................................. 33
7.18
(Acquisition) Operation Mode register (0x100).................................................................................... 34
7.18.1
Modes of Operation modes (Bits 30:28) ....................................................................................... 34
7.18.2
Input modes (Bits 18:16)............................................................................................................... 35
7.18.3
Output mode (Bits 21:20).............................................................................................................. 36
7.18.4
HISCAL_START_SOURCE_BIT (Bit 14) .................................................................................. 36
7.18.5
SDRAM mode (Bit 12) and SDRAM add mode (Bit 13) ............................................................. 37
7.18.6
Arm/enable source ........................................................................................................................ 37
7.18.7
LNE source ................................................................................................................................... 38
7.18.8
Data format ................................................................................................................................... 39