Generic VME module registers
It is required to comply with this specification for module to be automatically configured in VMEDAQ.
Module shall support:
- CR/CSR (AM 0x37, custom spec, not VME64)
- A16 D32 R/W (AM 0x29) - register I/O
- A24 D32 R/W (AM 0x39) - memory I/O
- A32 BLT read chained (AM 0x0B)
Register I/O
AM 0x29, A16 D32
Reg 0, @0x0000, Control, R/W
- [0] run enable
- [1] reset
- [2] CBLT readout enable
- [19:3] reserved
- [20] middle in chain
- [21] last in chain
- [22] first in chain
- [31:23] reserved
Reg. 9, @0x0024, Status, read-only
- [0] TTC clock locked
- [1] module Ok
- [2] subdevice 0 Ok
- [3] subdevice 1 Ok
- [4] subdevice 2 Ok
- [5] subdevice 3 Ok
- [6] subdevice 4 Ok
- [7] subdevice 5 Ok
- [31:8] reserved
Optional Registers
Reg. 3, @0x000C, JTAG, JTAG Serial Port
- [0] TDI/TDO
- [1] TMS
- [31:2] reserved
Reg. 8, @0x0020, JTAG32, JTAG Serial Port Block Mode
- [31:0] TDI/TDO
CR/CSR
AM 0x37, A24 D16
Reg. 0 @0x0000, CR0, read-only
- [15:8] vendor ID (constant 0xA6)
- [7:0] reserved (0)
Reg. 1 @0x0002, CR1, read-only
[15:8] module ID
- [7:0] module serial number
Reg. 3 @0x0004, CSR, R/W
- [15:11] base address bits
- [10:0] reserved
Base address bits sets the following address bits:
- A16 - bits A15:A11
- A24 - bits A23:A19
- A32 - bits A31:A27
It is recommended to use geographical address GA4:GA0 as base address bits.