time floats ... Local Time Clock Version 6 (LTC6)

Local Time Clock version 6 (LTC6)

Custom VME board for SuperK/K2K/WALTA

Overview of this document


Functions


Block diagram (also as postscript file available):

LTC4 block 
diagram


LTC6
front panel
front panel

Inputs and Outputs

NameI/Olevelwherefunction
GPS ANTinputantenna BNCAntenna signal for Motorola GPS receiver module
1PPS OUToutputsTTL LEMO1-pulse-per-second timing signal from Motorola GPS receiver; 2 identical 50-Ohm TTL driver outputs
SERIAL PORTI/ORS232 DB-9serial port for monitoring or external control of the Motorola GPS receiver
FIFO FULLoutputTTL LEMOmonitoring output for Event FIFO buffer
TEST OUToutputTTL LEMOfan-out of the TRG0 signal (50-Ohm TTL driver)
TRG0,...,TRG3inputs NIM/TTLLEMO 4 independent trigger inputs; signal level (TTL/NIM) can be set via jumpers behind each LEMO connector
TRG4inputTTL header (internal)optional 5th trigger input; normally the header (JP8) is jumpered to provide a 5th trigger via the Event Number bus (from the SuperK trigger system)
Ext. CLKinputNIMLEMO External 50 MHz clock input, can be selected via a jumper (JP10) instead of the internal quartz oscillator
CLOCK OUToutputsNIM/TTL LEMOtwo 50 MHz reference clock outputs; one TTL 50-Ohm driver and one NIM driver
LTC rolloveroutputTTL P2 VME backplaneLocal time clock rollover bit for 'raw-mode' GPS time referencing, selectable by jumpers (JP6) to go to the VME-SG board via the VME P2 connector (pin C14 = LTC rollover bit).
Event NumberinputsRS485 17x2-pin header16-bit translated event number from the ENT module.
pin 1/2
pin 3/4
:
pin 31/32
pin 33/34
= +/- event number output bit 0
= +/- event number output bit 1
:
= +/- event number output bit 15
= +/- "Global" trigger
G.TRG OUToutputTTL LEMOGlobal Trigger fan-out (monitor) from Event Number bus
Extended Event Bitsoutputs RS4855x2-pin headerextended event number bits 16-19. Pin configuration:
1/2 = +/- event number bit 16
3/4 = +/- event number bit 17
5/6 = +/- event number bit 18
7/8 = +/- event number bit 19
9/10 = [not used]
AUX OUToutputTTL LEMOoptional signal output, programmable via VME bus
VFI FlagsinputsRS485 7x2-pin header7 flag signals from the VFI module. Pin configuration:
1/2 = +/- Remote Veto Flag (VME programmed veto)
3/4 = +/- Veto Status Flag (combined Trigger Veto)
5/6 = +/- Auxiliary Flag (optional, fixed by jumper JP3 setting)
7/8 = +/- Hut 4 TDC Busy (=BIP4)
9/10 = +/- Hut 3 TDC Busy (=BIP3)
11/12 = +/- Hut 2 TDC Busy (=BIP2)
13/14 = +/- Hut 1 TDC Busy (=BIP1)
Spare FlagsoutputsRS485 5x2-pin header5 optional flag signals, programmable via VME bus

LEDs and their functions

1PPSflashes at each 1-Pulse-Per-Second (1PPS) pulse from the Motorola GPS receiver
TX/RX (RCV/UA)4 LEDs for monitoring the serial data from the GPS receiver (RCV) and UART/front panel (UA) port; two each: TX=transmit and RX=receive
Fifo Fullgoes on if the 64x4K Event FIFO is full, indicating either VME readout too slow or not active.
New Datagoes on if new data is buffered in the Event FIFO and not read out yet.
TRG0,...,TRG3each flashes with their corresponding input signal TRG0,...,TRG3
Ext. CLKgoes on if External Clock input is fed with a clock signal
G.TRGflashes at each Global Trigger pulse trensferred through the Event Number Data bus
Extended Event Bits4 LEDs showing the status of the Event Number extension bits 16...19
AUXshows status of AUXiliary output

Jumpers and DIP Switches

See the board layout sketch (postscript) for the positions of these:

