Home

TSC User Manual 3.0

image

Contents

1. M34 3 mas A mn 4 ai 25 M38 000000000000 DDD oo Je 14 SCH M50 un oos T mL T29 M36 BI SE 0058 a O ele 39 00000 i E oza sei T27 mad M i PX3 M23 ae ee GEES a ae D bei a J4 pe a gJ 0000 bei o T fee D gomom We M31 T13 M T PXS CH 5 n J FM ms 4 i Mag M46 oO T35 Figure 5 Jumpers The user should not have to keep busy with jumpers e 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 EL 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 contents 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 3 0 5 9
2. NC GND 5 Volts Fur Ji7 J20 x J32 T INP J15 330 g J3 a 5 We E C10 52 JT Les LEE Jis een R38 J31 TE nar dai cie j J25 be k o M2 V 7 gt M7 R2 Ji py 327 Kg JE 333 335 JAT Ji J45 337 J7 leur ReRSR7R5 SC Cih og R14 R24 J39 S R26 R25 yay var R19 aus m ie J8 J48 R18 Ri2 J46 M10 R17 1 R11 M4 we Z J38 R32 R29 me d R31R30 AE J44 J42 5 J14 gt Ti RU P a ELECTRONIQUE o gt t Mi J16 Fi Jii J12 J13 A A A Figure 17 TPO Top view Page 38 July 2003
3. External trigger u x Output trigger 25 nS 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 3 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 minimum 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
4. 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 ee Sones Pin mumler 1 annet pugnumber Mev 0 a 3 Hybrid 1 J14 tsci2c00 1 a 4 Hybrid 2 J13 tsci2c01 2 a H Hybrid 3 J12 tsci2c02 3 Scl 4 Hybrid 4 J11 tsci2c03 4 a i Not routed tsci2c04 5 a 4 Not routed tsci2c05 6 a H gt 12C line J47 tsci2c06 7 Scl 4 8 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 3 0 Internal External supply J17 J20 External supply Internal supply Figure 12 12C output supply Limits for external supply 3 3 volts to 5 5 volts Note that only the line is floating the ground is not Using 82B
5. 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 _ D w ul IO D D 3 0 38I10n z ANd INOM 113 13 Version L NOA 30 I3GIGITVD N SNOISAHd 30 User manual U CMS Trigger Sequencer Card 11 7 SCHEMATICS ans S ac ner E Gr as s r e ES Ngat 3EN3E 1 VW S SKWEHENOD S She Da NI gt Su SEL M Pre rSEEd 1 ast UND amp 2 STI Se ze gt Nasa Gei Th Beem SSC HI nai gr Bee AOR one T x ENND v 5 Bes a DIE PI a SI EE IINN2 gt SI E DrOWIT z CES gt gt NEMEI 5 INB AL FU Taco ar SP r Indus 2 ST ETE 19633 E ET ET D vi vi H s at BT EI aT Bi aT amp p P ar CG TE at Ll ne ET ET SXENHIDNOD 6 sT g si Ge ae x TE 1 gt 22 oi i E TE P p z HEC sz aa D v Tendval sr Ss Af y My ae TE a sr e Ge SXENHIDNOD Din SENDO p Aran po 2 2 SENND p p z Z2NNO 4 5 r p ERNND 2 HTS EIER pee z r Ce A INS T VS tr _ NS 2 TE SZ NODS wiist ze Deg z er Deem Se pr CS HTT 5 CT Eu Sr H AN SxeNH32N02 Ta T 2 E v 5 E 2 July 2003 TPO Schematics no1 Page 36 Le F
6. 4 SDA J1 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 3 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 driver 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 TS
7. J1 and J2 connectors to 4 hybrid compatible lines 4 general purpose 12C 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 Tohybrid oi Clock Trigger I2C 2 5 volts DC Clock Data Clock Tri x J12 Tohybrid 1 Eeer 5 2 5 volts ss o hybri IC 25 volts J1 J13 Tohybrid 1 Ulock8rTrigzer LVDS Clock amp rIngger IC 2 5 volts Direct connection J14 To hybrid 1 Clock amp Trieger I2C 2 5 volts 120 Clock Data P 4x I2C lines Internal supplied 5 volts output Internal supply 5 volts External supplied 2 5 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 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 line Clock amp trigger line version 3 0 through a 3 3v to 2 5v adaptors Refer to table 12 and figure
8. 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 3 0 6 TSC FUNCTIONALITIES 6 1 FONCTIONNAL BLOCK DIAGRAM Gate Width _ oo Interrupt and SE RTF Trigger Inhibit To PCI Bridge Trigger Output Laser Trigger RAZ interrupt Input Resync End of Counter was Pulser 2 z Mini Min Number of Clocks y BC 50 pins between Triggers between RTF triggers Frequency 1 Soft Soft Trigger Trigger Generator i TrFED Reset Trigger Filter Calibr Use Calibr lat Reset Resetuse Trigger RTF Reset lat Filter Soft Reset External Clock Internal Clock Generator Ciock Source Optronic Encoded Select Reset Data LA Optical Transmitter Output Software Command gt Figure 6 Fonctionnal block
9. 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 and set APV latency according to the previous setting The calibration pulses should appear on the APV frame O NO O 8 D e Software for gate use All software for gate use particularily gate calibration can be found in Daq_Cms_Like DeviceDriverTsc_Driver gate The tar file can be found at the following address lyoftp in2p3 fr cms Tsc gate tar Page 30 July 2003 CMS Trigger Sequencer Card User manual version 3 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 Ins
10. by the FPGA at power on Local I2C Local I2C Ke Ke DLL1 line DLL1 line 1 calibration user posihon posihon Local I2C Local I2C gt 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 lyoftp in2p3 fr cms Tsc gate tar Page 16 July 2003 CMS Trigger Sequencer Card User manual version 3 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 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 positi
11. 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 CMS Trigger Sequencer Card User manual version 3 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 by entering a logic level 0 on the inhibit pin CMOS non 5 volts tolerant pin 34 connector J2 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 ti position delay Gate et ta 12 width delay
12. 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 3 0 Pin Signal name Description Technology number 1 HYB7 SDA DC data for hybrid 7 nie 2 HYB7_SCL I2C clock for hybrid 7 h 3 GND 4 HYB6 SDA 12C data for hybrid 6 We 5 HYB6 SCL I2C clock for hybrid 6 e 6 GND 7 HYB5 SDA DC data for hybrid 5 KN 8 HYB5 SCL I2C clock for hybrid 5 ae 9 GND 10 HYB4 SDA DC data for hybrid 4 CR 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 DC data for hybrid 2 s 17 HYB2_SCL I2C clock for hybrid 2 e 18 GND 19 HYB1 SDA DC data for hybrid 1 Kee 20 HYB1_SCL I2C clock for hybrid 1 W 21 GND 22 HYBO SDA 12C data for hybrid 0 de 23 HYBO_SCL I2C clock for hybrid 0 had 24 GND 25 RESET_HYB General hybrid reset Ke 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 TRAPV7_H High level Clock amp Trigger for hybrid 7 LVDS 34 TRAPV7_L Low level Clock amp Trigger for hybrid 7 LVDS 35 TRAPV6_H High level Clock amp Trigger for hy
13. garanteed A cold start is then necessary 6 4 SEQUENCER PART The sequencer has e 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 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 3 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 s
14. 5 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 3 0 PCIBAR2 28H Trigger 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 Descripti
15. 715 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 Jen J17 JG 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 3 0 Default configuration J17 J20 WR J30 J23 A A CE 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 indicating event counter FIFO is full APV clock APV trigger the only outputs where APV clock and trigger are separated
16. 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 3 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 2CDLL2 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 e
17. C 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 3 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 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 3 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 trig
18. CMS Trigger Sequencer Card User manual version 3 0 CMS Trigger Sequencer Card User Manual VERSION 3 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 MIO O Q Q P BD version 3 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 VE
19. P 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 dear Write to Clear Trigger stamp FIFO register PCIBAR2 74H e FIFO read Read Trigger stamp FIFO content register PCIBAR2 78H 6 2 2 6 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 pulse this is why this reset pulse has to be short The minimum length is 25 nS 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
20. RIFICATIONS 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 3 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 register
21. Value after Reset new 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 version Number 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 CMS Trigger Sequencer Card User manual version 3 0 7 3 SOFTWARE INSTALLATION Driver and all related software are disponible under CVS Contact I 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 e 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 tsc
22. ach 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 e 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 ZC An DC bus connected to outside 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 3 0 Using external I2C Select mode The external I2C system assumes 1 through 4 byte write and read functi
23. agram 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 EI man LS we 4 ma 4 O 0009P e gt 000 a m25 4 mn 4 29 ged 000000000000 000 SS S o a M50 n n F TL a SEN M36 sto O CH Se III O M28 J 39 CH 000 000 a wa pus LE hud mi T30 G ss gt 1 oo M23 gt SNE oo OFER D s E a RI z m56 s a JE 114 g 0000 M oo T3 sipas e o l M32 MH T13 M29 D AR ol kk G oO D 38 a oop oo a o og MS i md wi wl wi wi D M48 M e Figure 3 Area grey to be fanned Page 6 July 2003 CMS Trigger Sequencer Card User manual version 3 0 5 HARDWARE 5 1 FRONT PANEL LED trisser accepted FED Clock and trigger Trigger inp
24. brid 6 LVDS 36 TRAPV6_L Low level Clock amp Trigger for hybrid 6 LVDS 37 TRAPV5_H High level Clock amp Trigger for hybrid 5 LVDS 38 TRAPV5_L Low level Clock amp Trigger for hybrid 5 LVDS 39 TRAPV4_H High level Clock amp Trigger for hybrid 4 LVDS 40 TRAPV4_L Low level Clock amp Trigger for hybrid 4 LVDS 41 TRAPV3_H High level Clock amp Trigger for hybrid 3 LVDS 42 TRAPV3_L Low level Clock amp Trigger for hybrid 3 LVDS 43 TRAPV2_H High level Clock amp Trigger for hybrid 2 LVDS 44 TRAPV2_L Low level Clock amp Trigger for hybrid 2 LVDS 45 TRAPV1_H High level Clock amp Trigger for hybrid 1 LVDS 46 TRAPV1_L Low level Clock amp Trigger for hybrid 1 LVDS 47 TRAPVO H High level Clock amp Trigger for hybrid 40 LVDS 48 TRAPVO L Low level Clock amp Trigger for hybrid 0 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 3 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 SDA1 I2C data for I2C line 1 ii 7 GND 8 SCL1 I2C clock for 12C line 1 9 Fed dk h High level fed clock 0 LVDS 10 Fed cikO I Low level fed clock 0 LVDS 11 Fed ro h High level fed trigger 0 LVDS 12 F
25. ed ro I Low level fed trigger 0 LVDS 13 Fed cik1 h High level fed clock 1 LVDS 14 Fed cik1 I Low level fed clock 1 LVDS 15 Fed roi h High level fed trigger 1 LVDS 16 Fed mol I Low level fed trigger 1 LVDS 17 Fed cik2 h High level fed clock 2 LVDS 18 Fed cik2 Low level fed clock 2 LVDS 19 Fed trig2 h High level fed trigger 2 LVDS 20 Fed trig2 Low level fed trigger 2 LVDS 21 Fed cik3 h High level fed clock 3 LVDS 22 Fed cik3 I Low level fed clock 3 LVDS 23 Fed trig3 h High level fed trigger 3 LVDS 24 Fed roi Low level fed trigger 3 LVDS 25 Fed cik4 h High level fed clock 4 LVDS 26 Fed cik4 Low level fed clock 4 LVDS 27 Fed trig4 h High level fed trigger 4 LVDS 28 Fed trig4 Low level fed trigger 4 LVDS 29 Fed dk h High level fed clock 5 LVDS 30 Fed cik5 Low level fed clock 5 LVDS 31 Fed Iron h High level fed trigger 5 LVDS 32 Fed Iron I Low level fed trigger 5 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 d 38 SDAI2C_FPGA Local 12C data di 39 GND 40 RESNIM Reserved NIM output 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 maximu
26. egister offsets are in local space 0 and referenced to PCIBAR2 Page 24 July 2003 CMS Trigger Sequencer Card User manual 7 2 1 REGISTERS version 3 0 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 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 31 7 Reserved Yes Yes 0 PCIBAR2 10H Internal trigger frequency R W Bit Description Read Write Value after Reset 15 0 Number of 20 microseconds periods 1 6553
27. equence 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 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
28. ger 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 channel PCIBAR2 5CH External I2C data to send External I2C data to send PCIBAR2 60H External I2C 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 r
29. igure 15 Figure 16 Page 37 TPO Schematics no2 CMS Trigger Sequencer Card User manual version 3 0 LI O D lt Z E G x Q Jag a AE v r mg u oh 1 8 H By T 1 N e Q H EL 2 a gt Si z Hi SS u O 3 G H Z n 6 n z nu x gt E Ze REE I E i SC D oe J uJ H O gt aoe D E 5 m s W 9 ay Z n u fe Fa in 5 gt HIT x a a I N bt Ze p E w x Sz ks gt Rei D Il E 3 D h a md p S 38 nea in IS g H 9 VW ir H CT J I 4 i H i q 1 W x a I Y d E H 2 5 iv y m m T q 4 T 3 d D ba bai in o n D mn in VH i ba i Y D ats NAA fe b x gt g D 4 mn D I a GE 2 als IG EE s gt D a w gt Ui Di gt RW MW 8 P p alg D EE i 5 a i f ul i Kn I Du ifi e fr m amp m 5 mi a in gt gt x gt gt gt I S T L T m a a m d July 2003 CMS Trigger Sequencer Card User manual version 3 0
30. iption 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 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 I2C 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 I2C data to send R W Bit Description Read Write Value after Reset 31 0 Data to send Yes Yes 0 Page 27 July 2003 CMS Trigger Sequencer Card User manual ver
31. m 3 3 volts Page 10 July 2003 CMS Trigger Sequencer Card User manual version 3 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 3 0 5 7 JUMPERS M33 m me d mms ma 4 O O pose co 000
32. on it is possible to calibrate the gate A calibrating function using these features is implemented in the constructor of TscDevice class 40 Ms Local DILI Local PERE 127 Clock Counter for gated External triggers Trigger w i Gate Calibration 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 initialization 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 3 0 6 2 2 5 TRIGGER STAM
33. on Read Write Value after Reset 31 0 Output one soft trigger pulse No Yes 0 PCIBAR2 38H Calibration latency RW 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 not necessarily the effective ones that stand in the DLL chip Page 26 July 2003 CMS Trigger Sequencer Card User manual version 3 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 Descr
34. ons 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 DC channel in bit 11 8 of External 12C Address Channel register PCIBAR2 58H Writing data Whatever mode is used data is written in External I2C 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 DC ready External I2C Status register bit0 1 2 Select mode in External I2C Mode register 3 Write data in External I2C Data To Send register 4 Write address and channel in External I2C 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 J1 23 0 SDA J1 22 SCL J1 20 1 SDA J 19 SCL J1 17 2 SDA J 16 SCL J1 14 3 SDA J 13 SCL J1 11
35. s Table 11 Summary of the register address mapping Table 12 Different jumper configurations for J32 Table 13 Summary of TPO connections Page 4 version 3 0 July 2003 CMS Trigger Sequencer Card User manual version 3 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 LVDS ECL ECL CMOS MUN CMOS 2 x general purpose DC lines CMOS TT EC MO o mr version 3 0 8 x Clock amp Trigger AP LYDE 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 PCI connector PCI Interface PLX 9080 3 Block Di
36. sion 3 0 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 new 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 Value of Bit 0 Yes Yes 31 1 Reserved Yes Yes 0 PCIBAR2 70H PCIBAR2 74H Clear trigger stamp FIFO Write only Bit Description Read Write Value after Reset NEW 31 0 Clear trigger stamp FIFO No Yes 0 PCIBAR2 74H Trigger stamp FIFO status Read only Bit Description Read Write Value after Reset new 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
37. tall 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 VERSION AND HISTORY December 2001 Firmware version 1 4 1 First delivery of the TSC All functions described in this documentation are implemented except I2C functions February 2002 Firmware version 1 5 0 Clock management improved External 12C 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 DC controller reset Change external I2C controller speed to 100 khz Changes in hardware Reset Trigger Filter Synchronism Page 31 July 2003 CMS Trigger Sequencer Card User manual version 3 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 J2 connectors The TPO Tracker Parallel Output is supposed to dispatch the signals from
38. usr Minor 16 to 32 Used to control throttle and reset trigger filter Only control of trigger register tsci2c 10 devices 0 to 9 to control I2C channels from J1 and J2 In Dag Cms Like DeviceDriverTsc Driver prepare devices root privilege gt make devices The following devices are now installed 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 3 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 ln the first thumb index open the device In the second Set e Minimum Number of Clocks to 3 e Trigger count to 0 free run e Internal trigger frequency to 40 e Trigger control to 8 Internal source The
39. ut Pulser out Reset trigger filter Clock input BG0000008 Optical output Figure 4 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 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 3 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 volts 7 Nc 8 Nc 9 TDI JTAG data in 10 GND Table 2 Description of JTAG connector One of the PCI for workstations

Download Pdf Manuals

image

Related Search

Related Contents

Bugsby Reading System Bugsby`s Space Adventure - Manual  Whirlpool AFB 820/3  User Manual  Climatiseur  - pro audito winterthur  Adobe® Flash® Media Encoder 2.5 User Guide for Windows®    Belkin F7N024vf  

Copyright © All rights reserved.
Failed to retrieve file