Micro-Research Finland Oy Timing System with Two-Way Signaling cRIO-EVR Jukka Pietarinen EPICS Meeting Padova October 2008
Micro-Research Finland Oy Timing System Topology Event Generator (EVG) 12-Way Fan-Out RF input (50 MHz to 1.6 GHz) Rep. Rate Trigger Input e.g. 50 Hz TTL Hardware Triggers/Clocks 12-Way Fan-Out Event Receiver (EVR) Hardware Outputs Event Receiver (EVR) Multimode fiber
Micro-Research Finland Oy Two-Way Signaling Event Generator (EVG) Fan-Out/Concentrator RF input (50 MHz to 1.6 GHz) Rep. Rate Trigger Input e.g. 50 Hz TTL Hardware Triggers/Clocks Fan-Out/Concentrator Event Receiver (EVR) Hardware Outputs Event Receiver (EVR) Multimode fibers VME or CompactPCI/PXI Hardware inputs
Micro-Research Finland Oy cPCI-FCT-8
Micro-Research Finland Oy Fan-Out one in – eight out fan-out up to 2.5 Gbps SFPs with multimode transceivers (single mode for extended reach) CDR to regenerate gigabit rate signal
Micro-Research Finland Oy Concentrator Eight in – one out Uplink TX port is using local reference Forwarding of –Events –Distributed bus bit –Data buffers
Micro-Research Finland Oy Broadcasting Event Generator (EVG) Fan-Out/Concentrator RF input (50 MHz to 1.6 GHz) Rep. Rate Trigger Input e.g. 50 Hz TTL Hardware Triggers/Clocks Fan-Out/Concentrator Event Receiver (EVR) Hardware Outputs Event Receiver (EVR) Multimode fibers Hardware inputs Loopback Uplink port
Micro-Research Finland Oy Concentrator – Event Forwarding Each RX channel has 2k event FIFO –Hold events in case of simultaneous events from several ports Priority encoding –First come – first served –Round-robin One event from one port → next port
Micro-Research Finland Oy Concentrator – Distributed bus bits Eight bit wide distributed bus Each distributed bus bits from all ports is logically OR’ed together
Micro-Research Finland Oy Concentrator – Data Buffer Forwarding Each RX channel has 2 kbyte data FIFO Forwarding starts immediately after start of reception –Latency is minimized Priority: Round-Robin
Micro-Research Finland Oy Concentrator – Latency Performance Events162 ± 4 ns Distributed bus bits107 ± 4 ns Data buffers181 ± 8 ns /4 MHz Event Clock Latency of Concentrator only (without fibre delays)
Micro-Research Finland Oy CompactRIO Event Receiver Timing receiver form factors: –VME64x 6U –PMC (PCI mezzanine) –CompactPCI/PXI 3U Need for timing for embedded systems MRF is working together with LANL and NI to design an Event Receiver for cRIO
Micro-Research Finland Oy CompactRIO EVR prototype SFP transceiver for event link FPGA with high speed serial link 10/100 ethernet for control and configuration 64 Mbytes DDR2 memory 2 × 16 Mbits serial flash EEPROM 9 to 35 VDC power supply input Power dissipation Achieve required timing resolution Achieve required data transfer capability Control and configuration methods –cRIO –ethernet Challenges (when used with NI HW/LabView)
Micro-Research Finland Oy cRIO-EVR Stand-alone 9 to 35 VDC power supply input DSUB15 with max. 11 I/O pins, ethernet control Lattice Mico32 (lm32) system –32-bit soft-core CPU –10/100 ethernet MAC –DDR2 memory controller Work started to port RTEMS to lm32 target –Tool set compiled from sources Binutils 2.19 (Lattice toolkit + some patches) Gcc (Lattice toolkit + some patches) Newlib-1.16 (with RTEMS patches) Existing lm32 port for ucLinux –Is and (most probably) will not get into kernel mainstream