JP4,...,JP7: Select trigger signal level of the TRG0,...,TRG3 inputs either NIM or TTL:
  • TTL: pins 1+2 shorted, pins 3 and 4 open,
  • NIM: pins 1+3 shorted, pins 2+4 shorted.
  • JP8: Select TRG4 source:
  • TRG4 = Global Trigger (via LTC6-EVT add-on module): pins 1+2 shorted [Default], or:
  • Direct input (TTL) for TRG4: GND = pin 3 or 4, signal = pin 2.

  • JP9: Select the LTC rollover bit for GPS 'raw-mode' time stamping by placing a jumper to one of the following labeled positions:
      24 = 0.671 seconds (between rising edges)
      25 = 1.342 seconds
      26 = 2.684 seconds
      27 = 5.369 seconds
      28 = 10.74 seconds
      29 = 21.47 seconds [DEFAULT]
      30 = 42.95 seconds
      31 = 85.90 seconds
    JP10: Select 50 MHz clock source:
      position 1/2 = internal quartz clock oscillator [DEFAULT]
      position 2/3 = external clock via Lemo input
    JP11,JP12: Phase select for internal 50 MHz clock signals TCLOCK and WCLOCK - experimental options for minimizing transition errors between LTC and FIFO [Default is "CLK3" (1 + 3 shorted)]:
    phase=CLK0:
    phase=CLK1:
    phase=CLK2:
    phase=CLK3:
    S1: DIP switch to select TRG 0,...,4 input enable/disable (ON=enable, 1=TRG0, 2=TRG2, etc.) [DEFAULT: all enabled]
    S2: Dip switch to select the upper 8 bits of the base VME address (A24-mode: A16 ... A23 = 0x000000 ... 0xFF0000)


    VME Addressing

    VME Device Type:A24D16 (slave)
    Address Modifier Codes:0x09, 0x0d, 0x39, or 0x3d
    Base Address:A16-A23 (0x000000,...,0xFF0000) via DIP switch
    Address Space Allocation:
    Base + 0x00:Status Register read/write
    Base + 0x02:Serial Port Buffers (only lower 8 bits used) read/write
    Base + 0x04:Increment Fifo Read Pointer write
    Base + 0x06:Event Trigger Fifo Section A (bits 0-15) read
    Base + 0x08:Event Trigger Fifo Section B (bits 16-31) read
    Base + 0x0A:Event Trigger Fifo Section C (bits 32-47) read
    Base + 0x0C:Event Trigger Fifo Section D (bits 48-63) read
    Status Register: Write:
    D0...D4: UART HD-6402 (data sheet) configuration setup bits:
    D0=CLS1, D1=CLS2, D2=PI, D3=EPE, D4=SBS
    [Default: 0x07 (D0=1,D1=1,D2=1,D3=0,D4=0) = 8-bit, no parity, 1 stop bit]
    D5,D6:UART baudrate configuration:
    0=19200, 1=9600 (default), 2=4600, 3=2400 baud
    D7:Reset UART and serial fifos
    D8:Reset Event Trigger Fifo
    D9:Reset Local Time Counter to 0x0000
    D10...D13:set spare digital output bits 0-3
    D14:Set Auxiliary output (AUX OUT)
    D15:Reset Event Number rollover count to 0
    Read:
    D0...D4: UART HD-6402 setup bits readout:
    D0=CLS1, D1=CLS2, D2=PI, D3=EPE, D4=SBS
    D5:serial RX Fifo "NOT EMPTY" flag [0=empty]
    D6:serial RX Fifo "NOT FULL" flag [0=full]
    D7:event trigger Fifo's combined "FULL" flag [1=full]
    D8...D15:event trigger Fifo "NOT EMPTY" flags byte 0-7
    Event Trigger Fifo:four 16-bit sections: A=D0-D15, B=D16-D31, C=D32-D47, D=D48-D63:
    D0...D31:Local Time Clock Word (32 bits)
    D32...D51:Event Number Count (20 bits)
    D52...D55:TDC Busy-In-Progress (BIP) flags 0-3
    D56...D58:Veto/Aux flags 0-2
    D59...D63:Trigger flags (mask) 0-4


    VME programming procedure


    Schematics and PCB Layout


    PLD Source Codes

    The source codes for the PLDs are written for TANGO PLD which then compiles it to standard JEDEC format for a PAL/EPROM programmer.

    Revison Notes


    Appendix: IC data sheets


    HGB, last updated 10/23/00.