Home

pdf version - Institut de Physique Nucleaire de Lyon

image

Contents

1. M34 3 mas A mn 4 ni 25 M38 000000000000 000 oo RIB A ue a agp E Su on 2 P T TIL T29 M36 sin SE 00 S a O ele 39 00000 i E oza sei T27 mad M i PX3 M23 ae ee GEES a ae R i S S ast S MA PS ke gJ 0000 ai oo T fee D gomom Sg We M31 T13 M T8 PXS CH 5 H JE pm ms 4 i Mag M46 EZ oO T35 Figure 5 Jumpers The user should not have to keep busy with jumpers s PLX PCI bridge mode 2 PLX normal mode closed PLX test mode open By default set to closed e PLX EPROM S3 Serial EPROM protected mode closed non protected mode open By default set to closed e EPROMs programming PLX EPROM Programmation mode FPGA flash EPROM programmation mode S4 Closed Open S5 Open Closed S6 Open Closed S7 Open Closed S8 Open Closed Table 5 Jumper settings 5 8 BUTTONS 2 pushbuttons S1 and S10 S1 Pushing this button asks for a FPGA reset The FPGA returns to a cold start status The co
2. NC GND 5 Volts Fur Ji7 J20 x J32 T lee J15 330 g J3 a 5 1 C9 E C10 S 22 Les EC Jis een R38 J31 TE nar dai cie j J25 be k M2 N 7 gt M7 R2 Ji 68 Yer Kg JE 333 135 JAT i Doj J45 337 J7 leur ReRSR7R5 SC Cih 0 R14 R24 J39 7 3 R26 R25 yay var R19 aus m ie J8 J48 R18 Ri J46 M10 R17 d Ril M4 we Z J38 R32 R29 HS d R31R30 AE J44 J42 5 J14 gt Ti eu o P a ELECTRONIQUE l o S gt t Mi J16 Fi Jii J12 J13 A A A Figure 17 TPO Top view Page 38 July 2003
3. Device name Minor number Device name Minor number tscdrv00 0 tsci2c01 33 tscdrv01 1 tsci2c02 34 tscusr00 16 tsci2c03 35 tscusr01 17 tsci2c04 36 tscusr02 18 tsci2c05 37 tscusr03 19 tsci2c06 38 tscusr04 20 tsci2c07 39 tscusr05 21 tsci2c08 40 tsci2c00 32 tsci2c09 41 Page 29 July 2003 CMS Trigger Sequencer Card User manual version 4 0 Verify these devices are present in dev 7 6 USER LEVEL APPLICATIONS e C classes in the CMS DAQ software Refer to Daq distribution LxTsc9080 Access to the registers by read and write methods to base 0 2 and 3 Byte short and long accesses are implemented TscDevice A collection of methods similar to TscDescription e Graphical application TscDialog a graphical user interface developped with qt to control the main parts of the TSC In Daq Cms Like Gui gt TscDialog In the first thumb index open the device Inthe second Set e Minimum Number of Clocks to 3 e Trigger count to 0 free run e Internal trigger frequency to 40 s Trigger control to 8 Internal source The Trigger accepted LED on the front panel should blink In TscDialog Set APV latency Run PIlDialog and request hard reset init PLL The APV frame should now appear In TscDialog Set Trigger control to 40 and set Reset latency The APV frame should now be stable In TscDialog Set Trigger control to 56 and set Calibration latency Run Apv25Dialog a
4. CMS Trigger Sequencer Card User manual version 4 0 7 3 SOFTWARE INSTALLATION Driver and all related software are disponible under CVS Contact mirabito ipnl in2p3 fr 7 4 DRIVER The TSC is delivered with a Linux driver Minimum version These files must exist in Daq Cms Like DeviceDriverTsc Driver e tscdrv c driver source code e tcdrv h header for driver code e Makefile makefile for tscdrv o target In Daq_Cms_Like DeviceDriverTsc_Driver Make the module gt make tscdrv o Install tscdrv o module root privilege gt insmod tscdrv o Verify the module is now present in the module list gt Ismod Major number is 147 Steps in the driver e System initialization e Scan the PCI bus until the TSC Vendor and Device ID are found s Put addresses interrupt line in tscomc9080 structure e Device openning e Remap PCIBARO and PCIBAR2 in Local and Local of tscpmc9080 structure e Application calls e All useful calls are ioctl specifying the keyword 7 5 DEVICES 3 kinds of device must exist to access driver e tscdrv Minor 0 and 1 Full control of registers e tscusr Minor 16 to 32 Used to control throttle and reset trigger filter Only control of trigger register e tsci2c 10 devices 0 to 9 to control I2C channels from J1 and J2 In Daq Cms Like DeviceDriverTsc Driver prepare devices root privilege gt make devices The following devices are now installed
5. channel PCIBAR2 5CH External I2C data to send External DC data to send PCIBAR2 60H External DC data received PCIBAR2 64H External I2C status PCIBAR2 68H FED soft reset PCIBAR2 6CH Hybrid Reset Hybrid Reset PCIBAR2 70H PCIBAR2 74H Trigger stamp FIFO status Clear Trigger stamp FIFO PCIBAR2 78H Trigger stamp FIFO content PCIBAR2 7CH Firmware version Table 11 Summary of the register address mapping All register offsets are in local space 0 and referenced to PCIBAR2 Page 24 July 2003 CMS Trigger Sequencer Card User manual version 4 0 7 2 1 REGISTERS PCIBAR2 0H Reset latency R W Bit Description Read Write Value after Reset 15 0 Reset latency value 1 65535 Yes Yes 0 31 16 Reserved Yes Yes 0 PCIBAR2 4H Minimum number of clocks R W Bit Description Read Write Value after Reset 15 0 Minimum number of clocks value 3 65535 Yes Yes 0 31 16 Reserved Yes Yes 0 PCIBAR2 8H Maximum trigger count R W Bit Description Read Write Value after Reset 15 0 Maximum trigger counter value 0 65535 Yes Yes 0 31 16 Reserved Yes Yes 0 PCIBAR2 CH Trigger register control R W Bit Description Read Write Value after Reset 0 Interrupt 1 Enable 0 Disable Yes Yes 0 1 Inhibit 1 Enable 0 Disable Yes Yes 0 3 2 00 No trigger Yes Yes 00
6. Bit27 24 Target abort Table 10 Local bridge configuration registers Page 23 July 2003 CMS Trigger Sequencer Card User manual 7 2 I O MAPPING version 4 0 Address Read function Write function PCIBAR2 Reset latency Reset latency 1 65535 PCIBAR2 4H Minimum number of clocks Min number of clocks 3 65535 PCIBAR2 8H Trigger maximum count Trigger maximum count 1 65535 PCIBAR2 CH Trigger register control Trigger register control PCIBAR2 10H Internal trigger frequency Internal trigger frequency PCIBAR2 14H FED trigger latency FED trigger latency PCIBAR2 18H APV latency APV latency PCIBAR2 1CH PCIBAR2 20H PCIBAR2 24H PCIBAR2 28H Trigger counter current value APV soft reset PCIBAR2 2CH Reset trigger filter PCIBAR2 30H Reset encoder PLL PCIBAR2 34H Soft trigger PCIBAR2 38H Calibration latency Calibration latency PCIBAR2 3CH RAZ interrupt PCIBAR2 40H Local I2C DLL1 gate Local I2C DLL1 gate PCIBAR2 44H Local I2C status PCIBAR2 48H Local I2C controller init PCIBAR2 4CH Local I2C DLL2 FED pulser Local I2C DLL2 FED pulser PCIBAR2 50H Gate delay calibration request PCIBAR2 54H External I2C mode reset External DC mode reset PCIBAR2 58H External I2C address channel External I2C address
7. CT Eu Sr H AN SXENHIDNOD Ta T 2 E v 5 E 2 E July 2003 TPO Schematics no1 Page 36 Hi Figure 15 Figure 16 Page 37 TPO Schematics no2 CMS Trigger Sequencer Card User manual version 4 0 LI co L D T Z E G G amp s Jag a SEENEN Du 0 ua oF L He S H By T K e Q H G E ZS 2 a 5 Si Z Hi L SS A WM O 2 G H Z N amp i Z nu x gt E Ze Rig Z L 5 i SC D D ay cN J Lu H O gt aoe P D E 5 alel UI g ay Z a E 8 R fe a n E N HIT x a p G a I N KT Ze H S E D a Sz 78 gt oF D Il E gt a D h d lt md p S DE nea tt in E IS g H W BVA i v Gare d I 4 H i d W x a I M d H 4 2 5 iv y m L T q 4 T 3 g d D ba bai in o N D mn in VH N HD D Y D ats NAA fe x K gt g D 4 mn D I 0 GE 2 als IG rls Ed gt D a nh G gt UT Di b gt K MW 8 S p p al s D EE K a 5 a LC a i S bl i Kn 1 ify ifi e fr vi in 5 a a in gt gt x gt gt I T I I T m a a D E July 2003 CMS Trigger Sequencer Card User manual version 4 0
8. Diagram Main parts of this card include a PCI bridge to interface PCI bus a FPGA for trigger logic allowing future modifications biphase modulator for TTCrx 2 DLLs for precise delays and several level adaptors 4 3 CAUTION FOR HEATING Because of ECL use this card produces heat Fanning is mandatory M33 a man Le Leas 4 ma 4 O 0009P e 000 a m25 4 mn 4 29 ged 000000000000 000 SS o a M50 n n tl a SEN M36 sto CH Se III O M28 J 39 CH 000000 a M37 pus LE hud mi T30 G ss gt 1 oo M23 gt a oo OFER D s E S 4 RI z GE s a JE 114 ST 0000 M oo T3 S om 2 e o l M32 M31 T13 M29 U E CH ol kk S 0 G JB a DU oo a o og M5 q md wi wl wi wi D Mag M e Figure 3 Area grey to be fanned Page 6 July 2003 CMS Trigger Sequencer Card 5 HARDWARE 5 1 FRONT PANEL C 906000000 Figure 4 User manual version 4 0 LED trigger accepted FED Cl
9. RTF Calibr lat JCali v Inhibit of con GK FED trigger eset fat ILE Soft Reset ell External Clock C Internal Clock Generator gt Clock Source PEL H Optronic Select Reset Data Transmitter Software Command 1 Figure 6 Fonctionnal block diagram 6 2 TRIGGER PART 3 ways of triggering exist External trigger NIM input Frequency programmable internal pulse generator Software triggered pulse The trigger part is essentialy a trigger filter Many functions are reset by Reset Trigger Filter 6 2 1 TRIGGER SOURCE e Selecting internal or external source By writing bit3 0 and bit2 0 in trigger register control PCIBAR2 0CH external trigger is selected By writing bit3 1 and bit2 0 in trigger register control PCIBAR2 0CH internal trigger is selected Page 14 July 2003 Trigger Output Laser Pulser Encoded Optical Output CMS Trigger Sequencer Card User manual version 4 0 e Selecting internal source frequency The internal trigger frequency is selectable by steps of 20 microseconds The value of the frequency period is written into Internal trigger frequency register PCIBAR2 10H e Selecting soft trigger First select soft trigger source by writing bit3 1 and bit2 1 in trigger register control PCIBAR2 0CH Each time a soft trigger is to be sent write in soft trigger register control PCIBAR2 34H 6 2 2 TRIGGER FILTER 6 2 2 1 INHIBIT The trigger can be inhibited
10. sequence must be enabled by writing bit4 1 in the trigger register control PCIBAR2 0CH Page 18 July 2003 CMS Trigger Sequencer Card User manual version 4 0 6 4 3 RESET SEQUENCE e Reset sequence hardware trigged The reset sequence is a 101 sequence it comes an entire number of clocks after the trigger input of the sequencer This number is called Reset latency The Reset latency can be updated by writing the latency value 1 65535 in the Reset latency register PCIBAR2 0 First the output of this Reset sequence must be enabled by writing bit5 1 in the trigger register control PCIBAR2 0CH e Reset sequence software trigged A reset sequence can be asked at any time by writing in the Soft APV reset register PCIBAR2 28H Typically this is for updating slow control values in the APV 6 4 4 FED CLOCK AND TRIGGER The TSC can drive up to 10 FED clock and trigger 4 via the front panel and 6 via J2 connector e FED trigger latency In order to use correctly the FED without header finding the FED trigger output is to be delayed a certain number FED latency of clocks This is done by writing latency value 1 65535 in FED trigger latency register PCIBAR2 14H Note that a reset sequence 101 same as the one for APV is sent each time a soft APV reset is asked e Fine FED clock delay The FED clock is tunable in fine delay from 0 to 24 by steps of 1 nS The DLL2 M43 line 0 is used for this purpose Set fine FED clock delay by
11. write 0111 Quadruple byte read 1001 1 byte write read RAL mode 4 1 Reset external DC controller has to be released to 0 Yes Yes 0 31 4 Reserved Yes Yes 0 PCIBAR2 58H External DC address channel R W Bit Description Read Write Value after Reset 0 Reserved Yes Yes 0 7 1 I2C address Yes Yes 0000 11 8 I2C channel 0 9 see table 7 0000 31 12 Reserved Yes Yes 0 PCIBAR2 5CH External DC data to send R W Bit Description Read Write Value after Reset 31 0 Data to send Yes Yes 0 Page 27 July 2003 new User manual version 4 0 CMS Trigger Sequencer Card PCIBAR2 60H External I2C data received Read only Bit Description Read Write Value after Reset 31 0 Data received Yes No 0 PCIBAR2 64H External DC status Read only Bit Description Read Write Value after Reset 0 0 busy 1 Ready for new DC transaction Yes No 0 1 0 last operation not succeeded Yes No 0 1 last operation succeeded 3 2 Reserved for internal use Yes No 000 4 Last acknowledgement bit status Yes No 0 31 5 Reserved Yes No 0 PCIBAR2 68H FED Soft reset Write only Bit Description Read Write Value after Reset 31 0 FED Soft reset No Yes 0 PCIBAR2 6CH Hybrid Reset R W Bit Description Read Write Value after Reset 0 RESET HYB Pin 25 of connector J1 Val
12. writing bit 6 5 00 and delay value 0 24 in bit 4 0 both in 2CDLL2 register PCIBAR2 4CH e Fine FED trigger delay The FED trigger is also tunable in fine delay from 0 to 24 by steps of 1 nS The DLL2 M43 line 1 is used for this purpose Set fine FED trigger delay by writing bit 6 5 01 and delay value 0 24 in bit 4 0 both in I2CDLL2 register PCIBAR2 4CH In order to reset the FED trigger counter a reset sequence 101 is sent by writing in FED soft reset register PCIBAR2 68H In the same time an APV Soft Trigger Reset is also sent All delay lines are set to 0 delay by the FPGA at power on 6 5 ENCODER PART This encoder is intended to receive the APV clock and trigger outputs of the sequencer in order to encode them by a biphase modulation This modulated signal supplies the optical transmitter connected to the FEC This part is the same as the TTCvx one also implemented in ECL technology This is why heating problems must be solved by a fan To produce 40 80 and 160 Mhz a PLL M30 is used Sometimes it has to be resetted this is done by writing in Reset encoder PLL register PCIBAR2 30H Page 19 July 2003 CMS Trigger Sequencer Card User manual version 4 0 6 6 PULSER The TSC can drive a pulser This is the trigger input of the sequencer delayed from 0 to 24 by steps of 1 nS The DLL2 M43 line 2 is used for this purpose This is done by writing bit 6 5 10 and delay value 0 24 in bit 4 0 both in 2
13. 01 Select external trigger 10 Select internal trigger 11 Select soft trigger 4 Calibration 1 Enable 0 Disable Yes Yes 0 5 Reset 1 Enable 0 Disable Yes Yes 0 6 Clock 1 External 0 Internal Yes Yes 0 7 Gate shortcut 1 gate pass all 0 normal gate Yes Yes 0 8 Reserved Yes Yes 0 9 Inhibit source 1 FIFO 0 normal Yes Yes 0 10 1 Use APV emulator 0 Don t use 31 11 Reserved Yes Yes 0 PCIBAR2 10H Internal trigger frequency R W Bit Description Read Write Value after Reset 15 0 Number of 10 microseconds periods 1 65535 Yes Yes 1 31 16 Reserved Yes Yes 0 PCIBAR2 14H FED trigger latency R W Bit Description Read Write Value after Reset 15 0 FED trigger latency value 1 65535 Yes Yes 0 31 16 Reserved Yes Yes 0 PCIBAR2 18H APV latency R W Bit Description Read Write Value after Reset 15 0 APV latency value 1 65535 Yes Yes 0 31 16 Reserved Yes Yes 0 PCIBAR2 1CH PCIBAR2 20H PCIBAR2 24H PCIBAR2 28H APV Soft reset Write only Bit Description Read Write Value after Reset 31 0 APV Soft reset No Yes 0 Page 25 July 2003 CMS Trigger Sequencer Card User manual version 4 0 PCIBAR2 28H Tri
14. 2 43 44 45 46 47 TRAPVO H Clock amp Trigger LVDS 48 TRAPVO L Clock amp Trigger LVDS 49 GND 50 GND Table 3 Description of J1 connector Open drain maximum 3 3 volts Page 9 July 2003 CMS Trigger Sequencer Card User manual version 4 0 Pin Signal name Description Technology number 1 GND 2 SDAO I2C data for I2C line 0 tb 3 GND 4 SCLO I2C clock for 12C line 0 sii 5 GND 6 SDA I2C data for I2C line 1 K 7 GND 8 SCL1 I2C clock for 12C line 1 E 9 10 11 12 13 APV trig h High level APV trigger LVDS 14 APV trig I High level APV trigger LVDS 15 APV clock h High level APV clock LVDS 16 APV clock I High level APV clock LVDS 17 18 19 20 21 Fed trig h High level fed trigger LVDS 22 Fed trig I Low level fed trigger LVDS 23 Fed cik h High level fed clock LVDS 24 Fed cik I Low level fed clock LVDS 25 26 27 28 29 Fed trig h High level fed trigger LVDS 30 Fed trig I Low level fed trigger LVDS 31 Fed cik h High level fed clock LVDS 32 Fed cik I Low level fed clock LVDS 33 GND 34 INHIBIT Trigger inhibit input CMOS In 3 3v 35 TRIGGER OUT Trigger accepted output vu 36 RES DLLOUT3 Reserved CMOS output S 37 SCLI2C_FPGA Local I2C clock ber 38 SDAIZC FPGA _ Local 12C data di 39 GND 40 RESNIM Reserved NIM output
15. C Mode register 3 Write data in External I2C Data To Send register 4 Write address and channel in External 12C Address Channel register This last access triggers the write transaction Read sequence 1 Wait for DC ready External I2C Status register bit0 1 2 Read data in External I2C Data Received register This last access triggers the read transaction SCL J 23 0 SDA J 22 SCL J 20 1 SDA J 19 SCL J1 17 2 SDA J 16 SCL J1 14 3 SDA J 13 SCL J1 11 4 SDA J 10 SCL J1 8 5 SDA J 7 SCL J1 5 6 SDA J 4 SCL J1 2 7 SDA Ji 1 SCL J2 8 8 SDA J2 6 SCL J2 4 9 SDA J2 2 Table 8 Distribution of external I2C channels Page 21 July 2003 CMS Trigger Sequencer Card User manual version 4 0 7 SOFTWARE For users who don t want to worry with register accesses and PCI configuration stuff see directly 7 5 7 1 PCI CONFIGURATION AND ADDRESS MAP 7 1 1 MEMORY REQUIREMENTS PCI configuration space header type 0 The card has the following PCI space requirements PCI Configuration Space 64 bytes PCI Memory Space 128 bytes PCI I O Space is not used PCI Interrupts are used No Bus Master behavior All register accesses must be long word 32 bits access even if one bit byte or word is necessary This concerns write and read accesses 7 1 2 PCI CONFIGURATION REGISTERS See the table 9 for the list of registers called during the PCI configuration at the dr
16. CDLL2 register PCIBAR2 4CH 6 7 FIRMWARE The firmware is the FPGA design file It is loaded in the flash EPROM If updates are necessary the content of the flash EPROM can be updated by the JTAG connector J8 In future versions it will be updated through PCI bridge The version number can be read in Firmware version register PCIBAR2 7CH Bit 3 0 means subsubversion number bit 7 4 means subversion number bit 11 8 means version number 6 8 INTERRUPTS An interrupt is sent through the PCI bridge each time an end of trigger counter is reached for this the interrupts must be enabled by writing bit0 1 in Trigger control register PCIBAR2 CH When the interrupt rises it has to be catched as soon as possible Just after it has to be reset by writing in RAZ interrupt register PCIBAR2 3CH Anyway if it is not seen by the interrupt controler it is reset automatically after 1 6 millisecond 6 9 RESETS s PCI reset Reset Button S1 asks for a FPGA reset The FPGA returns to a cold start status The contents of registers are lost e Power on off cycle The PCI bridge loads the configuration parameters from the serial EEPROM M32 It also produces a PCI reset condition resulting in a reload of FPGA 6 10 12C BUSES 2 I2C buses are held by the FPGA 6 10 1 LOCAL DC An DC bus for local needs controlling DLL1 and DLL2 It can be accessed by registers 40H through 4CH 6 10 2 EXTERNAL I2C An DC bus connected to o
17. CMS Trigger Sequencer Card User manual version 4 0 CMS Trigger Sequencer Card User Manual VERSION 4 0 Institut de Physique Nucl aire de Lyon Page 1 July 2003 CMS Trigger Sequencer Card User manual 1 Contents 1 CONTENTS 2 FIGURES 3 TABLES 4 INTRODUCTION 4 1 GENERAL DESCRIPTION 4 2 ARCHITECTURE 4 3 CAUTION FOR HEATING 5 HARDWARE 5 1 FRONT PANEL 5 2 INSIDE CONNECTORS 5 3 PCI 5 4 FPGA 5 5 EPROMs 5 6 DELAY LINES 5 7 JUMPERS amp SWITCHES 5 8 BUTTONS 5 9 LEDS 5 10 SUPPLIES 6 TSC FUNCTIONALITIES 6 1 FONCTIONNAL BLOCK DIAGRAM 6 2 TRIGGER PART 6 2 1 TRIGGER SOURCE 6 2 2 TRIGGER FILTER 6 2 2 1 INHIBIT 6 2 2 2 GATE 6 2 2 3 MINIMUM NUMBER OF CLOCKS BETWEEN TRIGGERS 6 2 2 4 COUNTING 6 2 2 5 TRIGGER STAMP COUNTER AND FIFO 6 2 26 RESET TRIGGER FILTER 6 3 CLOCKS 6 4 SEQUENCER PART 6 4 1 TRIGGER SEQUENCE 6 4 2 CALIBRATION SEQUENCE 6 4 3 RESET SEQUENCE 6 4 4 FED CLOCK AND TRIGGER 6 5 ENCODER PART 6 6 PULSER 6 7 FIRMWARE 6 8 INTERRUPTS 6 9 RESETS 6 10 12C BUSES 6 10 1 LOCAL GC 6 10 2 EXTERNAL DC 7 SOFTWARE 7 1 PCI CONFIGURATION AND ADDRESS MAP 7 1 1 MEMORY REQUIREMENTS 7 1 2 PCI CONFIGURATION REGISTERS 7 1 3 BRIDGE INITIALIZATION 7 2 VO MAPPING 7 2 1 REGISTERS 7 3 SOFTWARE INSTALLATION Page 2 D JJ OO om om P E M version 4 0 July 2003 CMS Trigger Sequencer Card User manual 7 4 DRIVER 7 5 DEVICE 7 6 USER LEVEL ROUTINES 8 GETTING STARTED 8 1 HARDWARE V
18. ERIFICATIONS 8 2 SOFTWARE TESTS 9 CONTACTS amp ORDERING INFORMATION 10 VERSION AND HISTORY 11 APPENDIX 1 TPO USER MANUAL 11 1 INTRODUCTION 11 2 HYBRID COMPATIBLE LINES J11 TO J14 11 3 GENERAL PURPOSE I2C LINES J32 J18 J47 AND J48 11 4 FED CLOCK AND TRIGGER J3 TO J8 11 5 OTHER SIGNALS J15 11 6 SUPPLYING J16 11 7 SCHEMATICS Page 3 29 29 30 31 31 31 31 31 32 32 33 33 35 35 35 36 version 4 0 July 2003 CMS Trigger Sequencer Card User manual 2 FIGURES Figure 1 Photograph of TSC Figure 2 Block Diagram Figure 3 Area grey to be fanned Figure 4 Front panel connectors Figure 5 Jumpers Figure 6 Fonctionnal block diagram Figure 7 Trigger gate timing Figure 8 Trigger gate cabling Figure 9 Trigger gate calibration Figure 10 TPO Functionnal block diagram Figure 11 12C output jumper location Figure 12 I2C output supply Figure 13 I2C Cell functionnal diagram for J32 Figure 14 I2C Jumper default configuration Figure 15 TPO Schematics no1 Figure 16 TPO Schematics no2 Figure 17 TPO Top view 3 TABLES Table 1 Description of J8 local supply connector Table 2 Description of JTAG connector Table 3 Description of J1 connector Table 4 Description of J2 connector Table 5 Jumper settings Table 6 LEDs Table 7 Summary of the register address mapping Table 8 Distribution of external I2C channels Table 9 PCI bridge configuration registers Table 10 Local bridge configuration registe
19. ERSION AND HISTORY December 2001 Firmware version 1 4 1 First delivery of the TSC All functions described in this documentation are implemented except DC functions February 2002 Firmware version 1 5 0 Clock management improved External DC implemented except channel 8 and 9 from J2 June 2002 Firmware version 1 5 2 Complete implementation of 10 I2C channels Add trigger stamp counter and FIFO Use NIM reserved pin as FIFO full Output separated ECL APV clock and trigger July 2003 Firmware version 1 5 3 Improvement of the external I2C controller robustness Add an external I2C controller reset Change external I2C controller speed to 100 khz Changes in hardware Reset Trigger Filter Synchronism February 2004 Firmware version 1 5 4 The previous version gate and external trigger part was not stable The 1 5 4 version retreives good features Change hardware Reset Trigger Filter to Inhibit trigger Change internal trigger base period from 26 uS to 10 uS Add a bit in trigger control which closes the gate July 2004 Firmware version 2 1 0 This version proposes an APV emulator 25 10 04 not yet tested Page 31 July 2003 CMS Trigger Sequencer Card User manual version 4 0 11 APPENDIX 1 TPO USER MANUAL 11 1 INTRODUCTION Because of less connectivity of the PCI for factor some signals such as Clock amp Trigger and 12C do not appear on the back side of the TSC card These signals are accessible through J1 and
20. J2 connectors The TPO Tracker Parallel Output is supposed to dispatch the signals from J1 and J2 connectors to 4 hybrid compatible lines 4 general purpose I2C lines 6 FED Clock and Trigger and other signals The TPO is a 114x114 mm standalone card that houses 4 hybrid compatible lines including clock amp trigger on the same line DC for APVs PLL Mux and optohybrid 4 general purpose 12C lines 6 FED Clock and Trigger Other signals such as Inhibit trigger Trigger out NIM FIFO full APV clock and APV trigger Jil To hybrid 1 Clock Trigger I2C 2 5 volts DC Clock Data Clock amp Tri Se J12 To hybrid 1 eect 5 lt gt 2 5 volts e o hybri ap 25 volts J1 J13 Tohybrid 1 Clock amp Trigger LVDS Clock amp rIngger I2C 2 5 volts Direct connection J14 To hybrid 1 Clock amp Trigger I2C 2 5 volts 120 Clock Data P 4x DC lines Internal supplied 5 volts output Internal supply 5 volts External supplied 2 5 gt 5 5 volts External supply 2 5 gt 5 5 volts Direct 6x FED Clock and Tri J2 Goniecton x ock and Trigger Trigger inhibit CMOS Direct Trigger Cut NIM Connection FIFO full NIM ii APV Clock ECL APV Trigger ECL Figure 10 TPO Functionnal block diagram Page 32 July 2003 CMS Trigger Sequencer Card User manual 11 2 HYBRID COMPATIBLE LINES J11 TO J14 Hybrids require an I2C a Clock amp trigger and a reset lines 12C
21. NIM Out 41 GND 42 GND 43 CKAPV_ECLN APV clock ECL 44 CKAPV_ECLP APV clock ECL 45 GND 46 GND 47 TRAPV_ECLN APV trigger ECL 48 TRAPV_ECLP APV trigger ECL 49 GND 50 GND Table 4 Description of J2 connector Open drain maximum 3 3 volts Page 10 July 2003 CMS Trigger Sequencer Card User manual version 4 0 5 3 PCI Bridge PLX 9080 3 Mode J Connector PCI J3 Clock Speed lt 33MHz Switching regime 5V Bus width 32 bit PCI Specification v2 1 5 4 FPGA ALTERA EP20K60EQC208 1X The FPGA is the heart of the TSC It assumes all functions of the trigger and sequencer parts except fine delays It is reconfigurable in firmware and thereby maintains a flexible hardware architecture During normal operation the FPGA is loaded on power up from the on board Flash memory 5 5 EPROMs e NM93CS46N M32 Serial CMOS EEPROM 64 x 16bits It contains PCI configuration parameters including the TSC serial number e EPC2LC20 M28 Flash EPROM containing the FPGA design file 5 6 DELAY LINES Type CERN 00051BS PHOS4 Rev 1 2 from Microelectronics Group Description e ASIC providing 4 calibrated delay lines e Step 1nS e DC programmable Page 11 July 2003 CMS Trigger Sequencer Card User manual version 4 0 5 7 JUMPERS M33 m me d mms ma QO pose o 000
22. by entering a logic level 0 on the inhibit pin CMOS non 5 volts tolerant pin 34 connector J2 A NIM input previously Reset Trigger Filter is now gt 1 5 4 an inhibit trigger input It can also be inhibited by writing bit1 1 in trigger register control PCIBAR2 0CH At power on this function is disabled bit1 0 6 2 2 2 GATE e Theory of operation 40 Mhz clock tl position delay Gate esta 12 width delay External trigger Output trigger 25 n Figure 7 Trigger gate timing A gate signal synchronized with the 40 Mhz clock is made localy programmable in position and width by steps of 1nS If the external trigger rising edge happens during the high level of this gate the trigger is accepted and a signal output trigger 25nS duration is generated in the following clock period DLLs are used to make the gate position and width are 25 levels 0 24 programmable by steps of 1 ns Set position by writing bit 6 5 01 and position value in bit 4 0 of Local 12C DLL1 register PCIBAR2 40H Set width by writing bit 6 5 11 and width value in bit 4 0 of Local I2C DLL1 register PCIBAR2 40H This part of the filter may be inactivated by choosing position 0 and width 24 Page 15 July 2003 CMS Trigger Sequencer Card User manual version 4 0 e Gate implementation DLL1 M42 is used see figure 7 Line 0 line 1 for trigger gate position Line 2 line 3 for trigger gate width The DLLs have mini
23. gger counter current value Read only Bit Description Read Write Value after Reset 15 0 Trigger counter current value Yes No 0 31 16 Reserved Yes No 0 PCIBAR2 2CH Reset trigger filter Write only Bit Description Read Write Value after Reset 31 0 Reset trigger filter No Yes 0 PCIBAR2 2CH Trigger status register for debug Read only Bit Description Read Write Value after Reset 15 0 Trigger status register answers DEADH Yes No DEAD 31 16 Reserved Yes No 0 PCIBAR2 30H Reset encoder PLL Write only Bit Description Read Write Value after Reset 31 0 Reset encoder PLL No Yes 0 PCIBAR2 34H Soft trigger generation Write only Bit Description Read Write Value after Reset 31 0 Output one soft trigger pulse No Yes 0 PCIBAR2 38H Calibration latency R W Bit Description Read Write Value after Reset 15 0 Calibration latency value 1 65535 Yes Yes 0 31 16 Reserved Yes Yes 0 PCIBAR2 3CH RAZ interrupt Write only Bit Description Read Write Value after Reset 31 0 RAZ interrupt No Yes 0 PCIBAR2 40H Local I2C DLL1 gate R W Bit Description Read Write Value after Reset 4 0 Delay value 0 24 No Yes 0 6 5 Line 0 00 position calibration No Yes 00 Line 1 01 user gate position Line 2 10 width calibration Line 3 11 user gate width 31 7 Reserved No Yes 0 Proper address of DLL1 chip is hardware coded The DLL chips are not readable therefore this R W register returns the last write values
24. ialization and during acquisition the counter is incremented of 1 each trigger the current value can be read in Trigger counter current value PCIBAR2 28H When the current read value reaches the initial set value the triggers are blocked and an interrupt is sent Note that the set value 0 is reserved for no counting in this case the counter is transparent and there is no need to reset the trigger filter Page 17 July 2003 CMS Trigger Sequencer Card User manual version 4 0 6 2 2 5 TRIGGER STAMP COUNTER AND FIFO A 32 bits counter has been added This counter runs at 40 MHz It is reset by the resetFED command When a trigger occurs the counter value is loaded in a FIFO The FIFO is 512 deep FIFO management e FIFO status Read the Trigger stamp FIFO status register PCIBAR2 74H e FIFO clear Write to Clear Trigger stamp FIFO register PCIBAR2 74H e FIFO read Read Trigger stamp FIFO content register PCIBAR2 78H 6 2 26 RESET TRIGGER FILTER When the trigger counter is set to a value different from 0 the triggers are blocked when the counter reaches this set value Then to go on a hardware or software Reset Trigger Filter order has to be given e Software reset write into Reset Trigger Filter register PCIBAR2 2CH e Hardware reset NIM pulse in the Reset Trigger Filter input The hardware reset is active at the high level 800 mV of the pulse Note that the trigger filter is transparent during the high level of the pul
25. icating event counter FIFO is full APV clock APV trigger the only outputs where APV clock and trigger are separated 11 6 SUPPLYING J16 This card must be supplied with 5 volts J16 Pin 1 gt 5 volts Pin 2 gt GND An on board regulator supplies 2 5 volts for hybrid interface Page 35 July 2003 sd D w ul IO K D 4 0 38I10n ae JINO INOHLI3 13 version L NOAT 30 I3GIGITVD N SNOISAHd 30 User manual U CMS Trigger Sequencer Card 11 7 SCHEMATICS ans S ac ner E Gr aps s r MRED Ngat 3EN3E VW S SKWEHENOD S She Da NI lt KL Su SEL T Pre Kera ast UND amp 2 STI Se ze gt ke Nasa Gei Th Beem SSC HI nai gr RSS AOR one T G ENND E 5 Bes Pv DIE PI S SLS T TNM SI E DrOWIT z sr as gt gt SXENHIINOS S 5 7 INB AL E Z S Z ETna ar SP r E Legs 2 ST ETE 19633 E ET ET ka D vi vi H 5 at BT EI aT Di aT amp p p P P ar CG me at Ll S ET ET SXENHIDNOD amp sT E si Ge ae 7 TE 1 gt 22 oi TE E E p z H Srel z aa D G T Enda sr Ss Af 5 y My ae ae 5 TE a a S Ge SXENHIDNOD i SENDO p Aran po 2 2 SENND p p E T og 9 8 r p ERNND 2 HTS EIER pee z r Ce A NS 16 VS tr _ NS Sr TE k NT22 wiist ze Deg S er Deem Se pr CS HTT a
26. iver level Register PCI CFG Value Comments Name address Vendor ID 00H 10DCH CERN ID Value read from serial EPROM Device ID 02H CEFOH Value read from serial EPROM PCIREV 08H EPROM PCI revision ID register Loaded from the serial EPROM this defined value is interpreted as the card serial number PCIBARO 10H System Base address register for PCI memory space accesses to defined PCI9080 bridge local registers PCIBAR2 18H System Base address register for PCI memory space accesses to TSC defined registers PCIILR 3CH System PCI Interrupt Line register defined Table 9 PCI bridge configuration registers Vendor ID CERN number 10DCH is used Device ID CEFOH Vendor ID device ID revision ID are taken from EPROM at boot time Page 22 July 2003 CMS Trigger Sequencer Card User manual version 4 0 7 1 3 BRIDGE INITIALIZATION PCIBARO is remapped to an address during device opening local configuration register offsets are relative to this address See the table 10 for the list of registers called during the local bridge configuration Register PCI address Value Comments Name offset MARBR 08H 1200000H Mode arbitration register Bit21 Local Bus Direct Slave Give up Bus Mode Bit24 Delayed Transaction Mode INTCSR 68H F010100H Interrupt control status register Bit 8 PCI Interrupt Enable Bit11 PCI Local Interrupt Enable Bit16 Local Interrupt Output Enable
27. line Clock amp trigger line version 4 0 through a 3 3v to 2 5v adaptors Refer to table 12 and figure 10 for plug number or device to open the LVDS signal is direcly connected to TSC Reset line a unique reset from the TSC is level adapted and distributed to hybrids TSC TPO Device to Bd type Sones Pin mumler 1 annet Pg number Mev 0 a 3 Hybrid 1 J14 tsci2c00 1 a N N Hybrid 2 J13 tsci2c01 2 a N Hybrid 3 J12 tsci2c02 3 Scl N Hybrid 4 J11 tsci2c03 4 a N i Not routed tsci2c04 5 a N Not routed tsci2c05 6 a N gt 12C line J47 tsci2c06 7 Scl N 7 I2C line J48 tsci2c07 SCL J2 8 8 SDA J2 6 I2C line J18 tsci2c08 9 a e I2C line J32 tsci2c09 Table 12 Summary of TPO connections 11 3 GENERAL PURPOSE I2C LINES J32 J18 J47 AND J48 Jumper location Ji J20 Figure 11 Page 33 J22 Jt J20 J28 J26 J30 J23 J32 Internal External supply switch Pull Up Clock input resistance switch Pull Up Data input resistance switch Pull Up Clock Output resistance switch Pull Up Data input resistance switch Clock input output jumper Data input output jumper One of the 4 120 plugs I2C output jumper location July 2003 CMS Trigger Sequencer Card User manual version 4 0 Internal External supply J17 J20 External supply Internal supply Figure 12 12C output supply Limi
28. mum signal delay For trigger gate position and width 2 lines are connected in series one to calibrate insure 25 nS exactly and the other to be used as an exact delay The first is calibrated automatically see Software chapter the second is set by the user Therefore line 0 and 2 should be calibrated automatically while line 1 should be set for gate position and line 3 set for gate width All delay lines are set to 0 delay by the FPGA at power on Local I2C Local I2C Tr gt DLL1 line 0 DLL1 line 1 i inside FPGA calibration user position position Local I2C Local I2C LT gt DLL1 line 2 DLL1 line 3 calibration user width width Trigger gated Trigger Figure 8 Trigger gate cabling All software related to the gate management is located in Daq_Cms_Like DeviceDriver Tsc_Driver gate The tar file can be found at the following address http lyoinfo in2p3 fr cms cmstraces tscweb software gate tar Page 16 July 2003 CMS Trigger Sequencer Card User manual version 4 0 Gate calibration Tools are proposed in order to calibrate gate width and position For this purpose a test setting was implemented in the FPGA see figure 8 This mechanism switches 40 Mhz clock on 2 lines One connected to a Non Gated Trigger Counter through a synchronisation circuit The other is connected to a Gated Trigger Counter through the gate circuit and a synchronisation circuit Thereby it becomes easy to check if
29. nd set APV latency according to the previous setting The calibration pulses should appear on the APV frame n o S a oa e Software for gate use All software for gate use particularily gate calibration can be found in Daq_Cms_Like DeviceDriverTsc_Driver gate The last tar file can be found at the following address http Iyoinfo in2p3 fr cms cmstraces tscweb software gate tar Page 30 July 2003 CMS Trigger Sequencer Card User manual version 4 0 GETTING STARTED 8 1 HARDWARE VERIFICATIONS Fanning This card has to be fanned Several solutions exist the best seems to be a fan fixed to the cover of the PC airflow crossing the cover by a hole The fan can be supplied by 5 or 12volts from the PC bus supply Jumpers S2 S3 and S4 are closed Others are left open Power off install the card in a PCI slot Turn power on the LED D9 should light immediately 8 2 SOFTWARE TESTS After power up the TSC should be visible by the OS 2 ways to verify the card was installed correctly gt Ispci vv or gt cat proc bus pci devices In both cases the Vendor 10DC and Device CEFO IDs should be mentionned Install the driver see 7 4 Install devices see 7 5 Run application program see 7 6 9 CONTACTS amp ORDERING INFORMATION TSC ordering requests must be addressed to Didier Contardo email contardo in2p3 fr All other questions about TSC can be addressed to Michel Ageron email m ageron ipnl in2p3 fr 10 V
30. not necessarily the effective ones that stand in the DLL chip Page 26 July 2003 CMS Trigger Sequencer Card User manual version 4 0 PCIBAR2 44H Local I2C status Read only Bit Description Read Write Value after Reset 2 0 Reserved Yes No 000 3 0 busy 1 DLL ready for new DC transaction Yes No 0 7 4 _ Reserved Yes No 0000 8 0 Calibration not done 1 Calibration done Yes No 0 11 9 Reserved Yes No 000 19 12 Gated trigger counter value Yes No 0 31 20 Reserved Yes No 0 PCIBAR2 48H Local I2C controller init not used Write only Bit Description Read Write Value after Reset 31 0 Reserved No Yes PCIBAR2 4CH Local I2C DLL2 R W Bit Description Read Write Value after Reset 4 0 Delay value 0 24 No Yes 0 6 5 Line 0 00 FED clock delay No Yes 00 Line 1 01 FED trigger delay Line 2 10 Pulser delay Line 3 11 reserved connector J2 pin 36 31 7 Reserved No Yes 0 PCIBAR2 50H Gate delay calibration request Write only Bit Description Read Write Value after Reset 31 0 Gate delay calibration No Yes 0 PCIBAR2 54H External I2C mode R W Bit Description Read Write Value after Reset 3 0 0000 Single byte write Yes Yes 0000 0001 Single byte read 0010 Double byte write 0011 Double byte read 0100 Triple byte write 0101 Triple byte read 0110 Quadruple byte
31. ntents of registers are lost 10 For proper use a PLL is used in the FPGA pushing this button asks for this PLL reset inside the FPGA Nothing to see with hybrid PLL Page 12 July 2003 CMS Trigger Sequencer Card User manual version 4 0 5 9 LEDS D1 is placed on the front panel D7 D8 and D9 are placed close to the FPGA Extingished lighted D1 Each time a trigger is sent to hybrid D7 FPGA is initialized FPGA is not initialized D8 Not used D9 No clock is present Clock OK Table 6 LEDs 5 10 SUPPLIES Except VIO only 5 volts is required for this card 3 3 and 1 7 volts are made locally There was a modification on 3 3 volts It is now made on a little mezzanine card pluged in J8 This mezzanine card has 2 functions 3 3 volts regulation from 5 volts supply Delayed relay to insure short rising edge of 3 3 volts for Delay Lines supply management Page 13 July 2003 CMS Trigger Sequencer Card User manual version 4 0 6 TSC FUNCTIONALITIES 6 1 FONCTIONNAL BLOCK DIAGRAM ors Widi es Interrupt an pu ition RTF Trigger Intubit To PCI Bridge gr of ss net Resyme so Lt 2 z Mini f Min Number trigger HEN Min Number of Ciocks of clocks gt Read 50 pins between Triggers between counter e RTF triggers Internal Frequency Trigger Generator Soft Trigger Pulser Soft Trigger 1 Trigger Generator Trig Clock TrFED Reset Trigger Filter order Ss Calibr use
32. ock and trigger Trigger input Pulser out Inhibit trigger lt ver1 5 4 Reset trigger filter Clock input Optical output Front panel connectors LED trigger accepted highlights each time a trigger is accepted and sent to APVs FED clock and trigger 4x LVDS clock and trigger outputs for FED s Trigger input NIM input for external trigger Pulser out NIM output to trigger a pulser Inhibit trigger NIM input for hardware inhibit trigger Previously lt 1 5 4 was Reset Trigger Filter NIM input for hardware Reset Trigger Filter Clock input ECL external 40 Mhz clock input Optical output Optical connection to the optical FEC input Page 7 July 2003 CMS Trigger Sequencer Card 5 2 INSIDE CONNECTORS User manual version 4 0 Local supply J8 For debugging HE10 14 pins connector Pin number Signal name Description 1 VCC 5 volts 2 VCC 5 volts 3 VCC 5 volts 4 GND 5 GND 6 GND 7 GND 8 GND 9 GND 10 VM12 PCI 12 volts 11 VM12 PCI 12 volts 12 VIO Universal PCI supply 13 DVDD 3 3 volts local from 5 volts 14 DVDD 3 3 volts local from 5 volts Table 1 Description of local supply connector JTAG J9 HE10 10 pins connector Pin number Signal name Description 1 TCK JTAG clock 2 GND 3 TDO JTAG data out 4 DVDD 3 3 volts local from 5 volts 5 TMS JTAG mode select 6 DVDD 3 3 volts local from 5 vol
33. rs Table 11 Summary of the register address mapping Table 12 Different jumper configurations for J32 Table 13 Summary of TPO connections Page 4 version 4 0 July 2003 CMS Trigger Sequencer Card User manual version 4 0 4 INTRODUCTION 4 1 GENERAL DESCRIPTION The TSC Trigger Sequencer Card is intended to assume timing aspects in the CMS silicon tracker test stations It is presented in a PCI form factor for workstations Figure 1 Placed between trigger clock source and FEC CCU it can also supply a laser pulser The trigger part assumes gating counting and blocking following triggers Internal clock and triggers are also provided The sequencer part matches all APV requests including trigger calibration and reset All the necessary software for TSC set up is provided Figure 1 Photograph of TSC Page 5 July 2003 CMS Trigger Sequencer Card 4 2 ARCHITECTURE 6x Clock FED 6x Trigger FED Clock APY Trigger APY Trigger out Resethim Inhibit trigger User manual LOS LOS ECL ECL CMOS ME CMOS 2 x general purpose DC lines CMOS TT EC MO o mr version 4 0 amp x Clock amp Trigger AP LIDE Reset hybrid 8 x hybrid 20 lines CMOS CMOS 4 x clk trig FED Trigger input Laser pulser Clock input CG Optical output for FEC biphase modulation Figure 2 FCI connector PCI Interface PLX 9080 3 Block
34. se this is why this reset pulse has to be short The minimum length is 25 nS NO MORE AVIALABLE 6 3 CLOCKS The clock source can be choosen between both an ECL external clock input and a 40 Mhz internal clock generator The choice is done by writing in Trigger register control PCIBAR2 CH bit6 1 for external source and bit6 0 for internal source At power up the internal source is selected If external source is selected the input has always to be fed if it is not the case the 1 nS delay in the DLLs is no more garanteed A cold start is then necessary 6 4 SEQUENCER PART The sequencer has s 2 inputs clock and trigger from the trigger filter e 5 outputs APV clock and trigger FED clock and trigger pulser The APV trigger output of the sequencer can hold trigger calibration and reset sequences Refer to APV user manual for details 6 4 1 TRIGGER SEQUENCE This is the trigger input of the sequencer delayed of an entire number of clocks called APV latency The APV latency can be updated by writing the latency value 1 65535 in the APV latency register PCIBAR2 18H 6 4 2 CALIBRATION SEQUENCE The calibration sequence is a 110 sequence it comes an entire number of clocks after the trigger input of the sequencer This number is called Calibration latency The Calibration latency can be updated by writing the latency value 1 65535 in the Calibration latency register PCIBAR2 38H First the output of this Calibration
35. the gate is transparent or not This mechanism is triggered by writing in Gate Delay Calibration Request register PCIBAR2 50H Scanning Local I2C Status register PCIBAR2 44H bit8 1 means calibration is done The counters are readable in Local I2C Status register PCIBAR2 44H The content of Non Gated Trigger Counter is in bit 15 12 the content of Gated Trigger Counter is in bit 19 16 By reading these counters while scanning for different values of gate width and position it is possible to calibrate the gate A calibrating function using these features is implemented in the constructor of TscDevice class 40 Ihz Local iat HLL 7 Local lec Status T amp 12 a Clock Counter for gated External triggers Trigger T i Gate Caftibraton Request Gate Calibration Request Figure 9 Trigger gate calibration 6 2 2 3 MINIMUM NUMBER OF CLOCKS BETWEEN TRIGGERS In order not to disturb APV sequence the number of clocks between triggers must be decided A counter assumes this This counter is reset by Reset Trigger Filter It acts only for external triggers The minimum is set to 3 it is programmable up to 65535 by writing the value in Minimum number of clocks register PCIBAR2 4H 6 2 2 4 COUNTING The last stage of the trigger filter is a counter It may be used to manage the spill size of the ADC This counter is fully programmable from 0 to 65535 by writing the value in Trigger maximum count register PCIBAR2 8H After init
36. ts 7 Nc 8 Nc 9 TDI JTAG data in 10 GND Table 2 Description of JTAG connector One of the PCI for workstations form factor s problem is the short front panel size Because of this two more SMC 50 pins connectors were added J1 and J2 See below tables 3 and 4 for description Page 8 July 2003 CMS Trigger Sequencer Card User manual version 4 0 Pin Signal name Description Technology number 1 HYB7 SDA _ 1I2C data for hybrid 7 WE 2 HYB7_SCL I2C clock for hybrid 7 W 3 GND 4 HYB6 SDA I2C data for hybrid 6 Ma 5 HYB6 SCL I2C clock for hybrid 6 GS 6 GND 7 HYB5S SDA I2C data for hybrid 5 G 8 HYB5_SCL 12C clock for hybrid 5 ski 9 GND 10 HYB4 SDA GC data for hybrid 4 es 11 HYB4_SCL I2C clock for hybrid 4 di 12 GND 13 HYB3 SDA DC data for hybrid 3 We 14 HYB3_SCL I2C clock for hybrid 3 Gg 15 GND 16 HYB2 SDA I2C data for hybrid 2 ahd 17 HYB2_SCL I2C clock for hybrid 2 e 18 GND 19 HYB1 SDA DC data for hybrid 1 Kg 20 HYB1_SCL I2C clock for hybrid 1 SE 21 GND 22 HYBO SDA I2C data for hybrid 0 de 23 HYBO_SCL I2C clock for hybrid 0 had 24 GND 25 RESET_HYB General hybrid reset ey 26 GND 27 GND 28 DVDD 3 3v digital output 29 DVDD 3 3v digital output 30 DVDD 3 3v digital output 31 GND 32 GND 33 34 35 36 37 38 39 40 41 4
37. ts for external supply 3 3 volts to 5 5 volts Note that only the line is floating the ground is not Using 82B715 The 82B715 is an I2C bus extender allowing long cables refer to figure 13 for cell J32 the J18 J47 and J48 cells are identical It is mounted on a support and therefore can be unused Refer to table 13 for different jumper combinations J20 J17 J26 J28 J27 Internal l supply H L J23 level to output to TIC adaptation 678715 connector J3 Figure 13 12C Cell functionnal diagram for J32 with 87B715 without 87B715 with pull up without pull up with pull up without pull up J20 X X J17 X X J23 X X J30 X X J26 X X J28 X X Table 13 Different jumper configurations for J32 Page 34 July 2003 CMS Trigger Sequencer Card User manual version 4 0 Default configuration J17 J20 WR J30 J23 L L mm WR J22 J28 J26 Figure 14 12C Jumper default configuration Internal supply Use 87B715 All pull up resistance swiched 11 4 FED CLOCK AND TRIGGER J3 TO J8 On the front pannel there are 4 FED clock and trigger lines 6 others on J2 they are routed on TPO Add some more Lemo plugs to use these lines 11 5 OTHER SIGNALS J15 Some other signals on J15 Inhibit trigger a CMOS input non 5 volts tolerent pulled up to 3 3 volts when shorted at 0 volts any trigger output is inhibited FIFO full a NIM signal ind
38. ue of Bit 0 Yes Yes 31 1 Reserved Yes Yes 0 PCIBAR2 70H APV emulator counter for clock number multiply by 280 This counter is incremented 280 each accepted trigger is decremented 1 each clock Trigger is stopped if counter gt stop 280 is released if counter lt release 280 Bit Description Read Write Value after Reset 31 16 Number of triggers for release Yes 0 15 0 Number of triggers for stop Yes 0 PCIBAR2 74H Clear trigger stamp FIFO Write only Bit Description Read Write Value after Reset 31 0 Clear trigger stamp FIFO Sequential 0 gt 1 gt 0 No Yes 0 1 Clear active 0 FIFO free PCIBAR2 74H Trigger stamp FIFO status Read only Bit Description Read Write Value after Reset 8 0 Number of events in the FIFO Yes No 0 11 9 Reserved Yes No 0 12 0 Notempty 1 Empty Yes No 0 13 O Notfull 1 Full Yes No 0 31 14 Reserved Yes No 0 PCIBAR2 78H Trigger stamp FIFO content Read only Bit Description Read Write Value after Reset 31 0 The counter value Yes No 0 PCIBAR2 7CH Firmware version Read only Bit Description Read Write Value after Reset 3 0 Sub Sub version number Yes No SubSub vers Numb 7 4 Sub version number Yes No Sub vers number 11 8 Version number Yes No Version number 31 12 Reserved Yes No 0 Page 28 July 2003
39. utside by J1 and J2 8 lines are connected by J1 they are destinated to hybrids 2 lines are connected by J2 they are destinated to general purpose material It can be accessed by registers 54H through 64H In both cases the lines are connected directly to the FPGA The outputs are 3 3 volts and the inputs are not 5 volts tolerant Page 20 July 2003 CMS Trigger Sequencer Card User manual version 4 0 Using external I2C Select mode The external I2C system assumes 1 through 4 byte write and read functions plus RAL mode APV I2C The mode is selectable in External I2C Mode register PCIBAR2 54H Select address and channel There are 10 external I2C channels switchable see table 8 I2C address is specified in bit 7 1 and I2C channel in bit 11 8 of External I2C Address Channel register PCIBAR2 58H Writing data Whatever mode is used data is written in External DC Data To Send register PCIBAR2 5CH The MS byte s are filled with zeros Note that MSB of data is sent first in the I2C frame Reading data Whatever mode is used data is read in External I2C Data Received register PCIBAR2 60H Note that MSB of data word is read first in the I2C frame Reading status Reading bitO of External I2C Status register PCIBAR2 64H 0 means busy state transaction in progress 1 means external I2C bus ready Write sequence 1 Wait for I2C ready External I2C Status register bit0 1 2 Select mode in External I2

Download Pdf Manuals

image

Related Search

Related Contents

Application Note 115a  July - Cascade Corvette Club    Strumenti di misura  LE920 Product Description  gu3303 user manual  Frigidaire FFSC2323LE Product Specifications Sheet  SMARTOffline v3.5 - Geotech Instruments, LLC  Installation Guide Guide d`installation Guía de instalación    

Copyright © All rights reserved.
Failed to retrieve file