<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://zeus.phys.uconn.edu/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Underwood</id>
	<title>UConn PAN - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://zeus.phys.uconn.edu/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Underwood"/>
	<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Special:Contributions/Underwood"/>
	<updated>2026-06-11T06:31:52Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.7</generator>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Mentor_Connection_2009&amp;diff=5072</id>
		<title>Mentor Connection 2009</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Mentor_Connection_2009&amp;diff=5072"/>
		<updated>2010-05-07T17:15:08Z</updated>

		<summary type="html">&lt;p&gt;Underwood: added youtube links&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:Ryan and David and Austin 7-2009.jpg|400px|right]]&lt;br /&gt;
&lt;br /&gt;
* Ryan Roussel&lt;br /&gt;
** PowerPoint Presentation: [http://zeus.phys.uconn.edu/~jonesrt/students/MentorConnection/2009/MentorConnection-2009_3.ppt Probing the Forces Between Quarks with Photons]&lt;br /&gt;
** Video&lt;br /&gt;
*** [http://www.youtube.com/watch?v=GszT3gLXf3w Part 1]&lt;br /&gt;
*** [http://www.youtube.com/watch?v=05rYPKP58bc Part 2]&lt;br /&gt;
* Austin Antoniou&lt;br /&gt;
** PowerPoint Presentation: [http://zeus.phys.uconn.edu/~jonesrt/students/MentorConnection/2009/MentorConnection-2009_2.ppt Predicting Vibration Frequencies of the Diamond Wafer]&lt;br /&gt;
** Video&lt;br /&gt;
*** [http://www.youtube.com/watch?v=CsliuSZ4zb0 Part 1]&lt;br /&gt;
*** [http://www.youtube.com/watch?v=5irckx_5Bfg Part 2]&lt;br /&gt;
* David Smith&lt;br /&gt;
** PowerPoint Presentation: [http://zeus.phys.uconn.edu/~jonesrt/students/MentorConnection/2009/MentorConnection-2009_1.ppt Results and Comparison with Simple Effective Theory]&lt;br /&gt;
** Video&lt;br /&gt;
*** [http://www.youtube.com/watch?v=ZelvgYFcfu8 Part 1]&lt;br /&gt;
*** [http://www.youtube.com/watch?v=KIxbOCqmZZs Part 2]&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Woody_Underwood&amp;diff=4858</id>
		<title>Woody Underwood</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Woody_Underwood&amp;diff=4858"/>
		<updated>2010-03-18T21:41:05Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* Project Design Snapshot */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About Me ==&lt;br /&gt;
My name is Woody Underwood. I'm a junior entering my seventh semester in the physics program at UConn. Since the summer of 2008, I've been working in the lab of Dr. Richard Jones designing electronics for the US Department of Energy's GlueX experiment. My assignment is to develop three circuit boards that work together to tag photons coming from the diamond radiator. My circuitry essentially measures (indirectly) the energy of these photons in order to determine if they are of interest to GlueX. The three boards I am designing consist of a digital board, an analog board, and a connecting backplane.&lt;br /&gt;
&lt;br /&gt;
== About My Circuitry ==&lt;br /&gt;
Electrons leaving the diamond radiator are deflected by a magnetic field into an array of scintillating fibres, producing photons. Wave guides carry these photons to SiPMs (silicon photomultipliers) mounted on the analog circuit board. The analog board contains transimpedance amplifiers and summing circuitry to condition the signals for digitization.&lt;br /&gt;
&lt;br /&gt;
The sensitivity of the SiPMs and the gain of the amplifiers on the analog board are controlled both by the power supply VCC and bias voltages supplied from the digital board. The digital board receives commands from a computer via ethernet, and uses a 32-channel DAC to output appropriate bias voltages to the SiPMs on the analog board. The digital and analog boards are connected by means of a backplane, which is also responsible for providing power and grounds to both boards.&lt;br /&gt;
&lt;br /&gt;
== Summary of Fall 2008 Work ==&lt;br /&gt;
All circuitry design work was done using Altium Designer. The digital board was the first to be designed. The first step in designing the digital board was to review the list of key components that had already been selected by Igor and Dr. Jones. These components included such things as the Xilinx Spartan-3A FPGA, and the Analog Devices AD5535 DAC. I began by looking through datasheets for these components to find out their needs, including power and decoupling requirements. I reviewed the pinout diagrams, and then looked through Altium’s standard libraries to find components that matched (in many cases the particular component I was looking for was not in the library, but a similar footprint or schematic symbol was). For components without matching schematic symbols, I entered pinout information from the datasheets into Microsoft Excel, using a layout compatible with Altium’s Smart Grid Insert function. Then, I was able to literally copy and paste pin information from Excel into Altium to generate the schematic symbols I needed.&lt;br /&gt;
&lt;br /&gt;
Once I had appropriate schematic symbols available for all parts, I began making appropriate connections in the schematic view in Altium. Though tedious, this task was not exceedingly difficult. I finished the schematics in several days, and then moved on to PCB design. I switched into Altium's PCB view. The footprints corresponding to the components I used in the schematics were automatically inserted by Altium. My job was then to position these components in logical places on the board and make all of the connections corresponding to the nets defined in the schematics.&lt;br /&gt;
&lt;br /&gt;
Due to the large number of components being placed in the limited space available on the digital board, Altium's auto-router proved completely useless. Therefore, I routed the board manually. Despite Altium's revolutionary convergence of schematic and PCB design into a single program, this was no easy task. During the routing process, I had to take into account not only the connections that had to be made, but also things such as avoiding crosstalk and minimizing trace length for sensitive components. I was able to complete routing after several weeks of work. The digital board design has since been completed and the board has been printed. It is currently awaiting assembly.&lt;br /&gt;
&lt;br /&gt;
The analog board provided a host of new challenges. The basic schematic for the transimpedance amplifier on the analog board was completed by Igor and Dr. Jones before the semester. Inputting the schematic into Altium was not very difficult. However, one problem I encountered was that the analog board contains 32 copies of this amplifier circuitry. After failing to find any way to insert multiple copies of both the schematic and its corresponding PCB layout, I decided to insert only single copies of each schematic page, and copy and paste the PCB layout to produce 32 copies of the amplifier circuitry. At first this seemed like a quick and easy way to get all of the necessary circuitry onto the PCB. However, I eventually discovered that this procedure would lead to major problems with the board assembly process (due to duplicate component designators, and for other reasons). Fortunately, this revelation came around the same time that Igor and Dr. Jones found a problem with the performance of the amplifier circuit. Making any changes to the amplifier circuit at this point will require a major reroute of all the traces on the analog  board. Since the board needs to be completely redesigned anyway, this will give me another chance to find a way to match schematics with all 32 copies of the amplifier circuitry.&lt;br /&gt;
&lt;br /&gt;
The backplane design is currently in progress. It should be relatively easy to complete. All that remains to be done is to add the LEMO connectors and power inputs. The board is simple enough that it can be routed completely by the auto-router, though a quick hand routing will probably be superior. I anticipate that I can complete the backplane with a few days of concentrated work over break.&lt;br /&gt;
&lt;br /&gt;
Included below are links to the files I have been working on. Included in the files for each board is a &amp;quot;SmartPDF,&amp;quot; viewable in Adobe Reader. For those without Altium Designer, these may be the best files to look at. They include complete schematics and PCB layout, and are also indexed by component.&lt;br /&gt;
&lt;br /&gt;
Any questions about the tagger circuitry can be directed to me at [mailto:mitchell.underwood@uconn.edu mitchell.underwood@uconn.edu]&lt;br /&gt;
&lt;br /&gt;
=== Related Files ===&lt;br /&gt;
* [http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/DigitalBoard.zip DigitalBoard.zip]:&lt;br /&gt;
**Altium Project File (SiPM Control Board.PrjPcb)&lt;br /&gt;
**Altium PCB Layout File (Prototype1.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (*.SchDoc)&lt;br /&gt;
**Altium Annotation Document (SiPM Control Board.Annotation)&lt;br /&gt;
***Not used, but generated by Altium when opening the project&lt;br /&gt;
**Altium PRJPCBSTRUCTURE File (SiPM Control Board.PRJPCBSTRUCTURE)&lt;br /&gt;
***Not used, but generated by Altium when opening the project)&lt;br /&gt;
**“SmartPDF” of the board and schematics (SiPM Control Board.pdf)&lt;br /&gt;
***Can be used to explore the PCB layout and schematics without needing Altium&lt;br /&gt;
**Pick and Place File for board population (Pick Place for Prototype1.txt)&lt;br /&gt;
***Used by board assembler&lt;br /&gt;
**NC Drill Files (Prototype1.txt, Prototype1.DRR, Prototype1.DRL)&lt;br /&gt;
***Used by board printer&lt;br /&gt;
**Gerber Files for all layers (in folder Gerbers)&lt;br /&gt;
***Used by board printer&lt;br /&gt;
**Altium CAMtastic file (CAMtastic4 FINAL.Cam)&lt;br /&gt;
***Basically a composite of all the Gerbers &lt;br /&gt;
**Photos and 3D rendering of populated board &lt;br /&gt;
***In folder “Photos”&lt;br /&gt;
**EMF Files showing different layers&lt;br /&gt;
***In folder “EMF Renderings”&lt;br /&gt;
**AutoCad File of PCB (Prototype1 Autocad.DWG)&lt;br /&gt;
**Altium Library of Custom Footprints for Digital Board (GlueX IC Library.SchLib)&lt;br /&gt;
***Current as of completion of digital board&lt;br /&gt;
***This library has since been updated for the backplane&lt;br /&gt;
&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/Analog%20Board%2020081211.zip Analog Board 20081211.zip]:&lt;br /&gt;
**Altium Project File (AnalogBoard.PrjPcb)&lt;br /&gt;
**Altium PCB Layout File (AnalogBoardPCB.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (Amplifer1.SchDoc, Summer.SchDoc)&lt;br /&gt;
**“SmartPDF” of the board and schematics (AnalogBoard.pdf)&lt;br /&gt;
**Altium Component Definition for SiPM (SiPM Library.PcbLib)&lt;br /&gt;
***Contains part footprint and pin information for the SiPM component&lt;br /&gt;
&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/Backplane%2020081211.zip Backplane 20081211.zip]&lt;br /&gt;
**Altium Project File (Backplane.PrjPcb)&lt;br /&gt;
**Alitum PCB Layout File (Backplane.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (Analog Connector.SchDoc, Digital Connector.SchDoc)&lt;br /&gt;
***Analog Connector = Eurocard to analog board&lt;br /&gt;
***Digital Connector = Eurocard to digital board, +3.3V voltage regulator, and location identifier jumper&lt;br /&gt;
***LEMO connections not yet included in these schematics&lt;br /&gt;
**“SmartPDF” of the board and schematics (Backplane.pdf)&lt;br /&gt;
**Pin layout files used to define pinouts for custom components (Pin Layout, 96 pin connector.xlsx, Pinouts.xlsx)&lt;br /&gt;
***Pin Layout, 96 pin connector = pinout definition for 96 pin Eurocard connector&lt;br /&gt;
***Pinouts.xlsx = pinout definitions for digital board, which were reused for the 48 pin digital Eurocard receptacle on backplane&lt;br /&gt;
**Altium Library of Custom Components (GlueX IC Library.SchLib)&lt;br /&gt;
***UPDATED to include new backplane components&lt;br /&gt;
***An older version of this library was used for the digital board&lt;br /&gt;
&lt;br /&gt;
==Summary of Spring 2009 Work==&lt;br /&gt;
&lt;br /&gt;
At the end of the fall semester, Dr. Jones, Igor, and I determined that the amplifier/summing circuit we had designed simply didn’t have sufficient performance characteristics to be useful for GlueX. During the beginning of the spring semester, Igor came up with a new design, utilizing more transistors, to provide the high gain, fast response, picosecond resolution amplifier that we needed. The design performed flawlessly both in MatLab simulations and in a handmade single channel prototype. The first of my goals for the spring 2009 semester was to capture the schematic for this new amplifier into Altium designer, and layout a new amplifier board. The second of my goals, of course, was to complete production of the digital control board prototypes.&lt;br /&gt;
&lt;br /&gt;
[[Image:Digital Board, Populated.JPG|thumb|The populated digital board, with a tube of Chap-Block&amp;lt;sup&amp;gt;TM&amp;lt;/sup&amp;gt; for size comparison.]] Since the fall semester left us with three unpopulated digital control board PCBs, getting those PCBs assembled with their components was the first priority. I began the semester by tracking down all of the components we needed (some of which were selected at the end of the fall semester), and making appropriate substitutions for components whose availability had changed since the fall. In the process of selecting these components, I noticed several places where it seemed like power consumption on the board may be somewhat high. To fix this, I developed a spreadsheet in Microsoft Excel that calculates optimal resistor values to use for to obtain a specified voltage divider stiffness. With this tool, I was able to optimize power consumption across the board, and select appropriate components. Once all components had been selected, ordered, and received, we sent the order out to Screamin’ Circuits for assembly. The boards came back several weeks later, and are currently awaiting testing by some undergraduates who will be in the lab this summer.&lt;br /&gt;
&lt;br /&gt;
While Igor was finalizing his amplifier/summing circuit, I worked briefly on design of the backplane. A number of details regarding trace impedance and board dimensions were ironed out. Nonetheless, many problems still remain which I will need to tackle over the summer. The first of these problems is that we have yet to find an appropriate low cost coaxial connector to route signals off the backplane. In addition, screws with which to mount the backplane to the tagger must be selected so that appropriate holes can be created for them on the PCB.&lt;br /&gt;
&lt;br /&gt;
Once we were satisfied that the amplifier/summing circuit performed as required, I shifted work from the backplane to the amplifier board. Around the same time, I began working on a poster to present my work at the Frontiers in Undergraduate Research Exhibition held during Open House Weekend here at UConn. If you’re interested in my poster, check it out here.&lt;br /&gt;
&lt;br /&gt;
[[Image:Amplifier-Summer-Laid-out.gif|thumb|A prototype layout of 5 amplifier channels and a summing circuit. Actual size is ~1.6&amp;quot; tall. Areas in green represent problems to be resolved over summer 2009. A prototype amplifier with no green spots has been designed and will be replicated to this design soon.]] To start the amplifier/summing circuit project, I searched high and low for information about how to handle multi-channel designs in Altium. Not surprisingly, the first Google result on the query “multichannel design Altium” had everything I was missing during the fall when I was trying to lay out the original amplifier circuit. Using my new knowledge of Altium’s multichannel capabilities, I captured Igor’s new design into the schematics editor of Altium Designer. With proper nested schematic sheets, the entire 30 channel amplifier/6 channel summer design was compressed into just 4 schematic sheets, vs. the ~40 or so that would have been required had I laid out the complete schematics of the old design. &lt;br /&gt;
&lt;br /&gt;
I spent about a week and a half trying to figure out how to handle nesting independent nets from a repeated subsheet into another repeated subsheet which also produces independent nets from the nets of the first sheet. This sounds somewhat complicated, and I suppose perhaps it is a somewhat unique situation, since none of the ~5 sample multichannel projects included with Altium had such a construction in them. Basically, each summing circuit has five amplifier subcircuits, each of which puts out its own signal independent of the other four. From the perspective of the entire board, there are 6 summers, each of which has five independent signals coming from the amplifiers, and one summed signal. Determining how to get Altium to realize the proper connections from each individual amplifier, through that amplifier’s summer, to the main schematic was a complicated mess of naming conventions, but eventually I was able to make Altium reflect all of the appropriate connections in the PCB view. Though there are a few net naming issues still to be resolved, this problem has mostly been ironed out.&lt;br /&gt;
&lt;br /&gt;
The final few weeks of the semester were spent laying out amplifier components in the PCB view of Altium. As of right now, a compact design for an amplifier measuring 0.183”x~1.3” has been completed. Making use of 0201 size components, this amplifier is approximately .2” shorter than the old design, despite incorporating an extra transistor. The amplifier design features an isolating ground trace running the length of the amplifier to prevent crosstalk between channels. A prototype layout of the summing circuit has also been completed, though some layout issues there remain to be resolved over the summer.&lt;br /&gt;
&lt;br /&gt;
===Related Files===&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-6-2009/Progress20090505.zip Design Snapshot 5/5/2009]&lt;br /&gt;
**Backplane&lt;br /&gt;
***Backplane.PrjPcb (Altium Project File)&lt;br /&gt;
***Backplane.PcbDoc (Altium PCB File)&lt;br /&gt;
***Analog Connector.SchDoc, Digital Connector.SchDoc, LEMO.SchDoc (Altium Schematics)&lt;br /&gt;
***Backplane.pdf (SmartPDF File of the schematics and PCB layout)&lt;br /&gt;
**Amplifier Board&lt;br /&gt;
***Analog Board.PrjPcb (Altium Project File)&lt;br /&gt;
***Amplifier Board.PcbDoc (Altium PCB File)&lt;br /&gt;
***Main.SchDoc, Amplifier.SchDoc, Summer.SchDoc, Voltage References.SchDoc (Altium Schematics)&lt;br /&gt;
***Analog Board.pdf (SmartPDF File of the schematics and PCB layout&lt;br /&gt;
****The SmartPDF shows the entire PCB workspace, including components that have not yet been placed on the physical PCB.&lt;br /&gt;
****The bottom left corner of the PCB view shows a proof-of-concept 5 amplifiers/1 summer layout.&lt;br /&gt;
****Finding AMP6 using the PDF bookmarks shows the prototype amplifier layout that resolves mismatched footprint issues (indicated in green in the image farther up on this page).&lt;br /&gt;
&lt;br /&gt;
== Summary of Fall 2009 Work ==&lt;br /&gt;
&lt;br /&gt;
=== Mid-Semester Update, 11/12/2009 ===&lt;br /&gt;
We now have one fully working prototype of the SiPM Digital Control Board, and the SiPM Amplifier Board is currently being manufactured and assembled by Sierra Circuits, Inc. The backplane design is nearly complete and will be going out for quoting within a week.&lt;br /&gt;
&lt;br /&gt;
Here is a zip file containing the most recent versions of the tagger files: [http://zeus.phys.uconn.edu/halld/tagger/electronics/design-11-2009/TaggerMicroscopeProgress20091112.zip Design Snapshot 11/12/2009]&lt;br /&gt;
&lt;br /&gt;
A few notes about these files:&lt;br /&gt;
*There are four subfolders in the zip file. The folders for the three PCBs are clearly labelled. Each PCB folder has one project file (.PrjPcb) which can be opened in Altium Designer. Each project file refers to only one PcbDoc file, making it easy to figure out what you should look at to see the board.&lt;br /&gt;
*The SiPM digital control board project has 4 shelved polygons which should be restored (Tools-&amp;gt;Polygon Pours-&amp;gt;Restore 4 shelved polyons) to see the state of the board as it was last manufactured. Revisions from the testing process have not yet been entered into Altium but can be reviewed on this wiki: [[Digital control board debugging notes]]&lt;br /&gt;
*The SiPM amplifier (analog) board project will give an error message that it was unable to find &amp;quot;Test PCB.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
*The backplane project will give an error message that it was unable to find &amp;quot;Backplane_New.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
&lt;br /&gt;
=== End of Semester Update ===&lt;br /&gt;
This semester, a lot of progress has been made on the tagger electronics. The digital control board is now onto revision 2.0, the amplifier board is in production, and the backplane is awaiting completion of the purchase order for production to begin. It is exciting to say that the bulk of the work is now finally complete. Remaining for the spring are the tasks of testing the amplifier board, and seeing that everything fits into the backplane. Here are some details about what I accomplished this semester, as well as links to the most recent project files. &lt;br /&gt;
&lt;br /&gt;
==== Digital Control Board ====&lt;br /&gt;
The semester began with the digital control board prototypes sitting on lab bench waiting to be tested. My job was primarily to design the boards, not to debug them, though I still played an integral part in the testing process. We were all relieved that none of the boards appeared to smoke immediately when we first applied power, though there were a few confusing problems that had to be sorted out. Most of these problems are described in detail on the [[Digital control board debugging notes]] page. More or less, we had to solder a pin that wasn't connected, replace the crystal oscillator with a CMOS oscillator, and rewire few traces that were accidentally connected to pins intended for other signals. I won't repeat all of the changes we made here since it would be redundant to the page that already discusses it, but the important part is that we have one board that is fully operational, and the version 2.0 schematics/layout reflecting all these changes are complete. I anticipate that production of the version 2.0 boards will occur at the beginning of the spring 2010 semester. &lt;br /&gt;
&lt;br /&gt;
There is still one lingering problem with the digital board design that has not yet been resolved, however. Even after all of the version 2.0 changes were implemented on the version 1.0 boards, only one of the three boards produced actually functioned properly. For a reason unknown to us, two of the boards ended up with their digital to analog converters burning up and smoking. We thoroughly reviewed the schematics and the layout, and found nothing miswired. Furthermore, we analyzed the placement of the ball grid array DAC to the best of our ability, and determined that a misalignment of balls is not the cause of the failure. All of our power supplies are stable, properly decoupled, and grounded as called for by DAC's manufacturer. Currently, the best hypothesis for the failure of 2 of the 3 DACs is that one or more of the absolute maximum ratings must have been exceeded at some point during the assembly process. Analog Devices lists fairly specific specs with small tolerances relating to maximum temperature and the length of time which the DAC may spend inside a reflow oven. We are currently working with the assembly company to attempt to determine exactly what caused the failure. They plan to reexamine the DAC BGAs on heir x-ray machine, and also perform other testing to determine if the assembly process caused the failure.&lt;br /&gt;
&lt;br /&gt;
==== Amplifier Board ====&lt;br /&gt;
Throughout the summer and the beginning of the fall semester, I completed the design for the SiPM Amplifier Board, version 1.0. All 30 channels have been implemented along with their summing circuits. As I mentioned in the mid semester update above, this board is being manufactured and assembled by Sierra Circuits, Inc. Some unexpected setbacks occurred in the assembly process that delayed the boards somewhat, but I believe everything is now on track for delivery of the finished product before the start of the spring semester. A number of problems relating to minimum quantities of parts, as well as part naming conventions have now been resolved, and the assembly process should be complete in several weeks.&lt;br /&gt;
&lt;br /&gt;
==== Backplane ====&lt;br /&gt;
The backplane design, version 1.0, has also been completed. Sierra Circuits will be manufacturing the backplane, which we will assemble ourselves. The backplane is a particularly interesting PCB from a manufacturing standpoint, because it is designed to be completely light proof. Since the backplane is the only material standing between the whole of Hall D and the inside of the tagger microscope dark box, opacity of the board is particularly important.&lt;br /&gt;
&lt;br /&gt;
Most PCBs with internal copper layers are already fairly opaque, because the copper blocks light from transmitting through the FR-4 and prepreg. Through hole components do not particulary compromise board opacity, because the holes are plugged with component pins and solder. What does have a greater affect on the opaqueness of a board, however, is the thermal reliefs by which through hole pins and vias connect to internal plane layers. These reliefs are designed to aid in the soldering process by minimizing the amount of copper that is directly connected to the plating in the hole. A typical relief consists of four 7-10 mil traces connecting the hole's plating to the internal plane. The plane itself remains about 20 mil away from the hole, to prevent conduction of heat during the soldering process. Unfortunately, this means that there is a small gap in which there is only FR-4 to stop light from passing through the board. Since FR-4 is transparent, this poses a problem for our design. We were able work with Sierra Circuits to come up with a board design that includes an internal layer of special black FR-4 to prevent light leakage through the heat reliefs. While this is certainly not a standard feature, Sierra was confident that they could implement it for us, and we look forward to testing the boards' opacity in the spring.&lt;br /&gt;
&lt;br /&gt;
==== Project Design Snapshot ====&lt;br /&gt;
Here is a link to the most recent project files: [http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2009/Tagger%20Microscope%20Progress%2020091217.zip Tagger Progress, December 17, 2009]&lt;br /&gt;
&lt;br /&gt;
A few notes about these files:&lt;br /&gt;
*There are four subfolders in the zip file. The folders for the three PCBs are clearly labelled. Each PCB folder has one project file (.PrjPcb) which can be opened in Altium Designer. Each project file refers to only one PcbDoc file, making it easy to figure out what you should look at to see the board.&lt;br /&gt;
*The SiPM amplifier (analog) board project will give an error message that it was unable to find &amp;quot;Test PCB.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
*The backplane project will give an error message that it was unable to find &amp;quot;Backplane_New.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
*The most recent bill of materials, which resolves all of the naming convention issues brought up by Sierra is labelled with the date 20091212 in the Amplifier Board folder.&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Woody_Underwood&amp;diff=4857</id>
		<title>Woody Underwood</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Woody_Underwood&amp;diff=4857"/>
		<updated>2010-03-18T21:39:43Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* Project Design Snapshot */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About Me ==&lt;br /&gt;
My name is Woody Underwood. I'm a junior entering my seventh semester in the physics program at UConn. Since the summer of 2008, I've been working in the lab of Dr. Richard Jones designing electronics for the US Department of Energy's GlueX experiment. My assignment is to develop three circuit boards that work together to tag photons coming from the diamond radiator. My circuitry essentially measures (indirectly) the energy of these photons in order to determine if they are of interest to GlueX. The three boards I am designing consist of a digital board, an analog board, and a connecting backplane.&lt;br /&gt;
&lt;br /&gt;
== About My Circuitry ==&lt;br /&gt;
Electrons leaving the diamond radiator are deflected by a magnetic field into an array of scintillating fibres, producing photons. Wave guides carry these photons to SiPMs (silicon photomultipliers) mounted on the analog circuit board. The analog board contains transimpedance amplifiers and summing circuitry to condition the signals for digitization.&lt;br /&gt;
&lt;br /&gt;
The sensitivity of the SiPMs and the gain of the amplifiers on the analog board are controlled both by the power supply VCC and bias voltages supplied from the digital board. The digital board receives commands from a computer via ethernet, and uses a 32-channel DAC to output appropriate bias voltages to the SiPMs on the analog board. The digital and analog boards are connected by means of a backplane, which is also responsible for providing power and grounds to both boards.&lt;br /&gt;
&lt;br /&gt;
== Summary of Fall 2008 Work ==&lt;br /&gt;
All circuitry design work was done using Altium Designer. The digital board was the first to be designed. The first step in designing the digital board was to review the list of key components that had already been selected by Igor and Dr. Jones. These components included such things as the Xilinx Spartan-3A FPGA, and the Analog Devices AD5535 DAC. I began by looking through datasheets for these components to find out their needs, including power and decoupling requirements. I reviewed the pinout diagrams, and then looked through Altium’s standard libraries to find components that matched (in many cases the particular component I was looking for was not in the library, but a similar footprint or schematic symbol was). For components without matching schematic symbols, I entered pinout information from the datasheets into Microsoft Excel, using a layout compatible with Altium’s Smart Grid Insert function. Then, I was able to literally copy and paste pin information from Excel into Altium to generate the schematic symbols I needed.&lt;br /&gt;
&lt;br /&gt;
Once I had appropriate schematic symbols available for all parts, I began making appropriate connections in the schematic view in Altium. Though tedious, this task was not exceedingly difficult. I finished the schematics in several days, and then moved on to PCB design. I switched into Altium's PCB view. The footprints corresponding to the components I used in the schematics were automatically inserted by Altium. My job was then to position these components in logical places on the board and make all of the connections corresponding to the nets defined in the schematics.&lt;br /&gt;
&lt;br /&gt;
Due to the large number of components being placed in the limited space available on the digital board, Altium's auto-router proved completely useless. Therefore, I routed the board manually. Despite Altium's revolutionary convergence of schematic and PCB design into a single program, this was no easy task. During the routing process, I had to take into account not only the connections that had to be made, but also things such as avoiding crosstalk and minimizing trace length for sensitive components. I was able to complete routing after several weeks of work. The digital board design has since been completed and the board has been printed. It is currently awaiting assembly.&lt;br /&gt;
&lt;br /&gt;
The analog board provided a host of new challenges. The basic schematic for the transimpedance amplifier on the analog board was completed by Igor and Dr. Jones before the semester. Inputting the schematic into Altium was not very difficult. However, one problem I encountered was that the analog board contains 32 copies of this amplifier circuitry. After failing to find any way to insert multiple copies of both the schematic and its corresponding PCB layout, I decided to insert only single copies of each schematic page, and copy and paste the PCB layout to produce 32 copies of the amplifier circuitry. At first this seemed like a quick and easy way to get all of the necessary circuitry onto the PCB. However, I eventually discovered that this procedure would lead to major problems with the board assembly process (due to duplicate component designators, and for other reasons). Fortunately, this revelation came around the same time that Igor and Dr. Jones found a problem with the performance of the amplifier circuit. Making any changes to the amplifier circuit at this point will require a major reroute of all the traces on the analog  board. Since the board needs to be completely redesigned anyway, this will give me another chance to find a way to match schematics with all 32 copies of the amplifier circuitry.&lt;br /&gt;
&lt;br /&gt;
The backplane design is currently in progress. It should be relatively easy to complete. All that remains to be done is to add the LEMO connectors and power inputs. The board is simple enough that it can be routed completely by the auto-router, though a quick hand routing will probably be superior. I anticipate that I can complete the backplane with a few days of concentrated work over break.&lt;br /&gt;
&lt;br /&gt;
Included below are links to the files I have been working on. Included in the files for each board is a &amp;quot;SmartPDF,&amp;quot; viewable in Adobe Reader. For those without Altium Designer, these may be the best files to look at. They include complete schematics and PCB layout, and are also indexed by component.&lt;br /&gt;
&lt;br /&gt;
Any questions about the tagger circuitry can be directed to me at [mailto:mitchell.underwood@uconn.edu mitchell.underwood@uconn.edu]&lt;br /&gt;
&lt;br /&gt;
=== Related Files ===&lt;br /&gt;
* [http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/DigitalBoard.zip DigitalBoard.zip]:&lt;br /&gt;
**Altium Project File (SiPM Control Board.PrjPcb)&lt;br /&gt;
**Altium PCB Layout File (Prototype1.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (*.SchDoc)&lt;br /&gt;
**Altium Annotation Document (SiPM Control Board.Annotation)&lt;br /&gt;
***Not used, but generated by Altium when opening the project&lt;br /&gt;
**Altium PRJPCBSTRUCTURE File (SiPM Control Board.PRJPCBSTRUCTURE)&lt;br /&gt;
***Not used, but generated by Altium when opening the project)&lt;br /&gt;
**“SmartPDF” of the board and schematics (SiPM Control Board.pdf)&lt;br /&gt;
***Can be used to explore the PCB layout and schematics without needing Altium&lt;br /&gt;
**Pick and Place File for board population (Pick Place for Prototype1.txt)&lt;br /&gt;
***Used by board assembler&lt;br /&gt;
**NC Drill Files (Prototype1.txt, Prototype1.DRR, Prototype1.DRL)&lt;br /&gt;
***Used by board printer&lt;br /&gt;
**Gerber Files for all layers (in folder Gerbers)&lt;br /&gt;
***Used by board printer&lt;br /&gt;
**Altium CAMtastic file (CAMtastic4 FINAL.Cam)&lt;br /&gt;
***Basically a composite of all the Gerbers &lt;br /&gt;
**Photos and 3D rendering of populated board &lt;br /&gt;
***In folder “Photos”&lt;br /&gt;
**EMF Files showing different layers&lt;br /&gt;
***In folder “EMF Renderings”&lt;br /&gt;
**AutoCad File of PCB (Prototype1 Autocad.DWG)&lt;br /&gt;
**Altium Library of Custom Footprints for Digital Board (GlueX IC Library.SchLib)&lt;br /&gt;
***Current as of completion of digital board&lt;br /&gt;
***This library has since been updated for the backplane&lt;br /&gt;
&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/Analog%20Board%2020081211.zip Analog Board 20081211.zip]:&lt;br /&gt;
**Altium Project File (AnalogBoard.PrjPcb)&lt;br /&gt;
**Altium PCB Layout File (AnalogBoardPCB.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (Amplifer1.SchDoc, Summer.SchDoc)&lt;br /&gt;
**“SmartPDF” of the board and schematics (AnalogBoard.pdf)&lt;br /&gt;
**Altium Component Definition for SiPM (SiPM Library.PcbLib)&lt;br /&gt;
***Contains part footprint and pin information for the SiPM component&lt;br /&gt;
&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/Backplane%2020081211.zip Backplane 20081211.zip]&lt;br /&gt;
**Altium Project File (Backplane.PrjPcb)&lt;br /&gt;
**Alitum PCB Layout File (Backplane.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (Analog Connector.SchDoc, Digital Connector.SchDoc)&lt;br /&gt;
***Analog Connector = Eurocard to analog board&lt;br /&gt;
***Digital Connector = Eurocard to digital board, +3.3V voltage regulator, and location identifier jumper&lt;br /&gt;
***LEMO connections not yet included in these schematics&lt;br /&gt;
**“SmartPDF” of the board and schematics (Backplane.pdf)&lt;br /&gt;
**Pin layout files used to define pinouts for custom components (Pin Layout, 96 pin connector.xlsx, Pinouts.xlsx)&lt;br /&gt;
***Pin Layout, 96 pin connector = pinout definition for 96 pin Eurocard connector&lt;br /&gt;
***Pinouts.xlsx = pinout definitions for digital board, which were reused for the 48 pin digital Eurocard receptacle on backplane&lt;br /&gt;
**Altium Library of Custom Components (GlueX IC Library.SchLib)&lt;br /&gt;
***UPDATED to include new backplane components&lt;br /&gt;
***An older version of this library was used for the digital board&lt;br /&gt;
&lt;br /&gt;
==Summary of Spring 2009 Work==&lt;br /&gt;
&lt;br /&gt;
At the end of the fall semester, Dr. Jones, Igor, and I determined that the amplifier/summing circuit we had designed simply didn’t have sufficient performance characteristics to be useful for GlueX. During the beginning of the spring semester, Igor came up with a new design, utilizing more transistors, to provide the high gain, fast response, picosecond resolution amplifier that we needed. The design performed flawlessly both in MatLab simulations and in a handmade single channel prototype. The first of my goals for the spring 2009 semester was to capture the schematic for this new amplifier into Altium designer, and layout a new amplifier board. The second of my goals, of course, was to complete production of the digital control board prototypes.&lt;br /&gt;
&lt;br /&gt;
[[Image:Digital Board, Populated.JPG|thumb|The populated digital board, with a tube of Chap-Block&amp;lt;sup&amp;gt;TM&amp;lt;/sup&amp;gt; for size comparison.]] Since the fall semester left us with three unpopulated digital control board PCBs, getting those PCBs assembled with their components was the first priority. I began the semester by tracking down all of the components we needed (some of which were selected at the end of the fall semester), and making appropriate substitutions for components whose availability had changed since the fall. In the process of selecting these components, I noticed several places where it seemed like power consumption on the board may be somewhat high. To fix this, I developed a spreadsheet in Microsoft Excel that calculates optimal resistor values to use for to obtain a specified voltage divider stiffness. With this tool, I was able to optimize power consumption across the board, and select appropriate components. Once all components had been selected, ordered, and received, we sent the order out to Screamin’ Circuits for assembly. The boards came back several weeks later, and are currently awaiting testing by some undergraduates who will be in the lab this summer.&lt;br /&gt;
&lt;br /&gt;
While Igor was finalizing his amplifier/summing circuit, I worked briefly on design of the backplane. A number of details regarding trace impedance and board dimensions were ironed out. Nonetheless, many problems still remain which I will need to tackle over the summer. The first of these problems is that we have yet to find an appropriate low cost coaxial connector to route signals off the backplane. In addition, screws with which to mount the backplane to the tagger must be selected so that appropriate holes can be created for them on the PCB.&lt;br /&gt;
&lt;br /&gt;
Once we were satisfied that the amplifier/summing circuit performed as required, I shifted work from the backplane to the amplifier board. Around the same time, I began working on a poster to present my work at the Frontiers in Undergraduate Research Exhibition held during Open House Weekend here at UConn. If you’re interested in my poster, check it out here.&lt;br /&gt;
&lt;br /&gt;
[[Image:Amplifier-Summer-Laid-out.gif|thumb|A prototype layout of 5 amplifier channels and a summing circuit. Actual size is ~1.6&amp;quot; tall. Areas in green represent problems to be resolved over summer 2009. A prototype amplifier with no green spots has been designed and will be replicated to this design soon.]] To start the amplifier/summing circuit project, I searched high and low for information about how to handle multi-channel designs in Altium. Not surprisingly, the first Google result on the query “multichannel design Altium” had everything I was missing during the fall when I was trying to lay out the original amplifier circuit. Using my new knowledge of Altium’s multichannel capabilities, I captured Igor’s new design into the schematics editor of Altium Designer. With proper nested schematic sheets, the entire 30 channel amplifier/6 channel summer design was compressed into just 4 schematic sheets, vs. the ~40 or so that would have been required had I laid out the complete schematics of the old design. &lt;br /&gt;
&lt;br /&gt;
I spent about a week and a half trying to figure out how to handle nesting independent nets from a repeated subsheet into another repeated subsheet which also produces independent nets from the nets of the first sheet. This sounds somewhat complicated, and I suppose perhaps it is a somewhat unique situation, since none of the ~5 sample multichannel projects included with Altium had such a construction in them. Basically, each summing circuit has five amplifier subcircuits, each of which puts out its own signal independent of the other four. From the perspective of the entire board, there are 6 summers, each of which has five independent signals coming from the amplifiers, and one summed signal. Determining how to get Altium to realize the proper connections from each individual amplifier, through that amplifier’s summer, to the main schematic was a complicated mess of naming conventions, but eventually I was able to make Altium reflect all of the appropriate connections in the PCB view. Though there are a few net naming issues still to be resolved, this problem has mostly been ironed out.&lt;br /&gt;
&lt;br /&gt;
The final few weeks of the semester were spent laying out amplifier components in the PCB view of Altium. As of right now, a compact design for an amplifier measuring 0.183”x~1.3” has been completed. Making use of 0201 size components, this amplifier is approximately .2” shorter than the old design, despite incorporating an extra transistor. The amplifier design features an isolating ground trace running the length of the amplifier to prevent crosstalk between channels. A prototype layout of the summing circuit has also been completed, though some layout issues there remain to be resolved over the summer.&lt;br /&gt;
&lt;br /&gt;
===Related Files===&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-6-2009/Progress20090505.zip Design Snapshot 5/5/2009]&lt;br /&gt;
**Backplane&lt;br /&gt;
***Backplane.PrjPcb (Altium Project File)&lt;br /&gt;
***Backplane.PcbDoc (Altium PCB File)&lt;br /&gt;
***Analog Connector.SchDoc, Digital Connector.SchDoc, LEMO.SchDoc (Altium Schematics)&lt;br /&gt;
***Backplane.pdf (SmartPDF File of the schematics and PCB layout)&lt;br /&gt;
**Amplifier Board&lt;br /&gt;
***Analog Board.PrjPcb (Altium Project File)&lt;br /&gt;
***Amplifier Board.PcbDoc (Altium PCB File)&lt;br /&gt;
***Main.SchDoc, Amplifier.SchDoc, Summer.SchDoc, Voltage References.SchDoc (Altium Schematics)&lt;br /&gt;
***Analog Board.pdf (SmartPDF File of the schematics and PCB layout&lt;br /&gt;
****The SmartPDF shows the entire PCB workspace, including components that have not yet been placed on the physical PCB.&lt;br /&gt;
****The bottom left corner of the PCB view shows a proof-of-concept 5 amplifiers/1 summer layout.&lt;br /&gt;
****Finding AMP6 using the PDF bookmarks shows the prototype amplifier layout that resolves mismatched footprint issues (indicated in green in the image farther up on this page).&lt;br /&gt;
&lt;br /&gt;
== Summary of Fall 2009 Work ==&lt;br /&gt;
&lt;br /&gt;
=== Mid-Semester Update, 11/12/2009 ===&lt;br /&gt;
We now have one fully working prototype of the SiPM Digital Control Board, and the SiPM Amplifier Board is currently being manufactured and assembled by Sierra Circuits, Inc. The backplane design is nearly complete and will be going out for quoting within a week.&lt;br /&gt;
&lt;br /&gt;
Here is a zip file containing the most recent versions of the tagger files: [http://zeus.phys.uconn.edu/halld/tagger/electronics/design-11-2009/TaggerMicroscopeProgress20091112.zip Design Snapshot 11/12/2009]&lt;br /&gt;
&lt;br /&gt;
A few notes about these files:&lt;br /&gt;
*There are four subfolders in the zip file. The folders for the three PCBs are clearly labelled. Each PCB folder has one project file (.PrjPcb) which can be opened in Altium Designer. Each project file refers to only one PcbDoc file, making it easy to figure out what you should look at to see the board.&lt;br /&gt;
*The SiPM digital control board project has 4 shelved polygons which should be restored (Tools-&amp;gt;Polygon Pours-&amp;gt;Restore 4 shelved polyons) to see the state of the board as it was last manufactured. Revisions from the testing process have not yet been entered into Altium but can be reviewed on this wiki: [[Digital control board debugging notes]]&lt;br /&gt;
*The SiPM amplifier (analog) board project will give an error message that it was unable to find &amp;quot;Test PCB.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
*The backplane project will give an error message that it was unable to find &amp;quot;Backplane_New.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
&lt;br /&gt;
=== End of Semester Update ===&lt;br /&gt;
This semester, a lot of progress has been made on the tagger electronics. The digital control board is now onto revision 2.0, the amplifier board is in production, and the backplane is awaiting completion of the purchase order for production to begin. It is exciting to say that the bulk of the work is now finally complete. Remaining for the spring are the tasks of testing the amplifier board, and seeing that everything fits into the backplane. Here are some details about what I accomplished this semester, as well as links to the most recent project files. &lt;br /&gt;
&lt;br /&gt;
==== Digital Control Board ====&lt;br /&gt;
The semester began with the digital control board prototypes sitting on lab bench waiting to be tested. My job was primarily to design the boards, not to debug them, though I still played an integral part in the testing process. We were all relieved that none of the boards appeared to smoke immediately when we first applied power, though there were a few confusing problems that had to be sorted out. Most of these problems are described in detail on the [[Digital control board debugging notes]] page. More or less, we had to solder a pin that wasn't connected, replace the crystal oscillator with a CMOS oscillator, and rewire few traces that were accidentally connected to pins intended for other signals. I won't repeat all of the changes we made here since it would be redundant to the page that already discusses it, but the important part is that we have one board that is fully operational, and the version 2.0 schematics/layout reflecting all these changes are complete. I anticipate that production of the version 2.0 boards will occur at the beginning of the spring 2010 semester. &lt;br /&gt;
&lt;br /&gt;
There is still one lingering problem with the digital board design that has not yet been resolved, however. Even after all of the version 2.0 changes were implemented on the version 1.0 boards, only one of the three boards produced actually functioned properly. For a reason unknown to us, two of the boards ended up with their digital to analog converters burning up and smoking. We thoroughly reviewed the schematics and the layout, and found nothing miswired. Furthermore, we analyzed the placement of the ball grid array DAC to the best of our ability, and determined that a misalignment of balls is not the cause of the failure. All of our power supplies are stable, properly decoupled, and grounded as called for by DAC's manufacturer. Currently, the best hypothesis for the failure of 2 of the 3 DACs is that one or more of the absolute maximum ratings must have been exceeded at some point during the assembly process. Analog Devices lists fairly specific specs with small tolerances relating to maximum temperature and the length of time which the DAC may spend inside a reflow oven. We are currently working with the assembly company to attempt to determine exactly what caused the failure. They plan to reexamine the DAC BGAs on heir x-ray machine, and also perform other testing to determine if the assembly process caused the failure.&lt;br /&gt;
&lt;br /&gt;
==== Amplifier Board ====&lt;br /&gt;
Throughout the summer and the beginning of the fall semester, I completed the design for the SiPM Amplifier Board, version 1.0. All 30 channels have been implemented along with their summing circuits. As I mentioned in the mid semester update above, this board is being manufactured and assembled by Sierra Circuits, Inc. Some unexpected setbacks occurred in the assembly process that delayed the boards somewhat, but I believe everything is now on track for delivery of the finished product before the start of the spring semester. A number of problems relating to minimum quantities of parts, as well as part naming conventions have now been resolved, and the assembly process should be complete in several weeks.&lt;br /&gt;
&lt;br /&gt;
==== Backplane ====&lt;br /&gt;
The backplane design, version 1.0, has also been completed. Sierra Circuits will be manufacturing the backplane, which we will assemble ourselves. The backplane is a particularly interesting PCB from a manufacturing standpoint, because it is designed to be completely light proof. Since the backplane is the only material standing between the whole of Hall D and the inside of the tagger microscope dark box, opacity of the board is particularly important.&lt;br /&gt;
&lt;br /&gt;
Most PCBs with internal copper layers are already fairly opaque, because the copper blocks light from transmitting through the FR-4 and prepreg. Through hole components do not particulary compromise board opacity, because the holes are plugged with component pins and solder. What does have a greater affect on the opaqueness of a board, however, is the thermal reliefs by which through hole pins and vias connect to internal plane layers. These reliefs are designed to aid in the soldering process by minimizing the amount of copper that is directly connected to the plating in the hole. A typical relief consists of four 7-10 mil traces connecting the hole's plating to the internal plane. The plane itself remains about 20 mil away from the hole, to prevent conduction of heat during the soldering process. Unfortunately, this means that there is a small gap in which there is only FR-4 to stop light from passing through the board. Since FR-4 is transparent, this poses a problem for our design. We were able work with Sierra Circuits to come up with a board design that includes an internal layer of special black FR-4 to prevent light leakage through the heat reliefs. While this is certainly not a standard feature, Sierra was confident that they could implement it for us, and we look forward to testing the boards' opacity in the spring.&lt;br /&gt;
&lt;br /&gt;
==== Project Design Snapshot ====&lt;br /&gt;
Here is a link to the most project files: [http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2009/Tagger%20Microscope%20Progress%2020091217.zip Tagger Progress, December 17, 2009]&lt;br /&gt;
&lt;br /&gt;
A few notes about these files:&lt;br /&gt;
*There are four subfolders in the zip file. The folders for the three PCBs are clearly labelled. Each PCB folder has one project file (.PrjPcb) which can be opened in Altium Designer. Each project file refers to only one PcbDoc file, making it easy to figure out what you should look at to see the board.&lt;br /&gt;
*The SiPM amplifier (analog) board project will give an error message that it was unable to find &amp;quot;Test PCB.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
*The backplane project will give an error message that it was unable to find &amp;quot;Backplane_New.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
*The most recent bill of materials, which resolves all of the naming convention issues brought up by Sierra is labelled with the date 20091212 in the Amplifier Board folder.&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Woody_Underwood&amp;diff=4763</id>
		<title>Woody Underwood</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Woody_Underwood&amp;diff=4763"/>
		<updated>2009-12-21T03:52:21Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* Digital Control Board */ added that we are working with screaming circuits&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About Me ==&lt;br /&gt;
My name is Woody Underwood. I'm a junior entering my seventh semester in the physics program at UConn. Since the summer of 2008, I've been working in the lab of Dr. Richard Jones designing electronics for the US Department of Energy's GlueX experiment. My assignment is to develop three circuit boards that work together to tag photons coming from the diamond radiator. My circuitry essentially measures (indirectly) the energy of these photons in order to determine if they are of interest to GlueX. The three boards I am designing consist of a digital board, an analog board, and a connecting backplane.&lt;br /&gt;
&lt;br /&gt;
== About My Circuitry ==&lt;br /&gt;
Electrons leaving the diamond radiator are deflected by a magnetic field into an array of scintillating fibres, producing photons. Wave guides carry these photons to SiPMs (silicon photomultipliers) mounted on the analog circuit board. The analog board contains transimpedance amplifiers and summing circuitry to condition the signals for digitization.&lt;br /&gt;
&lt;br /&gt;
The sensitivity of the SiPMs and the gain of the amplifiers on the analog board are controlled both by the power supply VCC and bias voltages supplied from the digital board. The digital board receives commands from a computer via ethernet, and uses a 32-channel DAC to output appropriate bias voltages to the SiPMs on the analog board. The digital and analog boards are connected by means of a backplane, which is also responsible for providing power and grounds to both boards.&lt;br /&gt;
&lt;br /&gt;
== Summary of Fall 2008 Work ==&lt;br /&gt;
All circuitry design work was done using Altium Designer. The digital board was the first to be designed. The first step in designing the digital board was to review the list of key components that had already been selected by Igor and Dr. Jones. These components included such things as the Xilinx Spartan-3A FPGA, and the Analog Devices AD5535 DAC. I began by looking through datasheets for these components to find out their needs, including power and decoupling requirements. I reviewed the pinout diagrams, and then looked through Altium’s standard libraries to find components that matched (in many cases the particular component I was looking for was not in the library, but a similar footprint or schematic symbol was). For components without matching schematic symbols, I entered pinout information from the datasheets into Microsoft Excel, using a layout compatible with Altium’s Smart Grid Insert function. Then, I was able to literally copy and paste pin information from Excel into Altium to generate the schematic symbols I needed.&lt;br /&gt;
&lt;br /&gt;
Once I had appropriate schematic symbols available for all parts, I began making appropriate connections in the schematic view in Altium. Though tedious, this task was not exceedingly difficult. I finished the schematics in several days, and then moved on to PCB design. I switched into Altium's PCB view. The footprints corresponding to the components I used in the schematics were automatically inserted by Altium. My job was then to position these components in logical places on the board and make all of the connections corresponding to the nets defined in the schematics.&lt;br /&gt;
&lt;br /&gt;
Due to the large number of components being placed in the limited space available on the digital board, Altium's auto-router proved completely useless. Therefore, I routed the board manually. Despite Altium's revolutionary convergence of schematic and PCB design into a single program, this was no easy task. During the routing process, I had to take into account not only the connections that had to be made, but also things such as avoiding crosstalk and minimizing trace length for sensitive components. I was able to complete routing after several weeks of work. The digital board design has since been completed and the board has been printed. It is currently awaiting assembly.&lt;br /&gt;
&lt;br /&gt;
The analog board provided a host of new challenges. The basic schematic for the transimpedance amplifier on the analog board was completed by Igor and Dr. Jones before the semester. Inputting the schematic into Altium was not very difficult. However, one problem I encountered was that the analog board contains 32 copies of this amplifier circuitry. After failing to find any way to insert multiple copies of both the schematic and its corresponding PCB layout, I decided to insert only single copies of each schematic page, and copy and paste the PCB layout to produce 32 copies of the amplifier circuitry. At first this seemed like a quick and easy way to get all of the necessary circuitry onto the PCB. However, I eventually discovered that this procedure would lead to major problems with the board assembly process (due to duplicate component designators, and for other reasons). Fortunately, this revelation came around the same time that Igor and Dr. Jones found a problem with the performance of the amplifier circuit. Making any changes to the amplifier circuit at this point will require a major reroute of all the traces on the analog  board. Since the board needs to be completely redesigned anyway, this will give me another chance to find a way to match schematics with all 32 copies of the amplifier circuitry.&lt;br /&gt;
&lt;br /&gt;
The backplane design is currently in progress. It should be relatively easy to complete. All that remains to be done is to add the LEMO connectors and power inputs. The board is simple enough that it can be routed completely by the auto-router, though a quick hand routing will probably be superior. I anticipate that I can complete the backplane with a few days of concentrated work over break.&lt;br /&gt;
&lt;br /&gt;
Included below are links to the files I have been working on. Included in the files for each board is a &amp;quot;SmartPDF,&amp;quot; viewable in Adobe Reader. For those without Altium Designer, these may be the best files to look at. They include complete schematics and PCB layout, and are also indexed by component.&lt;br /&gt;
&lt;br /&gt;
Any questions about the tagger circuitry can be directed to me at [mailto:mitchell.underwood@uconn.edu mitchell.underwood@uconn.edu]&lt;br /&gt;
&lt;br /&gt;
=== Related Files ===&lt;br /&gt;
* [http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/DigitalBoard.zip DigitalBoard.zip]:&lt;br /&gt;
**Altium Project File (SiPM Control Board.PrjPcb)&lt;br /&gt;
**Altium PCB Layout File (Prototype1.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (*.SchDoc)&lt;br /&gt;
**Altium Annotation Document (SiPM Control Board.Annotation)&lt;br /&gt;
***Not used, but generated by Altium when opening the project&lt;br /&gt;
**Altium PRJPCBSTRUCTURE File (SiPM Control Board.PRJPCBSTRUCTURE)&lt;br /&gt;
***Not used, but generated by Altium when opening the project)&lt;br /&gt;
**“SmartPDF” of the board and schematics (SiPM Control Board.pdf)&lt;br /&gt;
***Can be used to explore the PCB layout and schematics without needing Altium&lt;br /&gt;
**Pick and Place File for board population (Pick Place for Prototype1.txt)&lt;br /&gt;
***Used by board assembler&lt;br /&gt;
**NC Drill Files (Prototype1.txt, Prototype1.DRR, Prototype1.DRL)&lt;br /&gt;
***Used by board printer&lt;br /&gt;
**Gerber Files for all layers (in folder Gerbers)&lt;br /&gt;
***Used by board printer&lt;br /&gt;
**Altium CAMtastic file (CAMtastic4 FINAL.Cam)&lt;br /&gt;
***Basically a composite of all the Gerbers &lt;br /&gt;
**Photos and 3D rendering of populated board &lt;br /&gt;
***In folder “Photos”&lt;br /&gt;
**EMF Files showing different layers&lt;br /&gt;
***In folder “EMF Renderings”&lt;br /&gt;
**AutoCad File of PCB (Prototype1 Autocad.DWG)&lt;br /&gt;
**Altium Library of Custom Footprints for Digital Board (GlueX IC Library.SchLib)&lt;br /&gt;
***Current as of completion of digital board&lt;br /&gt;
***This library has since been updated for the backplane&lt;br /&gt;
&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/Analog%20Board%2020081211.zip Analog Board 20081211.zip]:&lt;br /&gt;
**Altium Project File (AnalogBoard.PrjPcb)&lt;br /&gt;
**Altium PCB Layout File (AnalogBoardPCB.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (Amplifer1.SchDoc, Summer.SchDoc)&lt;br /&gt;
**“SmartPDF” of the board and schematics (AnalogBoard.pdf)&lt;br /&gt;
**Altium Component Definition for SiPM (SiPM Library.PcbLib)&lt;br /&gt;
***Contains part footprint and pin information for the SiPM component&lt;br /&gt;
&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/Backplane%2020081211.zip Backplane 20081211.zip]&lt;br /&gt;
**Altium Project File (Backplane.PrjPcb)&lt;br /&gt;
**Alitum PCB Layout File (Backplane.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (Analog Connector.SchDoc, Digital Connector.SchDoc)&lt;br /&gt;
***Analog Connector = Eurocard to analog board&lt;br /&gt;
***Digital Connector = Eurocard to digital board, +3.3V voltage regulator, and location identifier jumper&lt;br /&gt;
***LEMO connections not yet included in these schematics&lt;br /&gt;
**“SmartPDF” of the board and schematics (Backplane.pdf)&lt;br /&gt;
**Pin layout files used to define pinouts for custom components (Pin Layout, 96 pin connector.xlsx, Pinouts.xlsx)&lt;br /&gt;
***Pin Layout, 96 pin connector = pinout definition for 96 pin Eurocard connector&lt;br /&gt;
***Pinouts.xlsx = pinout definitions for digital board, which were reused for the 48 pin digital Eurocard receptacle on backplane&lt;br /&gt;
**Altium Library of Custom Components (GlueX IC Library.SchLib)&lt;br /&gt;
***UPDATED to include new backplane components&lt;br /&gt;
***An older version of this library was used for the digital board&lt;br /&gt;
&lt;br /&gt;
==Summary of Spring 2009 Work==&lt;br /&gt;
&lt;br /&gt;
At the end of the fall semester, Dr. Jones, Igor, and I determined that the amplifier/summing circuit we had designed simply didn’t have sufficient performance characteristics to be useful for GlueX. During the beginning of the spring semester, Igor came up with a new design, utilizing more transistors, to provide the high gain, fast response, picosecond resolution amplifier that we needed. The design performed flawlessly both in MatLab simulations and in a handmade single channel prototype. The first of my goals for the spring 2009 semester was to capture the schematic for this new amplifier into Altium designer, and layout a new amplifier board. The second of my goals, of course, was to complete production of the digital control board prototypes.&lt;br /&gt;
&lt;br /&gt;
[[Image:Digital Board, Populated.JPG|thumb|The populated digital board, with a tube of Chap-Block&amp;lt;sup&amp;gt;TM&amp;lt;/sup&amp;gt; for size comparison.]] Since the fall semester left us with three unpopulated digital control board PCBs, getting those PCBs assembled with their components was the first priority. I began the semester by tracking down all of the components we needed (some of which were selected at the end of the fall semester), and making appropriate substitutions for components whose availability had changed since the fall. In the process of selecting these components, I noticed several places where it seemed like power consumption on the board may be somewhat high. To fix this, I developed a spreadsheet in Microsoft Excel that calculates optimal resistor values to use for to obtain a specified voltage divider stiffness. With this tool, I was able to optimize power consumption across the board, and select appropriate components. Once all components had been selected, ordered, and received, we sent the order out to Screamin’ Circuits for assembly. The boards came back several weeks later, and are currently awaiting testing by some undergraduates who will be in the lab this summer.&lt;br /&gt;
&lt;br /&gt;
While Igor was finalizing his amplifier/summing circuit, I worked briefly on design of the backplane. A number of details regarding trace impedance and board dimensions were ironed out. Nonetheless, many problems still remain which I will need to tackle over the summer. The first of these problems is that we have yet to find an appropriate low cost coaxial connector to route signals off the backplane. In addition, screws with which to mount the backplane to the tagger must be selected so that appropriate holes can be created for them on the PCB.&lt;br /&gt;
&lt;br /&gt;
Once we were satisfied that the amplifier/summing circuit performed as required, I shifted work from the backplane to the amplifier board. Around the same time, I began working on a poster to present my work at the Frontiers in Undergraduate Research Exhibition held during Open House Weekend here at UConn. If you’re interested in my poster, check it out here.&lt;br /&gt;
&lt;br /&gt;
[[Image:Amplifier-Summer-Laid-out.gif|thumb|A prototype layout of 5 amplifier channels and a summing circuit. Actual size is ~1.6&amp;quot; tall. Areas in green represent problems to be resolved over summer 2009. A prototype amplifier with no green spots has been designed and will be replicated to this design soon.]] To start the amplifier/summing circuit project, I searched high and low for information about how to handle multi-channel designs in Altium. Not surprisingly, the first Google result on the query “multichannel design Altium” had everything I was missing during the fall when I was trying to lay out the original amplifier circuit. Using my new knowledge of Altium’s multichannel capabilities, I captured Igor’s new design into the schematics editor of Altium Designer. With proper nested schematic sheets, the entire 30 channel amplifier/6 channel summer design was compressed into just 4 schematic sheets, vs. the ~40 or so that would have been required had I laid out the complete schematics of the old design. &lt;br /&gt;
&lt;br /&gt;
I spent about a week and a half trying to figure out how to handle nesting independent nets from a repeated subsheet into another repeated subsheet which also produces independent nets from the nets of the first sheet. This sounds somewhat complicated, and I suppose perhaps it is a somewhat unique situation, since none of the ~5 sample multichannel projects included with Altium had such a construction in them. Basically, each summing circuit has five amplifier subcircuits, each of which puts out its own signal independent of the other four. From the perspective of the entire board, there are 6 summers, each of which has five independent signals coming from the amplifiers, and one summed signal. Determining how to get Altium to realize the proper connections from each individual amplifier, through that amplifier’s summer, to the main schematic was a complicated mess of naming conventions, but eventually I was able to make Altium reflect all of the appropriate connections in the PCB view. Though there are a few net naming issues still to be resolved, this problem has mostly been ironed out.&lt;br /&gt;
&lt;br /&gt;
The final few weeks of the semester were spent laying out amplifier components in the PCB view of Altium. As of right now, a compact design for an amplifier measuring 0.183”x~1.3” has been completed. Making use of 0201 size components, this amplifier is approximately .2” shorter than the old design, despite incorporating an extra transistor. The amplifier design features an isolating ground trace running the length of the amplifier to prevent crosstalk between channels. A prototype layout of the summing circuit has also been completed, though some layout issues there remain to be resolved over the summer.&lt;br /&gt;
&lt;br /&gt;
===Related Files===&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-6-2009/Progress20090505.zip Design Snapshot 5/5/2009]&lt;br /&gt;
**Backplane&lt;br /&gt;
***Backplane.PrjPcb (Altium Project File)&lt;br /&gt;
***Backplane.PcbDoc (Altium PCB File)&lt;br /&gt;
***Analog Connector.SchDoc, Digital Connector.SchDoc, LEMO.SchDoc (Altium Schematics)&lt;br /&gt;
***Backplane.pdf (SmartPDF File of the schematics and PCB layout)&lt;br /&gt;
**Amplifier Board&lt;br /&gt;
***Analog Board.PrjPcb (Altium Project File)&lt;br /&gt;
***Amplifier Board.PcbDoc (Altium PCB File)&lt;br /&gt;
***Main.SchDoc, Amplifier.SchDoc, Summer.SchDoc, Voltage References.SchDoc (Altium Schematics)&lt;br /&gt;
***Analog Board.pdf (SmartPDF File of the schematics and PCB layout&lt;br /&gt;
****The SmartPDF shows the entire PCB workspace, including components that have not yet been placed on the physical PCB.&lt;br /&gt;
****The bottom left corner of the PCB view shows a proof-of-concept 5 amplifiers/1 summer layout.&lt;br /&gt;
****Finding AMP6 using the PDF bookmarks shows the prototype amplifier layout that resolves mismatched footprint issues (indicated in green in the image farther up on this page).&lt;br /&gt;
&lt;br /&gt;
== Summary of Fall 2009 Work ==&lt;br /&gt;
&lt;br /&gt;
=== Mid-Semester Update, 11/12/2009 ===&lt;br /&gt;
We now have one fully working prototype of the SiPM Digital Control Board, and the SiPM Amplifier Board is currently being manufactured and assembled by Sierra Circuits, Inc. The backplane design is nearly complete and will be going out for quoting within a week.&lt;br /&gt;
&lt;br /&gt;
Here is a zip file containing the most recent versions of the tagger files: [http://zeus.phys.uconn.edu/halld/tagger/electronics/design-11-2009/TaggerMicroscopeProgress20091112.zip Design Snapshot 11/12/2009]&lt;br /&gt;
&lt;br /&gt;
A few notes about these files:&lt;br /&gt;
*There are four subfolders in the zip file. The folders for the three PCBs are clearly labelled. Each PCB folder has one project file (.PrjPcb) which can be opened in Altium Designer. Each project file refers to only one PcbDoc file, making it easy to figure out what you should look at to see the board.&lt;br /&gt;
*The SiPM digital control board project has 4 shelved polygons which should be restored (Tools-&amp;gt;Polygon Pours-&amp;gt;Restore 4 shelved polyons) to see the state of the board as it was last manufactured. Revisions from the testing process have not yet been entered into Altium but can be reviewed on this wiki: [[Digital control board debugging notes]]&lt;br /&gt;
*The SiPM amplifier (analog) board project will give an error message that it was unable to find &amp;quot;Test PCB.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
*The backplane project will give an error message that it was unable to find &amp;quot;Backplane_New.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
&lt;br /&gt;
=== End of Semester Update ===&lt;br /&gt;
This semester, a lot of progress has been made on the tagger electronics. The digital control board is now onto revision 2.0, the amplifier board is in production, and the backplane is awaiting completion of the purchase order for production to begin. It is exciting to say that the bulk of the work is now finally complete. Remaining for the spring are the tasks of testing the amplifier board, and seeing that everything fits into the backplane. Here are some details about what I accomplished this semester, as well as links to the most recent project files. &lt;br /&gt;
&lt;br /&gt;
==== Digital Control Board ====&lt;br /&gt;
The semester began with the digital control board prototypes sitting on lab bench waiting to be tested. My job was primarily to design the boards, not to debug them, though I still played an integral part in the testing process. We were all relieved that none of the boards appeared to smoke immediately when we first applied power, though there were a few confusing problems that had to be sorted out. Most of these problems are described in detail on the [[Digital control board debugging notes]] page. More or less, we had to solder a pin that wasn't connected, replace the crystal oscillator with a CMOS oscillator, and rewire few traces that were accidentally connected to pins intended for other signals. I won't repeat all of the changes we made here since it would be redundant to the page that already discusses it, but the important part is that we have one board that is fully operational, and the version 2.0 schematics/layout reflecting all these changes are complete. I anticipate that production of the version 2.0 boards will occur at the beginning of the spring 2010 semester. &lt;br /&gt;
&lt;br /&gt;
There is still one lingering problem with the digital board design that has not yet been resolved, however. Even after all of the version 2.0 changes were implemented on the version 1.0 boards, only one of the three boards produced actually functioned properly. For a reason unknown to us, two of the boards ended up with their digital to analog converters burning up and smoking. We thoroughly reviewed the schematics and the layout, and found nothing miswired. Furthermore, we analyzed the placement of the ball grid array DAC to the best of our ability, and determined that a misalignment of balls is not the cause of the failure. All of our power supplies are stable, properly decoupled, and grounded as called for by DAC's manufacturer. Currently, the best hypothesis for the failure of 2 of the 3 DACs is that one or more of the absolute maximum ratings must have been exceeded at some point during the assembly process. Analog Devices lists fairly specific specs with small tolerances relating to maximum temperature and the length of time which the DAC may spend inside a reflow oven. We are currently working with the assembly company to attempt to determine exactly what caused the failure. They plan to reexamine the DAC BGAs on heir x-ray machine, and also perform other testing to determine if the assembly process caused the failure.&lt;br /&gt;
&lt;br /&gt;
==== Amplifier Board ====&lt;br /&gt;
Throughout the summer and the beginning of the fall semester, I completed the design for the SiPM Amplifier Board, version 1.0. All 30 channels have been implemented along with their summing circuits. As I mentioned in the mid semester update above, this board is being manufactured and assembled by Sierra Circuits, Inc. Some unexpected setbacks occurred in the assembly process that delayed the boards somewhat, but I believe everything is now on track for delivery of the finished product before the start of the spring semester. A number of problems relating to minimum quantities of parts, as well as part naming conventions have now been resolved, and the assembly process should be complete in several weeks.&lt;br /&gt;
&lt;br /&gt;
==== Backplane ====&lt;br /&gt;
The backplane design, version 1.0, has also been completed. Sierra Circuits will be manufacturing the backplane, which we will assemble ourselves. The backplane is a particularly interesting PCB from a manufacturing standpoint, because it is designed to be completely light proof. Since the backplane is the only material standing between the whole of Hall D and the inside of the tagger microscope dark box, opacity of the board is particularly important.&lt;br /&gt;
&lt;br /&gt;
Most PCBs with internal copper layers are already fairly opaque, because the copper blocks light from transmitting through the FR-4 and prepreg. Through hole components do not particulary compromise board opacity, because the holes are plugged with component pins and solder. What does have a greater affect on the opaqueness of a board, however, is the thermal reliefs by which through hole pins and vias connect to internal plane layers. These reliefs are designed to aid in the soldering process by minimizing the amount of copper that is directly connected to the plating in the hole. A typical relief consists of four 7-10 mil traces connecting the hole's plating to the internal plane. The plane itself remains about 20 mil away from the hole, to prevent conduction of heat during the soldering process. Unfortunately, this means that there is a small gap in which there is only FR-4 to stop light from passing through the board. Since FR-4 is transparent, this poses a problem for our design. We were able work with Sierra Circuits to come up with a board design that includes an internal layer of special black FR-4 to prevent light leakage through the heat reliefs. While this is certainly not a standard feature, Sierra was confident that they could implement it for us, and we look forward to testing the boards' opacity in the spring.&lt;br /&gt;
&lt;br /&gt;
==== Project Design Snapshot ====&lt;br /&gt;
Here is a link to the most project files: INSERT LINK TO DESIGN SNAPSHOT 12/17/2009 HERE&lt;br /&gt;
&lt;br /&gt;
A few notes about these files:&lt;br /&gt;
*There are four subfolders in the zip file. The folders for the three PCBs are clearly labelled. Each PCB folder has one project file (.PrjPcb) which can be opened in Altium Designer. Each project file refers to only one PcbDoc file, making it easy to figure out what you should look at to see the board.&lt;br /&gt;
*The SiPM amplifier (analog) board project will give an error message that it was unable to find &amp;quot;Test PCB.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
*The backplane project will give an error message that it was unable to find &amp;quot;Backplane_New.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
*The most recent bill of materials, which resolves all of the naming convention issues brought up by Sierra is labelled with the date 20091212 in the Amplifier Board folder.&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Woody_Underwood&amp;diff=4754</id>
		<title>Woody Underwood</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Woody_Underwood&amp;diff=4754"/>
		<updated>2009-12-17T22:22:20Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* Project Design Snapshot */ typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About Me ==&lt;br /&gt;
My name is Woody Underwood. I'm a junior entering my seventh semester in the physics program at UConn. Since the summer of 2008, I've been working in the lab of Dr. Richard Jones designing electronics for the US Department of Energy's GlueX experiment. My assignment is to develop three circuit boards that work together to tag photons coming from the diamond radiator. My circuitry essentially measures (indirectly) the energy of these photons in order to determine if they are of interest to GlueX. The three boards I am designing consist of a digital board, an analog board, and a connecting backplane.&lt;br /&gt;
&lt;br /&gt;
== About My Circuitry ==&lt;br /&gt;
Electrons leaving the diamond radiator are deflected by a magnetic field into an array of scintillating fibres, producing photons. Wave guides carry these photons to SiPMs (silicon photomultipliers) mounted on the analog circuit board. The analog board contains transimpedance amplifiers and summing circuitry to condition the signals for digitization.&lt;br /&gt;
&lt;br /&gt;
The sensitivity of the SiPMs and the gain of the amplifiers on the analog board are controlled both by the power supply VCC and bias voltages supplied from the digital board. The digital board receives commands from a computer via ethernet, and uses a 32-channel DAC to output appropriate bias voltages to the SiPMs on the analog board. The digital and analog boards are connected by means of a backplane, which is also responsible for providing power and grounds to both boards.&lt;br /&gt;
&lt;br /&gt;
== Summary of Fall 2008 Work ==&lt;br /&gt;
All circuitry design work was done using Altium Designer. The digital board was the first to be designed. The first step in designing the digital board was to review the list of key components that had already been selected by Igor and Dr. Jones. These components included such things as the Xilinx Spartan-3A FPGA, and the Analog Devices AD5535 DAC. I began by looking through datasheets for these components to find out their needs, including power and decoupling requirements. I reviewed the pinout diagrams, and then looked through Altium’s standard libraries to find components that matched (in many cases the particular component I was looking for was not in the library, but a similar footprint or schematic symbol was). For components without matching schematic symbols, I entered pinout information from the datasheets into Microsoft Excel, using a layout compatible with Altium’s Smart Grid Insert function. Then, I was able to literally copy and paste pin information from Excel into Altium to generate the schematic symbols I needed.&lt;br /&gt;
&lt;br /&gt;
Once I had appropriate schematic symbols available for all parts, I began making appropriate connections in the schematic view in Altium. Though tedious, this task was not exceedingly difficult. I finished the schematics in several days, and then moved on to PCB design. I switched into Altium's PCB view. The footprints corresponding to the components I used in the schematics were automatically inserted by Altium. My job was then to position these components in logical places on the board and make all of the connections corresponding to the nets defined in the schematics.&lt;br /&gt;
&lt;br /&gt;
Due to the large number of components being placed in the limited space available on the digital board, Altium's auto-router proved completely useless. Therefore, I routed the board manually. Despite Altium's revolutionary convergence of schematic and PCB design into a single program, this was no easy task. During the routing process, I had to take into account not only the connections that had to be made, but also things such as avoiding crosstalk and minimizing trace length for sensitive components. I was able to complete routing after several weeks of work. The digital board design has since been completed and the board has been printed. It is currently awaiting assembly.&lt;br /&gt;
&lt;br /&gt;
The analog board provided a host of new challenges. The basic schematic for the transimpedance amplifier on the analog board was completed by Igor and Dr. Jones before the semester. Inputting the schematic into Altium was not very difficult. However, one problem I encountered was that the analog board contains 32 copies of this amplifier circuitry. After failing to find any way to insert multiple copies of both the schematic and its corresponding PCB layout, I decided to insert only single copies of each schematic page, and copy and paste the PCB layout to produce 32 copies of the amplifier circuitry. At first this seemed like a quick and easy way to get all of the necessary circuitry onto the PCB. However, I eventually discovered that this procedure would lead to major problems with the board assembly process (due to duplicate component designators, and for other reasons). Fortunately, this revelation came around the same time that Igor and Dr. Jones found a problem with the performance of the amplifier circuit. Making any changes to the amplifier circuit at this point will require a major reroute of all the traces on the analog  board. Since the board needs to be completely redesigned anyway, this will give me another chance to find a way to match schematics with all 32 copies of the amplifier circuitry.&lt;br /&gt;
&lt;br /&gt;
The backplane design is currently in progress. It should be relatively easy to complete. All that remains to be done is to add the LEMO connectors and power inputs. The board is simple enough that it can be routed completely by the auto-router, though a quick hand routing will probably be superior. I anticipate that I can complete the backplane with a few days of concentrated work over break.&lt;br /&gt;
&lt;br /&gt;
Included below are links to the files I have been working on. Included in the files for each board is a &amp;quot;SmartPDF,&amp;quot; viewable in Adobe Reader. For those without Altium Designer, these may be the best files to look at. They include complete schematics and PCB layout, and are also indexed by component.&lt;br /&gt;
&lt;br /&gt;
Any questions about the tagger circuitry can be directed to me at [mailto:mitchell.underwood@uconn.edu mitchell.underwood@uconn.edu]&lt;br /&gt;
&lt;br /&gt;
=== Related Files ===&lt;br /&gt;
* [http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/DigitalBoard.zip DigitalBoard.zip]:&lt;br /&gt;
**Altium Project File (SiPM Control Board.PrjPcb)&lt;br /&gt;
**Altium PCB Layout File (Prototype1.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (*.SchDoc)&lt;br /&gt;
**Altium Annotation Document (SiPM Control Board.Annotation)&lt;br /&gt;
***Not used, but generated by Altium when opening the project&lt;br /&gt;
**Altium PRJPCBSTRUCTURE File (SiPM Control Board.PRJPCBSTRUCTURE)&lt;br /&gt;
***Not used, but generated by Altium when opening the project)&lt;br /&gt;
**“SmartPDF” of the board and schematics (SiPM Control Board.pdf)&lt;br /&gt;
***Can be used to explore the PCB layout and schematics without needing Altium&lt;br /&gt;
**Pick and Place File for board population (Pick Place for Prototype1.txt)&lt;br /&gt;
***Used by board assembler&lt;br /&gt;
**NC Drill Files (Prototype1.txt, Prototype1.DRR, Prototype1.DRL)&lt;br /&gt;
***Used by board printer&lt;br /&gt;
**Gerber Files for all layers (in folder Gerbers)&lt;br /&gt;
***Used by board printer&lt;br /&gt;
**Altium CAMtastic file (CAMtastic4 FINAL.Cam)&lt;br /&gt;
***Basically a composite of all the Gerbers &lt;br /&gt;
**Photos and 3D rendering of populated board &lt;br /&gt;
***In folder “Photos”&lt;br /&gt;
**EMF Files showing different layers&lt;br /&gt;
***In folder “EMF Renderings”&lt;br /&gt;
**AutoCad File of PCB (Prototype1 Autocad.DWG)&lt;br /&gt;
**Altium Library of Custom Footprints for Digital Board (GlueX IC Library.SchLib)&lt;br /&gt;
***Current as of completion of digital board&lt;br /&gt;
***This library has since been updated for the backplane&lt;br /&gt;
&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/Analog%20Board%2020081211.zip Analog Board 20081211.zip]:&lt;br /&gt;
**Altium Project File (AnalogBoard.PrjPcb)&lt;br /&gt;
**Altium PCB Layout File (AnalogBoardPCB.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (Amplifer1.SchDoc, Summer.SchDoc)&lt;br /&gt;
**“SmartPDF” of the board and schematics (AnalogBoard.pdf)&lt;br /&gt;
**Altium Component Definition for SiPM (SiPM Library.PcbLib)&lt;br /&gt;
***Contains part footprint and pin information for the SiPM component&lt;br /&gt;
&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/Backplane%2020081211.zip Backplane 20081211.zip]&lt;br /&gt;
**Altium Project File (Backplane.PrjPcb)&lt;br /&gt;
**Alitum PCB Layout File (Backplane.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (Analog Connector.SchDoc, Digital Connector.SchDoc)&lt;br /&gt;
***Analog Connector = Eurocard to analog board&lt;br /&gt;
***Digital Connector = Eurocard to digital board, +3.3V voltage regulator, and location identifier jumper&lt;br /&gt;
***LEMO connections not yet included in these schematics&lt;br /&gt;
**“SmartPDF” of the board and schematics (Backplane.pdf)&lt;br /&gt;
**Pin layout files used to define pinouts for custom components (Pin Layout, 96 pin connector.xlsx, Pinouts.xlsx)&lt;br /&gt;
***Pin Layout, 96 pin connector = pinout definition for 96 pin Eurocard connector&lt;br /&gt;
***Pinouts.xlsx = pinout definitions for digital board, which were reused for the 48 pin digital Eurocard receptacle on backplane&lt;br /&gt;
**Altium Library of Custom Components (GlueX IC Library.SchLib)&lt;br /&gt;
***UPDATED to include new backplane components&lt;br /&gt;
***An older version of this library was used for the digital board&lt;br /&gt;
&lt;br /&gt;
==Summary of Spring 2009 Work==&lt;br /&gt;
&lt;br /&gt;
At the end of the fall semester, Dr. Jones, Igor, and I determined that the amplifier/summing circuit we had designed simply didn’t have sufficient performance characteristics to be useful for GlueX. During the beginning of the spring semester, Igor came up with a new design, utilizing more transistors, to provide the high gain, fast response, picosecond resolution amplifier that we needed. The design performed flawlessly both in MatLab simulations and in a handmade single channel prototype. The first of my goals for the spring 2009 semester was to capture the schematic for this new amplifier into Altium designer, and layout a new amplifier board. The second of my goals, of course, was to complete production of the digital control board prototypes.&lt;br /&gt;
&lt;br /&gt;
[[Image:Digital Board, Populated.JPG|thumb|The populated digital board, with a tube of Chap-Block&amp;lt;sup&amp;gt;TM&amp;lt;/sup&amp;gt; for size comparison.]] Since the fall semester left us with three unpopulated digital control board PCBs, getting those PCBs assembled with their components was the first priority. I began the semester by tracking down all of the components we needed (some of which were selected at the end of the fall semester), and making appropriate substitutions for components whose availability had changed since the fall. In the process of selecting these components, I noticed several places where it seemed like power consumption on the board may be somewhat high. To fix this, I developed a spreadsheet in Microsoft Excel that calculates optimal resistor values to use for to obtain a specified voltage divider stiffness. With this tool, I was able to optimize power consumption across the board, and select appropriate components. Once all components had been selected, ordered, and received, we sent the order out to Screamin’ Circuits for assembly. The boards came back several weeks later, and are currently awaiting testing by some undergraduates who will be in the lab this summer.&lt;br /&gt;
&lt;br /&gt;
While Igor was finalizing his amplifier/summing circuit, I worked briefly on design of the backplane. A number of details regarding trace impedance and board dimensions were ironed out. Nonetheless, many problems still remain which I will need to tackle over the summer. The first of these problems is that we have yet to find an appropriate low cost coaxial connector to route signals off the backplane. In addition, screws with which to mount the backplane to the tagger must be selected so that appropriate holes can be created for them on the PCB.&lt;br /&gt;
&lt;br /&gt;
Once we were satisfied that the amplifier/summing circuit performed as required, I shifted work from the backplane to the amplifier board. Around the same time, I began working on a poster to present my work at the Frontiers in Undergraduate Research Exhibition held during Open House Weekend here at UConn. If you’re interested in my poster, check it out here.&lt;br /&gt;
&lt;br /&gt;
[[Image:Amplifier-Summer-Laid-out.gif|thumb|A prototype layout of 5 amplifier channels and a summing circuit. Actual size is ~1.6&amp;quot; tall. Areas in green represent problems to be resolved over summer 2009. A prototype amplifier with no green spots has been designed and will be replicated to this design soon.]] To start the amplifier/summing circuit project, I searched high and low for information about how to handle multi-channel designs in Altium. Not surprisingly, the first Google result on the query “multichannel design Altium” had everything I was missing during the fall when I was trying to lay out the original amplifier circuit. Using my new knowledge of Altium’s multichannel capabilities, I captured Igor’s new design into the schematics editor of Altium Designer. With proper nested schematic sheets, the entire 30 channel amplifier/6 channel summer design was compressed into just 4 schematic sheets, vs. the ~40 or so that would have been required had I laid out the complete schematics of the old design. &lt;br /&gt;
&lt;br /&gt;
I spent about a week and a half trying to figure out how to handle nesting independent nets from a repeated subsheet into another repeated subsheet which also produces independent nets from the nets of the first sheet. This sounds somewhat complicated, and I suppose perhaps it is a somewhat unique situation, since none of the ~5 sample multichannel projects included with Altium had such a construction in them. Basically, each summing circuit has five amplifier subcircuits, each of which puts out its own signal independent of the other four. From the perspective of the entire board, there are 6 summers, each of which has five independent signals coming from the amplifiers, and one summed signal. Determining how to get Altium to realize the proper connections from each individual amplifier, through that amplifier’s summer, to the main schematic was a complicated mess of naming conventions, but eventually I was able to make Altium reflect all of the appropriate connections in the PCB view. Though there are a few net naming issues still to be resolved, this problem has mostly been ironed out.&lt;br /&gt;
&lt;br /&gt;
The final few weeks of the semester were spent laying out amplifier components in the PCB view of Altium. As of right now, a compact design for an amplifier measuring 0.183”x~1.3” has been completed. Making use of 0201 size components, this amplifier is approximately .2” shorter than the old design, despite incorporating an extra transistor. The amplifier design features an isolating ground trace running the length of the amplifier to prevent crosstalk between channels. A prototype layout of the summing circuit has also been completed, though some layout issues there remain to be resolved over the summer.&lt;br /&gt;
&lt;br /&gt;
===Related Files===&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-6-2009/Progress20090505.zip Design Snapshot 5/5/2009]&lt;br /&gt;
**Backplane&lt;br /&gt;
***Backplane.PrjPcb (Altium Project File)&lt;br /&gt;
***Backplane.PcbDoc (Altium PCB File)&lt;br /&gt;
***Analog Connector.SchDoc, Digital Connector.SchDoc, LEMO.SchDoc (Altium Schematics)&lt;br /&gt;
***Backplane.pdf (SmartPDF File of the schematics and PCB layout)&lt;br /&gt;
**Amplifier Board&lt;br /&gt;
***Analog Board.PrjPcb (Altium Project File)&lt;br /&gt;
***Amplifier Board.PcbDoc (Altium PCB File)&lt;br /&gt;
***Main.SchDoc, Amplifier.SchDoc, Summer.SchDoc, Voltage References.SchDoc (Altium Schematics)&lt;br /&gt;
***Analog Board.pdf (SmartPDF File of the schematics and PCB layout&lt;br /&gt;
****The SmartPDF shows the entire PCB workspace, including components that have not yet been placed on the physical PCB.&lt;br /&gt;
****The bottom left corner of the PCB view shows a proof-of-concept 5 amplifiers/1 summer layout.&lt;br /&gt;
****Finding AMP6 using the PDF bookmarks shows the prototype amplifier layout that resolves mismatched footprint issues (indicated in green in the image farther up on this page).&lt;br /&gt;
&lt;br /&gt;
== Summary of Fall 2009 Work ==&lt;br /&gt;
&lt;br /&gt;
=== Mid-Semester Update, 11/12/2009 ===&lt;br /&gt;
We now have one fully working prototype of the SiPM Digital Control Board, and the SiPM Amplifier Board is currently being manufactured and assembled by Sierra Circuits, Inc. The backplane design is nearly complete and will be going out for quoting within a week.&lt;br /&gt;
&lt;br /&gt;
Here is a zip file containing the most recent versions of the tagger files: [http://zeus.phys.uconn.edu/halld/tagger/electronics/design-11-2009/TaggerMicroscopeProgress20091112.zip Design Snapshot 11/12/2009]&lt;br /&gt;
&lt;br /&gt;
A few notes about these files:&lt;br /&gt;
*There are four subfolders in the zip file. The folders for the three PCBs are clearly labelled. Each PCB folder has one project file (.PrjPcb) which can be opened in Altium Designer. Each project file refers to only one PcbDoc file, making it easy to figure out what you should look at to see the board.&lt;br /&gt;
*The SiPM digital control board project has 4 shelved polygons which should be restored (Tools-&amp;gt;Polygon Pours-&amp;gt;Restore 4 shelved polyons) to see the state of the board as it was last manufactured. Revisions from the testing process have not yet been entered into Altium but can be reviewed on this wiki: [[Digital control board debugging notes]]&lt;br /&gt;
*The SiPM amplifier (analog) board project will give an error message that it was unable to find &amp;quot;Test PCB.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
*The backplane project will give an error message that it was unable to find &amp;quot;Backplane_New.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
&lt;br /&gt;
=== End of Semester Update ===&lt;br /&gt;
This semester, a lot of progress has been made on the tagger electronics. The digital control board is now onto revision 2.0, the amplifier board is in production, and the backplane is awaiting completion of the purchase order for production to begin. It is exciting to say that the bulk of the work is now finally complete. Remaining for the spring are the tasks of testing the amplifier board, and seeing that everything fits into the backplane. Here are some details about what I accomplished this semester, as well as links to the most recent project files. &lt;br /&gt;
&lt;br /&gt;
==== Digital Control Board ====&lt;br /&gt;
The semester began with the digital control board prototypes sitting on lab bench waiting to be tested. My job was primarily to design the boards, not to debug them, though I still played an integral part in the testing process. We were all relieved that none of the boards appeared to smoke immediately when we first applied power, though there were a few confusing problems that had to be sorted out. Most of these problems are described in detail on the [[Digital control board debugging notes]] page. More or less, we had to solder a pin that wasn't connected, replace the crystal oscillator with a CMOS oscillator, and rewire few traces that were accidentally connected to pins intended for other signals. I won't repeat all of the changes we made here since it would be redundant to the page that already discusses it, but the important part is that we have one board that is fully operational, and the version 2.0 schematics/layout reflecting all these changes are complete. I anticipate that production of the version 2.0 boards will occur at the beginning of the spring 2010 semester. &lt;br /&gt;
&lt;br /&gt;
There is still one lingering problem with the digital board design that has not yet been resolved, however. Even after all of the version 2.0 changes were implemented on the version 1.0 boards, only one of the three boards produced actually functioned properly. For a reason unknown to us, two of the boards ended up with their digital to analog converters burning up and smoking. We thoroughly reviewed the schematics and the layout, and found nothing miswired. Furthermore, we analyzed the placement of the ball grid array DAC to the best of our ability, and determined that a misalignment of balls is not the cause of the failure. All of our power supplies are stable, properly decoupled, and grounded as called for by DAC's manufacturer. Currently, the best hypothesis for the failure of 2 of the 3 DACs is that one or more of the absolute maximum ratings must have been exceeded at some point during the assembly process. Analog Devices lists fairly specific specs with small tolerances relating to maximum temperature and the length of time which the DAC may spend inside a reflow oven. We have run into some difficultly trying to find out from the boards' assembler whether they followed the published specs for the assembly process, but we intend to keep trying until the cause of the DAC failure has been resolved.&lt;br /&gt;
&lt;br /&gt;
==== Amplifier Board ====&lt;br /&gt;
Throughout the summer and the beginning of the fall semester, I completed the design for the SiPM Amplifier Board, version 1.0. All 30 channels have been implemented along with their summing circuits. As I mentioned in the mid semester update above, this board is being manufactured and assembled by Sierra Circuits, Inc. Some unexpected setbacks occurred in the assembly process that delayed the boards somewhat, but I believe everything is now on track for delivery of the finished product before the start of the spring semester. A number of problems relating to minimum quantities of parts, as well as part naming conventions have now been resolved, and the assembly process should be complete in several weeks.&lt;br /&gt;
&lt;br /&gt;
==== Backplane ====&lt;br /&gt;
The backplane design, version 1.0, has also been completed. Sierra Circuits will be manufacturing the backplane, which we will assemble ourselves. The backplane is a particularly interesting PCB from a manufacturing standpoint, because it is designed to be completely light proof. Since the backplane is the only material standing between the whole of Hall D and the inside of the tagger microscope dark box, opacity of the board is particularly important.&lt;br /&gt;
&lt;br /&gt;
Most PCBs with internal copper layers are already fairly opaque, because the copper blocks light from transmitting through the FR-4 and prepreg. Through hole components do not particulary compromise board opacity, because the holes are plugged with component pins and solder. What does have a greater affect on the opaqueness of a board, however, is the thermal reliefs by which through hole pins and vias connect to internal plane layers. These reliefs are designed to aid in the soldering process by minimizing the amount of copper that is directly connected to the plating in the hole. A typical relief consists of four 7-10 mil traces connecting the hole's plating to the internal plane. The plane itself remains about 20 mil away from the hole, to prevent conduction of heat during the soldering process. Unfortunately, this means that there is a small gap in which there is only FR-4 to stop light from passing through the board. Since FR-4 is transparent, this poses a problem for our design. We were able work with Sierra Circuits to come up with a board design that includes an internal layer of special black FR-4 to prevent light leakage through the heat reliefs. While this is certainly not a standard feature, Sierra was confident that they could implement it for us, and we look forward to testing the boards' opacity in the spring.&lt;br /&gt;
&lt;br /&gt;
==== Project Design Snapshot ====&lt;br /&gt;
Here is a link to the most project files: INSERT LINK TO DESIGN SNAPSHOT 12/17/2009 HERE&lt;br /&gt;
&lt;br /&gt;
A few notes about these files:&lt;br /&gt;
*There are four subfolders in the zip file. The folders for the three PCBs are clearly labelled. Each PCB folder has one project file (.PrjPcb) which can be opened in Altium Designer. Each project file refers to only one PcbDoc file, making it easy to figure out what you should look at to see the board.&lt;br /&gt;
*The SiPM amplifier (analog) board project will give an error message that it was unable to find &amp;quot;Test PCB.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
*The backplane project will give an error message that it was unable to find &amp;quot;Backplane_New.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
*The most recent bill of materials, which resolves all of the naming convention issues brought up by Sierra is labelled with the date 20091212 in the Amplifier Board folder.&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Woody_Underwood&amp;diff=4753</id>
		<title>Woody Underwood</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Woody_Underwood&amp;diff=4753"/>
		<updated>2009-12-17T22:22:02Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* Project Design Snapshot */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About Me ==&lt;br /&gt;
My name is Woody Underwood. I'm a junior entering my seventh semester in the physics program at UConn. Since the summer of 2008, I've been working in the lab of Dr. Richard Jones designing electronics for the US Department of Energy's GlueX experiment. My assignment is to develop three circuit boards that work together to tag photons coming from the diamond radiator. My circuitry essentially measures (indirectly) the energy of these photons in order to determine if they are of interest to GlueX. The three boards I am designing consist of a digital board, an analog board, and a connecting backplane.&lt;br /&gt;
&lt;br /&gt;
== About My Circuitry ==&lt;br /&gt;
Electrons leaving the diamond radiator are deflected by a magnetic field into an array of scintillating fibres, producing photons. Wave guides carry these photons to SiPMs (silicon photomultipliers) mounted on the analog circuit board. The analog board contains transimpedance amplifiers and summing circuitry to condition the signals for digitization.&lt;br /&gt;
&lt;br /&gt;
The sensitivity of the SiPMs and the gain of the amplifiers on the analog board are controlled both by the power supply VCC and bias voltages supplied from the digital board. The digital board receives commands from a computer via ethernet, and uses a 32-channel DAC to output appropriate bias voltages to the SiPMs on the analog board. The digital and analog boards are connected by means of a backplane, which is also responsible for providing power and grounds to both boards.&lt;br /&gt;
&lt;br /&gt;
== Summary of Fall 2008 Work ==&lt;br /&gt;
All circuitry design work was done using Altium Designer. The digital board was the first to be designed. The first step in designing the digital board was to review the list of key components that had already been selected by Igor and Dr. Jones. These components included such things as the Xilinx Spartan-3A FPGA, and the Analog Devices AD5535 DAC. I began by looking through datasheets for these components to find out their needs, including power and decoupling requirements. I reviewed the pinout diagrams, and then looked through Altium’s standard libraries to find components that matched (in many cases the particular component I was looking for was not in the library, but a similar footprint or schematic symbol was). For components without matching schematic symbols, I entered pinout information from the datasheets into Microsoft Excel, using a layout compatible with Altium’s Smart Grid Insert function. Then, I was able to literally copy and paste pin information from Excel into Altium to generate the schematic symbols I needed.&lt;br /&gt;
&lt;br /&gt;
Once I had appropriate schematic symbols available for all parts, I began making appropriate connections in the schematic view in Altium. Though tedious, this task was not exceedingly difficult. I finished the schematics in several days, and then moved on to PCB design. I switched into Altium's PCB view. The footprints corresponding to the components I used in the schematics were automatically inserted by Altium. My job was then to position these components in logical places on the board and make all of the connections corresponding to the nets defined in the schematics.&lt;br /&gt;
&lt;br /&gt;
Due to the large number of components being placed in the limited space available on the digital board, Altium's auto-router proved completely useless. Therefore, I routed the board manually. Despite Altium's revolutionary convergence of schematic and PCB design into a single program, this was no easy task. During the routing process, I had to take into account not only the connections that had to be made, but also things such as avoiding crosstalk and minimizing trace length for sensitive components. I was able to complete routing after several weeks of work. The digital board design has since been completed and the board has been printed. It is currently awaiting assembly.&lt;br /&gt;
&lt;br /&gt;
The analog board provided a host of new challenges. The basic schematic for the transimpedance amplifier on the analog board was completed by Igor and Dr. Jones before the semester. Inputting the schematic into Altium was not very difficult. However, one problem I encountered was that the analog board contains 32 copies of this amplifier circuitry. After failing to find any way to insert multiple copies of both the schematic and its corresponding PCB layout, I decided to insert only single copies of each schematic page, and copy and paste the PCB layout to produce 32 copies of the amplifier circuitry. At first this seemed like a quick and easy way to get all of the necessary circuitry onto the PCB. However, I eventually discovered that this procedure would lead to major problems with the board assembly process (due to duplicate component designators, and for other reasons). Fortunately, this revelation came around the same time that Igor and Dr. Jones found a problem with the performance of the amplifier circuit. Making any changes to the amplifier circuit at this point will require a major reroute of all the traces on the analog  board. Since the board needs to be completely redesigned anyway, this will give me another chance to find a way to match schematics with all 32 copies of the amplifier circuitry.&lt;br /&gt;
&lt;br /&gt;
The backplane design is currently in progress. It should be relatively easy to complete. All that remains to be done is to add the LEMO connectors and power inputs. The board is simple enough that it can be routed completely by the auto-router, though a quick hand routing will probably be superior. I anticipate that I can complete the backplane with a few days of concentrated work over break.&lt;br /&gt;
&lt;br /&gt;
Included below are links to the files I have been working on. Included in the files for each board is a &amp;quot;SmartPDF,&amp;quot; viewable in Adobe Reader. For those without Altium Designer, these may be the best files to look at. They include complete schematics and PCB layout, and are also indexed by component.&lt;br /&gt;
&lt;br /&gt;
Any questions about the tagger circuitry can be directed to me at [mailto:mitchell.underwood@uconn.edu mitchell.underwood@uconn.edu]&lt;br /&gt;
&lt;br /&gt;
=== Related Files ===&lt;br /&gt;
* [http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/DigitalBoard.zip DigitalBoard.zip]:&lt;br /&gt;
**Altium Project File (SiPM Control Board.PrjPcb)&lt;br /&gt;
**Altium PCB Layout File (Prototype1.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (*.SchDoc)&lt;br /&gt;
**Altium Annotation Document (SiPM Control Board.Annotation)&lt;br /&gt;
***Not used, but generated by Altium when opening the project&lt;br /&gt;
**Altium PRJPCBSTRUCTURE File (SiPM Control Board.PRJPCBSTRUCTURE)&lt;br /&gt;
***Not used, but generated by Altium when opening the project)&lt;br /&gt;
**“SmartPDF” of the board and schematics (SiPM Control Board.pdf)&lt;br /&gt;
***Can be used to explore the PCB layout and schematics without needing Altium&lt;br /&gt;
**Pick and Place File for board population (Pick Place for Prototype1.txt)&lt;br /&gt;
***Used by board assembler&lt;br /&gt;
**NC Drill Files (Prototype1.txt, Prototype1.DRR, Prototype1.DRL)&lt;br /&gt;
***Used by board printer&lt;br /&gt;
**Gerber Files for all layers (in folder Gerbers)&lt;br /&gt;
***Used by board printer&lt;br /&gt;
**Altium CAMtastic file (CAMtastic4 FINAL.Cam)&lt;br /&gt;
***Basically a composite of all the Gerbers &lt;br /&gt;
**Photos and 3D rendering of populated board &lt;br /&gt;
***In folder “Photos”&lt;br /&gt;
**EMF Files showing different layers&lt;br /&gt;
***In folder “EMF Renderings”&lt;br /&gt;
**AutoCad File of PCB (Prototype1 Autocad.DWG)&lt;br /&gt;
**Altium Library of Custom Footprints for Digital Board (GlueX IC Library.SchLib)&lt;br /&gt;
***Current as of completion of digital board&lt;br /&gt;
***This library has since been updated for the backplane&lt;br /&gt;
&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/Analog%20Board%2020081211.zip Analog Board 20081211.zip]:&lt;br /&gt;
**Altium Project File (AnalogBoard.PrjPcb)&lt;br /&gt;
**Altium PCB Layout File (AnalogBoardPCB.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (Amplifer1.SchDoc, Summer.SchDoc)&lt;br /&gt;
**“SmartPDF” of the board and schematics (AnalogBoard.pdf)&lt;br /&gt;
**Altium Component Definition for SiPM (SiPM Library.PcbLib)&lt;br /&gt;
***Contains part footprint and pin information for the SiPM component&lt;br /&gt;
&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/Backplane%2020081211.zip Backplane 20081211.zip]&lt;br /&gt;
**Altium Project File (Backplane.PrjPcb)&lt;br /&gt;
**Alitum PCB Layout File (Backplane.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (Analog Connector.SchDoc, Digital Connector.SchDoc)&lt;br /&gt;
***Analog Connector = Eurocard to analog board&lt;br /&gt;
***Digital Connector = Eurocard to digital board, +3.3V voltage regulator, and location identifier jumper&lt;br /&gt;
***LEMO connections not yet included in these schematics&lt;br /&gt;
**“SmartPDF” of the board and schematics (Backplane.pdf)&lt;br /&gt;
**Pin layout files used to define pinouts for custom components (Pin Layout, 96 pin connector.xlsx, Pinouts.xlsx)&lt;br /&gt;
***Pin Layout, 96 pin connector = pinout definition for 96 pin Eurocard connector&lt;br /&gt;
***Pinouts.xlsx = pinout definitions for digital board, which were reused for the 48 pin digital Eurocard receptacle on backplane&lt;br /&gt;
**Altium Library of Custom Components (GlueX IC Library.SchLib)&lt;br /&gt;
***UPDATED to include new backplane components&lt;br /&gt;
***An older version of this library was used for the digital board&lt;br /&gt;
&lt;br /&gt;
==Summary of Spring 2009 Work==&lt;br /&gt;
&lt;br /&gt;
At the end of the fall semester, Dr. Jones, Igor, and I determined that the amplifier/summing circuit we had designed simply didn’t have sufficient performance characteristics to be useful for GlueX. During the beginning of the spring semester, Igor came up with a new design, utilizing more transistors, to provide the high gain, fast response, picosecond resolution amplifier that we needed. The design performed flawlessly both in MatLab simulations and in a handmade single channel prototype. The first of my goals for the spring 2009 semester was to capture the schematic for this new amplifier into Altium designer, and layout a new amplifier board. The second of my goals, of course, was to complete production of the digital control board prototypes.&lt;br /&gt;
&lt;br /&gt;
[[Image:Digital Board, Populated.JPG|thumb|The populated digital board, with a tube of Chap-Block&amp;lt;sup&amp;gt;TM&amp;lt;/sup&amp;gt; for size comparison.]] Since the fall semester left us with three unpopulated digital control board PCBs, getting those PCBs assembled with their components was the first priority. I began the semester by tracking down all of the components we needed (some of which were selected at the end of the fall semester), and making appropriate substitutions for components whose availability had changed since the fall. In the process of selecting these components, I noticed several places where it seemed like power consumption on the board may be somewhat high. To fix this, I developed a spreadsheet in Microsoft Excel that calculates optimal resistor values to use for to obtain a specified voltage divider stiffness. With this tool, I was able to optimize power consumption across the board, and select appropriate components. Once all components had been selected, ordered, and received, we sent the order out to Screamin’ Circuits for assembly. The boards came back several weeks later, and are currently awaiting testing by some undergraduates who will be in the lab this summer.&lt;br /&gt;
&lt;br /&gt;
While Igor was finalizing his amplifier/summing circuit, I worked briefly on design of the backplane. A number of details regarding trace impedance and board dimensions were ironed out. Nonetheless, many problems still remain which I will need to tackle over the summer. The first of these problems is that we have yet to find an appropriate low cost coaxial connector to route signals off the backplane. In addition, screws with which to mount the backplane to the tagger must be selected so that appropriate holes can be created for them on the PCB.&lt;br /&gt;
&lt;br /&gt;
Once we were satisfied that the amplifier/summing circuit performed as required, I shifted work from the backplane to the amplifier board. Around the same time, I began working on a poster to present my work at the Frontiers in Undergraduate Research Exhibition held during Open House Weekend here at UConn. If you’re interested in my poster, check it out here.&lt;br /&gt;
&lt;br /&gt;
[[Image:Amplifier-Summer-Laid-out.gif|thumb|A prototype layout of 5 amplifier channels and a summing circuit. Actual size is ~1.6&amp;quot; tall. Areas in green represent problems to be resolved over summer 2009. A prototype amplifier with no green spots has been designed and will be replicated to this design soon.]] To start the amplifier/summing circuit project, I searched high and low for information about how to handle multi-channel designs in Altium. Not surprisingly, the first Google result on the query “multichannel design Altium” had everything I was missing during the fall when I was trying to lay out the original amplifier circuit. Using my new knowledge of Altium’s multichannel capabilities, I captured Igor’s new design into the schematics editor of Altium Designer. With proper nested schematic sheets, the entire 30 channel amplifier/6 channel summer design was compressed into just 4 schematic sheets, vs. the ~40 or so that would have been required had I laid out the complete schematics of the old design. &lt;br /&gt;
&lt;br /&gt;
I spent about a week and a half trying to figure out how to handle nesting independent nets from a repeated subsheet into another repeated subsheet which also produces independent nets from the nets of the first sheet. This sounds somewhat complicated, and I suppose perhaps it is a somewhat unique situation, since none of the ~5 sample multichannel projects included with Altium had such a construction in them. Basically, each summing circuit has five amplifier subcircuits, each of which puts out its own signal independent of the other four. From the perspective of the entire board, there are 6 summers, each of which has five independent signals coming from the amplifiers, and one summed signal. Determining how to get Altium to realize the proper connections from each individual amplifier, through that amplifier’s summer, to the main schematic was a complicated mess of naming conventions, but eventually I was able to make Altium reflect all of the appropriate connections in the PCB view. Though there are a few net naming issues still to be resolved, this problem has mostly been ironed out.&lt;br /&gt;
&lt;br /&gt;
The final few weeks of the semester were spent laying out amplifier components in the PCB view of Altium. As of right now, a compact design for an amplifier measuring 0.183”x~1.3” has been completed. Making use of 0201 size components, this amplifier is approximately .2” shorter than the old design, despite incorporating an extra transistor. The amplifier design features an isolating ground trace running the length of the amplifier to prevent crosstalk between channels. A prototype layout of the summing circuit has also been completed, though some layout issues there remain to be resolved over the summer.&lt;br /&gt;
&lt;br /&gt;
===Related Files===&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-6-2009/Progress20090505.zip Design Snapshot 5/5/2009]&lt;br /&gt;
**Backplane&lt;br /&gt;
***Backplane.PrjPcb (Altium Project File)&lt;br /&gt;
***Backplane.PcbDoc (Altium PCB File)&lt;br /&gt;
***Analog Connector.SchDoc, Digital Connector.SchDoc, LEMO.SchDoc (Altium Schematics)&lt;br /&gt;
***Backplane.pdf (SmartPDF File of the schematics and PCB layout)&lt;br /&gt;
**Amplifier Board&lt;br /&gt;
***Analog Board.PrjPcb (Altium Project File)&lt;br /&gt;
***Amplifier Board.PcbDoc (Altium PCB File)&lt;br /&gt;
***Main.SchDoc, Amplifier.SchDoc, Summer.SchDoc, Voltage References.SchDoc (Altium Schematics)&lt;br /&gt;
***Analog Board.pdf (SmartPDF File of the schematics and PCB layout&lt;br /&gt;
****The SmartPDF shows the entire PCB workspace, including components that have not yet been placed on the physical PCB.&lt;br /&gt;
****The bottom left corner of the PCB view shows a proof-of-concept 5 amplifiers/1 summer layout.&lt;br /&gt;
****Finding AMP6 using the PDF bookmarks shows the prototype amplifier layout that resolves mismatched footprint issues (indicated in green in the image farther up on this page).&lt;br /&gt;
&lt;br /&gt;
== Summary of Fall 2009 Work ==&lt;br /&gt;
&lt;br /&gt;
=== Mid-Semester Update, 11/12/2009 ===&lt;br /&gt;
We now have one fully working prototype of the SiPM Digital Control Board, and the SiPM Amplifier Board is currently being manufactured and assembled by Sierra Circuits, Inc. The backplane design is nearly complete and will be going out for quoting within a week.&lt;br /&gt;
&lt;br /&gt;
Here is a zip file containing the most recent versions of the tagger files: [http://zeus.phys.uconn.edu/halld/tagger/electronics/design-11-2009/TaggerMicroscopeProgress20091112.zip Design Snapshot 11/12/2009]&lt;br /&gt;
&lt;br /&gt;
A few notes about these files:&lt;br /&gt;
*There are four subfolders in the zip file. The folders for the three PCBs are clearly labelled. Each PCB folder has one project file (.PrjPcb) which can be opened in Altium Designer. Each project file refers to only one PcbDoc file, making it easy to figure out what you should look at to see the board.&lt;br /&gt;
*The SiPM digital control board project has 4 shelved polygons which should be restored (Tools-&amp;gt;Polygon Pours-&amp;gt;Restore 4 shelved polyons) to see the state of the board as it was last manufactured. Revisions from the testing process have not yet been entered into Altium but can be reviewed on this wiki: [[Digital control board debugging notes]]&lt;br /&gt;
*The SiPM amplifier (analog) board project will give an error message that it was unable to find &amp;quot;Test PCB.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
*The backplane project will give an error message that it was unable to find &amp;quot;Backplane_New.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
&lt;br /&gt;
=== End of Semester Update ===&lt;br /&gt;
This semester, a lot of progress has been made on the tagger electronics. The digital control board is now onto revision 2.0, the amplifier board is in production, and the backplane is awaiting completion of the purchase order for production to begin. It is exciting to say that the bulk of the work is now finally complete. Remaining for the spring are the tasks of testing the amplifier board, and seeing that everything fits into the backplane. Here are some details about what I accomplished this semester, as well as links to the most recent project files. &lt;br /&gt;
&lt;br /&gt;
==== Digital Control Board ====&lt;br /&gt;
The semester began with the digital control board prototypes sitting on lab bench waiting to be tested. My job was primarily to design the boards, not to debug them, though I still played an integral part in the testing process. We were all relieved that none of the boards appeared to smoke immediately when we first applied power, though there were a few confusing problems that had to be sorted out. Most of these problems are described in detail on the [[Digital control board debugging notes]] page. More or less, we had to solder a pin that wasn't connected, replace the crystal oscillator with a CMOS oscillator, and rewire few traces that were accidentally connected to pins intended for other signals. I won't repeat all of the changes we made here since it would be redundant to the page that already discusses it, but the important part is that we have one board that is fully operational, and the version 2.0 schematics/layout reflecting all these changes are complete. I anticipate that production of the version 2.0 boards will occur at the beginning of the spring 2010 semester. &lt;br /&gt;
&lt;br /&gt;
There is still one lingering problem with the digital board design that has not yet been resolved, however. Even after all of the version 2.0 changes were implemented on the version 1.0 boards, only one of the three boards produced actually functioned properly. For a reason unknown to us, two of the boards ended up with their digital to analog converters burning up and smoking. We thoroughly reviewed the schematics and the layout, and found nothing miswired. Furthermore, we analyzed the placement of the ball grid array DAC to the best of our ability, and determined that a misalignment of balls is not the cause of the failure. All of our power supplies are stable, properly decoupled, and grounded as called for by DAC's manufacturer. Currently, the best hypothesis for the failure of 2 of the 3 DACs is that one or more of the absolute maximum ratings must have been exceeded at some point during the assembly process. Analog Devices lists fairly specific specs with small tolerances relating to maximum temperature and the length of time which the DAC may spend inside a reflow oven. We have run into some difficultly trying to find out from the boards' assembler whether they followed the published specs for the assembly process, but we intend to keep trying until the cause of the DAC failure has been resolved.&lt;br /&gt;
&lt;br /&gt;
==== Amplifier Board ====&lt;br /&gt;
Throughout the summer and the beginning of the fall semester, I completed the design for the SiPM Amplifier Board, version 1.0. All 30 channels have been implemented along with their summing circuits. As I mentioned in the mid semester update above, this board is being manufactured and assembled by Sierra Circuits, Inc. Some unexpected setbacks occurred in the assembly process that delayed the boards somewhat, but I believe everything is now on track for delivery of the finished product before the start of the spring semester. A number of problems relating to minimum quantities of parts, as well as part naming conventions have now been resolved, and the assembly process should be complete in several weeks.&lt;br /&gt;
&lt;br /&gt;
==== Backplane ====&lt;br /&gt;
The backplane design, version 1.0, has also been completed. Sierra Circuits will be manufacturing the backplane, which we will assemble ourselves. The backplane is a particularly interesting PCB from a manufacturing standpoint, because it is designed to be completely light proof. Since the backplane is the only material standing between the whole of Hall D and the inside of the tagger microscope dark box, opacity of the board is particularly important.&lt;br /&gt;
&lt;br /&gt;
Most PCBs with internal copper layers are already fairly opaque, because the copper blocks light from transmitting through the FR-4 and prepreg. Through hole components do not particulary compromise board opacity, because the holes are plugged with component pins and solder. What does have a greater affect on the opaqueness of a board, however, is the thermal reliefs by which through hole pins and vias connect to internal plane layers. These reliefs are designed to aid in the soldering process by minimizing the amount of copper that is directly connected to the plating in the hole. A typical relief consists of four 7-10 mil traces connecting the hole's plating to the internal plane. The plane itself remains about 20 mil away from the hole, to prevent conduction of heat during the soldering process. Unfortunately, this means that there is a small gap in which there is only FR-4 to stop light from passing through the board. Since FR-4 is transparent, this poses a problem for our design. We were able work with Sierra Circuits to come up with a board design that includes an internal layer of special black FR-4 to prevent light leakage through the heat reliefs. While this is certainly not a standard feature, Sierra was confident that they could implement it for us, and we look forward to testing the boards' opacity in the spring.&lt;br /&gt;
&lt;br /&gt;
==== Project Design Snapshot ====&lt;br /&gt;
Here is a link to the most project files: INSERT LINK TO DESIGN SNAPSHOT 12/17/2009 HERE&lt;br /&gt;
&lt;br /&gt;
A few notes about these files:&lt;br /&gt;
*There are four subfolders in the zip file. The folders for the three PCBs are clearly labelled. Each PCB folder has one project file (.PrjPcb) which can be opened in Altium Designer. Each project file refers to only one PcbDoc file, making it easy to figure out what you should look at to see the board.&lt;br /&gt;
*The SiPM amplifier (analog) board project will give an error message that it was unable to find &amp;quot;Test PCB.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
*The backplane project will give an error message that it was unable to find &amp;quot;Backplane_New.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
*The most recent bill of materials, which resolves all of the naming convention issues brought up by Sierra is labelle with the date 20091212 in the Amplifier Board folder.&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Woody_Underwood&amp;diff=4752</id>
		<title>Woody Underwood</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Woody_Underwood&amp;diff=4752"/>
		<updated>2009-12-17T22:19:13Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* Summary of Fall 2009 Work */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About Me ==&lt;br /&gt;
My name is Woody Underwood. I'm a junior entering my seventh semester in the physics program at UConn. Since the summer of 2008, I've been working in the lab of Dr. Richard Jones designing electronics for the US Department of Energy's GlueX experiment. My assignment is to develop three circuit boards that work together to tag photons coming from the diamond radiator. My circuitry essentially measures (indirectly) the energy of these photons in order to determine if they are of interest to GlueX. The three boards I am designing consist of a digital board, an analog board, and a connecting backplane.&lt;br /&gt;
&lt;br /&gt;
== About My Circuitry ==&lt;br /&gt;
Electrons leaving the diamond radiator are deflected by a magnetic field into an array of scintillating fibres, producing photons. Wave guides carry these photons to SiPMs (silicon photomultipliers) mounted on the analog circuit board. The analog board contains transimpedance amplifiers and summing circuitry to condition the signals for digitization.&lt;br /&gt;
&lt;br /&gt;
The sensitivity of the SiPMs and the gain of the amplifiers on the analog board are controlled both by the power supply VCC and bias voltages supplied from the digital board. The digital board receives commands from a computer via ethernet, and uses a 32-channel DAC to output appropriate bias voltages to the SiPMs on the analog board. The digital and analog boards are connected by means of a backplane, which is also responsible for providing power and grounds to both boards.&lt;br /&gt;
&lt;br /&gt;
== Summary of Fall 2008 Work ==&lt;br /&gt;
All circuitry design work was done using Altium Designer. The digital board was the first to be designed. The first step in designing the digital board was to review the list of key components that had already been selected by Igor and Dr. Jones. These components included such things as the Xilinx Spartan-3A FPGA, and the Analog Devices AD5535 DAC. I began by looking through datasheets for these components to find out their needs, including power and decoupling requirements. I reviewed the pinout diagrams, and then looked through Altium’s standard libraries to find components that matched (in many cases the particular component I was looking for was not in the library, but a similar footprint or schematic symbol was). For components without matching schematic symbols, I entered pinout information from the datasheets into Microsoft Excel, using a layout compatible with Altium’s Smart Grid Insert function. Then, I was able to literally copy and paste pin information from Excel into Altium to generate the schematic symbols I needed.&lt;br /&gt;
&lt;br /&gt;
Once I had appropriate schematic symbols available for all parts, I began making appropriate connections in the schematic view in Altium. Though tedious, this task was not exceedingly difficult. I finished the schematics in several days, and then moved on to PCB design. I switched into Altium's PCB view. The footprints corresponding to the components I used in the schematics were automatically inserted by Altium. My job was then to position these components in logical places on the board and make all of the connections corresponding to the nets defined in the schematics.&lt;br /&gt;
&lt;br /&gt;
Due to the large number of components being placed in the limited space available on the digital board, Altium's auto-router proved completely useless. Therefore, I routed the board manually. Despite Altium's revolutionary convergence of schematic and PCB design into a single program, this was no easy task. During the routing process, I had to take into account not only the connections that had to be made, but also things such as avoiding crosstalk and minimizing trace length for sensitive components. I was able to complete routing after several weeks of work. The digital board design has since been completed and the board has been printed. It is currently awaiting assembly.&lt;br /&gt;
&lt;br /&gt;
The analog board provided a host of new challenges. The basic schematic for the transimpedance amplifier on the analog board was completed by Igor and Dr. Jones before the semester. Inputting the schematic into Altium was not very difficult. However, one problem I encountered was that the analog board contains 32 copies of this amplifier circuitry. After failing to find any way to insert multiple copies of both the schematic and its corresponding PCB layout, I decided to insert only single copies of each schematic page, and copy and paste the PCB layout to produce 32 copies of the amplifier circuitry. At first this seemed like a quick and easy way to get all of the necessary circuitry onto the PCB. However, I eventually discovered that this procedure would lead to major problems with the board assembly process (due to duplicate component designators, and for other reasons). Fortunately, this revelation came around the same time that Igor and Dr. Jones found a problem with the performance of the amplifier circuit. Making any changes to the amplifier circuit at this point will require a major reroute of all the traces on the analog  board. Since the board needs to be completely redesigned anyway, this will give me another chance to find a way to match schematics with all 32 copies of the amplifier circuitry.&lt;br /&gt;
&lt;br /&gt;
The backplane design is currently in progress. It should be relatively easy to complete. All that remains to be done is to add the LEMO connectors and power inputs. The board is simple enough that it can be routed completely by the auto-router, though a quick hand routing will probably be superior. I anticipate that I can complete the backplane with a few days of concentrated work over break.&lt;br /&gt;
&lt;br /&gt;
Included below are links to the files I have been working on. Included in the files for each board is a &amp;quot;SmartPDF,&amp;quot; viewable in Adobe Reader. For those without Altium Designer, these may be the best files to look at. They include complete schematics and PCB layout, and are also indexed by component.&lt;br /&gt;
&lt;br /&gt;
Any questions about the tagger circuitry can be directed to me at [mailto:mitchell.underwood@uconn.edu mitchell.underwood@uconn.edu]&lt;br /&gt;
&lt;br /&gt;
=== Related Files ===&lt;br /&gt;
* [http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/DigitalBoard.zip DigitalBoard.zip]:&lt;br /&gt;
**Altium Project File (SiPM Control Board.PrjPcb)&lt;br /&gt;
**Altium PCB Layout File (Prototype1.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (*.SchDoc)&lt;br /&gt;
**Altium Annotation Document (SiPM Control Board.Annotation)&lt;br /&gt;
***Not used, but generated by Altium when opening the project&lt;br /&gt;
**Altium PRJPCBSTRUCTURE File (SiPM Control Board.PRJPCBSTRUCTURE)&lt;br /&gt;
***Not used, but generated by Altium when opening the project)&lt;br /&gt;
**“SmartPDF” of the board and schematics (SiPM Control Board.pdf)&lt;br /&gt;
***Can be used to explore the PCB layout and schematics without needing Altium&lt;br /&gt;
**Pick and Place File for board population (Pick Place for Prototype1.txt)&lt;br /&gt;
***Used by board assembler&lt;br /&gt;
**NC Drill Files (Prototype1.txt, Prototype1.DRR, Prototype1.DRL)&lt;br /&gt;
***Used by board printer&lt;br /&gt;
**Gerber Files for all layers (in folder Gerbers)&lt;br /&gt;
***Used by board printer&lt;br /&gt;
**Altium CAMtastic file (CAMtastic4 FINAL.Cam)&lt;br /&gt;
***Basically a composite of all the Gerbers &lt;br /&gt;
**Photos and 3D rendering of populated board &lt;br /&gt;
***In folder “Photos”&lt;br /&gt;
**EMF Files showing different layers&lt;br /&gt;
***In folder “EMF Renderings”&lt;br /&gt;
**AutoCad File of PCB (Prototype1 Autocad.DWG)&lt;br /&gt;
**Altium Library of Custom Footprints for Digital Board (GlueX IC Library.SchLib)&lt;br /&gt;
***Current as of completion of digital board&lt;br /&gt;
***This library has since been updated for the backplane&lt;br /&gt;
&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/Analog%20Board%2020081211.zip Analog Board 20081211.zip]:&lt;br /&gt;
**Altium Project File (AnalogBoard.PrjPcb)&lt;br /&gt;
**Altium PCB Layout File (AnalogBoardPCB.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (Amplifer1.SchDoc, Summer.SchDoc)&lt;br /&gt;
**“SmartPDF” of the board and schematics (AnalogBoard.pdf)&lt;br /&gt;
**Altium Component Definition for SiPM (SiPM Library.PcbLib)&lt;br /&gt;
***Contains part footprint and pin information for the SiPM component&lt;br /&gt;
&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/Backplane%2020081211.zip Backplane 20081211.zip]&lt;br /&gt;
**Altium Project File (Backplane.PrjPcb)&lt;br /&gt;
**Alitum PCB Layout File (Backplane.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (Analog Connector.SchDoc, Digital Connector.SchDoc)&lt;br /&gt;
***Analog Connector = Eurocard to analog board&lt;br /&gt;
***Digital Connector = Eurocard to digital board, +3.3V voltage regulator, and location identifier jumper&lt;br /&gt;
***LEMO connections not yet included in these schematics&lt;br /&gt;
**“SmartPDF” of the board and schematics (Backplane.pdf)&lt;br /&gt;
**Pin layout files used to define pinouts for custom components (Pin Layout, 96 pin connector.xlsx, Pinouts.xlsx)&lt;br /&gt;
***Pin Layout, 96 pin connector = pinout definition for 96 pin Eurocard connector&lt;br /&gt;
***Pinouts.xlsx = pinout definitions for digital board, which were reused for the 48 pin digital Eurocard receptacle on backplane&lt;br /&gt;
**Altium Library of Custom Components (GlueX IC Library.SchLib)&lt;br /&gt;
***UPDATED to include new backplane components&lt;br /&gt;
***An older version of this library was used for the digital board&lt;br /&gt;
&lt;br /&gt;
==Summary of Spring 2009 Work==&lt;br /&gt;
&lt;br /&gt;
At the end of the fall semester, Dr. Jones, Igor, and I determined that the amplifier/summing circuit we had designed simply didn’t have sufficient performance characteristics to be useful for GlueX. During the beginning of the spring semester, Igor came up with a new design, utilizing more transistors, to provide the high gain, fast response, picosecond resolution amplifier that we needed. The design performed flawlessly both in MatLab simulations and in a handmade single channel prototype. The first of my goals for the spring 2009 semester was to capture the schematic for this new amplifier into Altium designer, and layout a new amplifier board. The second of my goals, of course, was to complete production of the digital control board prototypes.&lt;br /&gt;
&lt;br /&gt;
[[Image:Digital Board, Populated.JPG|thumb|The populated digital board, with a tube of Chap-Block&amp;lt;sup&amp;gt;TM&amp;lt;/sup&amp;gt; for size comparison.]] Since the fall semester left us with three unpopulated digital control board PCBs, getting those PCBs assembled with their components was the first priority. I began the semester by tracking down all of the components we needed (some of which were selected at the end of the fall semester), and making appropriate substitutions for components whose availability had changed since the fall. In the process of selecting these components, I noticed several places where it seemed like power consumption on the board may be somewhat high. To fix this, I developed a spreadsheet in Microsoft Excel that calculates optimal resistor values to use for to obtain a specified voltage divider stiffness. With this tool, I was able to optimize power consumption across the board, and select appropriate components. Once all components had been selected, ordered, and received, we sent the order out to Screamin’ Circuits for assembly. The boards came back several weeks later, and are currently awaiting testing by some undergraduates who will be in the lab this summer.&lt;br /&gt;
&lt;br /&gt;
While Igor was finalizing his amplifier/summing circuit, I worked briefly on design of the backplane. A number of details regarding trace impedance and board dimensions were ironed out. Nonetheless, many problems still remain which I will need to tackle over the summer. The first of these problems is that we have yet to find an appropriate low cost coaxial connector to route signals off the backplane. In addition, screws with which to mount the backplane to the tagger must be selected so that appropriate holes can be created for them on the PCB.&lt;br /&gt;
&lt;br /&gt;
Once we were satisfied that the amplifier/summing circuit performed as required, I shifted work from the backplane to the amplifier board. Around the same time, I began working on a poster to present my work at the Frontiers in Undergraduate Research Exhibition held during Open House Weekend here at UConn. If you’re interested in my poster, check it out here.&lt;br /&gt;
&lt;br /&gt;
[[Image:Amplifier-Summer-Laid-out.gif|thumb|A prototype layout of 5 amplifier channels and a summing circuit. Actual size is ~1.6&amp;quot; tall. Areas in green represent problems to be resolved over summer 2009. A prototype amplifier with no green spots has been designed and will be replicated to this design soon.]] To start the amplifier/summing circuit project, I searched high and low for information about how to handle multi-channel designs in Altium. Not surprisingly, the first Google result on the query “multichannel design Altium” had everything I was missing during the fall when I was trying to lay out the original amplifier circuit. Using my new knowledge of Altium’s multichannel capabilities, I captured Igor’s new design into the schematics editor of Altium Designer. With proper nested schematic sheets, the entire 30 channel amplifier/6 channel summer design was compressed into just 4 schematic sheets, vs. the ~40 or so that would have been required had I laid out the complete schematics of the old design. &lt;br /&gt;
&lt;br /&gt;
I spent about a week and a half trying to figure out how to handle nesting independent nets from a repeated subsheet into another repeated subsheet which also produces independent nets from the nets of the first sheet. This sounds somewhat complicated, and I suppose perhaps it is a somewhat unique situation, since none of the ~5 sample multichannel projects included with Altium had such a construction in them. Basically, each summing circuit has five amplifier subcircuits, each of which puts out its own signal independent of the other four. From the perspective of the entire board, there are 6 summers, each of which has five independent signals coming from the amplifiers, and one summed signal. Determining how to get Altium to realize the proper connections from each individual amplifier, through that amplifier’s summer, to the main schematic was a complicated mess of naming conventions, but eventually I was able to make Altium reflect all of the appropriate connections in the PCB view. Though there are a few net naming issues still to be resolved, this problem has mostly been ironed out.&lt;br /&gt;
&lt;br /&gt;
The final few weeks of the semester were spent laying out amplifier components in the PCB view of Altium. As of right now, a compact design for an amplifier measuring 0.183”x~1.3” has been completed. Making use of 0201 size components, this amplifier is approximately .2” shorter than the old design, despite incorporating an extra transistor. The amplifier design features an isolating ground trace running the length of the amplifier to prevent crosstalk between channels. A prototype layout of the summing circuit has also been completed, though some layout issues there remain to be resolved over the summer.&lt;br /&gt;
&lt;br /&gt;
===Related Files===&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-6-2009/Progress20090505.zip Design Snapshot 5/5/2009]&lt;br /&gt;
**Backplane&lt;br /&gt;
***Backplane.PrjPcb (Altium Project File)&lt;br /&gt;
***Backplane.PcbDoc (Altium PCB File)&lt;br /&gt;
***Analog Connector.SchDoc, Digital Connector.SchDoc, LEMO.SchDoc (Altium Schematics)&lt;br /&gt;
***Backplane.pdf (SmartPDF File of the schematics and PCB layout)&lt;br /&gt;
**Amplifier Board&lt;br /&gt;
***Analog Board.PrjPcb (Altium Project File)&lt;br /&gt;
***Amplifier Board.PcbDoc (Altium PCB File)&lt;br /&gt;
***Main.SchDoc, Amplifier.SchDoc, Summer.SchDoc, Voltage References.SchDoc (Altium Schematics)&lt;br /&gt;
***Analog Board.pdf (SmartPDF File of the schematics and PCB layout&lt;br /&gt;
****The SmartPDF shows the entire PCB workspace, including components that have not yet been placed on the physical PCB.&lt;br /&gt;
****The bottom left corner of the PCB view shows a proof-of-concept 5 amplifiers/1 summer layout.&lt;br /&gt;
****Finding AMP6 using the PDF bookmarks shows the prototype amplifier layout that resolves mismatched footprint issues (indicated in green in the image farther up on this page).&lt;br /&gt;
&lt;br /&gt;
== Summary of Fall 2009 Work ==&lt;br /&gt;
&lt;br /&gt;
=== Mid-Semester Update, 11/12/2009 ===&lt;br /&gt;
We now have one fully working prototype of the SiPM Digital Control Board, and the SiPM Amplifier Board is currently being manufactured and assembled by Sierra Circuits, Inc. The backplane design is nearly complete and will be going out for quoting within a week.&lt;br /&gt;
&lt;br /&gt;
Here is a zip file containing the most recent versions of the tagger files: [http://zeus.phys.uconn.edu/halld/tagger/electronics/design-11-2009/TaggerMicroscopeProgress20091112.zip Design Snapshot 11/12/2009]&lt;br /&gt;
&lt;br /&gt;
A few notes about these files:&lt;br /&gt;
*There are four subfolders in the zip file. The folders for the three PCBs are clearly labelled. Each PCB folder has one project file (.PrjPcb) which can be opened in Altium Designer. Each project file refers to only one PcbDoc file, making it easy to figure out what you should look at to see the board.&lt;br /&gt;
*The SiPM digital control board project has 4 shelved polygons which should be restored (Tools-&amp;gt;Polygon Pours-&amp;gt;Restore 4 shelved polyons) to see the state of the board as it was last manufactured. Revisions from the testing process have not yet been entered into Altium but can be reviewed on this wiki: [[Digital control board debugging notes]]&lt;br /&gt;
*The SiPM amplifier (analog) board project will give an error message that it was unable to find &amp;quot;Test PCB.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
*The backplane project will give an error message that it was unable to find &amp;quot;Backplane_New.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
&lt;br /&gt;
=== End of Semester Update ===&lt;br /&gt;
This semester, a lot of progress has been made on the tagger electronics. The digital control board is now onto revision 2.0, the amplifier board is in production, and the backplane is awaiting completion of the purchase order for production to begin. It is exciting to say that the bulk of the work is now finally complete. Remaining for the spring are the tasks of testing the amplifier board, and seeing that everything fits into the backplane. Here are some details about what I accomplished this semester, as well as links to the most recent project files. &lt;br /&gt;
&lt;br /&gt;
==== Digital Control Board ====&lt;br /&gt;
The semester began with the digital control board prototypes sitting on lab bench waiting to be tested. My job was primarily to design the boards, not to debug them, though I still played an integral part in the testing process. We were all relieved that none of the boards appeared to smoke immediately when we first applied power, though there were a few confusing problems that had to be sorted out. Most of these problems are described in detail on the [[Digital control board debugging notes]] page. More or less, we had to solder a pin that wasn't connected, replace the crystal oscillator with a CMOS oscillator, and rewire few traces that were accidentally connected to pins intended for other signals. I won't repeat all of the changes we made here since it would be redundant to the page that already discusses it, but the important part is that we have one board that is fully operational, and the version 2.0 schematics/layout reflecting all these changes are complete. I anticipate that production of the version 2.0 boards will occur at the beginning of the spring 2010 semester. &lt;br /&gt;
&lt;br /&gt;
There is still one lingering problem with the digital board design that has not yet been resolved, however. Even after all of the version 2.0 changes were implemented on the version 1.0 boards, only one of the three boards produced actually functioned properly. For a reason unknown to us, two of the boards ended up with their digital to analog converters burning up and smoking. We thoroughly reviewed the schematics and the layout, and found nothing miswired. Furthermore, we analyzed the placement of the ball grid array DAC to the best of our ability, and determined that a misalignment of balls is not the cause of the failure. All of our power supplies are stable, properly decoupled, and grounded as called for by DAC's manufacturer. Currently, the best hypothesis for the failure of 2 of the 3 DACs is that one or more of the absolute maximum ratings must have been exceeded at some point during the assembly process. Analog Devices lists fairly specific specs with small tolerances relating to maximum temperature and the length of time which the DAC may spend inside a reflow oven. We have run into some difficultly trying to find out from the boards' assembler whether they followed the published specs for the assembly process, but we intend to keep trying until the cause of the DAC failure has been resolved.&lt;br /&gt;
&lt;br /&gt;
==== Amplifier Board ====&lt;br /&gt;
Throughout the summer and the beginning of the fall semester, I completed the design for the SiPM Amplifier Board, version 1.0. All 30 channels have been implemented along with their summing circuits. As I mentioned in the mid semester update above, this board is being manufactured and assembled by Sierra Circuits, Inc. Some unexpected setbacks occurred in the assembly process that delayed the boards somewhat, but I believe everything is now on track for delivery of the finished product before the start of the spring semester. A number of problems relating to minimum quantities of parts, as well as part naming conventions have now been resolved, and the assembly process should be complete in several weeks.&lt;br /&gt;
&lt;br /&gt;
==== Backplane ====&lt;br /&gt;
The backplane design, version 1.0, has also been completed. Sierra Circuits will be manufacturing the backplane, which we will assemble ourselves. The backplane is a particularly interesting PCB from a manufacturing standpoint, because it is designed to be completely light proof. Since the backplane is the only material standing between the whole of Hall D and the inside of the tagger microscope dark box, opacity of the board is particularly important.&lt;br /&gt;
&lt;br /&gt;
Most PCBs with internal copper layers are already fairly opaque, because the copper blocks light from transmitting through the FR-4 and prepreg. Through hole components do not particulary compromise board opacity, because the holes are plugged with component pins and solder. What does have a greater affect on the opaqueness of a board, however, is the thermal reliefs by which through hole pins and vias connect to internal plane layers. These reliefs are designed to aid in the soldering process by minimizing the amount of copper that is directly connected to the plating in the hole. A typical relief consists of four 7-10 mil traces connecting the hole's plating to the internal plane. The plane itself remains about 20 mil away from the hole, to prevent conduction of heat during the soldering process. Unfortunately, this means that there is a small gap in which there is only FR-4 to stop light from passing through the board. Since FR-4 is transparent, this poses a problem for our design. We were able work with Sierra Circuits to come up with a board design that includes an internal layer of special black FR-4 to prevent light leakage through the heat reliefs. While this is certainly not a standard feature, Sierra was confident that they could implement it for us, and we look forward to testing the boards' opacity in the spring.&lt;br /&gt;
&lt;br /&gt;
==== Project Design Snapshot ====&lt;br /&gt;
Here is a link to the most project files: INSERT LINK TO DESIGN SNAPSHOT 12/17/2009 HERE&lt;br /&gt;
&lt;br /&gt;
A few notes about these files:&lt;br /&gt;
*There are four subfolders in the zip file. The folders for the three PCBs are clearly labelled. Each PCB folder has one project file (.PrjPcb) which can be opened in Altium Designer. Each project file refers to only one PcbDoc file, making it easy to figure out what you should look at to see the board.&lt;br /&gt;
*The SiPM amplifier (analog) board project will give an error message that it was unable to find &amp;quot;Test PCB.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
*The backplane project will give an error message that it was unable to find &amp;quot;Backplane_New.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Woody_Underwood&amp;diff=4751</id>
		<title>Woody Underwood</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Woody_Underwood&amp;diff=4751"/>
		<updated>2009-12-17T22:15:57Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* Backplane */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About Me ==&lt;br /&gt;
My name is Woody Underwood. I'm a junior entering my seventh semester in the physics program at UConn. Since the summer of 2008, I've been working in the lab of Dr. Richard Jones designing electronics for the US Department of Energy's GlueX experiment. My assignment is to develop three circuit boards that work together to tag photons coming from the diamond radiator. My circuitry essentially measures (indirectly) the energy of these photons in order to determine if they are of interest to GlueX. The three boards I am designing consist of a digital board, an analog board, and a connecting backplane.&lt;br /&gt;
&lt;br /&gt;
== About My Circuitry ==&lt;br /&gt;
Electrons leaving the diamond radiator are deflected by a magnetic field into an array of scintillating fibres, producing photons. Wave guides carry these photons to SiPMs (silicon photomultipliers) mounted on the analog circuit board. The analog board contains transimpedance amplifiers and summing circuitry to condition the signals for digitization.&lt;br /&gt;
&lt;br /&gt;
The sensitivity of the SiPMs and the gain of the amplifiers on the analog board are controlled both by the power supply VCC and bias voltages supplied from the digital board. The digital board receives commands from a computer via ethernet, and uses a 32-channel DAC to output appropriate bias voltages to the SiPMs on the analog board. The digital and analog boards are connected by means of a backplane, which is also responsible for providing power and grounds to both boards.&lt;br /&gt;
&lt;br /&gt;
== Summary of Fall 2008 Work ==&lt;br /&gt;
All circuitry design work was done using Altium Designer. The digital board was the first to be designed. The first step in designing the digital board was to review the list of key components that had already been selected by Igor and Dr. Jones. These components included such things as the Xilinx Spartan-3A FPGA, and the Analog Devices AD5535 DAC. I began by looking through datasheets for these components to find out their needs, including power and decoupling requirements. I reviewed the pinout diagrams, and then looked through Altium’s standard libraries to find components that matched (in many cases the particular component I was looking for was not in the library, but a similar footprint or schematic symbol was). For components without matching schematic symbols, I entered pinout information from the datasheets into Microsoft Excel, using a layout compatible with Altium’s Smart Grid Insert function. Then, I was able to literally copy and paste pin information from Excel into Altium to generate the schematic symbols I needed.&lt;br /&gt;
&lt;br /&gt;
Once I had appropriate schematic symbols available for all parts, I began making appropriate connections in the schematic view in Altium. Though tedious, this task was not exceedingly difficult. I finished the schematics in several days, and then moved on to PCB design. I switched into Altium's PCB view. The footprints corresponding to the components I used in the schematics were automatically inserted by Altium. My job was then to position these components in logical places on the board and make all of the connections corresponding to the nets defined in the schematics.&lt;br /&gt;
&lt;br /&gt;
Due to the large number of components being placed in the limited space available on the digital board, Altium's auto-router proved completely useless. Therefore, I routed the board manually. Despite Altium's revolutionary convergence of schematic and PCB design into a single program, this was no easy task. During the routing process, I had to take into account not only the connections that had to be made, but also things such as avoiding crosstalk and minimizing trace length for sensitive components. I was able to complete routing after several weeks of work. The digital board design has since been completed and the board has been printed. It is currently awaiting assembly.&lt;br /&gt;
&lt;br /&gt;
The analog board provided a host of new challenges. The basic schematic for the transimpedance amplifier on the analog board was completed by Igor and Dr. Jones before the semester. Inputting the schematic into Altium was not very difficult. However, one problem I encountered was that the analog board contains 32 copies of this amplifier circuitry. After failing to find any way to insert multiple copies of both the schematic and its corresponding PCB layout, I decided to insert only single copies of each schematic page, and copy and paste the PCB layout to produce 32 copies of the amplifier circuitry. At first this seemed like a quick and easy way to get all of the necessary circuitry onto the PCB. However, I eventually discovered that this procedure would lead to major problems with the board assembly process (due to duplicate component designators, and for other reasons). Fortunately, this revelation came around the same time that Igor and Dr. Jones found a problem with the performance of the amplifier circuit. Making any changes to the amplifier circuit at this point will require a major reroute of all the traces on the analog  board. Since the board needs to be completely redesigned anyway, this will give me another chance to find a way to match schematics with all 32 copies of the amplifier circuitry.&lt;br /&gt;
&lt;br /&gt;
The backplane design is currently in progress. It should be relatively easy to complete. All that remains to be done is to add the LEMO connectors and power inputs. The board is simple enough that it can be routed completely by the auto-router, though a quick hand routing will probably be superior. I anticipate that I can complete the backplane with a few days of concentrated work over break.&lt;br /&gt;
&lt;br /&gt;
Included below are links to the files I have been working on. Included in the files for each board is a &amp;quot;SmartPDF,&amp;quot; viewable in Adobe Reader. For those without Altium Designer, these may be the best files to look at. They include complete schematics and PCB layout, and are also indexed by component.&lt;br /&gt;
&lt;br /&gt;
Any questions about the tagger circuitry can be directed to me at [mailto:mitchell.underwood@uconn.edu mitchell.underwood@uconn.edu]&lt;br /&gt;
&lt;br /&gt;
=== Related Files ===&lt;br /&gt;
* [http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/DigitalBoard.zip DigitalBoard.zip]:&lt;br /&gt;
**Altium Project File (SiPM Control Board.PrjPcb)&lt;br /&gt;
**Altium PCB Layout File (Prototype1.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (*.SchDoc)&lt;br /&gt;
**Altium Annotation Document (SiPM Control Board.Annotation)&lt;br /&gt;
***Not used, but generated by Altium when opening the project&lt;br /&gt;
**Altium PRJPCBSTRUCTURE File (SiPM Control Board.PRJPCBSTRUCTURE)&lt;br /&gt;
***Not used, but generated by Altium when opening the project)&lt;br /&gt;
**“SmartPDF” of the board and schematics (SiPM Control Board.pdf)&lt;br /&gt;
***Can be used to explore the PCB layout and schematics without needing Altium&lt;br /&gt;
**Pick and Place File for board population (Pick Place for Prototype1.txt)&lt;br /&gt;
***Used by board assembler&lt;br /&gt;
**NC Drill Files (Prototype1.txt, Prototype1.DRR, Prototype1.DRL)&lt;br /&gt;
***Used by board printer&lt;br /&gt;
**Gerber Files for all layers (in folder Gerbers)&lt;br /&gt;
***Used by board printer&lt;br /&gt;
**Altium CAMtastic file (CAMtastic4 FINAL.Cam)&lt;br /&gt;
***Basically a composite of all the Gerbers &lt;br /&gt;
**Photos and 3D rendering of populated board &lt;br /&gt;
***In folder “Photos”&lt;br /&gt;
**EMF Files showing different layers&lt;br /&gt;
***In folder “EMF Renderings”&lt;br /&gt;
**AutoCad File of PCB (Prototype1 Autocad.DWG)&lt;br /&gt;
**Altium Library of Custom Footprints for Digital Board (GlueX IC Library.SchLib)&lt;br /&gt;
***Current as of completion of digital board&lt;br /&gt;
***This library has since been updated for the backplane&lt;br /&gt;
&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/Analog%20Board%2020081211.zip Analog Board 20081211.zip]:&lt;br /&gt;
**Altium Project File (AnalogBoard.PrjPcb)&lt;br /&gt;
**Altium PCB Layout File (AnalogBoardPCB.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (Amplifer1.SchDoc, Summer.SchDoc)&lt;br /&gt;
**“SmartPDF” of the board and schematics (AnalogBoard.pdf)&lt;br /&gt;
**Altium Component Definition for SiPM (SiPM Library.PcbLib)&lt;br /&gt;
***Contains part footprint and pin information for the SiPM component&lt;br /&gt;
&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/Backplane%2020081211.zip Backplane 20081211.zip]&lt;br /&gt;
**Altium Project File (Backplane.PrjPcb)&lt;br /&gt;
**Alitum PCB Layout File (Backplane.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (Analog Connector.SchDoc, Digital Connector.SchDoc)&lt;br /&gt;
***Analog Connector = Eurocard to analog board&lt;br /&gt;
***Digital Connector = Eurocard to digital board, +3.3V voltage regulator, and location identifier jumper&lt;br /&gt;
***LEMO connections not yet included in these schematics&lt;br /&gt;
**“SmartPDF” of the board and schematics (Backplane.pdf)&lt;br /&gt;
**Pin layout files used to define pinouts for custom components (Pin Layout, 96 pin connector.xlsx, Pinouts.xlsx)&lt;br /&gt;
***Pin Layout, 96 pin connector = pinout definition for 96 pin Eurocard connector&lt;br /&gt;
***Pinouts.xlsx = pinout definitions for digital board, which were reused for the 48 pin digital Eurocard receptacle on backplane&lt;br /&gt;
**Altium Library of Custom Components (GlueX IC Library.SchLib)&lt;br /&gt;
***UPDATED to include new backplane components&lt;br /&gt;
***An older version of this library was used for the digital board&lt;br /&gt;
&lt;br /&gt;
==Summary of Spring 2009 Work==&lt;br /&gt;
&lt;br /&gt;
At the end of the fall semester, Dr. Jones, Igor, and I determined that the amplifier/summing circuit we had designed simply didn’t have sufficient performance characteristics to be useful for GlueX. During the beginning of the spring semester, Igor came up with a new design, utilizing more transistors, to provide the high gain, fast response, picosecond resolution amplifier that we needed. The design performed flawlessly both in MatLab simulations and in a handmade single channel prototype. The first of my goals for the spring 2009 semester was to capture the schematic for this new amplifier into Altium designer, and layout a new amplifier board. The second of my goals, of course, was to complete production of the digital control board prototypes.&lt;br /&gt;
&lt;br /&gt;
[[Image:Digital Board, Populated.JPG|thumb|The populated digital board, with a tube of Chap-Block&amp;lt;sup&amp;gt;TM&amp;lt;/sup&amp;gt; for size comparison.]] Since the fall semester left us with three unpopulated digital control board PCBs, getting those PCBs assembled with their components was the first priority. I began the semester by tracking down all of the components we needed (some of which were selected at the end of the fall semester), and making appropriate substitutions for components whose availability had changed since the fall. In the process of selecting these components, I noticed several places where it seemed like power consumption on the board may be somewhat high. To fix this, I developed a spreadsheet in Microsoft Excel that calculates optimal resistor values to use for to obtain a specified voltage divider stiffness. With this tool, I was able to optimize power consumption across the board, and select appropriate components. Once all components had been selected, ordered, and received, we sent the order out to Screamin’ Circuits for assembly. The boards came back several weeks later, and are currently awaiting testing by some undergraduates who will be in the lab this summer.&lt;br /&gt;
&lt;br /&gt;
While Igor was finalizing his amplifier/summing circuit, I worked briefly on design of the backplane. A number of details regarding trace impedance and board dimensions were ironed out. Nonetheless, many problems still remain which I will need to tackle over the summer. The first of these problems is that we have yet to find an appropriate low cost coaxial connector to route signals off the backplane. In addition, screws with which to mount the backplane to the tagger must be selected so that appropriate holes can be created for them on the PCB.&lt;br /&gt;
&lt;br /&gt;
Once we were satisfied that the amplifier/summing circuit performed as required, I shifted work from the backplane to the amplifier board. Around the same time, I began working on a poster to present my work at the Frontiers in Undergraduate Research Exhibition held during Open House Weekend here at UConn. If you’re interested in my poster, check it out here.&lt;br /&gt;
&lt;br /&gt;
[[Image:Amplifier-Summer-Laid-out.gif|thumb|A prototype layout of 5 amplifier channels and a summing circuit. Actual size is ~1.6&amp;quot; tall. Areas in green represent problems to be resolved over summer 2009. A prototype amplifier with no green spots has been designed and will be replicated to this design soon.]] To start the amplifier/summing circuit project, I searched high and low for information about how to handle multi-channel designs in Altium. Not surprisingly, the first Google result on the query “multichannel design Altium” had everything I was missing during the fall when I was trying to lay out the original amplifier circuit. Using my new knowledge of Altium’s multichannel capabilities, I captured Igor’s new design into the schematics editor of Altium Designer. With proper nested schematic sheets, the entire 30 channel amplifier/6 channel summer design was compressed into just 4 schematic sheets, vs. the ~40 or so that would have been required had I laid out the complete schematics of the old design. &lt;br /&gt;
&lt;br /&gt;
I spent about a week and a half trying to figure out how to handle nesting independent nets from a repeated subsheet into another repeated subsheet which also produces independent nets from the nets of the first sheet. This sounds somewhat complicated, and I suppose perhaps it is a somewhat unique situation, since none of the ~5 sample multichannel projects included with Altium had such a construction in them. Basically, each summing circuit has five amplifier subcircuits, each of which puts out its own signal independent of the other four. From the perspective of the entire board, there are 6 summers, each of which has five independent signals coming from the amplifiers, and one summed signal. Determining how to get Altium to realize the proper connections from each individual amplifier, through that amplifier’s summer, to the main schematic was a complicated mess of naming conventions, but eventually I was able to make Altium reflect all of the appropriate connections in the PCB view. Though there are a few net naming issues still to be resolved, this problem has mostly been ironed out.&lt;br /&gt;
&lt;br /&gt;
The final few weeks of the semester were spent laying out amplifier components in the PCB view of Altium. As of right now, a compact design for an amplifier measuring 0.183”x~1.3” has been completed. Making use of 0201 size components, this amplifier is approximately .2” shorter than the old design, despite incorporating an extra transistor. The amplifier design features an isolating ground trace running the length of the amplifier to prevent crosstalk between channels. A prototype layout of the summing circuit has also been completed, though some layout issues there remain to be resolved over the summer.&lt;br /&gt;
&lt;br /&gt;
===Related Files===&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-6-2009/Progress20090505.zip Design Snapshot 5/5/2009]&lt;br /&gt;
**Backplane&lt;br /&gt;
***Backplane.PrjPcb (Altium Project File)&lt;br /&gt;
***Backplane.PcbDoc (Altium PCB File)&lt;br /&gt;
***Analog Connector.SchDoc, Digital Connector.SchDoc, LEMO.SchDoc (Altium Schematics)&lt;br /&gt;
***Backplane.pdf (SmartPDF File of the schematics and PCB layout)&lt;br /&gt;
**Amplifier Board&lt;br /&gt;
***Analog Board.PrjPcb (Altium Project File)&lt;br /&gt;
***Amplifier Board.PcbDoc (Altium PCB File)&lt;br /&gt;
***Main.SchDoc, Amplifier.SchDoc, Summer.SchDoc, Voltage References.SchDoc (Altium Schematics)&lt;br /&gt;
***Analog Board.pdf (SmartPDF File of the schematics and PCB layout&lt;br /&gt;
****The SmartPDF shows the entire PCB workspace, including components that have not yet been placed on the physical PCB.&lt;br /&gt;
****The bottom left corner of the PCB view shows a proof-of-concept 5 amplifiers/1 summer layout.&lt;br /&gt;
****Finding AMP6 using the PDF bookmarks shows the prototype amplifier layout that resolves mismatched footprint issues (indicated in green in the image farther up on this page).&lt;br /&gt;
&lt;br /&gt;
== Summary of Fall 2009 Work ==&lt;br /&gt;
&lt;br /&gt;
=== Mid-Semester Update, 11/12/2009 ===&lt;br /&gt;
We now have one fully working prototype of the SiPM Digital Control Board, and the SiPM Amplifier Board is currently being manufactured and assembled by Sierra Circuits, Inc. The backplane design is nearly complete and will be going out for quoting within a week.&lt;br /&gt;
&lt;br /&gt;
Here is a zip file containing the most recent versions of the tagger files: [http://zeus.phys.uconn.edu/halld/tagger/electronics/design-11-2009/TaggerMicroscopeProgress20091112.zip Design Snapshot 11/12/2009]&lt;br /&gt;
&lt;br /&gt;
A few notes about these files:&lt;br /&gt;
*There are four subfolders in the zip file. The folders for the three PCBs are clearly labelled. Each PCB folder has one project file (.PrjPcb) which can be opened in Altium Designer. Each project file refers to only one PcbDoc file, making it easy to figure out what you should look at to see the board.&lt;br /&gt;
*The SiPM digital control board project has 4 shelved polygons which should be restored (Tools-&amp;gt;Polygon Pours-&amp;gt;Restore 4 shelved polyons) to see the state of the board as it was last manufactured. Revisions from the testing process have not yet been entered into Altium but can be reviewed on this wiki: [[Digital control board debugging notes]]&lt;br /&gt;
*The SiPM amplifier (analog) board project will give an error message that it was unable to find &amp;quot;Test PCB.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
*The backplane project will give an error message that it was unable to find &amp;quot;Backplane_New.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
&lt;br /&gt;
=== End of Semester Update ===&lt;br /&gt;
This semester, a lot of progress has been made on the tagger electronics. The digital control board is now onto revision 2.0, the amplifier board is in production, and the backplane is awaiting completion of the purchase order for production to begin. It is exciting to say that the bulk of the work is now finally complete. Remaining for the spring are the tasks of testing the amplifier board, and seeing that everything fits into the backplane. Here are some details about what I accomplished this semester, as well as links to the most recent project files. &lt;br /&gt;
&lt;br /&gt;
==== Digital Control Board ====&lt;br /&gt;
The semester began with the digital control board prototypes sitting on lab bench waiting to be tested. My job was primarily to design the boards, not to debug them, though I still played an integral part in the testing process. We were all relieved that none of the boards appeared to smoke immediately when we first applied power, though there were a few confusing problems that had to be sorted out. Most of these problems are described in detail on the [[Digital control board debugging notes]] page. More or less, we had to solder a pin that wasn't connected, replace the crystal oscillator with a CMOS oscillator, and rewire few traces that were accidentally connected to pins intended for other signals. I won't repeat all of the changes we made here since it would be redundant to the page that already discusses it, but the important part is that we have one board that is fully operational, and the version 2.0 schematics/layout reflecting all these changes are complete. I anticipate that production of the version 2.0 boards will occur at the beginning of the spring 2010 semester. &lt;br /&gt;
&lt;br /&gt;
There is still one lingering problem with the digital board design that has not yet been resolved, however. Even after all of the version 2.0 changes were implemented on the version 1.0 boards, only one of the three boards produced actually functioned properly. For a reason unknown to us, two of the boards ended up with their digital to analog converters burning up and smoking. We thoroughly reviewed the schematics and the layout, and found nothing miswired. Furthermore, we analyzed the placement of the ball grid array DAC to the best of our ability, and determined that a misalignment of balls is not the cause of the failure. All of our power supplies are stable, properly decoupled, and grounded as called for by DAC's manufacturer. Currently, the best hypothesis for the failure of 2 of the 3 DACs is that one or more of the absolute maximum ratings must have been exceeded at some point during the assembly process. Analog Devices lists fairly specific specs with small tolerances relating to maximum temperature and the length of time which the DAC may spend inside a reflow oven. We have run into some difficultly trying to find out from the boards' assembler whether they followed the published specs for the assembly process, but we intend to keep trying until the cause of the DAC failure has been resolved.&lt;br /&gt;
&lt;br /&gt;
==== Amplifier Board ====&lt;br /&gt;
Throughout the summer and the beginning of the fall semester, I completed the design for the SiPM Amplifier Board, version 1.0. All 30 channels have been implemented along with their summing circuits. As I mentioned in the mid semester update above, this board is being manufactured and assembled by Sierra Circuits, Inc. Some unexpected setbacks occurred in the assembly process that delayed the boards somewhat, but I believe everything is now on track for delivery of the finished product before the start of the spring semester. A number of problems relating to minimum quantities of parts, as well as part naming conventions have now been resolved, and the assembly process should be complete in several weeks.&lt;br /&gt;
&lt;br /&gt;
==== Backplane ====&lt;br /&gt;
The backplane design, version 1.0, has also been completed. Sierra Circuits will be manufacturing the backplane, which we will assemble ourselves. The backplane is a particularly interesting PCB from a manufacturing standpoint, because it is designed to be completely light proof. Since the backplane is the only material standing between the whole of Hall D and the inside of the tagger microscope dark box, opacity of the board is particularly important.&lt;br /&gt;
&lt;br /&gt;
Most PCBs with internal copper layers are already fairly opaque, because the copper blocks light from transmitting through the FR-4 and prepreg. Through hole components do not particulary compromise board opacity, because the holes are plugged with component pins and solder. What does have a greater affect on the opaqueness of a board, however, is the thermal reliefs by which through hole pins and vias connect to internal plane layers. These reliefs are designed to aid in the soldering process by minimizing the amount of copper that is directly connected to the plating in the hole. A typical relief consists of four 7-10 mil traces connecting the hole's plating to the internal plane. The plane itself remains about 20 mil away from the hole, to prevent conduction of heat during the soldering process. Unfortunately, this means that there is a small gap in which there is only FR-4 to stop light from passing through the board. Since FR-4 is transparent, this poses a problem for our design. We were able work with Sierra Circuits to come up with a board design that includes an internal layer of special black FR-4 to prevent light leakage through the heat reliefs. While this is certainly not a standard feature, Sierra was confident that they could implement it for us, and we look forward to testing the boards' opacity in the spring.&lt;br /&gt;
&lt;br /&gt;
==== Project Design Snapshot ====&lt;br /&gt;
Here is a link to the most project files: INSERT LINK TO DESIGN SNAPSHOT 12/17/2009 HERE&lt;br /&gt;
&lt;br /&gt;
The files are all clearly labelled.&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Woody_Underwood&amp;diff=4750</id>
		<title>Woody Underwood</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Woody_Underwood&amp;diff=4750"/>
		<updated>2009-12-17T22:01:20Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* Fall 2009 Work */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About Me ==&lt;br /&gt;
My name is Woody Underwood. I'm a junior entering my seventh semester in the physics program at UConn. Since the summer of 2008, I've been working in the lab of Dr. Richard Jones designing electronics for the US Department of Energy's GlueX experiment. My assignment is to develop three circuit boards that work together to tag photons coming from the diamond radiator. My circuitry essentially measures (indirectly) the energy of these photons in order to determine if they are of interest to GlueX. The three boards I am designing consist of a digital board, an analog board, and a connecting backplane.&lt;br /&gt;
&lt;br /&gt;
== About My Circuitry ==&lt;br /&gt;
Electrons leaving the diamond radiator are deflected by a magnetic field into an array of scintillating fibres, producing photons. Wave guides carry these photons to SiPMs (silicon photomultipliers) mounted on the analog circuit board. The analog board contains transimpedance amplifiers and summing circuitry to condition the signals for digitization.&lt;br /&gt;
&lt;br /&gt;
The sensitivity of the SiPMs and the gain of the amplifiers on the analog board are controlled both by the power supply VCC and bias voltages supplied from the digital board. The digital board receives commands from a computer via ethernet, and uses a 32-channel DAC to output appropriate bias voltages to the SiPMs on the analog board. The digital and analog boards are connected by means of a backplane, which is also responsible for providing power and grounds to both boards.&lt;br /&gt;
&lt;br /&gt;
== Summary of Fall 2008 Work ==&lt;br /&gt;
All circuitry design work was done using Altium Designer. The digital board was the first to be designed. The first step in designing the digital board was to review the list of key components that had already been selected by Igor and Dr. Jones. These components included such things as the Xilinx Spartan-3A FPGA, and the Analog Devices AD5535 DAC. I began by looking through datasheets for these components to find out their needs, including power and decoupling requirements. I reviewed the pinout diagrams, and then looked through Altium’s standard libraries to find components that matched (in many cases the particular component I was looking for was not in the library, but a similar footprint or schematic symbol was). For components without matching schematic symbols, I entered pinout information from the datasheets into Microsoft Excel, using a layout compatible with Altium’s Smart Grid Insert function. Then, I was able to literally copy and paste pin information from Excel into Altium to generate the schematic symbols I needed.&lt;br /&gt;
&lt;br /&gt;
Once I had appropriate schematic symbols available for all parts, I began making appropriate connections in the schematic view in Altium. Though tedious, this task was not exceedingly difficult. I finished the schematics in several days, and then moved on to PCB design. I switched into Altium's PCB view. The footprints corresponding to the components I used in the schematics were automatically inserted by Altium. My job was then to position these components in logical places on the board and make all of the connections corresponding to the nets defined in the schematics.&lt;br /&gt;
&lt;br /&gt;
Due to the large number of components being placed in the limited space available on the digital board, Altium's auto-router proved completely useless. Therefore, I routed the board manually. Despite Altium's revolutionary convergence of schematic and PCB design into a single program, this was no easy task. During the routing process, I had to take into account not only the connections that had to be made, but also things such as avoiding crosstalk and minimizing trace length for sensitive components. I was able to complete routing after several weeks of work. The digital board design has since been completed and the board has been printed. It is currently awaiting assembly.&lt;br /&gt;
&lt;br /&gt;
The analog board provided a host of new challenges. The basic schematic for the transimpedance amplifier on the analog board was completed by Igor and Dr. Jones before the semester. Inputting the schematic into Altium was not very difficult. However, one problem I encountered was that the analog board contains 32 copies of this amplifier circuitry. After failing to find any way to insert multiple copies of both the schematic and its corresponding PCB layout, I decided to insert only single copies of each schematic page, and copy and paste the PCB layout to produce 32 copies of the amplifier circuitry. At first this seemed like a quick and easy way to get all of the necessary circuitry onto the PCB. However, I eventually discovered that this procedure would lead to major problems with the board assembly process (due to duplicate component designators, and for other reasons). Fortunately, this revelation came around the same time that Igor and Dr. Jones found a problem with the performance of the amplifier circuit. Making any changes to the amplifier circuit at this point will require a major reroute of all the traces on the analog  board. Since the board needs to be completely redesigned anyway, this will give me another chance to find a way to match schematics with all 32 copies of the amplifier circuitry.&lt;br /&gt;
&lt;br /&gt;
The backplane design is currently in progress. It should be relatively easy to complete. All that remains to be done is to add the LEMO connectors and power inputs. The board is simple enough that it can be routed completely by the auto-router, though a quick hand routing will probably be superior. I anticipate that I can complete the backplane with a few days of concentrated work over break.&lt;br /&gt;
&lt;br /&gt;
Included below are links to the files I have been working on. Included in the files for each board is a &amp;quot;SmartPDF,&amp;quot; viewable in Adobe Reader. For those without Altium Designer, these may be the best files to look at. They include complete schematics and PCB layout, and are also indexed by component.&lt;br /&gt;
&lt;br /&gt;
Any questions about the tagger circuitry can be directed to me at [mailto:mitchell.underwood@uconn.edu mitchell.underwood@uconn.edu]&lt;br /&gt;
&lt;br /&gt;
=== Related Files ===&lt;br /&gt;
* [http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/DigitalBoard.zip DigitalBoard.zip]:&lt;br /&gt;
**Altium Project File (SiPM Control Board.PrjPcb)&lt;br /&gt;
**Altium PCB Layout File (Prototype1.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (*.SchDoc)&lt;br /&gt;
**Altium Annotation Document (SiPM Control Board.Annotation)&lt;br /&gt;
***Not used, but generated by Altium when opening the project&lt;br /&gt;
**Altium PRJPCBSTRUCTURE File (SiPM Control Board.PRJPCBSTRUCTURE)&lt;br /&gt;
***Not used, but generated by Altium when opening the project)&lt;br /&gt;
**“SmartPDF” of the board and schematics (SiPM Control Board.pdf)&lt;br /&gt;
***Can be used to explore the PCB layout and schematics without needing Altium&lt;br /&gt;
**Pick and Place File for board population (Pick Place for Prototype1.txt)&lt;br /&gt;
***Used by board assembler&lt;br /&gt;
**NC Drill Files (Prototype1.txt, Prototype1.DRR, Prototype1.DRL)&lt;br /&gt;
***Used by board printer&lt;br /&gt;
**Gerber Files for all layers (in folder Gerbers)&lt;br /&gt;
***Used by board printer&lt;br /&gt;
**Altium CAMtastic file (CAMtastic4 FINAL.Cam)&lt;br /&gt;
***Basically a composite of all the Gerbers &lt;br /&gt;
**Photos and 3D rendering of populated board &lt;br /&gt;
***In folder “Photos”&lt;br /&gt;
**EMF Files showing different layers&lt;br /&gt;
***In folder “EMF Renderings”&lt;br /&gt;
**AutoCad File of PCB (Prototype1 Autocad.DWG)&lt;br /&gt;
**Altium Library of Custom Footprints for Digital Board (GlueX IC Library.SchLib)&lt;br /&gt;
***Current as of completion of digital board&lt;br /&gt;
***This library has since been updated for the backplane&lt;br /&gt;
&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/Analog%20Board%2020081211.zip Analog Board 20081211.zip]:&lt;br /&gt;
**Altium Project File (AnalogBoard.PrjPcb)&lt;br /&gt;
**Altium PCB Layout File (AnalogBoardPCB.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (Amplifer1.SchDoc, Summer.SchDoc)&lt;br /&gt;
**“SmartPDF” of the board and schematics (AnalogBoard.pdf)&lt;br /&gt;
**Altium Component Definition for SiPM (SiPM Library.PcbLib)&lt;br /&gt;
***Contains part footprint and pin information for the SiPM component&lt;br /&gt;
&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/Backplane%2020081211.zip Backplane 20081211.zip]&lt;br /&gt;
**Altium Project File (Backplane.PrjPcb)&lt;br /&gt;
**Alitum PCB Layout File (Backplane.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (Analog Connector.SchDoc, Digital Connector.SchDoc)&lt;br /&gt;
***Analog Connector = Eurocard to analog board&lt;br /&gt;
***Digital Connector = Eurocard to digital board, +3.3V voltage regulator, and location identifier jumper&lt;br /&gt;
***LEMO connections not yet included in these schematics&lt;br /&gt;
**“SmartPDF” of the board and schematics (Backplane.pdf)&lt;br /&gt;
**Pin layout files used to define pinouts for custom components (Pin Layout, 96 pin connector.xlsx, Pinouts.xlsx)&lt;br /&gt;
***Pin Layout, 96 pin connector = pinout definition for 96 pin Eurocard connector&lt;br /&gt;
***Pinouts.xlsx = pinout definitions for digital board, which were reused for the 48 pin digital Eurocard receptacle on backplane&lt;br /&gt;
**Altium Library of Custom Components (GlueX IC Library.SchLib)&lt;br /&gt;
***UPDATED to include new backplane components&lt;br /&gt;
***An older version of this library was used for the digital board&lt;br /&gt;
&lt;br /&gt;
==Summary of Spring 2009 Work==&lt;br /&gt;
&lt;br /&gt;
At the end of the fall semester, Dr. Jones, Igor, and I determined that the amplifier/summing circuit we had designed simply didn’t have sufficient performance characteristics to be useful for GlueX. During the beginning of the spring semester, Igor came up with a new design, utilizing more transistors, to provide the high gain, fast response, picosecond resolution amplifier that we needed. The design performed flawlessly both in MatLab simulations and in a handmade single channel prototype. The first of my goals for the spring 2009 semester was to capture the schematic for this new amplifier into Altium designer, and layout a new amplifier board. The second of my goals, of course, was to complete production of the digital control board prototypes.&lt;br /&gt;
&lt;br /&gt;
[[Image:Digital Board, Populated.JPG|thumb|The populated digital board, with a tube of Chap-Block&amp;lt;sup&amp;gt;TM&amp;lt;/sup&amp;gt; for size comparison.]] Since the fall semester left us with three unpopulated digital control board PCBs, getting those PCBs assembled with their components was the first priority. I began the semester by tracking down all of the components we needed (some of which were selected at the end of the fall semester), and making appropriate substitutions for components whose availability had changed since the fall. In the process of selecting these components, I noticed several places where it seemed like power consumption on the board may be somewhat high. To fix this, I developed a spreadsheet in Microsoft Excel that calculates optimal resistor values to use for to obtain a specified voltage divider stiffness. With this tool, I was able to optimize power consumption across the board, and select appropriate components. Once all components had been selected, ordered, and received, we sent the order out to Screamin’ Circuits for assembly. The boards came back several weeks later, and are currently awaiting testing by some undergraduates who will be in the lab this summer.&lt;br /&gt;
&lt;br /&gt;
While Igor was finalizing his amplifier/summing circuit, I worked briefly on design of the backplane. A number of details regarding trace impedance and board dimensions were ironed out. Nonetheless, many problems still remain which I will need to tackle over the summer. The first of these problems is that we have yet to find an appropriate low cost coaxial connector to route signals off the backplane. In addition, screws with which to mount the backplane to the tagger must be selected so that appropriate holes can be created for them on the PCB.&lt;br /&gt;
&lt;br /&gt;
Once we were satisfied that the amplifier/summing circuit performed as required, I shifted work from the backplane to the amplifier board. Around the same time, I began working on a poster to present my work at the Frontiers in Undergraduate Research Exhibition held during Open House Weekend here at UConn. If you’re interested in my poster, check it out here.&lt;br /&gt;
&lt;br /&gt;
[[Image:Amplifier-Summer-Laid-out.gif|thumb|A prototype layout of 5 amplifier channels and a summing circuit. Actual size is ~1.6&amp;quot; tall. Areas in green represent problems to be resolved over summer 2009. A prototype amplifier with no green spots has been designed and will be replicated to this design soon.]] To start the amplifier/summing circuit project, I searched high and low for information about how to handle multi-channel designs in Altium. Not surprisingly, the first Google result on the query “multichannel design Altium” had everything I was missing during the fall when I was trying to lay out the original amplifier circuit. Using my new knowledge of Altium’s multichannel capabilities, I captured Igor’s new design into the schematics editor of Altium Designer. With proper nested schematic sheets, the entire 30 channel amplifier/6 channel summer design was compressed into just 4 schematic sheets, vs. the ~40 or so that would have been required had I laid out the complete schematics of the old design. &lt;br /&gt;
&lt;br /&gt;
I spent about a week and a half trying to figure out how to handle nesting independent nets from a repeated subsheet into another repeated subsheet which also produces independent nets from the nets of the first sheet. This sounds somewhat complicated, and I suppose perhaps it is a somewhat unique situation, since none of the ~5 sample multichannel projects included with Altium had such a construction in them. Basically, each summing circuit has five amplifier subcircuits, each of which puts out its own signal independent of the other four. From the perspective of the entire board, there are 6 summers, each of which has five independent signals coming from the amplifiers, and one summed signal. Determining how to get Altium to realize the proper connections from each individual amplifier, through that amplifier’s summer, to the main schematic was a complicated mess of naming conventions, but eventually I was able to make Altium reflect all of the appropriate connections in the PCB view. Though there are a few net naming issues still to be resolved, this problem has mostly been ironed out.&lt;br /&gt;
&lt;br /&gt;
The final few weeks of the semester were spent laying out amplifier components in the PCB view of Altium. As of right now, a compact design for an amplifier measuring 0.183”x~1.3” has been completed. Making use of 0201 size components, this amplifier is approximately .2” shorter than the old design, despite incorporating an extra transistor. The amplifier design features an isolating ground trace running the length of the amplifier to prevent crosstalk between channels. A prototype layout of the summing circuit has also been completed, though some layout issues there remain to be resolved over the summer.&lt;br /&gt;
&lt;br /&gt;
===Related Files===&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-6-2009/Progress20090505.zip Design Snapshot 5/5/2009]&lt;br /&gt;
**Backplane&lt;br /&gt;
***Backplane.PrjPcb (Altium Project File)&lt;br /&gt;
***Backplane.PcbDoc (Altium PCB File)&lt;br /&gt;
***Analog Connector.SchDoc, Digital Connector.SchDoc, LEMO.SchDoc (Altium Schematics)&lt;br /&gt;
***Backplane.pdf (SmartPDF File of the schematics and PCB layout)&lt;br /&gt;
**Amplifier Board&lt;br /&gt;
***Analog Board.PrjPcb (Altium Project File)&lt;br /&gt;
***Amplifier Board.PcbDoc (Altium PCB File)&lt;br /&gt;
***Main.SchDoc, Amplifier.SchDoc, Summer.SchDoc, Voltage References.SchDoc (Altium Schematics)&lt;br /&gt;
***Analog Board.pdf (SmartPDF File of the schematics and PCB layout&lt;br /&gt;
****The SmartPDF shows the entire PCB workspace, including components that have not yet been placed on the physical PCB.&lt;br /&gt;
****The bottom left corner of the PCB view shows a proof-of-concept 5 amplifiers/1 summer layout.&lt;br /&gt;
****Finding AMP6 using the PDF bookmarks shows the prototype amplifier layout that resolves mismatched footprint issues (indicated in green in the image farther up on this page).&lt;br /&gt;
&lt;br /&gt;
== Summary of Fall 2009 Work ==&lt;br /&gt;
&lt;br /&gt;
=== Mid-Semester Update, 11/12/2009 ===&lt;br /&gt;
We now have one fully working prototype of the SiPM Digital Control Board, and the SiPM Amplifier Board is currently being manufactured and assembled by Sierra Circuits, Inc. The backplane design is nearly complete and will be going out for quoting within a week.&lt;br /&gt;
&lt;br /&gt;
Here is a zip file containing the most recent versions of the tagger files: [http://zeus.phys.uconn.edu/halld/tagger/electronics/design-11-2009/TaggerMicroscopeProgress20091112.zip Design Snapshot 11/12/2009]&lt;br /&gt;
&lt;br /&gt;
A few notes about these files:&lt;br /&gt;
*There are four subfolders in the zip file. The folders for the three PCBs are clearly labelled. Each PCB folder has one project file (.PrjPcb) which can be opened in Altium Designer. Each project file refers to only one PcbDoc file, making it easy to figure out what you should look at to see the board.&lt;br /&gt;
*The SiPM digital control board project has 4 shelved polygons which should be restored (Tools-&amp;gt;Polygon Pours-&amp;gt;Restore 4 shelved polyons) to see the state of the board as it was last manufactured. Revisions from the testing process have not yet been entered into Altium but can be reviewed on this wiki: [[Digital control board debugging notes]]&lt;br /&gt;
*The SiPM amplifier (analog) board project will give an error message that it was unable to find &amp;quot;Test PCB.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
*The backplane project will give an error message that it was unable to find &amp;quot;Backplane_New.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
&lt;br /&gt;
=== End of Semester Update ===&lt;br /&gt;
This semester, a lot of progress has been made on the tagger electronics. The digital control board is now onto revision 2.0, the amplifier board is in production, and the backplane is awaiting completion of the purchase order for production to begin. It is exciting to say that the bulk of the work is now finally complete. Remaining for the spring are the tasks of testing the amplifier board, and seeing that everything fits into the backplane. Here are some details about what I accomplished this semester, as well as links to the most recent project files. &lt;br /&gt;
&lt;br /&gt;
==== Digital Control Board ====&lt;br /&gt;
The semester began with the digital control board prototypes sitting on lab bench waiting to be tested. My job was primarily to design the boards, not to debug them, though I still played an integral part in the testing process. We were all relieved that none of the boards appeared to smoke immediately when we first applied power, though there were a few confusing problems that had to be sorted out. Most of these problems are described in detail on the [[Digital control board debugging notes]] page. More or less, we had to solder a pin that wasn't connected, replace the crystal oscillator with a CMOS oscillator, and rewire few traces that were accidentally connected to pins intended for other signals. I won't repeat all of the changes we made here since it would be redundant to the page that already discusses it, but the important part is that we have one board that is fully operational, and the version 2.0 schematics/layout reflecting all these changes are complete. I anticipate that production of the version 2.0 boards will occur at the beginning of the spring 2010 semester. &lt;br /&gt;
&lt;br /&gt;
There is still one lingering problem with the digital board design that has not yet been resolved, however. Even after all of the version 2.0 changes were implemented on the version 1.0 boards, only one of the three boards produced actually functioned properly. For a reason unknown to us, two of the boards ended up with their digital to analog converters burning up and smoking. We thoroughly reviewed the schematics and the layout, and found nothing miswired. Furthermore, we analyzed the placement of the ball grid array DAC to the best of our ability, and determined that a misalignment of balls is not the cause of the failure. All of our power supplies are stable, properly decoupled, and grounded as called for by DAC's manufacturer. Currently, the best hypothesis for the failure of 2 of the 3 DACs is that one or more of the absolute maximum ratings must have been exceeded at some point during the assembly process. Analog Devices lists fairly specific specs with small tolerances relating to maximum temperature and the length of time which the DAC may spend inside a reflow oven. We have run into some difficultly trying to find out from the boards' assembler whether they followed the published specs for the assembly process, but we intend to keep trying until the cause of the DAC failure has been resolved.&lt;br /&gt;
&lt;br /&gt;
==== Amplifier Board ====&lt;br /&gt;
Throughout the summer and the beginning of the fall semester, I completed the design for the SiPM Amplifier Board, version 1.0. All 30 channels have been implemented along with their summing circuits. As I mentioned in the mid semester update above, this board is being manufactured and assembled by Sierra Circuits, Inc. Some unexpected setbacks occurred in the assembly process that delayed the boards somewhat, but I believe everything is now on track for delivery of the finished product before the start of the spring semester. A number of problems relating to minimum quantities of parts, as well as part naming conventions have now been resolved, and the assembly process should be complete in several weeks.&lt;br /&gt;
&lt;br /&gt;
==== Backplane ====&lt;br /&gt;
The backplane design, version 1.0, has also been completed. Sierra Circuits will be manufacturing the backplane, which we will assemble ourselves. The backplane is a particularly interesting PCB from a manufacturing standpoint, because it is designed to be completely light proof. Since the backplane is the only material standing between the whole of Hall D and the inside of the tagger microscope dark box, opacity of the board is particularly important.&lt;br /&gt;
&lt;br /&gt;
Most PCBs with internal copper layers are already fairly opaque, because the copper blocks light from transmitting through the FR-4 and prepreg. Through hole components do not particulary compromise board opacity, because the holes are plugged with component pins and solder. What does have a greater affect on the opaqueness of a board, however, is the thermal reliefs by which through hole pins and vias connect to internal plane layers. These reliefs are designed to aid in the soldering process by minimizing the amount of copper that is directly connected to the plating in the hole. A typical relief consists of four 7-10 mil traces connecting the hole's plating to the internal plane. The plane itself remains about 20 mil away from the hole, to prevent conduction of heat during the soldering process. Unfortunately, this means that there is a small gap in which there is only FR-4 to stop light from passing through the board. Since FR-4 is transparent, this poses a problem for our design. We were able work with Sierra Circuits to come up with a board design that includes an internal layer of special black FR-4 to prevent light leakage through the heat reliefs. While this is certainly not a standard feature, Sierra was confident that they could implement it for us, and we look forward to testing the boards' opacity in the spring.&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Woody_Underwood&amp;diff=4749</id>
		<title>Woody Underwood</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Woody_Underwood&amp;diff=4749"/>
		<updated>2009-12-17T22:00:45Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* Backplane */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About Me ==&lt;br /&gt;
My name is Woody Underwood. I'm a junior entering my seventh semester in the physics program at UConn. Since the summer of 2008, I've been working in the lab of Dr. Richard Jones designing electronics for the US Department of Energy's GlueX experiment. My assignment is to develop three circuit boards that work together to tag photons coming from the diamond radiator. My circuitry essentially measures (indirectly) the energy of these photons in order to determine if they are of interest to GlueX. The three boards I am designing consist of a digital board, an analog board, and a connecting backplane.&lt;br /&gt;
&lt;br /&gt;
== About My Circuitry ==&lt;br /&gt;
Electrons leaving the diamond radiator are deflected by a magnetic field into an array of scintillating fibres, producing photons. Wave guides carry these photons to SiPMs (silicon photomultipliers) mounted on the analog circuit board. The analog board contains transimpedance amplifiers and summing circuitry to condition the signals for digitization.&lt;br /&gt;
&lt;br /&gt;
The sensitivity of the SiPMs and the gain of the amplifiers on the analog board are controlled both by the power supply VCC and bias voltages supplied from the digital board. The digital board receives commands from a computer via ethernet, and uses a 32-channel DAC to output appropriate bias voltages to the SiPMs on the analog board. The digital and analog boards are connected by means of a backplane, which is also responsible for providing power and grounds to both boards.&lt;br /&gt;
&lt;br /&gt;
== Summary of Fall 2008 Work ==&lt;br /&gt;
All circuitry design work was done using Altium Designer. The digital board was the first to be designed. The first step in designing the digital board was to review the list of key components that had already been selected by Igor and Dr. Jones. These components included such things as the Xilinx Spartan-3A FPGA, and the Analog Devices AD5535 DAC. I began by looking through datasheets for these components to find out their needs, including power and decoupling requirements. I reviewed the pinout diagrams, and then looked through Altium’s standard libraries to find components that matched (in many cases the particular component I was looking for was not in the library, but a similar footprint or schematic symbol was). For components without matching schematic symbols, I entered pinout information from the datasheets into Microsoft Excel, using a layout compatible with Altium’s Smart Grid Insert function. Then, I was able to literally copy and paste pin information from Excel into Altium to generate the schematic symbols I needed.&lt;br /&gt;
&lt;br /&gt;
Once I had appropriate schematic symbols available for all parts, I began making appropriate connections in the schematic view in Altium. Though tedious, this task was not exceedingly difficult. I finished the schematics in several days, and then moved on to PCB design. I switched into Altium's PCB view. The footprints corresponding to the components I used in the schematics were automatically inserted by Altium. My job was then to position these components in logical places on the board and make all of the connections corresponding to the nets defined in the schematics.&lt;br /&gt;
&lt;br /&gt;
Due to the large number of components being placed in the limited space available on the digital board, Altium's auto-router proved completely useless. Therefore, I routed the board manually. Despite Altium's revolutionary convergence of schematic and PCB design into a single program, this was no easy task. During the routing process, I had to take into account not only the connections that had to be made, but also things such as avoiding crosstalk and minimizing trace length for sensitive components. I was able to complete routing after several weeks of work. The digital board design has since been completed and the board has been printed. It is currently awaiting assembly.&lt;br /&gt;
&lt;br /&gt;
The analog board provided a host of new challenges. The basic schematic for the transimpedance amplifier on the analog board was completed by Igor and Dr. Jones before the semester. Inputting the schematic into Altium was not very difficult. However, one problem I encountered was that the analog board contains 32 copies of this amplifier circuitry. After failing to find any way to insert multiple copies of both the schematic and its corresponding PCB layout, I decided to insert only single copies of each schematic page, and copy and paste the PCB layout to produce 32 copies of the amplifier circuitry. At first this seemed like a quick and easy way to get all of the necessary circuitry onto the PCB. However, I eventually discovered that this procedure would lead to major problems with the board assembly process (due to duplicate component designators, and for other reasons). Fortunately, this revelation came around the same time that Igor and Dr. Jones found a problem with the performance of the amplifier circuit. Making any changes to the amplifier circuit at this point will require a major reroute of all the traces on the analog  board. Since the board needs to be completely redesigned anyway, this will give me another chance to find a way to match schematics with all 32 copies of the amplifier circuitry.&lt;br /&gt;
&lt;br /&gt;
The backplane design is currently in progress. It should be relatively easy to complete. All that remains to be done is to add the LEMO connectors and power inputs. The board is simple enough that it can be routed completely by the auto-router, though a quick hand routing will probably be superior. I anticipate that I can complete the backplane with a few days of concentrated work over break.&lt;br /&gt;
&lt;br /&gt;
Included below are links to the files I have been working on. Included in the files for each board is a &amp;quot;SmartPDF,&amp;quot; viewable in Adobe Reader. For those without Altium Designer, these may be the best files to look at. They include complete schematics and PCB layout, and are also indexed by component.&lt;br /&gt;
&lt;br /&gt;
Any questions about the tagger circuitry can be directed to me at [mailto:mitchell.underwood@uconn.edu mitchell.underwood@uconn.edu]&lt;br /&gt;
&lt;br /&gt;
=== Related Files ===&lt;br /&gt;
* [http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/DigitalBoard.zip DigitalBoard.zip]:&lt;br /&gt;
**Altium Project File (SiPM Control Board.PrjPcb)&lt;br /&gt;
**Altium PCB Layout File (Prototype1.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (*.SchDoc)&lt;br /&gt;
**Altium Annotation Document (SiPM Control Board.Annotation)&lt;br /&gt;
***Not used, but generated by Altium when opening the project&lt;br /&gt;
**Altium PRJPCBSTRUCTURE File (SiPM Control Board.PRJPCBSTRUCTURE)&lt;br /&gt;
***Not used, but generated by Altium when opening the project)&lt;br /&gt;
**“SmartPDF” of the board and schematics (SiPM Control Board.pdf)&lt;br /&gt;
***Can be used to explore the PCB layout and schematics without needing Altium&lt;br /&gt;
**Pick and Place File for board population (Pick Place for Prototype1.txt)&lt;br /&gt;
***Used by board assembler&lt;br /&gt;
**NC Drill Files (Prototype1.txt, Prototype1.DRR, Prototype1.DRL)&lt;br /&gt;
***Used by board printer&lt;br /&gt;
**Gerber Files for all layers (in folder Gerbers)&lt;br /&gt;
***Used by board printer&lt;br /&gt;
**Altium CAMtastic file (CAMtastic4 FINAL.Cam)&lt;br /&gt;
***Basically a composite of all the Gerbers &lt;br /&gt;
**Photos and 3D rendering of populated board &lt;br /&gt;
***In folder “Photos”&lt;br /&gt;
**EMF Files showing different layers&lt;br /&gt;
***In folder “EMF Renderings”&lt;br /&gt;
**AutoCad File of PCB (Prototype1 Autocad.DWG)&lt;br /&gt;
**Altium Library of Custom Footprints for Digital Board (GlueX IC Library.SchLib)&lt;br /&gt;
***Current as of completion of digital board&lt;br /&gt;
***This library has since been updated for the backplane&lt;br /&gt;
&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/Analog%20Board%2020081211.zip Analog Board 20081211.zip]:&lt;br /&gt;
**Altium Project File (AnalogBoard.PrjPcb)&lt;br /&gt;
**Altium PCB Layout File (AnalogBoardPCB.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (Amplifer1.SchDoc, Summer.SchDoc)&lt;br /&gt;
**“SmartPDF” of the board and schematics (AnalogBoard.pdf)&lt;br /&gt;
**Altium Component Definition for SiPM (SiPM Library.PcbLib)&lt;br /&gt;
***Contains part footprint and pin information for the SiPM component&lt;br /&gt;
&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/Backplane%2020081211.zip Backplane 20081211.zip]&lt;br /&gt;
**Altium Project File (Backplane.PrjPcb)&lt;br /&gt;
**Alitum PCB Layout File (Backplane.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (Analog Connector.SchDoc, Digital Connector.SchDoc)&lt;br /&gt;
***Analog Connector = Eurocard to analog board&lt;br /&gt;
***Digital Connector = Eurocard to digital board, +3.3V voltage regulator, and location identifier jumper&lt;br /&gt;
***LEMO connections not yet included in these schematics&lt;br /&gt;
**“SmartPDF” of the board and schematics (Backplane.pdf)&lt;br /&gt;
**Pin layout files used to define pinouts for custom components (Pin Layout, 96 pin connector.xlsx, Pinouts.xlsx)&lt;br /&gt;
***Pin Layout, 96 pin connector = pinout definition for 96 pin Eurocard connector&lt;br /&gt;
***Pinouts.xlsx = pinout definitions for digital board, which were reused for the 48 pin digital Eurocard receptacle on backplane&lt;br /&gt;
**Altium Library of Custom Components (GlueX IC Library.SchLib)&lt;br /&gt;
***UPDATED to include new backplane components&lt;br /&gt;
***An older version of this library was used for the digital board&lt;br /&gt;
&lt;br /&gt;
==Summary of Spring 2009 Work==&lt;br /&gt;
&lt;br /&gt;
At the end of the fall semester, Dr. Jones, Igor, and I determined that the amplifier/summing circuit we had designed simply didn’t have sufficient performance characteristics to be useful for GlueX. During the beginning of the spring semester, Igor came up with a new design, utilizing more transistors, to provide the high gain, fast response, picosecond resolution amplifier that we needed. The design performed flawlessly both in MatLab simulations and in a handmade single channel prototype. The first of my goals for the spring 2009 semester was to capture the schematic for this new amplifier into Altium designer, and layout a new amplifier board. The second of my goals, of course, was to complete production of the digital control board prototypes.&lt;br /&gt;
&lt;br /&gt;
[[Image:Digital Board, Populated.JPG|thumb|The populated digital board, with a tube of Chap-Block&amp;lt;sup&amp;gt;TM&amp;lt;/sup&amp;gt; for size comparison.]] Since the fall semester left us with three unpopulated digital control board PCBs, getting those PCBs assembled with their components was the first priority. I began the semester by tracking down all of the components we needed (some of which were selected at the end of the fall semester), and making appropriate substitutions for components whose availability had changed since the fall. In the process of selecting these components, I noticed several places where it seemed like power consumption on the board may be somewhat high. To fix this, I developed a spreadsheet in Microsoft Excel that calculates optimal resistor values to use for to obtain a specified voltage divider stiffness. With this tool, I was able to optimize power consumption across the board, and select appropriate components. Once all components had been selected, ordered, and received, we sent the order out to Screamin’ Circuits for assembly. The boards came back several weeks later, and are currently awaiting testing by some undergraduates who will be in the lab this summer.&lt;br /&gt;
&lt;br /&gt;
While Igor was finalizing his amplifier/summing circuit, I worked briefly on design of the backplane. A number of details regarding trace impedance and board dimensions were ironed out. Nonetheless, many problems still remain which I will need to tackle over the summer. The first of these problems is that we have yet to find an appropriate low cost coaxial connector to route signals off the backplane. In addition, screws with which to mount the backplane to the tagger must be selected so that appropriate holes can be created for them on the PCB.&lt;br /&gt;
&lt;br /&gt;
Once we were satisfied that the amplifier/summing circuit performed as required, I shifted work from the backplane to the amplifier board. Around the same time, I began working on a poster to present my work at the Frontiers in Undergraduate Research Exhibition held during Open House Weekend here at UConn. If you’re interested in my poster, check it out here.&lt;br /&gt;
&lt;br /&gt;
[[Image:Amplifier-Summer-Laid-out.gif|thumb|A prototype layout of 5 amplifier channels and a summing circuit. Actual size is ~1.6&amp;quot; tall. Areas in green represent problems to be resolved over summer 2009. A prototype amplifier with no green spots has been designed and will be replicated to this design soon.]] To start the amplifier/summing circuit project, I searched high and low for information about how to handle multi-channel designs in Altium. Not surprisingly, the first Google result on the query “multichannel design Altium” had everything I was missing during the fall when I was trying to lay out the original amplifier circuit. Using my new knowledge of Altium’s multichannel capabilities, I captured Igor’s new design into the schematics editor of Altium Designer. With proper nested schematic sheets, the entire 30 channel amplifier/6 channel summer design was compressed into just 4 schematic sheets, vs. the ~40 or so that would have been required had I laid out the complete schematics of the old design. &lt;br /&gt;
&lt;br /&gt;
I spent about a week and a half trying to figure out how to handle nesting independent nets from a repeated subsheet into another repeated subsheet which also produces independent nets from the nets of the first sheet. This sounds somewhat complicated, and I suppose perhaps it is a somewhat unique situation, since none of the ~5 sample multichannel projects included with Altium had such a construction in them. Basically, each summing circuit has five amplifier subcircuits, each of which puts out its own signal independent of the other four. From the perspective of the entire board, there are 6 summers, each of which has five independent signals coming from the amplifiers, and one summed signal. Determining how to get Altium to realize the proper connections from each individual amplifier, through that amplifier’s summer, to the main schematic was a complicated mess of naming conventions, but eventually I was able to make Altium reflect all of the appropriate connections in the PCB view. Though there are a few net naming issues still to be resolved, this problem has mostly been ironed out.&lt;br /&gt;
&lt;br /&gt;
The final few weeks of the semester were spent laying out amplifier components in the PCB view of Altium. As of right now, a compact design for an amplifier measuring 0.183”x~1.3” has been completed. Making use of 0201 size components, this amplifier is approximately .2” shorter than the old design, despite incorporating an extra transistor. The amplifier design features an isolating ground trace running the length of the amplifier to prevent crosstalk between channels. A prototype layout of the summing circuit has also been completed, though some layout issues there remain to be resolved over the summer.&lt;br /&gt;
&lt;br /&gt;
===Related Files===&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-6-2009/Progress20090505.zip Design Snapshot 5/5/2009]&lt;br /&gt;
**Backplane&lt;br /&gt;
***Backplane.PrjPcb (Altium Project File)&lt;br /&gt;
***Backplane.PcbDoc (Altium PCB File)&lt;br /&gt;
***Analog Connector.SchDoc, Digital Connector.SchDoc, LEMO.SchDoc (Altium Schematics)&lt;br /&gt;
***Backplane.pdf (SmartPDF File of the schematics and PCB layout)&lt;br /&gt;
**Amplifier Board&lt;br /&gt;
***Analog Board.PrjPcb (Altium Project File)&lt;br /&gt;
***Amplifier Board.PcbDoc (Altium PCB File)&lt;br /&gt;
***Main.SchDoc, Amplifier.SchDoc, Summer.SchDoc, Voltage References.SchDoc (Altium Schematics)&lt;br /&gt;
***Analog Board.pdf (SmartPDF File of the schematics and PCB layout&lt;br /&gt;
****The SmartPDF shows the entire PCB workspace, including components that have not yet been placed on the physical PCB.&lt;br /&gt;
****The bottom left corner of the PCB view shows a proof-of-concept 5 amplifiers/1 summer layout.&lt;br /&gt;
****Finding AMP6 using the PDF bookmarks shows the prototype amplifier layout that resolves mismatched footprint issues (indicated in green in the image farther up on this page).&lt;br /&gt;
&lt;br /&gt;
== Fall 2009 Work ==&lt;br /&gt;
&lt;br /&gt;
=== Mid-Semester Update, 11/12/2009 ===&lt;br /&gt;
We now have one fully working prototype of the SiPM Digital Control Board, and the SiPM Amplifier Board is currently being manufactured and assembled by Sierra Circuits, Inc. The backplane design is nearly complete and will be going out for quoting within a week.&lt;br /&gt;
&lt;br /&gt;
Here is a zip file containing the most recent versions of the tagger files: [http://zeus.phys.uconn.edu/halld/tagger/electronics/design-11-2009/TaggerMicroscopeProgress20091112.zip Design Snapshot 11/12/2009]&lt;br /&gt;
&lt;br /&gt;
A few notes about these files:&lt;br /&gt;
*There are four subfolders in the zip file. The folders for the three PCBs are clearly labelled. Each PCB folder has one project file (.PrjPcb) which can be opened in Altium Designer. Each project file refers to only one PcbDoc file, making it easy to figure out what you should look at to see the board.&lt;br /&gt;
*The SiPM digital control board project has 4 shelved polygons which should be restored (Tools-&amp;gt;Polygon Pours-&amp;gt;Restore 4 shelved polyons) to see the state of the board as it was last manufactured. Revisions from the testing process have not yet been entered into Altium but can be reviewed on this wiki: [[Digital control board debugging notes]]&lt;br /&gt;
*The SiPM amplifier (analog) board project will give an error message that it was unable to find &amp;quot;Test PCB.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
*The backplane project will give an error message that it was unable to find &amp;quot;Backplane_New.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
&lt;br /&gt;
=== End of Semester Update ===&lt;br /&gt;
This semester, a lot of progress has been made on the tagger electronics. The digital control board is now onto revision 2.0, the amplifier board is in production, and the backplane is awaiting completion of the purchase order for production to begin. It is exciting to say that the bulk of the work is now finally complete. Remaining for the spring are the tasks of testing the amplifier board, and seeing that everything fits into the backplane. Here are some details about what I accomplished this semester, as well as links to the most recent project files. &lt;br /&gt;
&lt;br /&gt;
==== Digital Control Board ====&lt;br /&gt;
The semester began with the digital control board prototypes sitting on lab bench waiting to be tested. My job was primarily to design the boards, not to debug them, though I still played an integral part in the testing process. We were all relieved that none of the boards appeared to smoke immediately when we first applied power, though there were a few confusing problems that had to be sorted out. Most of these problems are described in detail on the [[Digital control board debugging notes]] page. More or less, we had to solder a pin that wasn't connected, replace the crystal oscillator with a CMOS oscillator, and rewire few traces that were accidentally connected to pins intended for other signals. I won't repeat all of the changes we made here since it would be redundant to the page that already discusses it, but the important part is that we have one board that is fully operational, and the version 2.0 schematics/layout reflecting all these changes are complete. I anticipate that production of the version 2.0 boards will occur at the beginning of the spring 2010 semester. &lt;br /&gt;
&lt;br /&gt;
There is still one lingering problem with the digital board design that has not yet been resolved, however. Even after all of the version 2.0 changes were implemented on the version 1.0 boards, only one of the three boards produced actually functioned properly. For a reason unknown to us, two of the boards ended up with their digital to analog converters burning up and smoking. We thoroughly reviewed the schematics and the layout, and found nothing miswired. Furthermore, we analyzed the placement of the ball grid array DAC to the best of our ability, and determined that a misalignment of balls is not the cause of the failure. All of our power supplies are stable, properly decoupled, and grounded as called for by DAC's manufacturer. Currently, the best hypothesis for the failure of 2 of the 3 DACs is that one or more of the absolute maximum ratings must have been exceeded at some point during the assembly process. Analog Devices lists fairly specific specs with small tolerances relating to maximum temperature and the length of time which the DAC may spend inside a reflow oven. We have run into some difficultly trying to find out from the boards' assembler whether they followed the published specs for the assembly process, but we intend to keep trying until the cause of the DAC failure has been resolved.&lt;br /&gt;
&lt;br /&gt;
==== Amplifier Board ====&lt;br /&gt;
Throughout the summer and the beginning of the fall semester, I completed the design for the SiPM Amplifier Board, version 1.0. All 30 channels have been implemented along with their summing circuits. As I mentioned in the mid semester update above, this board is being manufactured and assembled by Sierra Circuits, Inc. Some unexpected setbacks occurred in the assembly process that delayed the boards somewhat, but I believe everything is now on track for delivery of the finished product before the start of the spring semester. A number of problems relating to minimum quantities of parts, as well as part naming conventions have now been resolved, and the assembly process should be complete in several weeks.&lt;br /&gt;
&lt;br /&gt;
==== Backplane ====&lt;br /&gt;
The backplane design, version 1.0, has also been completed. Sierra Circuits will be manufacturing the backplane, which we will assemble ourselves. The backplane is a particularly interesting PCB from a manufacturing standpoint, because it is designed to be completely light proof. Since the backplane is the only material standing between the whole of Hall D and the inside of the tagger microscope dark box, opacity of the board is particularly important.&lt;br /&gt;
&lt;br /&gt;
Most PCBs with internal copper layers are already fairly opaque, because the copper blocks light from transmitting through the FR-4 and prepreg. Through hole components do not particulary compromise board opacity, because the holes are plugged with component pins and solder. What does have a greater affect on the opaqueness of a board, however, is the thermal reliefs by which through hole pins and vias connect to internal plane layers. These reliefs are designed to aid in the soldering process by minimizing the amount of copper that is directly connected to the plating in the hole. A typical relief consists of four 7-10 mil traces connecting the hole's plating to the internal plane. The plane itself remains about 20 mil away from the hole, to prevent conduction of heat during the soldering process. Unfortunately, this means that there is a small gap in which there is only FR-4 to stop light from passing through the board. Since FR-4 is transparent, this poses a problem for our design. We were able work with Sierra Circuits to come up with a board design that includes an internal layer of special black FR-4 to prevent light leakage through the heat reliefs. While this is certainly not a standard feature, Sierra was confident that they could implement it for us, and we look forward to testing the boards' opacity in the spring.&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Woody_Underwood&amp;diff=4748</id>
		<title>Woody Underwood</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Woody_Underwood&amp;diff=4748"/>
		<updated>2009-12-17T21:58:58Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* Digital Control Board */ wording&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About Me ==&lt;br /&gt;
My name is Woody Underwood. I'm a junior entering my seventh semester in the physics program at UConn. Since the summer of 2008, I've been working in the lab of Dr. Richard Jones designing electronics for the US Department of Energy's GlueX experiment. My assignment is to develop three circuit boards that work together to tag photons coming from the diamond radiator. My circuitry essentially measures (indirectly) the energy of these photons in order to determine if they are of interest to GlueX. The three boards I am designing consist of a digital board, an analog board, and a connecting backplane.&lt;br /&gt;
&lt;br /&gt;
== About My Circuitry ==&lt;br /&gt;
Electrons leaving the diamond radiator are deflected by a magnetic field into an array of scintillating fibres, producing photons. Wave guides carry these photons to SiPMs (silicon photomultipliers) mounted on the analog circuit board. The analog board contains transimpedance amplifiers and summing circuitry to condition the signals for digitization.&lt;br /&gt;
&lt;br /&gt;
The sensitivity of the SiPMs and the gain of the amplifiers on the analog board are controlled both by the power supply VCC and bias voltages supplied from the digital board. The digital board receives commands from a computer via ethernet, and uses a 32-channel DAC to output appropriate bias voltages to the SiPMs on the analog board. The digital and analog boards are connected by means of a backplane, which is also responsible for providing power and grounds to both boards.&lt;br /&gt;
&lt;br /&gt;
== Summary of Fall 2008 Work ==&lt;br /&gt;
All circuitry design work was done using Altium Designer. The digital board was the first to be designed. The first step in designing the digital board was to review the list of key components that had already been selected by Igor and Dr. Jones. These components included such things as the Xilinx Spartan-3A FPGA, and the Analog Devices AD5535 DAC. I began by looking through datasheets for these components to find out their needs, including power and decoupling requirements. I reviewed the pinout diagrams, and then looked through Altium’s standard libraries to find components that matched (in many cases the particular component I was looking for was not in the library, but a similar footprint or schematic symbol was). For components without matching schematic symbols, I entered pinout information from the datasheets into Microsoft Excel, using a layout compatible with Altium’s Smart Grid Insert function. Then, I was able to literally copy and paste pin information from Excel into Altium to generate the schematic symbols I needed.&lt;br /&gt;
&lt;br /&gt;
Once I had appropriate schematic symbols available for all parts, I began making appropriate connections in the schematic view in Altium. Though tedious, this task was not exceedingly difficult. I finished the schematics in several days, and then moved on to PCB design. I switched into Altium's PCB view. The footprints corresponding to the components I used in the schematics were automatically inserted by Altium. My job was then to position these components in logical places on the board and make all of the connections corresponding to the nets defined in the schematics.&lt;br /&gt;
&lt;br /&gt;
Due to the large number of components being placed in the limited space available on the digital board, Altium's auto-router proved completely useless. Therefore, I routed the board manually. Despite Altium's revolutionary convergence of schematic and PCB design into a single program, this was no easy task. During the routing process, I had to take into account not only the connections that had to be made, but also things such as avoiding crosstalk and minimizing trace length for sensitive components. I was able to complete routing after several weeks of work. The digital board design has since been completed and the board has been printed. It is currently awaiting assembly.&lt;br /&gt;
&lt;br /&gt;
The analog board provided a host of new challenges. The basic schematic for the transimpedance amplifier on the analog board was completed by Igor and Dr. Jones before the semester. Inputting the schematic into Altium was not very difficult. However, one problem I encountered was that the analog board contains 32 copies of this amplifier circuitry. After failing to find any way to insert multiple copies of both the schematic and its corresponding PCB layout, I decided to insert only single copies of each schematic page, and copy and paste the PCB layout to produce 32 copies of the amplifier circuitry. At first this seemed like a quick and easy way to get all of the necessary circuitry onto the PCB. However, I eventually discovered that this procedure would lead to major problems with the board assembly process (due to duplicate component designators, and for other reasons). Fortunately, this revelation came around the same time that Igor and Dr. Jones found a problem with the performance of the amplifier circuit. Making any changes to the amplifier circuit at this point will require a major reroute of all the traces on the analog  board. Since the board needs to be completely redesigned anyway, this will give me another chance to find a way to match schematics with all 32 copies of the amplifier circuitry.&lt;br /&gt;
&lt;br /&gt;
The backplane design is currently in progress. It should be relatively easy to complete. All that remains to be done is to add the LEMO connectors and power inputs. The board is simple enough that it can be routed completely by the auto-router, though a quick hand routing will probably be superior. I anticipate that I can complete the backplane with a few days of concentrated work over break.&lt;br /&gt;
&lt;br /&gt;
Included below are links to the files I have been working on. Included in the files for each board is a &amp;quot;SmartPDF,&amp;quot; viewable in Adobe Reader. For those without Altium Designer, these may be the best files to look at. They include complete schematics and PCB layout, and are also indexed by component.&lt;br /&gt;
&lt;br /&gt;
Any questions about the tagger circuitry can be directed to me at [mailto:mitchell.underwood@uconn.edu mitchell.underwood@uconn.edu]&lt;br /&gt;
&lt;br /&gt;
=== Related Files ===&lt;br /&gt;
* [http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/DigitalBoard.zip DigitalBoard.zip]:&lt;br /&gt;
**Altium Project File (SiPM Control Board.PrjPcb)&lt;br /&gt;
**Altium PCB Layout File (Prototype1.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (*.SchDoc)&lt;br /&gt;
**Altium Annotation Document (SiPM Control Board.Annotation)&lt;br /&gt;
***Not used, but generated by Altium when opening the project&lt;br /&gt;
**Altium PRJPCBSTRUCTURE File (SiPM Control Board.PRJPCBSTRUCTURE)&lt;br /&gt;
***Not used, but generated by Altium when opening the project)&lt;br /&gt;
**“SmartPDF” of the board and schematics (SiPM Control Board.pdf)&lt;br /&gt;
***Can be used to explore the PCB layout and schematics without needing Altium&lt;br /&gt;
**Pick and Place File for board population (Pick Place for Prototype1.txt)&lt;br /&gt;
***Used by board assembler&lt;br /&gt;
**NC Drill Files (Prototype1.txt, Prototype1.DRR, Prototype1.DRL)&lt;br /&gt;
***Used by board printer&lt;br /&gt;
**Gerber Files for all layers (in folder Gerbers)&lt;br /&gt;
***Used by board printer&lt;br /&gt;
**Altium CAMtastic file (CAMtastic4 FINAL.Cam)&lt;br /&gt;
***Basically a composite of all the Gerbers &lt;br /&gt;
**Photos and 3D rendering of populated board &lt;br /&gt;
***In folder “Photos”&lt;br /&gt;
**EMF Files showing different layers&lt;br /&gt;
***In folder “EMF Renderings”&lt;br /&gt;
**AutoCad File of PCB (Prototype1 Autocad.DWG)&lt;br /&gt;
**Altium Library of Custom Footprints for Digital Board (GlueX IC Library.SchLib)&lt;br /&gt;
***Current as of completion of digital board&lt;br /&gt;
***This library has since been updated for the backplane&lt;br /&gt;
&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/Analog%20Board%2020081211.zip Analog Board 20081211.zip]:&lt;br /&gt;
**Altium Project File (AnalogBoard.PrjPcb)&lt;br /&gt;
**Altium PCB Layout File (AnalogBoardPCB.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (Amplifer1.SchDoc, Summer.SchDoc)&lt;br /&gt;
**“SmartPDF” of the board and schematics (AnalogBoard.pdf)&lt;br /&gt;
**Altium Component Definition for SiPM (SiPM Library.PcbLib)&lt;br /&gt;
***Contains part footprint and pin information for the SiPM component&lt;br /&gt;
&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/Backplane%2020081211.zip Backplane 20081211.zip]&lt;br /&gt;
**Altium Project File (Backplane.PrjPcb)&lt;br /&gt;
**Alitum PCB Layout File (Backplane.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (Analog Connector.SchDoc, Digital Connector.SchDoc)&lt;br /&gt;
***Analog Connector = Eurocard to analog board&lt;br /&gt;
***Digital Connector = Eurocard to digital board, +3.3V voltage regulator, and location identifier jumper&lt;br /&gt;
***LEMO connections not yet included in these schematics&lt;br /&gt;
**“SmartPDF” of the board and schematics (Backplane.pdf)&lt;br /&gt;
**Pin layout files used to define pinouts for custom components (Pin Layout, 96 pin connector.xlsx, Pinouts.xlsx)&lt;br /&gt;
***Pin Layout, 96 pin connector = pinout definition for 96 pin Eurocard connector&lt;br /&gt;
***Pinouts.xlsx = pinout definitions for digital board, which were reused for the 48 pin digital Eurocard receptacle on backplane&lt;br /&gt;
**Altium Library of Custom Components (GlueX IC Library.SchLib)&lt;br /&gt;
***UPDATED to include new backplane components&lt;br /&gt;
***An older version of this library was used for the digital board&lt;br /&gt;
&lt;br /&gt;
==Summary of Spring 2009 Work==&lt;br /&gt;
&lt;br /&gt;
At the end of the fall semester, Dr. Jones, Igor, and I determined that the amplifier/summing circuit we had designed simply didn’t have sufficient performance characteristics to be useful for GlueX. During the beginning of the spring semester, Igor came up with a new design, utilizing more transistors, to provide the high gain, fast response, picosecond resolution amplifier that we needed. The design performed flawlessly both in MatLab simulations and in a handmade single channel prototype. The first of my goals for the spring 2009 semester was to capture the schematic for this new amplifier into Altium designer, and layout a new amplifier board. The second of my goals, of course, was to complete production of the digital control board prototypes.&lt;br /&gt;
&lt;br /&gt;
[[Image:Digital Board, Populated.JPG|thumb|The populated digital board, with a tube of Chap-Block&amp;lt;sup&amp;gt;TM&amp;lt;/sup&amp;gt; for size comparison.]] Since the fall semester left us with three unpopulated digital control board PCBs, getting those PCBs assembled with their components was the first priority. I began the semester by tracking down all of the components we needed (some of which were selected at the end of the fall semester), and making appropriate substitutions for components whose availability had changed since the fall. In the process of selecting these components, I noticed several places where it seemed like power consumption on the board may be somewhat high. To fix this, I developed a spreadsheet in Microsoft Excel that calculates optimal resistor values to use for to obtain a specified voltage divider stiffness. With this tool, I was able to optimize power consumption across the board, and select appropriate components. Once all components had been selected, ordered, and received, we sent the order out to Screamin’ Circuits for assembly. The boards came back several weeks later, and are currently awaiting testing by some undergraduates who will be in the lab this summer.&lt;br /&gt;
&lt;br /&gt;
While Igor was finalizing his amplifier/summing circuit, I worked briefly on design of the backplane. A number of details regarding trace impedance and board dimensions were ironed out. Nonetheless, many problems still remain which I will need to tackle over the summer. The first of these problems is that we have yet to find an appropriate low cost coaxial connector to route signals off the backplane. In addition, screws with which to mount the backplane to the tagger must be selected so that appropriate holes can be created for them on the PCB.&lt;br /&gt;
&lt;br /&gt;
Once we were satisfied that the amplifier/summing circuit performed as required, I shifted work from the backplane to the amplifier board. Around the same time, I began working on a poster to present my work at the Frontiers in Undergraduate Research Exhibition held during Open House Weekend here at UConn. If you’re interested in my poster, check it out here.&lt;br /&gt;
&lt;br /&gt;
[[Image:Amplifier-Summer-Laid-out.gif|thumb|A prototype layout of 5 amplifier channels and a summing circuit. Actual size is ~1.6&amp;quot; tall. Areas in green represent problems to be resolved over summer 2009. A prototype amplifier with no green spots has been designed and will be replicated to this design soon.]] To start the amplifier/summing circuit project, I searched high and low for information about how to handle multi-channel designs in Altium. Not surprisingly, the first Google result on the query “multichannel design Altium” had everything I was missing during the fall when I was trying to lay out the original amplifier circuit. Using my new knowledge of Altium’s multichannel capabilities, I captured Igor’s new design into the schematics editor of Altium Designer. With proper nested schematic sheets, the entire 30 channel amplifier/6 channel summer design was compressed into just 4 schematic sheets, vs. the ~40 or so that would have been required had I laid out the complete schematics of the old design. &lt;br /&gt;
&lt;br /&gt;
I spent about a week and a half trying to figure out how to handle nesting independent nets from a repeated subsheet into another repeated subsheet which also produces independent nets from the nets of the first sheet. This sounds somewhat complicated, and I suppose perhaps it is a somewhat unique situation, since none of the ~5 sample multichannel projects included with Altium had such a construction in them. Basically, each summing circuit has five amplifier subcircuits, each of which puts out its own signal independent of the other four. From the perspective of the entire board, there are 6 summers, each of which has five independent signals coming from the amplifiers, and one summed signal. Determining how to get Altium to realize the proper connections from each individual amplifier, through that amplifier’s summer, to the main schematic was a complicated mess of naming conventions, but eventually I was able to make Altium reflect all of the appropriate connections in the PCB view. Though there are a few net naming issues still to be resolved, this problem has mostly been ironed out.&lt;br /&gt;
&lt;br /&gt;
The final few weeks of the semester were spent laying out amplifier components in the PCB view of Altium. As of right now, a compact design for an amplifier measuring 0.183”x~1.3” has been completed. Making use of 0201 size components, this amplifier is approximately .2” shorter than the old design, despite incorporating an extra transistor. The amplifier design features an isolating ground trace running the length of the amplifier to prevent crosstalk between channels. A prototype layout of the summing circuit has also been completed, though some layout issues there remain to be resolved over the summer.&lt;br /&gt;
&lt;br /&gt;
===Related Files===&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-6-2009/Progress20090505.zip Design Snapshot 5/5/2009]&lt;br /&gt;
**Backplane&lt;br /&gt;
***Backplane.PrjPcb (Altium Project File)&lt;br /&gt;
***Backplane.PcbDoc (Altium PCB File)&lt;br /&gt;
***Analog Connector.SchDoc, Digital Connector.SchDoc, LEMO.SchDoc (Altium Schematics)&lt;br /&gt;
***Backplane.pdf (SmartPDF File of the schematics and PCB layout)&lt;br /&gt;
**Amplifier Board&lt;br /&gt;
***Analog Board.PrjPcb (Altium Project File)&lt;br /&gt;
***Amplifier Board.PcbDoc (Altium PCB File)&lt;br /&gt;
***Main.SchDoc, Amplifier.SchDoc, Summer.SchDoc, Voltage References.SchDoc (Altium Schematics)&lt;br /&gt;
***Analog Board.pdf (SmartPDF File of the schematics and PCB layout&lt;br /&gt;
****The SmartPDF shows the entire PCB workspace, including components that have not yet been placed on the physical PCB.&lt;br /&gt;
****The bottom left corner of the PCB view shows a proof-of-concept 5 amplifiers/1 summer layout.&lt;br /&gt;
****Finding AMP6 using the PDF bookmarks shows the prototype amplifier layout that resolves mismatched footprint issues (indicated in green in the image farther up on this page).&lt;br /&gt;
&lt;br /&gt;
== Fall 2009 Work ==&lt;br /&gt;
&lt;br /&gt;
=== Mid-Semester Update, 11/12/2009 ===&lt;br /&gt;
We now have one fully working prototype of the SiPM Digital Control Board, and the SiPM Amplifier Board is currently being manufactured and assembled by Sierra Circuits, Inc. The backplane design is nearly complete and will be going out for quoting within a week.&lt;br /&gt;
&lt;br /&gt;
Here is a zip file containing the most recent versions of the tagger files: [http://zeus.phys.uconn.edu/halld/tagger/electronics/design-11-2009/TaggerMicroscopeProgress20091112.zip Design Snapshot 11/12/2009]&lt;br /&gt;
&lt;br /&gt;
A few notes about these files:&lt;br /&gt;
*There are four subfolders in the zip file. The folders for the three PCBs are clearly labelled. Each PCB folder has one project file (.PrjPcb) which can be opened in Altium Designer. Each project file refers to only one PcbDoc file, making it easy to figure out what you should look at to see the board.&lt;br /&gt;
*The SiPM digital control board project has 4 shelved polygons which should be restored (Tools-&amp;gt;Polygon Pours-&amp;gt;Restore 4 shelved polyons) to see the state of the board as it was last manufactured. Revisions from the testing process have not yet been entered into Altium but can be reviewed on this wiki: [[Digital control board debugging notes]]&lt;br /&gt;
*The SiPM amplifier (analog) board project will give an error message that it was unable to find &amp;quot;Test PCB.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
*The backplane project will give an error message that it was unable to find &amp;quot;Backplane_New.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
&lt;br /&gt;
=== End of Semester Update ===&lt;br /&gt;
This semester, a lot of progress has been made on the tagger electronics. The digital control board is now onto revision 2.0, the amplifier board is in production, and the backplane is awaiting completion of the purchase order for production to begin. It is exciting to say that the bulk of the work is now finally complete. Remaining for the spring are the tasks of testing the amplifier board, and seeing that everything fits into the backplane. Here are some details about what I accomplished this semester, as well as links to the most recent project files. &lt;br /&gt;
&lt;br /&gt;
==== Digital Control Board ====&lt;br /&gt;
The semester began with the digital control board prototypes sitting on lab bench waiting to be tested. My job was primarily to design the boards, not to debug them, though I still played an integral part in the testing process. We were all relieved that none of the boards appeared to smoke immediately when we first applied power, though there were a few confusing problems that had to be sorted out. Most of these problems are described in detail on the [[Digital control board debugging notes]] page. More or less, we had to solder a pin that wasn't connected, replace the crystal oscillator with a CMOS oscillator, and rewire few traces that were accidentally connected to pins intended for other signals. I won't repeat all of the changes we made here since it would be redundant to the page that already discusses it, but the important part is that we have one board that is fully operational, and the version 2.0 schematics/layout reflecting all these changes are complete. I anticipate that production of the version 2.0 boards will occur at the beginning of the spring 2010 semester. &lt;br /&gt;
&lt;br /&gt;
There is still one lingering problem with the digital board design that has not yet been resolved, however. Even after all of the version 2.0 changes were implemented on the version 1.0 boards, only one of the three boards produced actually functioned properly. For a reason unknown to us, two of the boards ended up with their digital to analog converters burning up and smoking. We thoroughly reviewed the schematics and the layout, and found nothing miswired. Furthermore, we analyzed the placement of the ball grid array DAC to the best of our ability, and determined that a misalignment of balls is not the cause of the failure. All of our power supplies are stable, properly decoupled, and grounded as called for by DAC's manufacturer. Currently, the best hypothesis for the failure of 2 of the 3 DACs is that one or more of the absolute maximum ratings must have been exceeded at some point during the assembly process. Analog Devices lists fairly specific specs with small tolerances relating to maximum temperature and the length of time which the DAC may spend inside a reflow oven. We have run into some difficultly trying to find out from the boards' assembler whether they followed the published specs for the assembly process, but we intend to keep trying until the cause of the DAC failure has been resolved.&lt;br /&gt;
&lt;br /&gt;
==== Amplifier Board ====&lt;br /&gt;
Throughout the summer and the beginning of the fall semester, I completed the design for the SiPM Amplifier Board, version 1.0. All 30 channels have been implemented along with their summing circuits. As I mentioned in the mid semester update above, this board is being manufactured and assembled by Sierra Circuits, Inc. Some unexpected setbacks occurred in the assembly process that delayed the boards somewhat, but I believe everything is now on track for delivery of the finished product before the start of the spring semester. A number of problems relating to minimum quantities of parts, as well as part naming conventions have now been resolved, and the assembly process should be complete in several weeks.&lt;br /&gt;
&lt;br /&gt;
==== Backplane ====&lt;br /&gt;
The backplane design, version 1.0, has also been completed. Sierra Circuits will be manufacturing the backplane, which we will assemble ourselves. The backplane is a particularly intersting PCB from a manufacturing standpoint, because it is designed to be completely light proof. Since the backplane is the only material standing between the whole of Hall D and the inside of the tagger microscope dark box, opacity of the board is particularly important.&lt;br /&gt;
&lt;br /&gt;
Most PCBs with internal copper layers are already fairly opaque, because the copper blocks light from transmitting through the FR-4 and prepreg. Through hole components do not particulary compromise board opacity, because they are plugged with component pins and solder. What does have a greater affect on the opaqueness of a board, however, is the thermal reliefs by which through hole pins and vias connect to internal plane layers. These reliefs are designed to aid in the soldering process by minimizing the amount of copper that is directly connected to the plating in the hole. A typical relief consists of four 7-10 mil traces connecting the hole's plating to the internal plane. The plane itself remains about 20 mil away from the hole, to prevent conduction of heat during the soldering process. Unfortunately, this means that there is a small gap in which there is only FR-4 to stop light from passing through the board. Since FR-4 is transparent, this poses a problem for our design. We were able work with Sierra Circuits to come up with a board design that includes an internal layer of special black FR-4 to prevent light leakage through the heat reliefs. While this is certainly not a standard feature, Sierra was confident that they could implement it for us, and we look forward to testing the boards' opacity in the spring.&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Woody_Underwood&amp;diff=4747</id>
		<title>Woody Underwood</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Woody_Underwood&amp;diff=4747"/>
		<updated>2009-12-17T21:55:53Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* Digital Control Board */ formatting error&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About Me ==&lt;br /&gt;
My name is Woody Underwood. I'm a junior entering my seventh semester in the physics program at UConn. Since the summer of 2008, I've been working in the lab of Dr. Richard Jones designing electronics for the US Department of Energy's GlueX experiment. My assignment is to develop three circuit boards that work together to tag photons coming from the diamond radiator. My circuitry essentially measures (indirectly) the energy of these photons in order to determine if they are of interest to GlueX. The three boards I am designing consist of a digital board, an analog board, and a connecting backplane.&lt;br /&gt;
&lt;br /&gt;
== About My Circuitry ==&lt;br /&gt;
Electrons leaving the diamond radiator are deflected by a magnetic field into an array of scintillating fibres, producing photons. Wave guides carry these photons to SiPMs (silicon photomultipliers) mounted on the analog circuit board. The analog board contains transimpedance amplifiers and summing circuitry to condition the signals for digitization.&lt;br /&gt;
&lt;br /&gt;
The sensitivity of the SiPMs and the gain of the amplifiers on the analog board are controlled both by the power supply VCC and bias voltages supplied from the digital board. The digital board receives commands from a computer via ethernet, and uses a 32-channel DAC to output appropriate bias voltages to the SiPMs on the analog board. The digital and analog boards are connected by means of a backplane, which is also responsible for providing power and grounds to both boards.&lt;br /&gt;
&lt;br /&gt;
== Summary of Fall 2008 Work ==&lt;br /&gt;
All circuitry design work was done using Altium Designer. The digital board was the first to be designed. The first step in designing the digital board was to review the list of key components that had already been selected by Igor and Dr. Jones. These components included such things as the Xilinx Spartan-3A FPGA, and the Analog Devices AD5535 DAC. I began by looking through datasheets for these components to find out their needs, including power and decoupling requirements. I reviewed the pinout diagrams, and then looked through Altium’s standard libraries to find components that matched (in many cases the particular component I was looking for was not in the library, but a similar footprint or schematic symbol was). For components without matching schematic symbols, I entered pinout information from the datasheets into Microsoft Excel, using a layout compatible with Altium’s Smart Grid Insert function. Then, I was able to literally copy and paste pin information from Excel into Altium to generate the schematic symbols I needed.&lt;br /&gt;
&lt;br /&gt;
Once I had appropriate schematic symbols available for all parts, I began making appropriate connections in the schematic view in Altium. Though tedious, this task was not exceedingly difficult. I finished the schematics in several days, and then moved on to PCB design. I switched into Altium's PCB view. The footprints corresponding to the components I used in the schematics were automatically inserted by Altium. My job was then to position these components in logical places on the board and make all of the connections corresponding to the nets defined in the schematics.&lt;br /&gt;
&lt;br /&gt;
Due to the large number of components being placed in the limited space available on the digital board, Altium's auto-router proved completely useless. Therefore, I routed the board manually. Despite Altium's revolutionary convergence of schematic and PCB design into a single program, this was no easy task. During the routing process, I had to take into account not only the connections that had to be made, but also things such as avoiding crosstalk and minimizing trace length for sensitive components. I was able to complete routing after several weeks of work. The digital board design has since been completed and the board has been printed. It is currently awaiting assembly.&lt;br /&gt;
&lt;br /&gt;
The analog board provided a host of new challenges. The basic schematic for the transimpedance amplifier on the analog board was completed by Igor and Dr. Jones before the semester. Inputting the schematic into Altium was not very difficult. However, one problem I encountered was that the analog board contains 32 copies of this amplifier circuitry. After failing to find any way to insert multiple copies of both the schematic and its corresponding PCB layout, I decided to insert only single copies of each schematic page, and copy and paste the PCB layout to produce 32 copies of the amplifier circuitry. At first this seemed like a quick and easy way to get all of the necessary circuitry onto the PCB. However, I eventually discovered that this procedure would lead to major problems with the board assembly process (due to duplicate component designators, and for other reasons). Fortunately, this revelation came around the same time that Igor and Dr. Jones found a problem with the performance of the amplifier circuit. Making any changes to the amplifier circuit at this point will require a major reroute of all the traces on the analog  board. Since the board needs to be completely redesigned anyway, this will give me another chance to find a way to match schematics with all 32 copies of the amplifier circuitry.&lt;br /&gt;
&lt;br /&gt;
The backplane design is currently in progress. It should be relatively easy to complete. All that remains to be done is to add the LEMO connectors and power inputs. The board is simple enough that it can be routed completely by the auto-router, though a quick hand routing will probably be superior. I anticipate that I can complete the backplane with a few days of concentrated work over break.&lt;br /&gt;
&lt;br /&gt;
Included below are links to the files I have been working on. Included in the files for each board is a &amp;quot;SmartPDF,&amp;quot; viewable in Adobe Reader. For those without Altium Designer, these may be the best files to look at. They include complete schematics and PCB layout, and are also indexed by component.&lt;br /&gt;
&lt;br /&gt;
Any questions about the tagger circuitry can be directed to me at [mailto:mitchell.underwood@uconn.edu mitchell.underwood@uconn.edu]&lt;br /&gt;
&lt;br /&gt;
=== Related Files ===&lt;br /&gt;
* [http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/DigitalBoard.zip DigitalBoard.zip]:&lt;br /&gt;
**Altium Project File (SiPM Control Board.PrjPcb)&lt;br /&gt;
**Altium PCB Layout File (Prototype1.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (*.SchDoc)&lt;br /&gt;
**Altium Annotation Document (SiPM Control Board.Annotation)&lt;br /&gt;
***Not used, but generated by Altium when opening the project&lt;br /&gt;
**Altium PRJPCBSTRUCTURE File (SiPM Control Board.PRJPCBSTRUCTURE)&lt;br /&gt;
***Not used, but generated by Altium when opening the project)&lt;br /&gt;
**“SmartPDF” of the board and schematics (SiPM Control Board.pdf)&lt;br /&gt;
***Can be used to explore the PCB layout and schematics without needing Altium&lt;br /&gt;
**Pick and Place File for board population (Pick Place for Prototype1.txt)&lt;br /&gt;
***Used by board assembler&lt;br /&gt;
**NC Drill Files (Prototype1.txt, Prototype1.DRR, Prototype1.DRL)&lt;br /&gt;
***Used by board printer&lt;br /&gt;
**Gerber Files for all layers (in folder Gerbers)&lt;br /&gt;
***Used by board printer&lt;br /&gt;
**Altium CAMtastic file (CAMtastic4 FINAL.Cam)&lt;br /&gt;
***Basically a composite of all the Gerbers &lt;br /&gt;
**Photos and 3D rendering of populated board &lt;br /&gt;
***In folder “Photos”&lt;br /&gt;
**EMF Files showing different layers&lt;br /&gt;
***In folder “EMF Renderings”&lt;br /&gt;
**AutoCad File of PCB (Prototype1 Autocad.DWG)&lt;br /&gt;
**Altium Library of Custom Footprints for Digital Board (GlueX IC Library.SchLib)&lt;br /&gt;
***Current as of completion of digital board&lt;br /&gt;
***This library has since been updated for the backplane&lt;br /&gt;
&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/Analog%20Board%2020081211.zip Analog Board 20081211.zip]:&lt;br /&gt;
**Altium Project File (AnalogBoard.PrjPcb)&lt;br /&gt;
**Altium PCB Layout File (AnalogBoardPCB.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (Amplifer1.SchDoc, Summer.SchDoc)&lt;br /&gt;
**“SmartPDF” of the board and schematics (AnalogBoard.pdf)&lt;br /&gt;
**Altium Component Definition for SiPM (SiPM Library.PcbLib)&lt;br /&gt;
***Contains part footprint and pin information for the SiPM component&lt;br /&gt;
&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/Backplane%2020081211.zip Backplane 20081211.zip]&lt;br /&gt;
**Altium Project File (Backplane.PrjPcb)&lt;br /&gt;
**Alitum PCB Layout File (Backplane.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (Analog Connector.SchDoc, Digital Connector.SchDoc)&lt;br /&gt;
***Analog Connector = Eurocard to analog board&lt;br /&gt;
***Digital Connector = Eurocard to digital board, +3.3V voltage regulator, and location identifier jumper&lt;br /&gt;
***LEMO connections not yet included in these schematics&lt;br /&gt;
**“SmartPDF” of the board and schematics (Backplane.pdf)&lt;br /&gt;
**Pin layout files used to define pinouts for custom components (Pin Layout, 96 pin connector.xlsx, Pinouts.xlsx)&lt;br /&gt;
***Pin Layout, 96 pin connector = pinout definition for 96 pin Eurocard connector&lt;br /&gt;
***Pinouts.xlsx = pinout definitions for digital board, which were reused for the 48 pin digital Eurocard receptacle on backplane&lt;br /&gt;
**Altium Library of Custom Components (GlueX IC Library.SchLib)&lt;br /&gt;
***UPDATED to include new backplane components&lt;br /&gt;
***An older version of this library was used for the digital board&lt;br /&gt;
&lt;br /&gt;
==Summary of Spring 2009 Work==&lt;br /&gt;
&lt;br /&gt;
At the end of the fall semester, Dr. Jones, Igor, and I determined that the amplifier/summing circuit we had designed simply didn’t have sufficient performance characteristics to be useful for GlueX. During the beginning of the spring semester, Igor came up with a new design, utilizing more transistors, to provide the high gain, fast response, picosecond resolution amplifier that we needed. The design performed flawlessly both in MatLab simulations and in a handmade single channel prototype. The first of my goals for the spring 2009 semester was to capture the schematic for this new amplifier into Altium designer, and layout a new amplifier board. The second of my goals, of course, was to complete production of the digital control board prototypes.&lt;br /&gt;
&lt;br /&gt;
[[Image:Digital Board, Populated.JPG|thumb|The populated digital board, with a tube of Chap-Block&amp;lt;sup&amp;gt;TM&amp;lt;/sup&amp;gt; for size comparison.]] Since the fall semester left us with three unpopulated digital control board PCBs, getting those PCBs assembled with their components was the first priority. I began the semester by tracking down all of the components we needed (some of which were selected at the end of the fall semester), and making appropriate substitutions for components whose availability had changed since the fall. In the process of selecting these components, I noticed several places where it seemed like power consumption on the board may be somewhat high. To fix this, I developed a spreadsheet in Microsoft Excel that calculates optimal resistor values to use for to obtain a specified voltage divider stiffness. With this tool, I was able to optimize power consumption across the board, and select appropriate components. Once all components had been selected, ordered, and received, we sent the order out to Screamin’ Circuits for assembly. The boards came back several weeks later, and are currently awaiting testing by some undergraduates who will be in the lab this summer.&lt;br /&gt;
&lt;br /&gt;
While Igor was finalizing his amplifier/summing circuit, I worked briefly on design of the backplane. A number of details regarding trace impedance and board dimensions were ironed out. Nonetheless, many problems still remain which I will need to tackle over the summer. The first of these problems is that we have yet to find an appropriate low cost coaxial connector to route signals off the backplane. In addition, screws with which to mount the backplane to the tagger must be selected so that appropriate holes can be created for them on the PCB.&lt;br /&gt;
&lt;br /&gt;
Once we were satisfied that the amplifier/summing circuit performed as required, I shifted work from the backplane to the amplifier board. Around the same time, I began working on a poster to present my work at the Frontiers in Undergraduate Research Exhibition held during Open House Weekend here at UConn. If you’re interested in my poster, check it out here.&lt;br /&gt;
&lt;br /&gt;
[[Image:Amplifier-Summer-Laid-out.gif|thumb|A prototype layout of 5 amplifier channels and a summing circuit. Actual size is ~1.6&amp;quot; tall. Areas in green represent problems to be resolved over summer 2009. A prototype amplifier with no green spots has been designed and will be replicated to this design soon.]] To start the amplifier/summing circuit project, I searched high and low for information about how to handle multi-channel designs in Altium. Not surprisingly, the first Google result on the query “multichannel design Altium” had everything I was missing during the fall when I was trying to lay out the original amplifier circuit. Using my new knowledge of Altium’s multichannel capabilities, I captured Igor’s new design into the schematics editor of Altium Designer. With proper nested schematic sheets, the entire 30 channel amplifier/6 channel summer design was compressed into just 4 schematic sheets, vs. the ~40 or so that would have been required had I laid out the complete schematics of the old design. &lt;br /&gt;
&lt;br /&gt;
I spent about a week and a half trying to figure out how to handle nesting independent nets from a repeated subsheet into another repeated subsheet which also produces independent nets from the nets of the first sheet. This sounds somewhat complicated, and I suppose perhaps it is a somewhat unique situation, since none of the ~5 sample multichannel projects included with Altium had such a construction in them. Basically, each summing circuit has five amplifier subcircuits, each of which puts out its own signal independent of the other four. From the perspective of the entire board, there are 6 summers, each of which has five independent signals coming from the amplifiers, and one summed signal. Determining how to get Altium to realize the proper connections from each individual amplifier, through that amplifier’s summer, to the main schematic was a complicated mess of naming conventions, but eventually I was able to make Altium reflect all of the appropriate connections in the PCB view. Though there are a few net naming issues still to be resolved, this problem has mostly been ironed out.&lt;br /&gt;
&lt;br /&gt;
The final few weeks of the semester were spent laying out amplifier components in the PCB view of Altium. As of right now, a compact design for an amplifier measuring 0.183”x~1.3” has been completed. Making use of 0201 size components, this amplifier is approximately .2” shorter than the old design, despite incorporating an extra transistor. The amplifier design features an isolating ground trace running the length of the amplifier to prevent crosstalk between channels. A prototype layout of the summing circuit has also been completed, though some layout issues there remain to be resolved over the summer.&lt;br /&gt;
&lt;br /&gt;
===Related Files===&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-6-2009/Progress20090505.zip Design Snapshot 5/5/2009]&lt;br /&gt;
**Backplane&lt;br /&gt;
***Backplane.PrjPcb (Altium Project File)&lt;br /&gt;
***Backplane.PcbDoc (Altium PCB File)&lt;br /&gt;
***Analog Connector.SchDoc, Digital Connector.SchDoc, LEMO.SchDoc (Altium Schematics)&lt;br /&gt;
***Backplane.pdf (SmartPDF File of the schematics and PCB layout)&lt;br /&gt;
**Amplifier Board&lt;br /&gt;
***Analog Board.PrjPcb (Altium Project File)&lt;br /&gt;
***Amplifier Board.PcbDoc (Altium PCB File)&lt;br /&gt;
***Main.SchDoc, Amplifier.SchDoc, Summer.SchDoc, Voltage References.SchDoc (Altium Schematics)&lt;br /&gt;
***Analog Board.pdf (SmartPDF File of the schematics and PCB layout&lt;br /&gt;
****The SmartPDF shows the entire PCB workspace, including components that have not yet been placed on the physical PCB.&lt;br /&gt;
****The bottom left corner of the PCB view shows a proof-of-concept 5 amplifiers/1 summer layout.&lt;br /&gt;
****Finding AMP6 using the PDF bookmarks shows the prototype amplifier layout that resolves mismatched footprint issues (indicated in green in the image farther up on this page).&lt;br /&gt;
&lt;br /&gt;
== Fall 2009 Work ==&lt;br /&gt;
&lt;br /&gt;
=== Mid-Semester Update, 11/12/2009 ===&lt;br /&gt;
We now have one fully working prototype of the SiPM Digital Control Board, and the SiPM Amplifier Board is currently being manufactured and assembled by Sierra Circuits, Inc. The backplane design is nearly complete and will be going out for quoting within a week.&lt;br /&gt;
&lt;br /&gt;
Here is a zip file containing the most recent versions of the tagger files: [http://zeus.phys.uconn.edu/halld/tagger/electronics/design-11-2009/TaggerMicroscopeProgress20091112.zip Design Snapshot 11/12/2009]&lt;br /&gt;
&lt;br /&gt;
A few notes about these files:&lt;br /&gt;
*There are four subfolders in the zip file. The folders for the three PCBs are clearly labelled. Each PCB folder has one project file (.PrjPcb) which can be opened in Altium Designer. Each project file refers to only one PcbDoc file, making it easy to figure out what you should look at to see the board.&lt;br /&gt;
*The SiPM digital control board project has 4 shelved polygons which should be restored (Tools-&amp;gt;Polygon Pours-&amp;gt;Restore 4 shelved polyons) to see the state of the board as it was last manufactured. Revisions from the testing process have not yet been entered into Altium but can be reviewed on this wiki: [[Digital control board debugging notes]]&lt;br /&gt;
*The SiPM amplifier (analog) board project will give an error message that it was unable to find &amp;quot;Test PCB.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
*The backplane project will give an error message that it was unable to find &amp;quot;Backplane_New.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
&lt;br /&gt;
=== End of Semester Update ===&lt;br /&gt;
This semester, a lot of progress has been made on the tagger electronics. The digital control board is now onto revision 2.0, the amplifier board is in production, and the backplane is awaiting completion of the purchase order for production to begin. It is exciting to say that the bulk of the work is now finally complete. Remaining for the spring are the tasks of testing the amplifier board, and seeing that everything fits into the backplane. Here are some details about what I accomplished this semester, as well as links to the most recent project files. &lt;br /&gt;
&lt;br /&gt;
==== Digital Control Board ====&lt;br /&gt;
The semester began with the digital control board prototypes sitting on lab bench waiting to be tested. My job was primarily to design the boards, not to debug them, though I still played an integral part in the testing process. We were all relieved that none of the boards appeared to smoke immediately when we first applied power, though there were a few confusing problems that had to be sorted out. Most of these problems are described in detail on the [[Digital control board debugging notes]] page. More or less, we had to solder a pin that wasn't connected, replace the crystal oscillator with a CMOS oscillator, and rewire few traces that had were accidentally connected to pins intended for other signals. I won't repeat all of the changes we made here since it would be redundant to the page that already discusses it, but the important part is that we have one board that is fully operational, and the version 2.0 schematics/layout reflecting all these changes are complete. I anticipate that production of the version 2.0 boards will occur at the beginning of the spring 2010 semester. &lt;br /&gt;
&lt;br /&gt;
There is still one lingering problem with the digital board design that has not yet been resolved, however. Even after all of the version 2.0 changes were made to the version 1.0 boards, only one of the three boards produced actually functioned properly. For a reason unknown to us, two of the boards ended up with their digital to analog converters burning up and smoking. We thoroughly reviewed the schematics and the layout, and found nothing miswired. Furthermore, we analyzed the placement of the ball grid array DAC to the best of our ability, and determined that a misalignment of balls is not the cause of the failure. All of our power supplies are stable, properly decoupled, and grounded as called for by DAC's manufacturer. Currently, the best hypothesis for the failure of 2 of the 3 DACs is that one or more of the absolute maximum ratings must have been exceeded at some point during the assembly process. Analog Devices lists fairly specific specs with small tolerances relating to maximum temperature and the length of time which the DAC may spend inside a reflow oven. We have run into some difficultly trying to find out from the boards' assembler whether they followed the published specs for the assembly process, but we intend to keep trying until we get an answer.&lt;br /&gt;
&lt;br /&gt;
==== Amplifier Board ====&lt;br /&gt;
Throughout the summer and the beginning of the fall semester, I completed the design for the SiPM Amplifier Board, version 1.0. All 30 channels have been implemented along with their summing circuits. As I mentioned in the mid semester update above, this board is being manufactured and assembled by Sierra Circuits, Inc. Some unexpected setbacks occurred in the assembly process that delayed the boards somewhat, but I believe everything is now on track for delivery of the finished product before the start of the spring semester. A number of problems relating to minimum quantities of parts, as well as part naming conventions have now been resolved, and the assembly process should be complete in several weeks.&lt;br /&gt;
&lt;br /&gt;
==== Backplane ====&lt;br /&gt;
The backplane design, version 1.0, has also been completed. Sierra Circuits will be manufacturing the backplane, which we will assemble ourselves. The backplane is a particularly intersting PCB from a manufacturing standpoint, because it is designed to be completely light proof. Since the backplane is the only material standing between the whole of Hall D and the inside of the tagger microscope dark box, opacity of the board is particularly important.&lt;br /&gt;
&lt;br /&gt;
Most PCBs with internal copper layers are already fairly opaque, because the copper blocks light from transmitting through the FR-4 and prepreg. Through hole components do not particulary compromise board opacity, because they are plugged with component pins and solder. What does have a greater affect on the opaqueness of a board, however, is the thermal reliefs by which through hole pins and vias connect to internal plane layers. These reliefs are designed to aid in the soldering process by minimizing the amount of copper that is directly connected to the plating in the hole. A typical relief consists of four 7-10 mil traces connecting the hole's plating to the internal plane. The plane itself remains about 20 mil away from the hole, to prevent conduction of heat during the soldering process. Unfortunately, this means that there is a small gap in which there is only FR-4 to stop light from passing through the board. Since FR-4 is transparent, this poses a problem for our design. We were able work with Sierra Circuits to come up with a board design that includes an internal layer of special black FR-4 to prevent light leakage through the heat reliefs. While this is certainly not a standard feature, Sierra was confident that they could implement it for us, and we look forward to testing the boards' opacity in the spring.&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Woody_Underwood&amp;diff=4746</id>
		<title>Woody Underwood</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Woody_Underwood&amp;diff=4746"/>
		<updated>2009-12-17T21:54:51Z</updated>

		<summary type="html">&lt;p&gt;Underwood: added fall 2009 end of semester update&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About Me ==&lt;br /&gt;
My name is Woody Underwood. I'm a junior entering my seventh semester in the physics program at UConn. Since the summer of 2008, I've been working in the lab of Dr. Richard Jones designing electronics for the US Department of Energy's GlueX experiment. My assignment is to develop three circuit boards that work together to tag photons coming from the diamond radiator. My circuitry essentially measures (indirectly) the energy of these photons in order to determine if they are of interest to GlueX. The three boards I am designing consist of a digital board, an analog board, and a connecting backplane.&lt;br /&gt;
&lt;br /&gt;
== About My Circuitry ==&lt;br /&gt;
Electrons leaving the diamond radiator are deflected by a magnetic field into an array of scintillating fibres, producing photons. Wave guides carry these photons to SiPMs (silicon photomultipliers) mounted on the analog circuit board. The analog board contains transimpedance amplifiers and summing circuitry to condition the signals for digitization.&lt;br /&gt;
&lt;br /&gt;
The sensitivity of the SiPMs and the gain of the amplifiers on the analog board are controlled both by the power supply VCC and bias voltages supplied from the digital board. The digital board receives commands from a computer via ethernet, and uses a 32-channel DAC to output appropriate bias voltages to the SiPMs on the analog board. The digital and analog boards are connected by means of a backplane, which is also responsible for providing power and grounds to both boards.&lt;br /&gt;
&lt;br /&gt;
== Summary of Fall 2008 Work ==&lt;br /&gt;
All circuitry design work was done using Altium Designer. The digital board was the first to be designed. The first step in designing the digital board was to review the list of key components that had already been selected by Igor and Dr. Jones. These components included such things as the Xilinx Spartan-3A FPGA, and the Analog Devices AD5535 DAC. I began by looking through datasheets for these components to find out their needs, including power and decoupling requirements. I reviewed the pinout diagrams, and then looked through Altium’s standard libraries to find components that matched (in many cases the particular component I was looking for was not in the library, but a similar footprint or schematic symbol was). For components without matching schematic symbols, I entered pinout information from the datasheets into Microsoft Excel, using a layout compatible with Altium’s Smart Grid Insert function. Then, I was able to literally copy and paste pin information from Excel into Altium to generate the schematic symbols I needed.&lt;br /&gt;
&lt;br /&gt;
Once I had appropriate schematic symbols available for all parts, I began making appropriate connections in the schematic view in Altium. Though tedious, this task was not exceedingly difficult. I finished the schematics in several days, and then moved on to PCB design. I switched into Altium's PCB view. The footprints corresponding to the components I used in the schematics were automatically inserted by Altium. My job was then to position these components in logical places on the board and make all of the connections corresponding to the nets defined in the schematics.&lt;br /&gt;
&lt;br /&gt;
Due to the large number of components being placed in the limited space available on the digital board, Altium's auto-router proved completely useless. Therefore, I routed the board manually. Despite Altium's revolutionary convergence of schematic and PCB design into a single program, this was no easy task. During the routing process, I had to take into account not only the connections that had to be made, but also things such as avoiding crosstalk and minimizing trace length for sensitive components. I was able to complete routing after several weeks of work. The digital board design has since been completed and the board has been printed. It is currently awaiting assembly.&lt;br /&gt;
&lt;br /&gt;
The analog board provided a host of new challenges. The basic schematic for the transimpedance amplifier on the analog board was completed by Igor and Dr. Jones before the semester. Inputting the schematic into Altium was not very difficult. However, one problem I encountered was that the analog board contains 32 copies of this amplifier circuitry. After failing to find any way to insert multiple copies of both the schematic and its corresponding PCB layout, I decided to insert only single copies of each schematic page, and copy and paste the PCB layout to produce 32 copies of the amplifier circuitry. At first this seemed like a quick and easy way to get all of the necessary circuitry onto the PCB. However, I eventually discovered that this procedure would lead to major problems with the board assembly process (due to duplicate component designators, and for other reasons). Fortunately, this revelation came around the same time that Igor and Dr. Jones found a problem with the performance of the amplifier circuit. Making any changes to the amplifier circuit at this point will require a major reroute of all the traces on the analog  board. Since the board needs to be completely redesigned anyway, this will give me another chance to find a way to match schematics with all 32 copies of the amplifier circuitry.&lt;br /&gt;
&lt;br /&gt;
The backplane design is currently in progress. It should be relatively easy to complete. All that remains to be done is to add the LEMO connectors and power inputs. The board is simple enough that it can be routed completely by the auto-router, though a quick hand routing will probably be superior. I anticipate that I can complete the backplane with a few days of concentrated work over break.&lt;br /&gt;
&lt;br /&gt;
Included below are links to the files I have been working on. Included in the files for each board is a &amp;quot;SmartPDF,&amp;quot; viewable in Adobe Reader. For those without Altium Designer, these may be the best files to look at. They include complete schematics and PCB layout, and are also indexed by component.&lt;br /&gt;
&lt;br /&gt;
Any questions about the tagger circuitry can be directed to me at [mailto:mitchell.underwood@uconn.edu mitchell.underwood@uconn.edu]&lt;br /&gt;
&lt;br /&gt;
=== Related Files ===&lt;br /&gt;
* [http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/DigitalBoard.zip DigitalBoard.zip]:&lt;br /&gt;
**Altium Project File (SiPM Control Board.PrjPcb)&lt;br /&gt;
**Altium PCB Layout File (Prototype1.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (*.SchDoc)&lt;br /&gt;
**Altium Annotation Document (SiPM Control Board.Annotation)&lt;br /&gt;
***Not used, but generated by Altium when opening the project&lt;br /&gt;
**Altium PRJPCBSTRUCTURE File (SiPM Control Board.PRJPCBSTRUCTURE)&lt;br /&gt;
***Not used, but generated by Altium when opening the project)&lt;br /&gt;
**“SmartPDF” of the board and schematics (SiPM Control Board.pdf)&lt;br /&gt;
***Can be used to explore the PCB layout and schematics without needing Altium&lt;br /&gt;
**Pick and Place File for board population (Pick Place for Prototype1.txt)&lt;br /&gt;
***Used by board assembler&lt;br /&gt;
**NC Drill Files (Prototype1.txt, Prototype1.DRR, Prototype1.DRL)&lt;br /&gt;
***Used by board printer&lt;br /&gt;
**Gerber Files for all layers (in folder Gerbers)&lt;br /&gt;
***Used by board printer&lt;br /&gt;
**Altium CAMtastic file (CAMtastic4 FINAL.Cam)&lt;br /&gt;
***Basically a composite of all the Gerbers &lt;br /&gt;
**Photos and 3D rendering of populated board &lt;br /&gt;
***In folder “Photos”&lt;br /&gt;
**EMF Files showing different layers&lt;br /&gt;
***In folder “EMF Renderings”&lt;br /&gt;
**AutoCad File of PCB (Prototype1 Autocad.DWG)&lt;br /&gt;
**Altium Library of Custom Footprints for Digital Board (GlueX IC Library.SchLib)&lt;br /&gt;
***Current as of completion of digital board&lt;br /&gt;
***This library has since been updated for the backplane&lt;br /&gt;
&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/Analog%20Board%2020081211.zip Analog Board 20081211.zip]:&lt;br /&gt;
**Altium Project File (AnalogBoard.PrjPcb)&lt;br /&gt;
**Altium PCB Layout File (AnalogBoardPCB.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (Amplifer1.SchDoc, Summer.SchDoc)&lt;br /&gt;
**“SmartPDF” of the board and schematics (AnalogBoard.pdf)&lt;br /&gt;
**Altium Component Definition for SiPM (SiPM Library.PcbLib)&lt;br /&gt;
***Contains part footprint and pin information for the SiPM component&lt;br /&gt;
&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/Backplane%2020081211.zip Backplane 20081211.zip]&lt;br /&gt;
**Altium Project File (Backplane.PrjPcb)&lt;br /&gt;
**Alitum PCB Layout File (Backplane.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (Analog Connector.SchDoc, Digital Connector.SchDoc)&lt;br /&gt;
***Analog Connector = Eurocard to analog board&lt;br /&gt;
***Digital Connector = Eurocard to digital board, +3.3V voltage regulator, and location identifier jumper&lt;br /&gt;
***LEMO connections not yet included in these schematics&lt;br /&gt;
**“SmartPDF” of the board and schematics (Backplane.pdf)&lt;br /&gt;
**Pin layout files used to define pinouts for custom components (Pin Layout, 96 pin connector.xlsx, Pinouts.xlsx)&lt;br /&gt;
***Pin Layout, 96 pin connector = pinout definition for 96 pin Eurocard connector&lt;br /&gt;
***Pinouts.xlsx = pinout definitions for digital board, which were reused for the 48 pin digital Eurocard receptacle on backplane&lt;br /&gt;
**Altium Library of Custom Components (GlueX IC Library.SchLib)&lt;br /&gt;
***UPDATED to include new backplane components&lt;br /&gt;
***An older version of this library was used for the digital board&lt;br /&gt;
&lt;br /&gt;
==Summary of Spring 2009 Work==&lt;br /&gt;
&lt;br /&gt;
At the end of the fall semester, Dr. Jones, Igor, and I determined that the amplifier/summing circuit we had designed simply didn’t have sufficient performance characteristics to be useful for GlueX. During the beginning of the spring semester, Igor came up with a new design, utilizing more transistors, to provide the high gain, fast response, picosecond resolution amplifier that we needed. The design performed flawlessly both in MatLab simulations and in a handmade single channel prototype. The first of my goals for the spring 2009 semester was to capture the schematic for this new amplifier into Altium designer, and layout a new amplifier board. The second of my goals, of course, was to complete production of the digital control board prototypes.&lt;br /&gt;
&lt;br /&gt;
[[Image:Digital Board, Populated.JPG|thumb|The populated digital board, with a tube of Chap-Block&amp;lt;sup&amp;gt;TM&amp;lt;/sup&amp;gt; for size comparison.]] Since the fall semester left us with three unpopulated digital control board PCBs, getting those PCBs assembled with their components was the first priority. I began the semester by tracking down all of the components we needed (some of which were selected at the end of the fall semester), and making appropriate substitutions for components whose availability had changed since the fall. In the process of selecting these components, I noticed several places where it seemed like power consumption on the board may be somewhat high. To fix this, I developed a spreadsheet in Microsoft Excel that calculates optimal resistor values to use for to obtain a specified voltage divider stiffness. With this tool, I was able to optimize power consumption across the board, and select appropriate components. Once all components had been selected, ordered, and received, we sent the order out to Screamin’ Circuits for assembly. The boards came back several weeks later, and are currently awaiting testing by some undergraduates who will be in the lab this summer.&lt;br /&gt;
&lt;br /&gt;
While Igor was finalizing his amplifier/summing circuit, I worked briefly on design of the backplane. A number of details regarding trace impedance and board dimensions were ironed out. Nonetheless, many problems still remain which I will need to tackle over the summer. The first of these problems is that we have yet to find an appropriate low cost coaxial connector to route signals off the backplane. In addition, screws with which to mount the backplane to the tagger must be selected so that appropriate holes can be created for them on the PCB.&lt;br /&gt;
&lt;br /&gt;
Once we were satisfied that the amplifier/summing circuit performed as required, I shifted work from the backplane to the amplifier board. Around the same time, I began working on a poster to present my work at the Frontiers in Undergraduate Research Exhibition held during Open House Weekend here at UConn. If you’re interested in my poster, check it out here.&lt;br /&gt;
&lt;br /&gt;
[[Image:Amplifier-Summer-Laid-out.gif|thumb|A prototype layout of 5 amplifier channels and a summing circuit. Actual size is ~1.6&amp;quot; tall. Areas in green represent problems to be resolved over summer 2009. A prototype amplifier with no green spots has been designed and will be replicated to this design soon.]] To start the amplifier/summing circuit project, I searched high and low for information about how to handle multi-channel designs in Altium. Not surprisingly, the first Google result on the query “multichannel design Altium” had everything I was missing during the fall when I was trying to lay out the original amplifier circuit. Using my new knowledge of Altium’s multichannel capabilities, I captured Igor’s new design into the schematics editor of Altium Designer. With proper nested schematic sheets, the entire 30 channel amplifier/6 channel summer design was compressed into just 4 schematic sheets, vs. the ~40 or so that would have been required had I laid out the complete schematics of the old design. &lt;br /&gt;
&lt;br /&gt;
I spent about a week and a half trying to figure out how to handle nesting independent nets from a repeated subsheet into another repeated subsheet which also produces independent nets from the nets of the first sheet. This sounds somewhat complicated, and I suppose perhaps it is a somewhat unique situation, since none of the ~5 sample multichannel projects included with Altium had such a construction in them. Basically, each summing circuit has five amplifier subcircuits, each of which puts out its own signal independent of the other four. From the perspective of the entire board, there are 6 summers, each of which has five independent signals coming from the amplifiers, and one summed signal. Determining how to get Altium to realize the proper connections from each individual amplifier, through that amplifier’s summer, to the main schematic was a complicated mess of naming conventions, but eventually I was able to make Altium reflect all of the appropriate connections in the PCB view. Though there are a few net naming issues still to be resolved, this problem has mostly been ironed out.&lt;br /&gt;
&lt;br /&gt;
The final few weeks of the semester were spent laying out amplifier components in the PCB view of Altium. As of right now, a compact design for an amplifier measuring 0.183”x~1.3” has been completed. Making use of 0201 size components, this amplifier is approximately .2” shorter than the old design, despite incorporating an extra transistor. The amplifier design features an isolating ground trace running the length of the amplifier to prevent crosstalk between channels. A prototype layout of the summing circuit has also been completed, though some layout issues there remain to be resolved over the summer.&lt;br /&gt;
&lt;br /&gt;
===Related Files===&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-6-2009/Progress20090505.zip Design Snapshot 5/5/2009]&lt;br /&gt;
**Backplane&lt;br /&gt;
***Backplane.PrjPcb (Altium Project File)&lt;br /&gt;
***Backplane.PcbDoc (Altium PCB File)&lt;br /&gt;
***Analog Connector.SchDoc, Digital Connector.SchDoc, LEMO.SchDoc (Altium Schematics)&lt;br /&gt;
***Backplane.pdf (SmartPDF File of the schematics and PCB layout)&lt;br /&gt;
**Amplifier Board&lt;br /&gt;
***Analog Board.PrjPcb (Altium Project File)&lt;br /&gt;
***Amplifier Board.PcbDoc (Altium PCB File)&lt;br /&gt;
***Main.SchDoc, Amplifier.SchDoc, Summer.SchDoc, Voltage References.SchDoc (Altium Schematics)&lt;br /&gt;
***Analog Board.pdf (SmartPDF File of the schematics and PCB layout&lt;br /&gt;
****The SmartPDF shows the entire PCB workspace, including components that have not yet been placed on the physical PCB.&lt;br /&gt;
****The bottom left corner of the PCB view shows a proof-of-concept 5 amplifiers/1 summer layout.&lt;br /&gt;
****Finding AMP6 using the PDF bookmarks shows the prototype amplifier layout that resolves mismatched footprint issues (indicated in green in the image farther up on this page).&lt;br /&gt;
&lt;br /&gt;
== Fall 2009 Work ==&lt;br /&gt;
&lt;br /&gt;
=== Mid-Semester Update, 11/12/2009 ===&lt;br /&gt;
We now have one fully working prototype of the SiPM Digital Control Board, and the SiPM Amplifier Board is currently being manufactured and assembled by Sierra Circuits, Inc. The backplane design is nearly complete and will be going out for quoting within a week.&lt;br /&gt;
&lt;br /&gt;
Here is a zip file containing the most recent versions of the tagger files: [http://zeus.phys.uconn.edu/halld/tagger/electronics/design-11-2009/TaggerMicroscopeProgress20091112.zip Design Snapshot 11/12/2009]&lt;br /&gt;
&lt;br /&gt;
A few notes about these files:&lt;br /&gt;
*There are four subfolders in the zip file. The folders for the three PCBs are clearly labelled. Each PCB folder has one project file (.PrjPcb) which can be opened in Altium Designer. Each project file refers to only one PcbDoc file, making it easy to figure out what you should look at to see the board.&lt;br /&gt;
*The SiPM digital control board project has 4 shelved polygons which should be restored (Tools-&amp;gt;Polygon Pours-&amp;gt;Restore 4 shelved polyons) to see the state of the board as it was last manufactured. Revisions from the testing process have not yet been entered into Altium but can be reviewed on this wiki: [[Digital control board debugging notes]]&lt;br /&gt;
*The SiPM amplifier (analog) board project will give an error message that it was unable to find &amp;quot;Test PCB.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
*The backplane project will give an error message that it was unable to find &amp;quot;Backplane_New.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
&lt;br /&gt;
=== End of Semester Update ===&lt;br /&gt;
This semester, a lot of progress has been made on the tagger electronics. The digital control board is now onto revision 2.0, the amplifier board is in production, and the backplane is awaiting completion of the purchase order for production to begin. It is exciting to say that the bulk of the work is now finally complete. Remaining for the spring are the tasks of testing the amplifier board, and seeing that everything fits into the backplane. Here are some details about what I accomplished this semester, as well as links to the most recent project files. &lt;br /&gt;
&lt;br /&gt;
==== Digital Control Board ====&lt;br /&gt;
The semester began with the digital control board prototypes sitting on lab bench waiting to be tested. My job was primarily to design the boards, not to debug them, though I still played an integral part in the testing process. We were all relieved that none of the boards appeared to smoke immediately when we first applied power, though there were a few confusing problems that had to be sorted out. Most of these problems are described in detail on the [[Digital control board debugging notes]]&lt;br /&gt;
 page. More or less, we had to solder a pin that wasn't connected, replace the crystal oscillator with a CMOS oscillator, and rewire few traces that had were accidentally connected to pins intended for other signals. I won't repeat all of the changes we made here since it would be redundant to the page that already discusses it, but the important part is that we have one board that is fully operational, and the version 2.0 schematics/layout reflecting all these changes are complete. I anticipate that production of the version 2.0 boards will occur at the beginning of the spring 2010 semester. &lt;br /&gt;
&lt;br /&gt;
There is still one lingering problem with the digital board design that has not yet been resolved, however. Even after all of the version 2.0 changes were made to the version 1.0 boards, only one of the three boards produced actually functioned properly. For a reason unknown to us, two of the boards ended up with their digital to analog converters burning up and smoking. We thoroughly reviewed the schematics and the layout, and found nothing miswired. Furthermore, we analyzed the placement of the ball grid array DAC to the best of our ability, and determined that a misalignment of balls is not the cause of the failure. All of our power supplies are stable, properly decoupled, and grounded as called for by DAC's manufacturer. Currently, the best hypothesis for the failure of 2 of the 3 DACs is that one or more of the absolute maximum ratings must have been exceeded at some point during the assembly process. Analog Devices lists fairly specific specs with small tolerances relating to maximum temperature and the length of time which the DAC may spend inside a reflow oven. We have run into some difficultly trying to find out from the boards' assembler whether they followed the published specs for the assembly process, but we intend to keep trying until we get an answer.&lt;br /&gt;
&lt;br /&gt;
==== Amplifier Board ====&lt;br /&gt;
Throughout the summer and the beginning of the fall semester, I completed the design for the SiPM Amplifier Board, version 1.0. All 30 channels have been implemented along with their summing circuits. As I mentioned in the mid semester update above, this board is being manufactured and assembled by Sierra Circuits, Inc. Some unexpected setbacks occurred in the assembly process that delayed the boards somewhat, but I believe everything is now on track for delivery of the finished product before the start of the spring semester. A number of problems relating to minimum quantities of parts, as well as part naming conventions have now been resolved, and the assembly process should be complete in several weeks.&lt;br /&gt;
&lt;br /&gt;
==== Backplane ====&lt;br /&gt;
The backplane design, version 1.0, has also been completed. Sierra Circuits will be manufacturing the backplane, which we will assemble ourselves. The backplane is a particularly intersting PCB from a manufacturing standpoint, because it is designed to be completely light proof. Since the backplane is the only material standing between the whole of Hall D and the inside of the tagger microscope dark box, opacity of the board is particularly important.&lt;br /&gt;
&lt;br /&gt;
Most PCBs with internal copper layers are already fairly opaque, because the copper blocks light from transmitting through the FR-4 and prepreg. Through hole components do not particulary compromise board opacity, because they are plugged with component pins and solder. What does have a greater affect on the opaqueness of a board, however, is the thermal reliefs by which through hole pins and vias connect to internal plane layers. These reliefs are designed to aid in the soldering process by minimizing the amount of copper that is directly connected to the plating in the hole. A typical relief consists of four 7-10 mil traces connecting the hole's plating to the internal plane. The plane itself remains about 20 mil away from the hole, to prevent conduction of heat during the soldering process. Unfortunately, this means that there is a small gap in which there is only FR-4 to stop light from passing through the board. Since FR-4 is transparent, this poses a problem for our design. We were able work with Sierra Circuits to come up with a board design that includes an internal layer of special black FR-4 to prevent light leakage through the heat reliefs. While this is certainly not a standard feature, Sierra was confident that they could implement it for us, and we look forward to testing the boards' opacity in the spring.&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Woody_Underwood&amp;diff=4745</id>
		<title>Woody Underwood</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Woody_Underwood&amp;diff=4745"/>
		<updated>2009-12-17T20:01:04Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* Fall 2009, Current Progress */ changed section title&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About Me ==&lt;br /&gt;
My name is Woody Underwood. I'm a junior entering my seventh semester in the physics program at UConn. Since the summer of 2008, I've been working in the lab of Dr. Richard Jones designing electronics for the US Department of Energy's GlueX experiment. My assignment is to develop three circuit boards that work together to tag photons coming from the diamond radiator. My circuitry essentially measures (indirectly) the energy of these photons in order to determine if they are of interest to GlueX. The three boards I am designing consist of a digital board, an analog board, and a connecting backplane.&lt;br /&gt;
&lt;br /&gt;
== About My Circuitry ==&lt;br /&gt;
Electrons leaving the diamond radiator are deflected by a magnetic field into an array of scintillating fibres, producing photons. Wave guides carry these photons to SiPMs (silicon photomultipliers) mounted on the analog circuit board. The analog board contains transimpedance amplifiers and summing circuitry to condition the signals for digitization.&lt;br /&gt;
&lt;br /&gt;
The sensitivity of the SiPMs and the gain of the amplifiers on the analog board are controlled both by the power supply VCC and bias voltages supplied from the digital board. The digital board receives commands from a computer via ethernet, and uses a 32-channel DAC to output appropriate bias voltages to the SiPMs on the analog board. The digital and analog boards are connected by means of a backplane, which is also responsible for providing power and grounds to both boards.&lt;br /&gt;
&lt;br /&gt;
== Summary of Fall 2008 Work ==&lt;br /&gt;
All circuitry design work was done using Altium Designer. The digital board was the first to be designed. The first step in designing the digital board was to review the list of key components that had already been selected by Igor and Dr. Jones. These components included such things as the Xilinx Spartan-3A FPGA, and the Analog Devices AD5535 DAC. I began by looking through datasheets for these components to find out their needs, including power and decoupling requirements. I reviewed the pinout diagrams, and then looked through Altium’s standard libraries to find components that matched (in many cases the particular component I was looking for was not in the library, but a similar footprint or schematic symbol was). For components without matching schematic symbols, I entered pinout information from the datasheets into Microsoft Excel, using a layout compatible with Altium’s Smart Grid Insert function. Then, I was able to literally copy and paste pin information from Excel into Altium to generate the schematic symbols I needed.&lt;br /&gt;
&lt;br /&gt;
Once I had appropriate schematic symbols available for all parts, I began making appropriate connections in the schematic view in Altium. Though tedious, this task was not exceedingly difficult. I finished the schematics in several days, and then moved on to PCB design. I switched into Altium's PCB view. The footprints corresponding to the components I used in the schematics were automatically inserted by Altium. My job was then to position these components in logical places on the board and make all of the connections corresponding to the nets defined in the schematics.&lt;br /&gt;
&lt;br /&gt;
Due to the large number of components being placed in the limited space available on the digital board, Altium's auto-router proved completely useless. Therefore, I routed the board manually. Despite Altium's revolutionary convergence of schematic and PCB design into a single program, this was no easy task. During the routing process, I had to take into account not only the connections that had to be made, but also things such as avoiding crosstalk and minimizing trace length for sensitive components. I was able to complete routing after several weeks of work. The digital board design has since been completed and the board has been printed. It is currently awaiting assembly.&lt;br /&gt;
&lt;br /&gt;
The analog board provided a host of new challenges. The basic schematic for the transimpedance amplifier on the analog board was completed by Igor and Dr. Jones before the semester. Inputting the schematic into Altium was not very difficult. However, one problem I encountered was that the analog board contains 32 copies of this amplifier circuitry. After failing to find any way to insert multiple copies of both the schematic and its corresponding PCB layout, I decided to insert only single copies of each schematic page, and copy and paste the PCB layout to produce 32 copies of the amplifier circuitry. At first this seemed like a quick and easy way to get all of the necessary circuitry onto the PCB. However, I eventually discovered that this procedure would lead to major problems with the board assembly process (due to duplicate component designators, and for other reasons). Fortunately, this revelation came around the same time that Igor and Dr. Jones found a problem with the performance of the amplifier circuit. Making any changes to the amplifier circuit at this point will require a major reroute of all the traces on the analog  board. Since the board needs to be completely redesigned anyway, this will give me another chance to find a way to match schematics with all 32 copies of the amplifier circuitry.&lt;br /&gt;
&lt;br /&gt;
The backplane design is currently in progress. It should be relatively easy to complete. All that remains to be done is to add the LEMO connectors and power inputs. The board is simple enough that it can be routed completely by the auto-router, though a quick hand routing will probably be superior. I anticipate that I can complete the backplane with a few days of concentrated work over break.&lt;br /&gt;
&lt;br /&gt;
Included below are links to the files I have been working on. Included in the files for each board is a &amp;quot;SmartPDF,&amp;quot; viewable in Adobe Reader. For those without Altium Designer, these may be the best files to look at. They include complete schematics and PCB layout, and are also indexed by component.&lt;br /&gt;
&lt;br /&gt;
Any questions about the tagger circuitry can be directed to me at [mailto:mitchell.underwood@uconn.edu mitchell.underwood@uconn.edu]&lt;br /&gt;
&lt;br /&gt;
=== Related Files ===&lt;br /&gt;
* [http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/DigitalBoard.zip DigitalBoard.zip]:&lt;br /&gt;
**Altium Project File (SiPM Control Board.PrjPcb)&lt;br /&gt;
**Altium PCB Layout File (Prototype1.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (*.SchDoc)&lt;br /&gt;
**Altium Annotation Document (SiPM Control Board.Annotation)&lt;br /&gt;
***Not used, but generated by Altium when opening the project&lt;br /&gt;
**Altium PRJPCBSTRUCTURE File (SiPM Control Board.PRJPCBSTRUCTURE)&lt;br /&gt;
***Not used, but generated by Altium when opening the project)&lt;br /&gt;
**“SmartPDF” of the board and schematics (SiPM Control Board.pdf)&lt;br /&gt;
***Can be used to explore the PCB layout and schematics without needing Altium&lt;br /&gt;
**Pick and Place File for board population (Pick Place for Prototype1.txt)&lt;br /&gt;
***Used by board assembler&lt;br /&gt;
**NC Drill Files (Prototype1.txt, Prototype1.DRR, Prototype1.DRL)&lt;br /&gt;
***Used by board printer&lt;br /&gt;
**Gerber Files for all layers (in folder Gerbers)&lt;br /&gt;
***Used by board printer&lt;br /&gt;
**Altium CAMtastic file (CAMtastic4 FINAL.Cam)&lt;br /&gt;
***Basically a composite of all the Gerbers &lt;br /&gt;
**Photos and 3D rendering of populated board &lt;br /&gt;
***In folder “Photos”&lt;br /&gt;
**EMF Files showing different layers&lt;br /&gt;
***In folder “EMF Renderings”&lt;br /&gt;
**AutoCad File of PCB (Prototype1 Autocad.DWG)&lt;br /&gt;
**Altium Library of Custom Footprints for Digital Board (GlueX IC Library.SchLib)&lt;br /&gt;
***Current as of completion of digital board&lt;br /&gt;
***This library has since been updated for the backplane&lt;br /&gt;
&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/Analog%20Board%2020081211.zip Analog Board 20081211.zip]:&lt;br /&gt;
**Altium Project File (AnalogBoard.PrjPcb)&lt;br /&gt;
**Altium PCB Layout File (AnalogBoardPCB.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (Amplifer1.SchDoc, Summer.SchDoc)&lt;br /&gt;
**“SmartPDF” of the board and schematics (AnalogBoard.pdf)&lt;br /&gt;
**Altium Component Definition for SiPM (SiPM Library.PcbLib)&lt;br /&gt;
***Contains part footprint and pin information for the SiPM component&lt;br /&gt;
&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/Backplane%2020081211.zip Backplane 20081211.zip]&lt;br /&gt;
**Altium Project File (Backplane.PrjPcb)&lt;br /&gt;
**Alitum PCB Layout File (Backplane.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (Analog Connector.SchDoc, Digital Connector.SchDoc)&lt;br /&gt;
***Analog Connector = Eurocard to analog board&lt;br /&gt;
***Digital Connector = Eurocard to digital board, +3.3V voltage regulator, and location identifier jumper&lt;br /&gt;
***LEMO connections not yet included in these schematics&lt;br /&gt;
**“SmartPDF” of the board and schematics (Backplane.pdf)&lt;br /&gt;
**Pin layout files used to define pinouts for custom components (Pin Layout, 96 pin connector.xlsx, Pinouts.xlsx)&lt;br /&gt;
***Pin Layout, 96 pin connector = pinout definition for 96 pin Eurocard connector&lt;br /&gt;
***Pinouts.xlsx = pinout definitions for digital board, which were reused for the 48 pin digital Eurocard receptacle on backplane&lt;br /&gt;
**Altium Library of Custom Components (GlueX IC Library.SchLib)&lt;br /&gt;
***UPDATED to include new backplane components&lt;br /&gt;
***An older version of this library was used for the digital board&lt;br /&gt;
&lt;br /&gt;
==Summary of Spring 2009 Work==&lt;br /&gt;
&lt;br /&gt;
At the end of the fall semester, Dr. Jones, Igor, and I determined that the amplifier/summing circuit we had designed simply didn’t have sufficient performance characteristics to be useful for GlueX. During the beginning of the spring semester, Igor came up with a new design, utilizing more transistors, to provide the high gain, fast response, picosecond resolution amplifier that we needed. The design performed flawlessly both in MatLab simulations and in a handmade single channel prototype. The first of my goals for the spring 2009 semester was to capture the schematic for this new amplifier into Altium designer, and layout a new amplifier board. The second of my goals, of course, was to complete production of the digital control board prototypes.&lt;br /&gt;
&lt;br /&gt;
[[Image:Digital Board, Populated.JPG|thumb|The populated digital board, with a tube of Chap-Block&amp;lt;sup&amp;gt;TM&amp;lt;/sup&amp;gt; for size comparison.]] Since the fall semester left us with three unpopulated digital control board PCBs, getting those PCBs assembled with their components was the first priority. I began the semester by tracking down all of the components we needed (some of which were selected at the end of the fall semester), and making appropriate substitutions for components whose availability had changed since the fall. In the process of selecting these components, I noticed several places where it seemed like power consumption on the board may be somewhat high. To fix this, I developed a spreadsheet in Microsoft Excel that calculates optimal resistor values to use for to obtain a specified voltage divider stiffness. With this tool, I was able to optimize power consumption across the board, and select appropriate components. Once all components had been selected, ordered, and received, we sent the order out to Screamin’ Circuits for assembly. The boards came back several weeks later, and are currently awaiting testing by some undergraduates who will be in the lab this summer.&lt;br /&gt;
&lt;br /&gt;
While Igor was finalizing his amplifier/summing circuit, I worked briefly on design of the backplane. A number of details regarding trace impedance and board dimensions were ironed out. Nonetheless, many problems still remain which I will need to tackle over the summer. The first of these problems is that we have yet to find an appropriate low cost coaxial connector to route signals off the backplane. In addition, screws with which to mount the backplane to the tagger must be selected so that appropriate holes can be created for them on the PCB.&lt;br /&gt;
&lt;br /&gt;
Once we were satisfied that the amplifier/summing circuit performed as required, I shifted work from the backplane to the amplifier board. Around the same time, I began working on a poster to present my work at the Frontiers in Undergraduate Research Exhibition held during Open House Weekend here at UConn. If you’re interested in my poster, check it out here.&lt;br /&gt;
&lt;br /&gt;
[[Image:Amplifier-Summer-Laid-out.gif|thumb|A prototype layout of 5 amplifier channels and a summing circuit. Actual size is ~1.6&amp;quot; tall. Areas in green represent problems to be resolved over summer 2009. A prototype amplifier with no green spots has been designed and will be replicated to this design soon.]] To start the amplifier/summing circuit project, I searched high and low for information about how to handle multi-channel designs in Altium. Not surprisingly, the first Google result on the query “multichannel design Altium” had everything I was missing during the fall when I was trying to lay out the original amplifier circuit. Using my new knowledge of Altium’s multichannel capabilities, I captured Igor’s new design into the schematics editor of Altium Designer. With proper nested schematic sheets, the entire 30 channel amplifier/6 channel summer design was compressed into just 4 schematic sheets, vs. the ~40 or so that would have been required had I laid out the complete schematics of the old design. &lt;br /&gt;
&lt;br /&gt;
I spent about a week and a half trying to figure out how to handle nesting independent nets from a repeated subsheet into another repeated subsheet which also produces independent nets from the nets of the first sheet. This sounds somewhat complicated, and I suppose perhaps it is a somewhat unique situation, since none of the ~5 sample multichannel projects included with Altium had such a construction in them. Basically, each summing circuit has five amplifier subcircuits, each of which puts out its own signal independent of the other four. From the perspective of the entire board, there are 6 summers, each of which has five independent signals coming from the amplifiers, and one summed signal. Determining how to get Altium to realize the proper connections from each individual amplifier, through that amplifier’s summer, to the main schematic was a complicated mess of naming conventions, but eventually I was able to make Altium reflect all of the appropriate connections in the PCB view. Though there are a few net naming issues still to be resolved, this problem has mostly been ironed out.&lt;br /&gt;
&lt;br /&gt;
The final few weeks of the semester were spent laying out amplifier components in the PCB view of Altium. As of right now, a compact design for an amplifier measuring 0.183”x~1.3” has been completed. Making use of 0201 size components, this amplifier is approximately .2” shorter than the old design, despite incorporating an extra transistor. The amplifier design features an isolating ground trace running the length of the amplifier to prevent crosstalk between channels. A prototype layout of the summing circuit has also been completed, though some layout issues there remain to be resolved over the summer.&lt;br /&gt;
&lt;br /&gt;
===Related Files===&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-6-2009/Progress20090505.zip Design Snapshot 5/5/2009]&lt;br /&gt;
**Backplane&lt;br /&gt;
***Backplane.PrjPcb (Altium Project File)&lt;br /&gt;
***Backplane.PcbDoc (Altium PCB File)&lt;br /&gt;
***Analog Connector.SchDoc, Digital Connector.SchDoc, LEMO.SchDoc (Altium Schematics)&lt;br /&gt;
***Backplane.pdf (SmartPDF File of the schematics and PCB layout)&lt;br /&gt;
**Amplifier Board&lt;br /&gt;
***Analog Board.PrjPcb (Altium Project File)&lt;br /&gt;
***Amplifier Board.PcbDoc (Altium PCB File)&lt;br /&gt;
***Main.SchDoc, Amplifier.SchDoc, Summer.SchDoc, Voltage References.SchDoc (Altium Schematics)&lt;br /&gt;
***Analog Board.pdf (SmartPDF File of the schematics and PCB layout&lt;br /&gt;
****The SmartPDF shows the entire PCB workspace, including components that have not yet been placed on the physical PCB.&lt;br /&gt;
****The bottom left corner of the PCB view shows a proof-of-concept 5 amplifiers/1 summer layout.&lt;br /&gt;
****Finding AMP6 using the PDF bookmarks shows the prototype amplifier layout that resolves mismatched footprint issues (indicated in green in the image farther up on this page).&lt;br /&gt;
&lt;br /&gt;
== Fall 2009, Mid-Semester Update ==&lt;br /&gt;
We now have one fully working prototype of the SiPM Digital Control Board, and the SiPM Amplifier Board is currently being manufactured and assembled by Sierra Circuits, Inc. The backplane design is nearly complete and will be going out for quoting within a week.&lt;br /&gt;
&lt;br /&gt;
Here is a zip file containing the most recent versions of the tagger files: [http://zeus.phys.uconn.edu/halld/tagger/electronics/design-11-2009/TaggerMicroscopeProgress20091112.zip Design Snapshot 11/12/2009]&lt;br /&gt;
&lt;br /&gt;
A few notes about these files:&lt;br /&gt;
*There are four subfolders in the zip file. The folders for the three PCBs are clearly labelled. Each PCB folder has one project file (.PrjPcb) which can be opened in Altium Designer. Each project file refers to only one PcbDoc file, making it easy to figure out what you should look at to see the board.&lt;br /&gt;
*The SiPM digital control board project has 4 shelved polygons which should be restored (Tools-&amp;gt;Polygon Pours-&amp;gt;Restore 4 shelved polyons) to see the state of the board as it was last manufactured. Revisions from the testing process have not yet been entered into Altium but can be reviewed on this wiki: [[Digital control board debugging notes]]&lt;br /&gt;
*The SiPM amplifier (analog) board project will give an error message that it was unable to find &amp;quot;Test PCB.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
*The backplane project will give an error message that it was unable to find &amp;quot;Backplane_New.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Woody_Underwood&amp;diff=4686</id>
		<title>Woody Underwood</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Woody_Underwood&amp;diff=4686"/>
		<updated>2009-11-12T15:43:36Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* Fall 2009, Current Progress */ added link to debugging notes&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About Me ==&lt;br /&gt;
My name is Woody Underwood. I'm a junior entering my seventh semester in the physics program at UConn. Since the summer of 2008, I've been working in the lab of Dr. Richard Jones designing electronics for the US Department of Energy's GlueX experiment. My assignment is to develop three circuit boards that work together to tag photons coming from the diamond radiator. My circuitry essentially measures (indirectly) the energy of these photons in order to determine if they are of interest to GlueX. The three boards I am designing consist of a digital board, an analog board, and a connecting backplane.&lt;br /&gt;
&lt;br /&gt;
== About My Circuitry ==&lt;br /&gt;
Electrons leaving the diamond radiator are deflected by a magnetic field into an array of scintillating fibres, producing photons. Wave guides carry these photons to SiPMs (silicon photomultipliers) mounted on the analog circuit board. The analog board contains transimpedance amplifiers and summing circuitry to condition the signals for digitization.&lt;br /&gt;
&lt;br /&gt;
The sensitivity of the SiPMs and the gain of the amplifiers on the analog board are controlled both by the power supply VCC and bias voltages supplied from the digital board. The digital board receives commands from a computer via ethernet, and uses a 32-channel DAC to output appropriate bias voltages to the SiPMs on the analog board. The digital and analog boards are connected by means of a backplane, which is also responsible for providing power and grounds to both boards.&lt;br /&gt;
&lt;br /&gt;
== Summary of Fall 2008 Work ==&lt;br /&gt;
All circuitry design work was done using Altium Designer. The digital board was the first to be designed. The first step in designing the digital board was to review the list of key components that had already been selected by Igor and Dr. Jones. These components included such things as the Xilinx Spartan-3A FPGA, and the Analog Devices AD5535 DAC. I began by looking through datasheets for these components to find out their needs, including power and decoupling requirements. I reviewed the pinout diagrams, and then looked through Altium’s standard libraries to find components that matched (in many cases the particular component I was looking for was not in the library, but a similar footprint or schematic symbol was). For components without matching schematic symbols, I entered pinout information from the datasheets into Microsoft Excel, using a layout compatible with Altium’s Smart Grid Insert function. Then, I was able to literally copy and paste pin information from Excel into Altium to generate the schematic symbols I needed.&lt;br /&gt;
&lt;br /&gt;
Once I had appropriate schematic symbols available for all parts, I began making appropriate connections in the schematic view in Altium. Though tedious, this task was not exceedingly difficult. I finished the schematics in several days, and then moved on to PCB design. I switched into Altium's PCB view. The footprints corresponding to the components I used in the schematics were automatically inserted by Altium. My job was then to position these components in logical places on the board and make all of the connections corresponding to the nets defined in the schematics.&lt;br /&gt;
&lt;br /&gt;
Due to the large number of components being placed in the limited space available on the digital board, Altium's auto-router proved completely useless. Therefore, I routed the board manually. Despite Altium's revolutionary convergence of schematic and PCB design into a single program, this was no easy task. During the routing process, I had to take into account not only the connections that had to be made, but also things such as avoiding crosstalk and minimizing trace length for sensitive components. I was able to complete routing after several weeks of work. The digital board design has since been completed and the board has been printed. It is currently awaiting assembly.&lt;br /&gt;
&lt;br /&gt;
The analog board provided a host of new challenges. The basic schematic for the transimpedance amplifier on the analog board was completed by Igor and Dr. Jones before the semester. Inputting the schematic into Altium was not very difficult. However, one problem I encountered was that the analog board contains 32 copies of this amplifier circuitry. After failing to find any way to insert multiple copies of both the schematic and its corresponding PCB layout, I decided to insert only single copies of each schematic page, and copy and paste the PCB layout to produce 32 copies of the amplifier circuitry. At first this seemed like a quick and easy way to get all of the necessary circuitry onto the PCB. However, I eventually discovered that this procedure would lead to major problems with the board assembly process (due to duplicate component designators, and for other reasons). Fortunately, this revelation came around the same time that Igor and Dr. Jones found a problem with the performance of the amplifier circuit. Making any changes to the amplifier circuit at this point will require a major reroute of all the traces on the analog  board. Since the board needs to be completely redesigned anyway, this will give me another chance to find a way to match schematics with all 32 copies of the amplifier circuitry.&lt;br /&gt;
&lt;br /&gt;
The backplane design is currently in progress. It should be relatively easy to complete. All that remains to be done is to add the LEMO connectors and power inputs. The board is simple enough that it can be routed completely by the auto-router, though a quick hand routing will probably be superior. I anticipate that I can complete the backplane with a few days of concentrated work over break.&lt;br /&gt;
&lt;br /&gt;
Included below are links to the files I have been working on. Included in the files for each board is a &amp;quot;SmartPDF,&amp;quot; viewable in Adobe Reader. For those without Altium Designer, these may be the best files to look at. They include complete schematics and PCB layout, and are also indexed by component.&lt;br /&gt;
&lt;br /&gt;
Any questions about the tagger circuitry can be directed to me at [mailto:mitchell.underwood@uconn.edu mitchell.underwood@uconn.edu]&lt;br /&gt;
&lt;br /&gt;
=== Related Files ===&lt;br /&gt;
* [http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/DigitalBoard.zip DigitalBoard.zip]:&lt;br /&gt;
**Altium Project File (SiPM Control Board.PrjPcb)&lt;br /&gt;
**Altium PCB Layout File (Prototype1.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (*.SchDoc)&lt;br /&gt;
**Altium Annotation Document (SiPM Control Board.Annotation)&lt;br /&gt;
***Not used, but generated by Altium when opening the project&lt;br /&gt;
**Altium PRJPCBSTRUCTURE File (SiPM Control Board.PRJPCBSTRUCTURE)&lt;br /&gt;
***Not used, but generated by Altium when opening the project)&lt;br /&gt;
**“SmartPDF” of the board and schematics (SiPM Control Board.pdf)&lt;br /&gt;
***Can be used to explore the PCB layout and schematics without needing Altium&lt;br /&gt;
**Pick and Place File for board population (Pick Place for Prototype1.txt)&lt;br /&gt;
***Used by board assembler&lt;br /&gt;
**NC Drill Files (Prototype1.txt, Prototype1.DRR, Prototype1.DRL)&lt;br /&gt;
***Used by board printer&lt;br /&gt;
**Gerber Files for all layers (in folder Gerbers)&lt;br /&gt;
***Used by board printer&lt;br /&gt;
**Altium CAMtastic file (CAMtastic4 FINAL.Cam)&lt;br /&gt;
***Basically a composite of all the Gerbers &lt;br /&gt;
**Photos and 3D rendering of populated board &lt;br /&gt;
***In folder “Photos”&lt;br /&gt;
**EMF Files showing different layers&lt;br /&gt;
***In folder “EMF Renderings”&lt;br /&gt;
**AutoCad File of PCB (Prototype1 Autocad.DWG)&lt;br /&gt;
**Altium Library of Custom Footprints for Digital Board (GlueX IC Library.SchLib)&lt;br /&gt;
***Current as of completion of digital board&lt;br /&gt;
***This library has since been updated for the backplane&lt;br /&gt;
&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/Analog%20Board%2020081211.zip Analog Board 20081211.zip]:&lt;br /&gt;
**Altium Project File (AnalogBoard.PrjPcb)&lt;br /&gt;
**Altium PCB Layout File (AnalogBoardPCB.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (Amplifer1.SchDoc, Summer.SchDoc)&lt;br /&gt;
**“SmartPDF” of the board and schematics (AnalogBoard.pdf)&lt;br /&gt;
**Altium Component Definition for SiPM (SiPM Library.PcbLib)&lt;br /&gt;
***Contains part footprint and pin information for the SiPM component&lt;br /&gt;
&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/Backplane%2020081211.zip Backplane 20081211.zip]&lt;br /&gt;
**Altium Project File (Backplane.PrjPcb)&lt;br /&gt;
**Alitum PCB Layout File (Backplane.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (Analog Connector.SchDoc, Digital Connector.SchDoc)&lt;br /&gt;
***Analog Connector = Eurocard to analog board&lt;br /&gt;
***Digital Connector = Eurocard to digital board, +3.3V voltage regulator, and location identifier jumper&lt;br /&gt;
***LEMO connections not yet included in these schematics&lt;br /&gt;
**“SmartPDF” of the board and schematics (Backplane.pdf)&lt;br /&gt;
**Pin layout files used to define pinouts for custom components (Pin Layout, 96 pin connector.xlsx, Pinouts.xlsx)&lt;br /&gt;
***Pin Layout, 96 pin connector = pinout definition for 96 pin Eurocard connector&lt;br /&gt;
***Pinouts.xlsx = pinout definitions for digital board, which were reused for the 48 pin digital Eurocard receptacle on backplane&lt;br /&gt;
**Altium Library of Custom Components (GlueX IC Library.SchLib)&lt;br /&gt;
***UPDATED to include new backplane components&lt;br /&gt;
***An older version of this library was used for the digital board&lt;br /&gt;
&lt;br /&gt;
==Summary of Spring 2009 Work==&lt;br /&gt;
&lt;br /&gt;
At the end of the fall semester, Dr. Jones, Igor, and I determined that the amplifier/summing circuit we had designed simply didn’t have sufficient performance characteristics to be useful for GlueX. During the beginning of the spring semester, Igor came up with a new design, utilizing more transistors, to provide the high gain, fast response, picosecond resolution amplifier that we needed. The design performed flawlessly both in MatLab simulations and in a handmade single channel prototype. The first of my goals for the spring 2009 semester was to capture the schematic for this new amplifier into Altium designer, and layout a new amplifier board. The second of my goals, of course, was to complete production of the digital control board prototypes.&lt;br /&gt;
&lt;br /&gt;
[[Image:Digital Board, Populated.JPG|thumb|The populated digital board, with a tube of Chap-Block&amp;lt;sup&amp;gt;TM&amp;lt;/sup&amp;gt; for size comparison.]] Since the fall semester left us with three unpopulated digital control board PCBs, getting those PCBs assembled with their components was the first priority. I began the semester by tracking down all of the components we needed (some of which were selected at the end of the fall semester), and making appropriate substitutions for components whose availability had changed since the fall. In the process of selecting these components, I noticed several places where it seemed like power consumption on the board may be somewhat high. To fix this, I developed a spreadsheet in Microsoft Excel that calculates optimal resistor values to use for to obtain a specified voltage divider stiffness. With this tool, I was able to optimize power consumption across the board, and select appropriate components. Once all components had been selected, ordered, and received, we sent the order out to Screamin’ Circuits for assembly. The boards came back several weeks later, and are currently awaiting testing by some undergraduates who will be in the lab this summer.&lt;br /&gt;
&lt;br /&gt;
While Igor was finalizing his amplifier/summing circuit, I worked briefly on design of the backplane. A number of details regarding trace impedance and board dimensions were ironed out. Nonetheless, many problems still remain which I will need to tackle over the summer. The first of these problems is that we have yet to find an appropriate low cost coaxial connector to route signals off the backplane. In addition, screws with which to mount the backplane to the tagger must be selected so that appropriate holes can be created for them on the PCB.&lt;br /&gt;
&lt;br /&gt;
Once we were satisfied that the amplifier/summing circuit performed as required, I shifted work from the backplane to the amplifier board. Around the same time, I began working on a poster to present my work at the Frontiers in Undergraduate Research Exhibition held during Open House Weekend here at UConn. If you’re interested in my poster, check it out here.&lt;br /&gt;
&lt;br /&gt;
[[Image:Amplifier-Summer-Laid-out.gif|thumb|A prototype layout of 5 amplifier channels and a summing circuit. Actual size is ~1.6&amp;quot; tall. Areas in green represent problems to be resolved over summer 2009. A prototype amplifier with no green spots has been designed and will be replicated to this design soon.]] To start the amplifier/summing circuit project, I searched high and low for information about how to handle multi-channel designs in Altium. Not surprisingly, the first Google result on the query “multichannel design Altium” had everything I was missing during the fall when I was trying to lay out the original amplifier circuit. Using my new knowledge of Altium’s multichannel capabilities, I captured Igor’s new design into the schematics editor of Altium Designer. With proper nested schematic sheets, the entire 30 channel amplifier/6 channel summer design was compressed into just 4 schematic sheets, vs. the ~40 or so that would have been required had I laid out the complete schematics of the old design. &lt;br /&gt;
&lt;br /&gt;
I spent about a week and a half trying to figure out how to handle nesting independent nets from a repeated subsheet into another repeated subsheet which also produces independent nets from the nets of the first sheet. This sounds somewhat complicated, and I suppose perhaps it is a somewhat unique situation, since none of the ~5 sample multichannel projects included with Altium had such a construction in them. Basically, each summing circuit has five amplifier subcircuits, each of which puts out its own signal independent of the other four. From the perspective of the entire board, there are 6 summers, each of which has five independent signals coming from the amplifiers, and one summed signal. Determining how to get Altium to realize the proper connections from each individual amplifier, through that amplifier’s summer, to the main schematic was a complicated mess of naming conventions, but eventually I was able to make Altium reflect all of the appropriate connections in the PCB view. Though there are a few net naming issues still to be resolved, this problem has mostly been ironed out.&lt;br /&gt;
&lt;br /&gt;
The final few weeks of the semester were spent laying out amplifier components in the PCB view of Altium. As of right now, a compact design for an amplifier measuring 0.183”x~1.3” has been completed. Making use of 0201 size components, this amplifier is approximately .2” shorter than the old design, despite incorporating an extra transistor. The amplifier design features an isolating ground trace running the length of the amplifier to prevent crosstalk between channels. A prototype layout of the summing circuit has also been completed, though some layout issues there remain to be resolved over the summer.&lt;br /&gt;
&lt;br /&gt;
===Related Files===&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-6-2009/Progress20090505.zip Design Snapshot 5/5/2009]&lt;br /&gt;
**Backplane&lt;br /&gt;
***Backplane.PrjPcb (Altium Project File)&lt;br /&gt;
***Backplane.PcbDoc (Altium PCB File)&lt;br /&gt;
***Analog Connector.SchDoc, Digital Connector.SchDoc, LEMO.SchDoc (Altium Schematics)&lt;br /&gt;
***Backplane.pdf (SmartPDF File of the schematics and PCB layout)&lt;br /&gt;
**Amplifier Board&lt;br /&gt;
***Analog Board.PrjPcb (Altium Project File)&lt;br /&gt;
***Amplifier Board.PcbDoc (Altium PCB File)&lt;br /&gt;
***Main.SchDoc, Amplifier.SchDoc, Summer.SchDoc, Voltage References.SchDoc (Altium Schematics)&lt;br /&gt;
***Analog Board.pdf (SmartPDF File of the schematics and PCB layout&lt;br /&gt;
****The SmartPDF shows the entire PCB workspace, including components that have not yet been placed on the physical PCB.&lt;br /&gt;
****The bottom left corner of the PCB view shows a proof-of-concept 5 amplifiers/1 summer layout.&lt;br /&gt;
****Finding AMP6 using the PDF bookmarks shows the prototype amplifier layout that resolves mismatched footprint issues (indicated in green in the image farther up on this page).&lt;br /&gt;
&lt;br /&gt;
== Fall 2009, Current Progress ==&lt;br /&gt;
We now have one fully working prototype of the SiPM Digital Control Board, and the SiPM Amplifier Board is currently being manufactured and assembled by Sierra Circuits, Inc. The backplane design is nearly complete and will be going out for quoting within a week.&lt;br /&gt;
&lt;br /&gt;
Here is a zip file containing the most recent versions of the tagger files: [http://zeus.phys.uconn.edu/~underwood/TaggerDocs/TaggerMicroscopeProgress20091112.zip Design Snapshot 11/12/2009]&lt;br /&gt;
&lt;br /&gt;
A few notes about these files:&lt;br /&gt;
*There are four subfolders in the zip file. The folders for the three PCBs are clearly labelled. Each PCB folder has one project file (.PrjPcb) which can be opened in Altium Designer. Each project file refers to only one PcbDoc file, making it easy to figure out what you should look at to see the board.&lt;br /&gt;
*The SiPM digital control board project has 4 shelved polygons which should be restored (Tools-&amp;gt;Polygon Pours-&amp;gt;Restore 4 shelved polyons) to see the state of the board as it was last manufactured. Revisions from the testing process have not yet been entered into Altium but can be reviewed on this wiki: [[Digital control board debugging notes]]&lt;br /&gt;
*The SiPM amplifier (analog) board project will give an error message that it was unable to find &amp;quot;Test PCB.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
*The backplane project will give an error message that it was unable to find &amp;quot;Backplane_New.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Woody_Underwood&amp;diff=4685</id>
		<title>Woody Underwood</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Woody_Underwood&amp;diff=4685"/>
		<updated>2009-11-12T15:42:20Z</updated>

		<summary type="html">&lt;p&gt;Underwood: changed bulletting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About Me ==&lt;br /&gt;
My name is Woody Underwood. I'm a junior entering my seventh semester in the physics program at UConn. Since the summer of 2008, I've been working in the lab of Dr. Richard Jones designing electronics for the US Department of Energy's GlueX experiment. My assignment is to develop three circuit boards that work together to tag photons coming from the diamond radiator. My circuitry essentially measures (indirectly) the energy of these photons in order to determine if they are of interest to GlueX. The three boards I am designing consist of a digital board, an analog board, and a connecting backplane.&lt;br /&gt;
&lt;br /&gt;
== About My Circuitry ==&lt;br /&gt;
Electrons leaving the diamond radiator are deflected by a magnetic field into an array of scintillating fibres, producing photons. Wave guides carry these photons to SiPMs (silicon photomultipliers) mounted on the analog circuit board. The analog board contains transimpedance amplifiers and summing circuitry to condition the signals for digitization.&lt;br /&gt;
&lt;br /&gt;
The sensitivity of the SiPMs and the gain of the amplifiers on the analog board are controlled both by the power supply VCC and bias voltages supplied from the digital board. The digital board receives commands from a computer via ethernet, and uses a 32-channel DAC to output appropriate bias voltages to the SiPMs on the analog board. The digital and analog boards are connected by means of a backplane, which is also responsible for providing power and grounds to both boards.&lt;br /&gt;
&lt;br /&gt;
== Summary of Fall 2008 Work ==&lt;br /&gt;
All circuitry design work was done using Altium Designer. The digital board was the first to be designed. The first step in designing the digital board was to review the list of key components that had already been selected by Igor and Dr. Jones. These components included such things as the Xilinx Spartan-3A FPGA, and the Analog Devices AD5535 DAC. I began by looking through datasheets for these components to find out their needs, including power and decoupling requirements. I reviewed the pinout diagrams, and then looked through Altium’s standard libraries to find components that matched (in many cases the particular component I was looking for was not in the library, but a similar footprint or schematic symbol was). For components without matching schematic symbols, I entered pinout information from the datasheets into Microsoft Excel, using a layout compatible with Altium’s Smart Grid Insert function. Then, I was able to literally copy and paste pin information from Excel into Altium to generate the schematic symbols I needed.&lt;br /&gt;
&lt;br /&gt;
Once I had appropriate schematic symbols available for all parts, I began making appropriate connections in the schematic view in Altium. Though tedious, this task was not exceedingly difficult. I finished the schematics in several days, and then moved on to PCB design. I switched into Altium's PCB view. The footprints corresponding to the components I used in the schematics were automatically inserted by Altium. My job was then to position these components in logical places on the board and make all of the connections corresponding to the nets defined in the schematics.&lt;br /&gt;
&lt;br /&gt;
Due to the large number of components being placed in the limited space available on the digital board, Altium's auto-router proved completely useless. Therefore, I routed the board manually. Despite Altium's revolutionary convergence of schematic and PCB design into a single program, this was no easy task. During the routing process, I had to take into account not only the connections that had to be made, but also things such as avoiding crosstalk and minimizing trace length for sensitive components. I was able to complete routing after several weeks of work. The digital board design has since been completed and the board has been printed. It is currently awaiting assembly.&lt;br /&gt;
&lt;br /&gt;
The analog board provided a host of new challenges. The basic schematic for the transimpedance amplifier on the analog board was completed by Igor and Dr. Jones before the semester. Inputting the schematic into Altium was not very difficult. However, one problem I encountered was that the analog board contains 32 copies of this amplifier circuitry. After failing to find any way to insert multiple copies of both the schematic and its corresponding PCB layout, I decided to insert only single copies of each schematic page, and copy and paste the PCB layout to produce 32 copies of the amplifier circuitry. At first this seemed like a quick and easy way to get all of the necessary circuitry onto the PCB. However, I eventually discovered that this procedure would lead to major problems with the board assembly process (due to duplicate component designators, and for other reasons). Fortunately, this revelation came around the same time that Igor and Dr. Jones found a problem with the performance of the amplifier circuit. Making any changes to the amplifier circuit at this point will require a major reroute of all the traces on the analog  board. Since the board needs to be completely redesigned anyway, this will give me another chance to find a way to match schematics with all 32 copies of the amplifier circuitry.&lt;br /&gt;
&lt;br /&gt;
The backplane design is currently in progress. It should be relatively easy to complete. All that remains to be done is to add the LEMO connectors and power inputs. The board is simple enough that it can be routed completely by the auto-router, though a quick hand routing will probably be superior. I anticipate that I can complete the backplane with a few days of concentrated work over break.&lt;br /&gt;
&lt;br /&gt;
Included below are links to the files I have been working on. Included in the files for each board is a &amp;quot;SmartPDF,&amp;quot; viewable in Adobe Reader. For those without Altium Designer, these may be the best files to look at. They include complete schematics and PCB layout, and are also indexed by component.&lt;br /&gt;
&lt;br /&gt;
Any questions about the tagger circuitry can be directed to me at [mailto:mitchell.underwood@uconn.edu mitchell.underwood@uconn.edu]&lt;br /&gt;
&lt;br /&gt;
=== Related Files ===&lt;br /&gt;
* [http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/DigitalBoard.zip DigitalBoard.zip]:&lt;br /&gt;
**Altium Project File (SiPM Control Board.PrjPcb)&lt;br /&gt;
**Altium PCB Layout File (Prototype1.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (*.SchDoc)&lt;br /&gt;
**Altium Annotation Document (SiPM Control Board.Annotation)&lt;br /&gt;
***Not used, but generated by Altium when opening the project&lt;br /&gt;
**Altium PRJPCBSTRUCTURE File (SiPM Control Board.PRJPCBSTRUCTURE)&lt;br /&gt;
***Not used, but generated by Altium when opening the project)&lt;br /&gt;
**“SmartPDF” of the board and schematics (SiPM Control Board.pdf)&lt;br /&gt;
***Can be used to explore the PCB layout and schematics without needing Altium&lt;br /&gt;
**Pick and Place File for board population (Pick Place for Prototype1.txt)&lt;br /&gt;
***Used by board assembler&lt;br /&gt;
**NC Drill Files (Prototype1.txt, Prototype1.DRR, Prototype1.DRL)&lt;br /&gt;
***Used by board printer&lt;br /&gt;
**Gerber Files for all layers (in folder Gerbers)&lt;br /&gt;
***Used by board printer&lt;br /&gt;
**Altium CAMtastic file (CAMtastic4 FINAL.Cam)&lt;br /&gt;
***Basically a composite of all the Gerbers &lt;br /&gt;
**Photos and 3D rendering of populated board &lt;br /&gt;
***In folder “Photos”&lt;br /&gt;
**EMF Files showing different layers&lt;br /&gt;
***In folder “EMF Renderings”&lt;br /&gt;
**AutoCad File of PCB (Prototype1 Autocad.DWG)&lt;br /&gt;
**Altium Library of Custom Footprints for Digital Board (GlueX IC Library.SchLib)&lt;br /&gt;
***Current as of completion of digital board&lt;br /&gt;
***This library has since been updated for the backplane&lt;br /&gt;
&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/Analog%20Board%2020081211.zip Analog Board 20081211.zip]:&lt;br /&gt;
**Altium Project File (AnalogBoard.PrjPcb)&lt;br /&gt;
**Altium PCB Layout File (AnalogBoardPCB.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (Amplifer1.SchDoc, Summer.SchDoc)&lt;br /&gt;
**“SmartPDF” of the board and schematics (AnalogBoard.pdf)&lt;br /&gt;
**Altium Component Definition for SiPM (SiPM Library.PcbLib)&lt;br /&gt;
***Contains part footprint and pin information for the SiPM component&lt;br /&gt;
&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/Backplane%2020081211.zip Backplane 20081211.zip]&lt;br /&gt;
**Altium Project File (Backplane.PrjPcb)&lt;br /&gt;
**Alitum PCB Layout File (Backplane.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (Analog Connector.SchDoc, Digital Connector.SchDoc)&lt;br /&gt;
***Analog Connector = Eurocard to analog board&lt;br /&gt;
***Digital Connector = Eurocard to digital board, +3.3V voltage regulator, and location identifier jumper&lt;br /&gt;
***LEMO connections not yet included in these schematics&lt;br /&gt;
**“SmartPDF” of the board and schematics (Backplane.pdf)&lt;br /&gt;
**Pin layout files used to define pinouts for custom components (Pin Layout, 96 pin connector.xlsx, Pinouts.xlsx)&lt;br /&gt;
***Pin Layout, 96 pin connector = pinout definition for 96 pin Eurocard connector&lt;br /&gt;
***Pinouts.xlsx = pinout definitions for digital board, which were reused for the 48 pin digital Eurocard receptacle on backplane&lt;br /&gt;
**Altium Library of Custom Components (GlueX IC Library.SchLib)&lt;br /&gt;
***UPDATED to include new backplane components&lt;br /&gt;
***An older version of this library was used for the digital board&lt;br /&gt;
&lt;br /&gt;
==Summary of Spring 2009 Work==&lt;br /&gt;
&lt;br /&gt;
At the end of the fall semester, Dr. Jones, Igor, and I determined that the amplifier/summing circuit we had designed simply didn’t have sufficient performance characteristics to be useful for GlueX. During the beginning of the spring semester, Igor came up with a new design, utilizing more transistors, to provide the high gain, fast response, picosecond resolution amplifier that we needed. The design performed flawlessly both in MatLab simulations and in a handmade single channel prototype. The first of my goals for the spring 2009 semester was to capture the schematic for this new amplifier into Altium designer, and layout a new amplifier board. The second of my goals, of course, was to complete production of the digital control board prototypes.&lt;br /&gt;
&lt;br /&gt;
[[Image:Digital Board, Populated.JPG|thumb|The populated digital board, with a tube of Chap-Block&amp;lt;sup&amp;gt;TM&amp;lt;/sup&amp;gt; for size comparison.]] Since the fall semester left us with three unpopulated digital control board PCBs, getting those PCBs assembled with their components was the first priority. I began the semester by tracking down all of the components we needed (some of which were selected at the end of the fall semester), and making appropriate substitutions for components whose availability had changed since the fall. In the process of selecting these components, I noticed several places where it seemed like power consumption on the board may be somewhat high. To fix this, I developed a spreadsheet in Microsoft Excel that calculates optimal resistor values to use for to obtain a specified voltage divider stiffness. With this tool, I was able to optimize power consumption across the board, and select appropriate components. Once all components had been selected, ordered, and received, we sent the order out to Screamin’ Circuits for assembly. The boards came back several weeks later, and are currently awaiting testing by some undergraduates who will be in the lab this summer.&lt;br /&gt;
&lt;br /&gt;
While Igor was finalizing his amplifier/summing circuit, I worked briefly on design of the backplane. A number of details regarding trace impedance and board dimensions were ironed out. Nonetheless, many problems still remain which I will need to tackle over the summer. The first of these problems is that we have yet to find an appropriate low cost coaxial connector to route signals off the backplane. In addition, screws with which to mount the backplane to the tagger must be selected so that appropriate holes can be created for them on the PCB.&lt;br /&gt;
&lt;br /&gt;
Once we were satisfied that the amplifier/summing circuit performed as required, I shifted work from the backplane to the amplifier board. Around the same time, I began working on a poster to present my work at the Frontiers in Undergraduate Research Exhibition held during Open House Weekend here at UConn. If you’re interested in my poster, check it out here.&lt;br /&gt;
&lt;br /&gt;
[[Image:Amplifier-Summer-Laid-out.gif|thumb|A prototype layout of 5 amplifier channels and a summing circuit. Actual size is ~1.6&amp;quot; tall. Areas in green represent problems to be resolved over summer 2009. A prototype amplifier with no green spots has been designed and will be replicated to this design soon.]] To start the amplifier/summing circuit project, I searched high and low for information about how to handle multi-channel designs in Altium. Not surprisingly, the first Google result on the query “multichannel design Altium” had everything I was missing during the fall when I was trying to lay out the original amplifier circuit. Using my new knowledge of Altium’s multichannel capabilities, I captured Igor’s new design into the schematics editor of Altium Designer. With proper nested schematic sheets, the entire 30 channel amplifier/6 channel summer design was compressed into just 4 schematic sheets, vs. the ~40 or so that would have been required had I laid out the complete schematics of the old design. &lt;br /&gt;
&lt;br /&gt;
I spent about a week and a half trying to figure out how to handle nesting independent nets from a repeated subsheet into another repeated subsheet which also produces independent nets from the nets of the first sheet. This sounds somewhat complicated, and I suppose perhaps it is a somewhat unique situation, since none of the ~5 sample multichannel projects included with Altium had such a construction in them. Basically, each summing circuit has five amplifier subcircuits, each of which puts out its own signal independent of the other four. From the perspective of the entire board, there are 6 summers, each of which has five independent signals coming from the amplifiers, and one summed signal. Determining how to get Altium to realize the proper connections from each individual amplifier, through that amplifier’s summer, to the main schematic was a complicated mess of naming conventions, but eventually I was able to make Altium reflect all of the appropriate connections in the PCB view. Though there are a few net naming issues still to be resolved, this problem has mostly been ironed out.&lt;br /&gt;
&lt;br /&gt;
The final few weeks of the semester were spent laying out amplifier components in the PCB view of Altium. As of right now, a compact design for an amplifier measuring 0.183”x~1.3” has been completed. Making use of 0201 size components, this amplifier is approximately .2” shorter than the old design, despite incorporating an extra transistor. The amplifier design features an isolating ground trace running the length of the amplifier to prevent crosstalk between channels. A prototype layout of the summing circuit has also been completed, though some layout issues there remain to be resolved over the summer.&lt;br /&gt;
&lt;br /&gt;
===Related Files===&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-6-2009/Progress20090505.zip Design Snapshot 5/5/2009]&lt;br /&gt;
**Backplane&lt;br /&gt;
***Backplane.PrjPcb (Altium Project File)&lt;br /&gt;
***Backplane.PcbDoc (Altium PCB File)&lt;br /&gt;
***Analog Connector.SchDoc, Digital Connector.SchDoc, LEMO.SchDoc (Altium Schematics)&lt;br /&gt;
***Backplane.pdf (SmartPDF File of the schematics and PCB layout)&lt;br /&gt;
**Amplifier Board&lt;br /&gt;
***Analog Board.PrjPcb (Altium Project File)&lt;br /&gt;
***Amplifier Board.PcbDoc (Altium PCB File)&lt;br /&gt;
***Main.SchDoc, Amplifier.SchDoc, Summer.SchDoc, Voltage References.SchDoc (Altium Schematics)&lt;br /&gt;
***Analog Board.pdf (SmartPDF File of the schematics and PCB layout&lt;br /&gt;
****The SmartPDF shows the entire PCB workspace, including components that have not yet been placed on the physical PCB.&lt;br /&gt;
****The bottom left corner of the PCB view shows a proof-of-concept 5 amplifiers/1 summer layout.&lt;br /&gt;
****Finding AMP6 using the PDF bookmarks shows the prototype amplifier layout that resolves mismatched footprint issues (indicated in green in the image farther up on this page).&lt;br /&gt;
&lt;br /&gt;
== Fall 2009, Current Progress ==&lt;br /&gt;
We now have one fully working prototype of the SiPM Digital Control Board, and the SiPM Amplifier Board is currently being manufactured and assembled by Sierra Circuits, Inc. The backplane design is nearly complete and will be going out for quoting within a week.&lt;br /&gt;
&lt;br /&gt;
Here is a zip file containing the most recent versions of the tagger files: [http://zeus.phys.uconn.edu/~underwood/TaggerDocs/TaggerMicroscopeProgress20091112.zip Design Snapshot 11/12/2009]&lt;br /&gt;
&lt;br /&gt;
A few notes about these files:&lt;br /&gt;
*There are four subfolders in the zip file. The folders for the three PCBs are clearly labelled. Each PCB folder has one project file (.PrjPcb) which can be opened in Altium Designer. Each project file refers to only one PcbDoc file, making it easy to figure out what you should look at to see the board.&lt;br /&gt;
*The SiPM digital control board project has 4 shelved polygons which should be restored (Tools-&amp;gt;Polygon Pours-&amp;gt;Restore 4 shelved polyons) to see the state of the board as it was last manufactured. Revisions from the testing process have not yet been entered into Altium but can be reviewed on this wiki.&lt;br /&gt;
*The SiPM amplifier (analog) board project will give an error message that it was unable to find &amp;quot;Test PCB.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
*The backplane project will give an error message that it was unable to find &amp;quot;Backplane_New.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Woody_Underwood&amp;diff=4684</id>
		<title>Woody Underwood</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Woody_Underwood&amp;diff=4684"/>
		<updated>2009-11-12T15:40:26Z</updated>

		<summary type="html">&lt;p&gt;Underwood: Added fall 2009 current progress&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About Me ==&lt;br /&gt;
My name is Woody Underwood. I'm a junior entering my seventh semester in the physics program at UConn. Since the summer of 2008, I've been working in the lab of Dr. Richard Jones designing electronics for the US Department of Energy's GlueX experiment. My assignment is to develop three circuit boards that work together to tag photons coming from the diamond radiator. My circuitry essentially measures (indirectly) the energy of these photons in order to determine if they are of interest to GlueX. The three boards I am designing consist of a digital board, an analog board, and a connecting backplane.&lt;br /&gt;
&lt;br /&gt;
== About My Circuitry ==&lt;br /&gt;
Electrons leaving the diamond radiator are deflected by a magnetic field into an array of scintillating fibres, producing photons. Wave guides carry these photons to SiPMs (silicon photomultipliers) mounted on the analog circuit board. The analog board contains transimpedance amplifiers and summing circuitry to condition the signals for digitization.&lt;br /&gt;
&lt;br /&gt;
The sensitivity of the SiPMs and the gain of the amplifiers on the analog board are controlled both by the power supply VCC and bias voltages supplied from the digital board. The digital board receives commands from a computer via ethernet, and uses a 32-channel DAC to output appropriate bias voltages to the SiPMs on the analog board. The digital and analog boards are connected by means of a backplane, which is also responsible for providing power and grounds to both boards.&lt;br /&gt;
&lt;br /&gt;
== Summary of Fall 2008 Work ==&lt;br /&gt;
All circuitry design work was done using Altium Designer. The digital board was the first to be designed. The first step in designing the digital board was to review the list of key components that had already been selected by Igor and Dr. Jones. These components included such things as the Xilinx Spartan-3A FPGA, and the Analog Devices AD5535 DAC. I began by looking through datasheets for these components to find out their needs, including power and decoupling requirements. I reviewed the pinout diagrams, and then looked through Altium’s standard libraries to find components that matched (in many cases the particular component I was looking for was not in the library, but a similar footprint or schematic symbol was). For components without matching schematic symbols, I entered pinout information from the datasheets into Microsoft Excel, using a layout compatible with Altium’s Smart Grid Insert function. Then, I was able to literally copy and paste pin information from Excel into Altium to generate the schematic symbols I needed.&lt;br /&gt;
&lt;br /&gt;
Once I had appropriate schematic symbols available for all parts, I began making appropriate connections in the schematic view in Altium. Though tedious, this task was not exceedingly difficult. I finished the schematics in several days, and then moved on to PCB design. I switched into Altium's PCB view. The footprints corresponding to the components I used in the schematics were automatically inserted by Altium. My job was then to position these components in logical places on the board and make all of the connections corresponding to the nets defined in the schematics.&lt;br /&gt;
&lt;br /&gt;
Due to the large number of components being placed in the limited space available on the digital board, Altium's auto-router proved completely useless. Therefore, I routed the board manually. Despite Altium's revolutionary convergence of schematic and PCB design into a single program, this was no easy task. During the routing process, I had to take into account not only the connections that had to be made, but also things such as avoiding crosstalk and minimizing trace length for sensitive components. I was able to complete routing after several weeks of work. The digital board design has since been completed and the board has been printed. It is currently awaiting assembly.&lt;br /&gt;
&lt;br /&gt;
The analog board provided a host of new challenges. The basic schematic for the transimpedance amplifier on the analog board was completed by Igor and Dr. Jones before the semester. Inputting the schematic into Altium was not very difficult. However, one problem I encountered was that the analog board contains 32 copies of this amplifier circuitry. After failing to find any way to insert multiple copies of both the schematic and its corresponding PCB layout, I decided to insert only single copies of each schematic page, and copy and paste the PCB layout to produce 32 copies of the amplifier circuitry. At first this seemed like a quick and easy way to get all of the necessary circuitry onto the PCB. However, I eventually discovered that this procedure would lead to major problems with the board assembly process (due to duplicate component designators, and for other reasons). Fortunately, this revelation came around the same time that Igor and Dr. Jones found a problem with the performance of the amplifier circuit. Making any changes to the amplifier circuit at this point will require a major reroute of all the traces on the analog  board. Since the board needs to be completely redesigned anyway, this will give me another chance to find a way to match schematics with all 32 copies of the amplifier circuitry.&lt;br /&gt;
&lt;br /&gt;
The backplane design is currently in progress. It should be relatively easy to complete. All that remains to be done is to add the LEMO connectors and power inputs. The board is simple enough that it can be routed completely by the auto-router, though a quick hand routing will probably be superior. I anticipate that I can complete the backplane with a few days of concentrated work over break.&lt;br /&gt;
&lt;br /&gt;
Included below are links to the files I have been working on. Included in the files for each board is a &amp;quot;SmartPDF,&amp;quot; viewable in Adobe Reader. For those without Altium Designer, these may be the best files to look at. They include complete schematics and PCB layout, and are also indexed by component.&lt;br /&gt;
&lt;br /&gt;
Any questions about the tagger circuitry can be directed to me at [mailto:mitchell.underwood@uconn.edu mitchell.underwood@uconn.edu]&lt;br /&gt;
&lt;br /&gt;
=== Related Files ===&lt;br /&gt;
* [http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/DigitalBoard.zip DigitalBoard.zip]:&lt;br /&gt;
**Altium Project File (SiPM Control Board.PrjPcb)&lt;br /&gt;
**Altium PCB Layout File (Prototype1.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (*.SchDoc)&lt;br /&gt;
**Altium Annotation Document (SiPM Control Board.Annotation)&lt;br /&gt;
***Not used, but generated by Altium when opening the project&lt;br /&gt;
**Altium PRJPCBSTRUCTURE File (SiPM Control Board.PRJPCBSTRUCTURE)&lt;br /&gt;
***Not used, but generated by Altium when opening the project)&lt;br /&gt;
**“SmartPDF” of the board and schematics (SiPM Control Board.pdf)&lt;br /&gt;
***Can be used to explore the PCB layout and schematics without needing Altium&lt;br /&gt;
**Pick and Place File for board population (Pick Place for Prototype1.txt)&lt;br /&gt;
***Used by board assembler&lt;br /&gt;
**NC Drill Files (Prototype1.txt, Prototype1.DRR, Prototype1.DRL)&lt;br /&gt;
***Used by board printer&lt;br /&gt;
**Gerber Files for all layers (in folder Gerbers)&lt;br /&gt;
***Used by board printer&lt;br /&gt;
**Altium CAMtastic file (CAMtastic4 FINAL.Cam)&lt;br /&gt;
***Basically a composite of all the Gerbers &lt;br /&gt;
**Photos and 3D rendering of populated board &lt;br /&gt;
***In folder “Photos”&lt;br /&gt;
**EMF Files showing different layers&lt;br /&gt;
***In folder “EMF Renderings”&lt;br /&gt;
**AutoCad File of PCB (Prototype1 Autocad.DWG)&lt;br /&gt;
**Altium Library of Custom Footprints for Digital Board (GlueX IC Library.SchLib)&lt;br /&gt;
***Current as of completion of digital board&lt;br /&gt;
***This library has since been updated for the backplane&lt;br /&gt;
&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/Analog%20Board%2020081211.zip Analog Board 20081211.zip]:&lt;br /&gt;
**Altium Project File (AnalogBoard.PrjPcb)&lt;br /&gt;
**Altium PCB Layout File (AnalogBoardPCB.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (Amplifer1.SchDoc, Summer.SchDoc)&lt;br /&gt;
**“SmartPDF” of the board and schematics (AnalogBoard.pdf)&lt;br /&gt;
**Altium Component Definition for SiPM (SiPM Library.PcbLib)&lt;br /&gt;
***Contains part footprint and pin information for the SiPM component&lt;br /&gt;
&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-12-2008/Backplane%2020081211.zip Backplane 20081211.zip]&lt;br /&gt;
**Altium Project File (Backplane.PrjPcb)&lt;br /&gt;
**Alitum PCB Layout File (Backplane.PcbDoc)&lt;br /&gt;
**Altium Schematic Files (Analog Connector.SchDoc, Digital Connector.SchDoc)&lt;br /&gt;
***Analog Connector = Eurocard to analog board&lt;br /&gt;
***Digital Connector = Eurocard to digital board, +3.3V voltage regulator, and location identifier jumper&lt;br /&gt;
***LEMO connections not yet included in these schematics&lt;br /&gt;
**“SmartPDF” of the board and schematics (Backplane.pdf)&lt;br /&gt;
**Pin layout files used to define pinouts for custom components (Pin Layout, 96 pin connector.xlsx, Pinouts.xlsx)&lt;br /&gt;
***Pin Layout, 96 pin connector = pinout definition for 96 pin Eurocard connector&lt;br /&gt;
***Pinouts.xlsx = pinout definitions for digital board, which were reused for the 48 pin digital Eurocard receptacle on backplane&lt;br /&gt;
**Altium Library of Custom Components (GlueX IC Library.SchLib)&lt;br /&gt;
***UPDATED to include new backplane components&lt;br /&gt;
***An older version of this library was used for the digital board&lt;br /&gt;
&lt;br /&gt;
==Summary of Spring 2009 Work==&lt;br /&gt;
&lt;br /&gt;
At the end of the fall semester, Dr. Jones, Igor, and I determined that the amplifier/summing circuit we had designed simply didn’t have sufficient performance characteristics to be useful for GlueX. During the beginning of the spring semester, Igor came up with a new design, utilizing more transistors, to provide the high gain, fast response, picosecond resolution amplifier that we needed. The design performed flawlessly both in MatLab simulations and in a handmade single channel prototype. The first of my goals for the spring 2009 semester was to capture the schematic for this new amplifier into Altium designer, and layout a new amplifier board. The second of my goals, of course, was to complete production of the digital control board prototypes.&lt;br /&gt;
&lt;br /&gt;
[[Image:Digital Board, Populated.JPG|thumb|The populated digital board, with a tube of Chap-Block&amp;lt;sup&amp;gt;TM&amp;lt;/sup&amp;gt; for size comparison.]] Since the fall semester left us with three unpopulated digital control board PCBs, getting those PCBs assembled with their components was the first priority. I began the semester by tracking down all of the components we needed (some of which were selected at the end of the fall semester), and making appropriate substitutions for components whose availability had changed since the fall. In the process of selecting these components, I noticed several places where it seemed like power consumption on the board may be somewhat high. To fix this, I developed a spreadsheet in Microsoft Excel that calculates optimal resistor values to use for to obtain a specified voltage divider stiffness. With this tool, I was able to optimize power consumption across the board, and select appropriate components. Once all components had been selected, ordered, and received, we sent the order out to Screamin’ Circuits for assembly. The boards came back several weeks later, and are currently awaiting testing by some undergraduates who will be in the lab this summer.&lt;br /&gt;
&lt;br /&gt;
While Igor was finalizing his amplifier/summing circuit, I worked briefly on design of the backplane. A number of details regarding trace impedance and board dimensions were ironed out. Nonetheless, many problems still remain which I will need to tackle over the summer. The first of these problems is that we have yet to find an appropriate low cost coaxial connector to route signals off the backplane. In addition, screws with which to mount the backplane to the tagger must be selected so that appropriate holes can be created for them on the PCB.&lt;br /&gt;
&lt;br /&gt;
Once we were satisfied that the amplifier/summing circuit performed as required, I shifted work from the backplane to the amplifier board. Around the same time, I began working on a poster to present my work at the Frontiers in Undergraduate Research Exhibition held during Open House Weekend here at UConn. If you’re interested in my poster, check it out here.&lt;br /&gt;
&lt;br /&gt;
[[Image:Amplifier-Summer-Laid-out.gif|thumb|A prototype layout of 5 amplifier channels and a summing circuit. Actual size is ~1.6&amp;quot; tall. Areas in green represent problems to be resolved over summer 2009. A prototype amplifier with no green spots has been designed and will be replicated to this design soon.]] To start the amplifier/summing circuit project, I searched high and low for information about how to handle multi-channel designs in Altium. Not surprisingly, the first Google result on the query “multichannel design Altium” had everything I was missing during the fall when I was trying to lay out the original amplifier circuit. Using my new knowledge of Altium’s multichannel capabilities, I captured Igor’s new design into the schematics editor of Altium Designer. With proper nested schematic sheets, the entire 30 channel amplifier/6 channel summer design was compressed into just 4 schematic sheets, vs. the ~40 or so that would have been required had I laid out the complete schematics of the old design. &lt;br /&gt;
&lt;br /&gt;
I spent about a week and a half trying to figure out how to handle nesting independent nets from a repeated subsheet into another repeated subsheet which also produces independent nets from the nets of the first sheet. This sounds somewhat complicated, and I suppose perhaps it is a somewhat unique situation, since none of the ~5 sample multichannel projects included with Altium had such a construction in them. Basically, each summing circuit has five amplifier subcircuits, each of which puts out its own signal independent of the other four. From the perspective of the entire board, there are 6 summers, each of which has five independent signals coming from the amplifiers, and one summed signal. Determining how to get Altium to realize the proper connections from each individual amplifier, through that amplifier’s summer, to the main schematic was a complicated mess of naming conventions, but eventually I was able to make Altium reflect all of the appropriate connections in the PCB view. Though there are a few net naming issues still to be resolved, this problem has mostly been ironed out.&lt;br /&gt;
&lt;br /&gt;
The final few weeks of the semester were spent laying out amplifier components in the PCB view of Altium. As of right now, a compact design for an amplifier measuring 0.183”x~1.3” has been completed. Making use of 0201 size components, this amplifier is approximately .2” shorter than the old design, despite incorporating an extra transistor. The amplifier design features an isolating ground trace running the length of the amplifier to prevent crosstalk between channels. A prototype layout of the summing circuit has also been completed, though some layout issues there remain to be resolved over the summer.&lt;br /&gt;
&lt;br /&gt;
===Related Files===&lt;br /&gt;
*[http://zeus.phys.uconn.edu/halld/tagger/electronics/design-6-2009/Progress20090505.zip Design Snapshot 5/5/2009]&lt;br /&gt;
**Backplane&lt;br /&gt;
***Backplane.PrjPcb (Altium Project File)&lt;br /&gt;
***Backplane.PcbDoc (Altium PCB File)&lt;br /&gt;
***Analog Connector.SchDoc, Digital Connector.SchDoc, LEMO.SchDoc (Altium Schematics)&lt;br /&gt;
***Backplane.pdf (SmartPDF File of the schematics and PCB layout)&lt;br /&gt;
**Amplifier Board&lt;br /&gt;
***Analog Board.PrjPcb (Altium Project File)&lt;br /&gt;
***Amplifier Board.PcbDoc (Altium PCB File)&lt;br /&gt;
***Main.SchDoc, Amplifier.SchDoc, Summer.SchDoc, Voltage References.SchDoc (Altium Schematics)&lt;br /&gt;
***Analog Board.pdf (SmartPDF File of the schematics and PCB layout&lt;br /&gt;
****The SmartPDF shows the entire PCB workspace, including components that have not yet been placed on the physical PCB.&lt;br /&gt;
****The bottom left corner of the PCB view shows a proof-of-concept 5 amplifiers/1 summer layout.&lt;br /&gt;
****Finding AMP6 using the PDF bookmarks shows the prototype amplifier layout that resolves mismatched footprint issues (indicated in green in the image farther up on this page).&lt;br /&gt;
&lt;br /&gt;
== Fall 2009, Current Progress ==&lt;br /&gt;
We now have one fully working prototype of the SiPM Digital Control Board, and the SiPM Amplifier Board is currently being manufactured and assembled by Sierra Circuits, Inc. The backplane design is nearly complete and will be going out for quoting within a week.&lt;br /&gt;
&lt;br /&gt;
Here is a zip file containing the most recent versions of the tagger files: [http://zeus.phys.uconn.edu/~underwood/TaggerDocs/TaggerMicroscopeProgress20091112.zip Design Snapshot 11/12/2009]&lt;br /&gt;
&lt;br /&gt;
A few notes about these files:&lt;br /&gt;
*There are four subfolders in the zip file. The folders for the three PCBs are clearly labelled. Each PCB folder has one project file (.PrjPcb) which can be opened in Altium Designer. Each project file refers to only one PcbDoc file, making it easy to figure out what you should look at to see the board.&lt;br /&gt;
**The SiPM digital control board project has 4 shelved polygons which should be restored (Tools-&amp;gt;Polygon Pours-&amp;gt;Restore 4 shelved polyons) to see the state of the board as it was last manufactured. Revisions from the testing process have not yet been entered into Altium but can be reviewed on this wiki.&lt;br /&gt;
**The SiPM amplifier (analog) board project will give an error message that it was unable to find &amp;quot;Test PCB.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;br /&gt;
**The backplane project will give an error message that it was unable to find &amp;quot;Backplane_New.PcbDoc&amp;quot;. Please ignore this. The file was intentionally omitted to prevent confusion, and is not related to the actual design.&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=SiPM_digital_control_board_supporting_components&amp;diff=4657</id>
		<title>SiPM digital control board supporting components</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=SiPM_digital_control_board_supporting_components&amp;diff=4657"/>
		<updated>2009-11-05T15:16:03Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* LED-less RJ-45 Jack */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
&lt;br /&gt;
While the FPGA, Ethernet controller, DAC, ADC and Temperature sensor are considered the main components of the SiPM digital control board, there are also many other supporting components that will be on the board. This page discusses many of the other minor components on the SiPM digital control board.&lt;br /&gt;
&lt;br /&gt;
== Multipurpose Supporting Components ==&lt;br /&gt;
&lt;br /&gt;
This section discusses components that function to support two or more of the major components on the control board.&lt;br /&gt;
&lt;br /&gt;
=== 20MHz Crystal Oscillator ===&lt;br /&gt;
&lt;br /&gt;
The SiPM digital control board is driven by a 20MHz clock generated from a crystal oscillator. This signal will be divided into a 5MHz signal by the FPGA for some components, but nonetheless, the 20MHz clock is the main timing signal on the board. The component most sensitive to this signal is the CP2201 Ethernet IC, so the oscillator will be selected to meet the requirements of this chip. According to the [http://www.silabs.com/public/documents/tpub_doc/dsheet/Microcontrollers/Interface/en/CP2200.pdf CP2201 data sheet], the CP2201 requires a 20MHz signal with an error of no more than &amp;amp;plusmn;50ppm. One crystal oscillator that meets the requirements of the CP2201 is the Epson Toyocom MA-505 20.0000M-C0 ([http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail?name=SE2509CT-ND Digi-Key Part #SE2509CT-ND]). There are also many other similar oscillators available if the Epson Toyocom model proves insufficient.&lt;br /&gt;
&lt;br /&gt;
== FPGA Supporting Components ==&lt;br /&gt;
&lt;br /&gt;
=== XCF01S EEPROM ===&lt;br /&gt;
&lt;br /&gt;
[[Image:SiPM FPGA and EEPROM Connections.gif|thumb|Connection diagram for XCF01S and Spartan-3A FPGA taken from&amp;lt;br&amp;gt;[http://www.xilinx.com/support/documentation/data_sheets/ds123.pdf XCF01S specifications sheet].]]&lt;br /&gt;
The Xilinx XCF01S EEPROM is responsible for configuring the FPGA when the system is turned on or reset. We selected the XCF01S because it is recommended by Xilinx as the best solution for programming the Spartan-3A FPGA used on the control board. The XCF01S is ideal because it has sufficient memory to hold the entire FPGA program, and also minimizes the number of FPGA-to-EEPROM leads necessary for programming the FPGA. For more information on the mode of programming the FPGA, see [[FPGA programming modes]].&lt;br /&gt;
&lt;br /&gt;
Both the EEPROM and the FPGA are designed to tolerate +3.3V CMOS logic levels, keeping the configuration logic at the same voltages as the other logic on the board.&lt;br /&gt;
&lt;br /&gt;
=== Post-Configuration EEPROM Isolating Logic ===&lt;br /&gt;
&lt;br /&gt;
Originally it was though that it may be necessary to introduce OR gates and NOR gates (with the FPGA's DONE pin) to keep EEPROM pins at the necessary logic values after programming is complete, if the configuration pins on the FPGA were to be reused as user I/O pins following configuration. However, the specifications sheet for the XCF01S says that when CE is held high, the D0 pin goes into a high impedance state. We believe this is sufficient to prevent unwanted EEPROM I/O operations due to changing logic levels on its pins following configuration, meaning post-configuration EEPROM isolating logic is not necessary. In addition, due to the large number of available I/O pins on the FPGA, there are sufficient dedicated I/O pins available so that these shared pins do not need to be reused in our design.&lt;br /&gt;
&lt;br /&gt;
=== FPGA/EEPROM Pull-up Resistors ===&lt;br /&gt;
&lt;br /&gt;
Despite being shown in the [[:Image:SiPM FPGA and EEPROM Connections.gif |connection diagram]], 4.7k&amp;amp;Omega; pull-up resistors are not necessary to pull up the DONE, INIT_B and PROG_B pins to VCCO, since we will be enabling internal pull-ups using the PUDC_B pin.&lt;br /&gt;
&lt;br /&gt;
== CP2201 Ethernet Supporting Components ==&lt;br /&gt;
&lt;br /&gt;
=== LED-less RJ-45 Jack ===&lt;br /&gt;
&lt;br /&gt;
Since we want to keep the enclosure as dark as possible, we must use an Ethernet jack with no built-in activity/link LED. There are many suitable jacks available. The jack we have selected to use on the board is the Pulse Engineering J0012D21.&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_debugging_notes&amp;diff=4650</id>
		<title>Digital control board debugging notes</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_debugging_notes&amp;diff=4650"/>
		<updated>2009-11-05T15:12:04Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* Incorrect footprint for the Ethernet Jack used */  added info about part numbers&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains a list of all currently known problems with the digital control board.&lt;br /&gt;
&lt;br /&gt;
= Problems =&lt;br /&gt;
&lt;br /&gt;
== No Power on +1.2V Power Island ==&lt;br /&gt;
=== Description ===&lt;br /&gt;
The +1.2V island was found to be at 0.0V rather than +1.2V.&lt;br /&gt;
&lt;br /&gt;
=== Cause ===&lt;br /&gt;
The +5V input (pin 2) on the +1.2V voltage regulator, VR3 (Analog Devices ADP1715), was  not connected.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
A dab of solder was used to short pins 1 and 2 on VR3. Pin 1 is an active high chip enable pin, which is permanently tied to +5V.&lt;br /&gt;
&lt;br /&gt;
=== Other Details and Current Status ===&lt;br /&gt;
This problem was due to an unconnected pin in the original schematics. The schematics have '''not yet been updated''' to reflect the solution.&lt;br /&gt;
&lt;br /&gt;
* June 22, 2009: One board has been modified to correct this problem.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== SPI Bus Miswired ==&lt;br /&gt;
=== Description ===&lt;br /&gt;
The SPI bus to the temperature sensor and the ADC is not wired correctly.&lt;br /&gt;
&lt;br /&gt;
=== Cause ===&lt;br /&gt;
FPGA pin 5 (labelled SPI) is connected to DIN on the ADC, and DOUT of the temperature sensor. FPGA pin 97 (labelled AD7928/DOUT) is connected to DOUT on the ADC. SPI designates that all slave device DOUT traces be connected together. Chip select and HiZ logic are used to prevent devices from fighting over the signal line.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
Pin 5 on the temperature sensor should be connected to pin 18 on the ADC and pin 97 on the FPGA. This can be accomplished by cutting the existing DOUT trace near the temperature sensor and soldering a wire to DOUT on the ADC. In this configuration, pin 5 on the FPGA will become the SPI MOSI (master out, slave in) line, and pin 97 on the FPGA will become the SPI MISO (master in, slave out) line. DIN on the temperature sensor is left tied to ground, since it is not needed.&lt;br /&gt;
&lt;br /&gt;
=== Other Details and Current Status ===&lt;br /&gt;
This problem was due to errors int he original schematics. The schematics have '''not yet been updated''' to reflect the solution.&lt;br /&gt;
&lt;br /&gt;
This modification has been implemented.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Incorrect Oscillator ==&lt;br /&gt;
=== Description ===&lt;br /&gt;
The oscillator used was a standard crystal oscillator, however the FPGA requires an oscillator with a CMOS square wave input.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
The crystal oscillator was replaced with a FOX FXO-HC53 HCMOS oscillator running at 20 Mhz. The output from the oscillator was connected to pin 27 on the FPGA. The load of having both the oscillator and the Ethernet controller connected to the output of the oscillator was to large. The clock input for the Ethernet controller Pin 28 was connected to pin 37 of the FPGA.&lt;br /&gt;
Schematic:[[Image:osc.png]]&lt;br /&gt;
&lt;br /&gt;
=== Other Details and Current Status ===&lt;br /&gt;
The schematics have '''not yet been updated''' to reflect the solution.&lt;br /&gt;
&lt;br /&gt;
This modification has been implemented.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Wrong polarity of Zener Diode on -5V ==&lt;br /&gt;
=== Description ===&lt;br /&gt;
Zener diode D2 is reversed in the layout. It is correct in the schematics.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
The diode was rotated on all the prototyping boards. This indication has '''not yet been entered into the layout'''.&lt;br /&gt;
&lt;br /&gt;
=== Other Details and Current Status ===&lt;br /&gt;
This problem may be related to the overload on the -5V circuitry for of the DAC.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Mismatched JTAG programming header ==&lt;br /&gt;
=== Description ===&lt;br /&gt;
The connector of the &amp;quot;Xilinx Platform USB II&amp;quot; kit seems to be a reduced size compared to the standard 0.1&amp;quot; spaced pin header with which the board is equipped. &lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
For the testing stage, the flying lead connector is sufficient to bypass this problem. The layout must be corrected to the matching header (type?). Change entered already?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Ethernet jack pinout mismatch  ==&lt;br /&gt;
&lt;br /&gt;
The wrong Ethernet jack was attached to the PCB, leading to a pinout mismatch. The part ordered was the Pulse J001'''1'''D21. The correct part is J001'''2'''D21. The correct part was ordered and soldered onto the prototype boards, but this change must be made in the Altium parts list.&lt;br /&gt;
&lt;br /&gt;
= Suggested/Preferred Changes =&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;R12&amp;lt;/code&amp;gt;, the pull-up resistor for the reset pins (header 2) is unnecessary, as the FPGA pin can be programmed to pull up.&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4498</id>
		<title>Digital control board documentation</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4498"/>
		<updated>2009-07-23T16:02:39Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* Channel Mapping */ fixed DACHEALTH problem&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This documentation covers the most important things to know while testing the digital control board, including component pinouts, nets, and other information.&lt;br /&gt;
&lt;br /&gt;
== Power Requirements ==&lt;br /&gt;
=== Required Voltages ===&lt;br /&gt;
All components on the digital board '''except the DAC''' can be tested using only a +5V source. The DAC requires +5V, -5V, and a high voltage corresponding to 10V higher than the maximum desired DAC output voltage (see [[#Setting the Output Range | Setting the Output Range]]). Digital and analog grounds must be connected as well before any testing takes place.&lt;br /&gt;
&lt;br /&gt;
=== Power Pins ===&lt;br /&gt;
Power shall be connected to the board as follows:&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Voltage'''&lt;br /&gt;
| '''Eurocard Pin'''&lt;br /&gt;
|-&lt;br /&gt;
| DGND &lt;br /&gt;
| A6&lt;br /&gt;
|-&lt;br /&gt;
| AGND &lt;br /&gt;
| A5&lt;br /&gt;
|-&lt;br /&gt;
| +5V &lt;br /&gt;
| A4&lt;br /&gt;
|-&lt;br /&gt;
| -5V &lt;br /&gt;
| A3&lt;br /&gt;
|-&lt;br /&gt;
| High voltage&amp;lt;br&amp;gt;(DAC max out +10)&lt;br /&gt;
| A2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Power Supply Sequencing ===&lt;br /&gt;
The control board is designed such that voltages may be supplied in any order so long as AGND and DGND are connected properly.  However, for initial testing, the preferred order for powering up the board is as follows:&lt;br /&gt;
&lt;br /&gt;
# Ensure AGND/DGND are connected/grounded&lt;br /&gt;
# +5V&lt;br /&gt;
# -5V&lt;br /&gt;
# High voltage&lt;br /&gt;
&lt;br /&gt;
== FPGA ==&lt;br /&gt;
The control board uses a Xilinx XC3S50A VQ100 FPGA. It has a 100 pin footprint and is located in the center of the control board.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The FPGA is powered by the 3.3V power plane, which is regulated by VR1. The FPGA also obtains 1.2V for its internal logic from a 1.2V power island, regulated by VR3.&lt;br /&gt;
&lt;br /&gt;
=== Logic Standard ===&lt;br /&gt;
The Xilinx XC3S50A supports several different digital logic standards. The control board is hard wired such that the FPGA will use a '''3.3V CMOS''' logic standard.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #''' || '''Net Name''' || '''Signal Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| P1 || FPGA/TMS || [JTAG] &lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P2 || FPGA/TDI || [JTAG] &lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P3 || AD7928/CS || SPI_A_iCS&lt;br /&gt;
| SPI chip select for ADC&lt;br /&gt;
|-&lt;br /&gt;
| P4 || SPI || SPI_SDO&lt;br /&gt;
| '''Erroneously wired SPI bus trace'''&amp;lt;br&amp;gt;Now connects to SDO on temp. sensor and on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P5 || CLK_5MHZ || SPI_SCLK&lt;br /&gt;
| 5 MHz clock output for SPI bus (ADC and temp. sensor)&lt;br /&gt;
|-&lt;br /&gt;
| P6 || No connection ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P7 || No connection ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P8 || DGND ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P9 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P10 || No connection ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P11 || +3.3V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P12 || No connection ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P13 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P14 || DGND ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P15 || No connection ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P16 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P17 || +1.2V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P18 || DGND ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P19 || dBinfo_Start ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P20 || dBinfo_Stream ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P21 || No connection ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P22 || +3.3V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P23 || DGND || [M1: JTAG prog. config.]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P24 || DGND || [M2: JTAG prog. config.]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P25 || DGND || [M0: JTAG prog. config.]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P26 || +3.3V ||&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| P27 || FPGA/CLK_IN || fClk&lt;br /&gt;
| 20 MHz clock input from crystal oscillator&lt;br /&gt;
|-&lt;br /&gt;
| P28 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P29 || No connection || (db) state_Q(0)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P30 || No connection || &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P31 || No connection || (db) state_Q(1)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P32 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P33 || No connection || (db) state_Q(2)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P34 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P35 || CP2201/INT || Eth_iINT&lt;br /&gt;
| Ethernet controller interrupt&lt;br /&gt;
|-&lt;br /&gt;
| P36 || MASTER_RESET || Rst&lt;br /&gt;
| Connects to RESET jumper in upper left of board (active-low, externally pulled up)&lt;br /&gt;
|-&lt;br /&gt;
| P37 || (manually wired) || fClk_out&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P38 || +1.2V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P39 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P40 || CP2201/CS || iCS&lt;br /&gt;
| Chip select for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P41 || CP2201/WR || iWR &lt;br /&gt;
| Write enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P42 || DGND ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P43 || CP2201/RD || iRD&lt;br /&gt;
| Read enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P44 || CP2201/ALE || ALE&lt;br /&gt;
| Address line enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P45 || +3.3V ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P46 || CP2201/RESET || Eth_iRst&lt;br /&gt;
| Reset pin for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P47 || DGND ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P48 || FPGA/INIT_B || [JTAG]&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P49 || CP2201/AD0 || AD(0)&lt;br /&gt;
| Ethernet controller address/data bus, bit 0&lt;br /&gt;
|-&lt;br /&gt;
| P50 || CP2201/AD1 || AD(1) &lt;br /&gt;
| Ethernet controller address/data bus, bit 1&lt;br /&gt;
|-&lt;br /&gt;
| P51 || FPGA/DIN || [JTAG]&lt;br /&gt;
| Serial data input from EEPROM for configuration&lt;br /&gt;
|-&lt;br /&gt;
| P52 || CP2201/AD2 || AD(2)&lt;br /&gt;
| Ethernet controller address/data bus, bit 2&lt;br /&gt;
|-&lt;br /&gt;
| P53 || FPGA/CCLK || [JTAG]&lt;br /&gt;
| Configuration clock (signal generated by FPGA at &amp;lt;br&amp;gt;power on to clock the configuration process)&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P54 || FPGA/DONE || [JTAG]&lt;br /&gt;
| Gives configuration status - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P55 || +3.3V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P56 || CP2201/AD3 || AD(3)&lt;br /&gt;
| Ethernet controller address/data bus, bit 3&lt;br /&gt;
|-&lt;br /&gt;
| P57 || CP2201/AD4 || AD(4)&lt;br /&gt;
| Ethernet controller address/data bus, bit 4&lt;br /&gt;
|-&lt;br /&gt;
| P58 || DGND ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P59 || CP2201/AD5 || AD(5)&lt;br /&gt;
| Ethernet controller address/data bus, bit 5&lt;br /&gt;
|-&lt;br /&gt;
| P60 || CP2201/AD6 || AD(6)&lt;br /&gt;
| Ethernet controller address/date bus, bit 6&lt;br /&gt;
|-&lt;br /&gt;
| P61 || CP2201/AD7 || AD(7)&lt;br /&gt;
| Ethernet controller address/date bus, bit 7&lt;br /&gt;
|-&lt;br /&gt;
| P62 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P63 || DGND ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P64 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P65 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P66 || +1.2V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P67 || +3.3V ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P68 || +3.3V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P69 || DGND ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P70 || ID3 || LocStamp(3)&lt;br /&gt;
| Backplane location identifier jumper, pins 3 &amp;amp; 4&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P71 || ID2 || LocStamp(2)&lt;br /&gt;
| Backplane location identifier jumper, pins 5 &amp;amp; 6&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P72 || ID1 || LocStamp(1)&lt;br /&gt;
| Backplane location identifier jumper, pins 7 &amp;amp; 8&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P73 || ID0 || LocStamp(0)&lt;br /&gt;
| Backplane location identifier jumper, pins 9 &amp;amp; 10&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P74 || DGND ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P75 || FPGA/TDO || [JTAG]&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P76 || FPGA/TCK || [JTAG]&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P77 || ID4 || LocStamp(4)&lt;br /&gt;
| Backplane location identifier jumper, pins 1 &amp;amp; 2&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P78 || No connection ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P79 || +3.3V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P80 || DGND ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P81 || +1.2V || &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P82 || No connection || (db) dbShort&lt;br /&gt;
| Shorts out the waiting timer in FPGA for Ethernet controller initialization (pulled low)&lt;br /&gt;
|-&lt;br /&gt;
| P83 || CLK_5MHZ_2 || DAC_Clk&lt;br /&gt;
| 5 MHz clock output for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P84 || No connection ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P85 || AD5535/DIN || DAC_serData&lt;br /&gt;
| DAC serial data input (FPGA out -&amp;gt; DAC in)&lt;br /&gt;
|-&lt;br /&gt;
| P86 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P87 || DGND ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P88 || AD5535/SYNC || DAC_setISync&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P89 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P90 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P91 || DGND ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P92 || +3.3V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P93 || AD7314/CE || SPI_TCE&lt;br /&gt;
| Chip enable for temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| P94 ||  No connection || &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P95 || DGND ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P96 || +3.3V ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P97 || (former AD7928/DOUT) ||&lt;br /&gt;
| '''Erroneously wired ADC SPI bus connection'''&amp;lt;br&amp;gt;Connects to DOUT on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P98 || AD5535/RESET || DAC_iRst &lt;br /&gt;
|Reset pin for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P99 || DGND ||&lt;br /&gt;
| PUDC_B pin - enables pullup resistors on user IO and input-only pins during FPGA config.&lt;br /&gt;
|-&lt;br /&gt;
| P100 || FPGA/PROG_B || [JTAG]&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== EEPROM ==&lt;br /&gt;
To facilitate power-on configuration of the FPGA, the control board includes a Xilinx XCF01S EEPROM. The EEPROM is located to the left of the FPGA, above the JTAG header, and has a 20 pin footprint. The EEPROM is labelled U5.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The EEPROM uses +3.3V exclusively, which it receives from the +3.3V power plane, regulated by VR1.&lt;br /&gt;
&lt;br /&gt;
=== Flashing/Burning/Writing ===&lt;br /&gt;
Whatever you call it, this refers to storing data in the EEPROM so that it can configure the FPGA at power-on. The EEPROM is programmed using a JTAG interface and the Xilinx Platform USB II cable. It is important to note that in digital board's JTAG chain, the EEPROM is the first device in the chain, unlike in the Xilinx documentation where it is shown as the second device. This should not affect the operation of the board, but should be reflected in the Xilinx software when writing the EEPROM via JTAG. &lt;br /&gt;
&lt;br /&gt;
=== FPGA Configuration ===&lt;br /&gt;
The EEPROM and FPGA are hardwired to use a master serial protocol to transfer the program from the EEPROM to the FPGA. This is the protocol recommended in the Xilinx documentation because it minimizes the number of traces necessary to run between the EEPROM and FPGA. All configuration data is sent over a single trace, FPGA/DIN (pin 1 on EEPROM), controlled by the configuration clock signal (FPGA/CCLK) which is automatically generated by the FPGA at power-on. When configuration is complete, FPGA/DONE (pin 10) is pulled high by the FPGA, and the EEPROM and configuration clock are deactivated.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data line&amp;lt;br&amp;gt;Carries data from the EEPROM to the FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock&amp;lt;br&amp;gt;Auto generated by FPGA at power-on, disabled at end of configuration&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| This is the EEPROM's TDI&amp;lt;br&amp;gt;This is the entry point for the onboard JTAG chain&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during configuration&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during configuration - can be used to intiate reconfiguration of FPGA&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Indicates completion of FPGA configuration&amp;lt;br&amp;gt;High when complete&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 12-16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| This is the EEPROM's TDO/FPGA's TDI&lt;br /&gt;
|-&lt;br /&gt;
| 18-20&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== JTAG Header ==&lt;br /&gt;
To write the FPGA's program to the EEPROM, the board employs a JTAG based programming system consistent with Xilinx's recommendations. The system is designed to operate with Xilnx's Platform USB II cable and the flying lead adapter.&lt;br /&gt;
&lt;br /&gt;
===Header Location and Size===&lt;br /&gt;
The header consists of 14 pins, 100 mil pitch, just below the EEPROM (U5). The header is labelled P1. The pitch of the pins in the header was erroneously selected to be 100 mil, which is not compatible with Xilinx's JTAG ribbon cable. Therefore, the Xilinx flying lead adapter must be used.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The JTAG interface is powered by the +3.3V power plane, not by the computer's USB port. Power is supplied through pin 2 of the JTAG header.&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
Note that the header is positioned on the board rotated 180 degrees from the position in which it is shown in the Xilinx documentation. Care must be taken when connecting the flying leads to ensure they are connected to the right pins. Improper wiring will certainly cause undesired operation, and may cause damage as well. Damage is most likely to occur if one of the flying leads is improperly connected to an odd numbered pin, since it will short to the PCB's ground plane. &lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Flying Lead'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1, 3, 5, 7, 9, 11, 13 (odd pins)&lt;br /&gt;
| DGND&lt;br /&gt;
| Black (connect to any odd numbered pin)&lt;br /&gt;
| Ground pins for signal integrity&amp;lt;br&amp;gt;'''Never connect a flying lead other than the black lead to an odd numbered pin'''&amp;lt;br&amp;gt;Doing so will short to ground and may cause permanent damage if the Platform USB II cable does not have protection against this.&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;Red/VREF&amp;lt;/span&amp;gt;&lt;br /&gt;
| Power source for all JTAG logic&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: green&amp;quot;&amp;gt;Green/TMS&amp;lt;/span&amp;gt;&lt;br /&gt;
| JTAG TMS - connects to EEPROM and FPGA &lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: yellow&amp;quot;&amp;gt;Yellow/TCK&amp;lt;/span&amp;gt;&lt;br /&gt;
| JTAG TCK - connects to EEPROM and FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple&amp;quot;&amp;gt;Purple/TDO&amp;lt;/span&amp;gt;&lt;br /&gt;
| JTAG  boundary scan chain endpoint&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| White/TDI&lt;br /&gt;
| JTAG boundary scan chain start point&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|}&lt;br /&gt;
''The gray HALT flying lead is not connected.''&lt;br /&gt;
&lt;br /&gt;
===JTAG Overview===&lt;br /&gt;
The JTAG interface is clocked by the TCK signal. TCK is generated by the Platform USB II cable, and connects directly from the JTAG header to both the EEPROM and FPGA.&lt;br /&gt;
&lt;br /&gt;
The TMS signal is directly connected to both the EEPROM and FPGA, and is the data line over which JTAG test results (in this case programming results) are sent. TMS is used by only one component at a time.&lt;br /&gt;
&lt;br /&gt;
The TDI/TDO lines form a chain that connects to each JTAG component in series. On the control board, the first point in the chain is the EEPROM's TDI. Next is the EEPROM's TDO, which is the same as the FPGA's TDI. The FPGA's TDO then returns to the JTAG header and the Platform USB II cable.&lt;br /&gt;
&lt;br /&gt;
== DAC ==&lt;br /&gt;
The control board uses the Analog Devices AD5535, 32-channel, 200V max, digital to analog converter. This chip has a modified BC-124 BGA footprint and is located above the Eurocard connector at the bottom of the board. It is labelled U3.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The DAC is primarily powered by the +5V power island, regulated by an off-board power supply and extensively decoupled in the area of the DAC. The DAC also requires -5V, and a high voltage as discussed in [[#Power Requirements | Power Requirements]]. Both of these voltages are supplied by an off-board supply and decoupled near the DAC. In addition to these voltage levels, the DAC requires a precise +2.5V reference, created by the shunt-type voltage reference VR4.&lt;br /&gt;
&lt;br /&gt;
=== Setting the Output Range ===&lt;br /&gt;
The output range of the DAC is set by the 2.5V reference voltage supplied by VR4. The high voltage power supply must supply at a minimum 50 times this voltage, plus 10. Thus, the high voltage power supply should be at least 135V for DAC to operate properly, even though the SiPMs are expected to need only 40V. If it is convenient to use a lower high voltage, VR4 must be replaced to provide lower reference voltage. The high voltage may then be decreased appropriately. To summarize:&lt;br /&gt;
&lt;br /&gt;
* Max output voltage = VREF*50&lt;br /&gt;
* Minimum high voltage supply = VREF*50 + 10&lt;br /&gt;
* Acceptable range for VREF&lt;br /&gt;
** Min: 1V&lt;br /&gt;
** Max: 3.75V (AD5535 datasheet specifies 4V max, but this would require AVCC of 5.25V for the DAC, which is not possible in the current board design)&lt;br /&gt;
&lt;br /&gt;
If relevant, R13 is a 100K resistor.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Diode ===&lt;br /&gt;
The DAC has a built in thermal diode. The diode drop from anode to cathode is typically 0.65V at 25&amp;amp;deg;C. It changes at a rate of -2.20mV/&amp;amp;deg;C. The anode of this diode is connected to the +5V power island, and the cathode is connected to a 270K resistor to ground. The voltage between the cathode and the resistor is connected to VIN1 (pin 15) on the ADC.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
See documentation from Analog Devices.&lt;br /&gt;
&lt;br /&gt;
=== Channel Mapping ===&lt;br /&gt;
Due to the layout of the balls on the footprint of the DAC, the DAC's internal channel numbers (which must be referenced by the FPGA) have no correlation to the channel numbers on the amplifier board. This table summarizes the mapping between various pins that belong to each channel.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''DAC Channel #'''&lt;br /&gt;
| '''DAC Pin #'''&lt;br /&gt;
| '''Digital Board Eurocard Pin #'''&lt;br /&gt;
| '''Amplifier Board Eurocard Pin #'''&lt;br /&gt;
| '''Amplifier Channel #'''&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| B1&lt;br /&gt;
| B3&lt;br /&gt;
| B6&lt;br /&gt;
| 6&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| A2&lt;br /&gt;
| C4&lt;br /&gt;
| B7&lt;br /&gt;
| 7&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| D1&lt;br /&gt;
| B2&lt;br /&gt;
| B4&lt;br /&gt;
| 4&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| C2&lt;br /&gt;
| C3&lt;br /&gt;
| B5&lt;br /&gt;
| 5&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| B3&lt;br /&gt;
| B4&lt;br /&gt;
| B8&lt;br /&gt;
| 8&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| E2&lt;br /&gt;
| C2&lt;br /&gt;
| B3&lt;br /&gt;
| 3&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| F3&lt;br /&gt;
| B1&lt;br /&gt;
| B2&lt;br /&gt;
| 2&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| A4&lt;br /&gt;
| B5&lt;br /&gt;
| B10&lt;br /&gt;
| 10&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| E4&lt;br /&gt;
| C5&lt;br /&gt;
| B9&lt;br /&gt;
| 9&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| B5&lt;br /&gt;
| C6&lt;br /&gt;
| B11&lt;br /&gt;
| 11&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| F5&lt;br /&gt;
| C1&lt;br /&gt;
| B1&lt;br /&gt;
| 1&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| A6&lt;br /&gt;
| C7&lt;br /&gt;
| B13&lt;br /&gt;
| 13&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| E6&lt;br /&gt;
| B6&lt;br /&gt;
| B12&lt;br /&gt;
| 12&lt;br /&gt;
|-&lt;br /&gt;
| 13&lt;br /&gt;
| B7&lt;br /&gt;
| B7&lt;br /&gt;
| B14&lt;br /&gt;
| 14&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| F7&lt;br /&gt;
| C10&lt;br /&gt;
| B19&lt;br /&gt;
| 19&lt;br /&gt;
|-&lt;br /&gt;
| 15&lt;br /&gt;
| E8&lt;br /&gt;
| C8&lt;br /&gt;
| B15&lt;br /&gt;
| 15&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| A8&lt;br /&gt;
| B8&lt;br /&gt;
| B16&lt;br /&gt;
| 16&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| B9&lt;br /&gt;
| C9&lt;br /&gt;
| B17&lt;br /&gt;
| 17&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| F9&lt;br /&gt;
| C16&lt;br /&gt;
| B31&lt;br /&gt;
| GAINMODE&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| E10&lt;br /&gt;
| B11&lt;br /&gt;
| B22&lt;br /&gt;
| 22&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| A10&lt;br /&gt;
| B9&lt;br /&gt;
| B18&lt;br /&gt;
| 18&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| B11&lt;br /&gt;
| B10&lt;br /&gt;
| B20&lt;br /&gt;
| 20&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| C12&lt;br /&gt;
| B12&lt;br /&gt;
| B24&lt;br /&gt;
| 24&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| D13&lt;br /&gt;
| B13&lt;br /&gt;
| B26&lt;br /&gt;
| 26&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| E12&lt;br /&gt;
| B14&lt;br /&gt;
| B28&lt;br /&gt;
| 28&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| A12&lt;br /&gt;
| C11&lt;br /&gt;
| B21&lt;br /&gt;
| 21&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| B13&lt;br /&gt;
| C12&lt;br /&gt;
| B23&lt;br /&gt;
| 23&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| H13&lt;br /&gt;
| B16&lt;br /&gt;
| B30&lt;br /&gt;
| 30&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| G14&lt;br /&gt;
| B15&lt;br /&gt;
| B27&lt;br /&gt;
| 27&lt;br /&gt;
|-&lt;br /&gt;
| 29&lt;br /&gt;
| C14&lt;br /&gt;
| C13&lt;br /&gt;
| B25&lt;br /&gt;
| 25&lt;br /&gt;
|-&lt;br /&gt;
| 30&lt;br /&gt;
| F13&lt;br /&gt;
| C15&lt;br /&gt;
| B29&lt;br /&gt;
| 29&lt;br /&gt;
|-&lt;br /&gt;
| 31&lt;br /&gt;
| E14&lt;br /&gt;
| C14&lt;br /&gt;
| Not connected&lt;br /&gt;
| No amplifier connection&amp;lt;br&amp;gt;DACHEALTH&amp;lt;br&amp;gt;See [[#Channel Descriptions | ADC Channel Descriptions]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==ADC==&lt;br /&gt;
The board includes an Analog Devices AD7928 analog to digital converter. The ADC is located just to the right and slightly below the FPGA. It is labelled U4.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The ADC is powered by the +5V power island, which is regulated by an off-board power supply and decoupled near the ADC. It also requires a precise (&amp;amp;plusmn;1%) 2.5V reference to which it compares voltages when converting from analog to digital. Since the +5V power source is not used for comparison, it is flexible and may vary by &amp;amp;plusmn;0.25V without affecting ADC precision.&lt;br /&gt;
&lt;br /&gt;
===Setting the Measuring Range===&lt;br /&gt;
The measuring range is set programmatically by the FPGA over the SPI bus. The way the ADC is connected on the digital board requires that its measuring range be set to 5V, so the RANGE bit should be set to 1 by the FPGA (see Analog Devices documentation).&lt;br /&gt;
&lt;br /&gt;
===Data Interfacing===&lt;br /&gt;
The ADC uses an SPI bus to communicate with the FPGA. This bus is shared with the temperature sensor. SPI related pins include SCLK, CS, DIN, and DOUT. See the Pinout Table below.&lt;br /&gt;
&lt;br /&gt;
===Channel Descriptions===&lt;br /&gt;
This table shows what signals are monitored by the ADC.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''ADC Channel #'''&lt;br /&gt;
| '''ADC Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| VIN0&lt;br /&gt;
| 16&lt;br /&gt;
| AD7928/VHEALTH&lt;br /&gt;
| This net helps to monitor to overall health of power on the board, but is specifically intended to monitor -5V. It's voltage is the output of a resistor divider between the +5 and -5V power supplies, with resistor values of 33.2K, and 100K. Assuming +5V and -5V are both correct, the output of the divider will be +2.51V. A reading of other than 2.51V indicates a problem with one of the power supplies. Problems with the +5V power supply can be ruled out by reading VIN3. Based on the reading from VIN3, the voltage of the -5V supply can be calculated.&lt;br /&gt;
|-&lt;br /&gt;
| VIN1&lt;br /&gt;
| 15&lt;br /&gt;
| AD5535/CATHODE&lt;br /&gt;
| This is the thermal diode output from the DAC. Should read 4.35V (typical) at 25&amp;amp;deg;C. Drops 2.20mV/&amp;amp;deg;C.&lt;br /&gt;
|-&lt;br /&gt;
| VIN2&lt;br /&gt;
| 14&lt;br /&gt;
| +3.3V&lt;br /&gt;
| This is the +3.3V power plane. A reading of other than +3.3V indicates a problem with VR1.&lt;br /&gt;
|-&lt;br /&gt;
| VIN3&lt;br /&gt;
| 13&lt;br /&gt;
| +5V&lt;br /&gt;
| This is the +5V power island. A reading of other than +5V indicates a problem with the +5V power supply.&lt;br /&gt;
|-&lt;br /&gt;
| VIN4&lt;br /&gt;
| 12&lt;br /&gt;
| ADC_EXT1&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A7. It is intended to measure the output of thermistor on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN5&lt;br /&gt;
| 11&lt;br /&gt;
| +1.2V&lt;br /&gt;
| This is the +1.2V power island. This island powers the internal logic of the FPGA. A reading of other than 1.2V indicates a problem with VR3.&lt;br /&gt;
|-&lt;br /&gt;
| VIN6&lt;br /&gt;
| 10&lt;br /&gt;
| ADC_EXT2&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A8. It is intended to measure one of the transistor base voltages on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN7&lt;br /&gt;
| 9&lt;br /&gt;
| DACHEALTH&lt;br /&gt;
| This channel monitors the output of a resistor divider connected to channel 31 of the DAC. The divider consists of three resistors of 200K, 200K, and 10.2K (in order). The ADC reads out the voltage level between the second 200K and then 10.2K resistor. These resistors were selected so that at 200V, the readout voltage will be 4.973V. Since the divider should be linear, the expected voltage at 20V is 0.4973V. Three resistors were used rather than two to avoid exceeding the resistors' power ratings when the DAC is set to its maximum voltage. Note that since this divider will consume up to 484uA of current at 200V, this DAC channel should not be used for anything that might require more than ~200uA of current (the DAC can source 700uA max). The channel is routed to the backplane nonetheless.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| SPI clock (SCLK), from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| DIN&lt;br /&gt;
| SPI data in, from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&amp;lt;br&amp;gt;''Currently wired wrong''&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| CS&lt;br /&gt;
| SPI chip select&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| AD7928/REF_IN&lt;br /&gt;
| +2.5V reference, set by VR2&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9-16&lt;br /&gt;
| VIN[7:0]&lt;br /&gt;
| See [[#Channel Descriptions | ADC Channel Descriptions]]&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| DOUT&lt;br /&gt;
| SPI data out&amp;lt;br&amp;gt;''Currently wired incorrectly''&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| +3.3V&lt;br /&gt;
| VDRIVE, powers the SPI logic&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Ethernet Controller ==&lt;br /&gt;
The board uses a Silicon Laboratories CP2201, 28-pin, ethernet controller. The CP2201 is located just above the FPGA, and is labelled U2.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The CP2201 uses only +3.3V, which is supplied by the +3.3V power plane and regulated by VR1. Appropriate decoupling capacitors can be found near the CP2201.&lt;br /&gt;
&lt;br /&gt;
=== Ethernet Jack ===&lt;br /&gt;
To the right of the CP2201 is a Pulse J0011D21NL ethernet jack, labelled J1. This jack has a built-in 1:1 inductive coupling. For best results, connect this jack to a nearby ethernet switch. The jack may also be connected directly to a computer using a crossover cable. Though auto-crossover is not supported by the CP2201, if the computer's NIC supports it, a crossover cable is not necessary to connect directly to a computer.&lt;br /&gt;
&lt;br /&gt;
==== Ethernet Jack Pins ====&lt;br /&gt;
These are visible only on the back side of the board. Pin 1 is indicated by a square pad. Pin 8 is the farthest pin from pin 1. Pins are numbered such that the 4 pins closer to the plastic thru-hole connectors are odd (1, 3, 5, 7), and the four pins closer to the CP2201 are are even (2, 4, 6, 8).&lt;br /&gt;
&lt;br /&gt;
* Pin 1: TX+&lt;br /&gt;
* Pin 2: AC coupled to DGND&lt;br /&gt;
* Pin 3: TX-&lt;br /&gt;
* Pin 4: RX+&lt;br /&gt;
* Pin 5: AC coupled to DGND&lt;br /&gt;
* Pin 6: RX-&lt;br /&gt;
* Pin 7: No connection&lt;br /&gt;
* Pin 8: DGND (direct)&lt;br /&gt;
&lt;br /&gt;
The two large thru-hole pins (not numbered) connect to the metal shielding on the outside of the jack. These are directly connected to DGND to shield against electrical noise inside the jack.&lt;br /&gt;
&lt;br /&gt;
The two plastic thru-hole pins are not conductive and have no electrical connection. They are present only for structural purposes, presumably to prevent stress on the solder points when an ethernet wire is inserted or removed from the jack.&lt;br /&gt;
&lt;br /&gt;
=== Crystal Oscillator ===&lt;br /&gt;
The CP2201 is responsible for driving the 20MHz crystal oscillator. This oscillator clocks both the CP2201 and the FPGA. The crystal oscillator can be found above the right corner of the FPGA. It can be identified by its four surface mount pads and roughly .3&amp;quot; length. It is labelled Y1, though this label is not visible after the oscillator is soldered on. The CP2201 uses an inverting driver to excite the crystal. The output of the crystal is then sent to the CP2201 and the FPGA.&lt;br /&gt;
&lt;br /&gt;
=== Bus Format and Multiplexing ===&lt;br /&gt;
The 28-pin CP2201 used on the board only supports multiplexed operation. This means that both address and data information are passed over the same set of 8 traces. Hence, these traces are referred to as the address/data (AD) bus. A separate address line enable (ALE) trace prevents collisions from occuring on these traces. The communication protocol used is the Intel format. See the CP2201's datasheet for more information about this.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| CP2201/LA&lt;br /&gt;
| Link/activity indicator&amp;lt;br&amp;gt;Routed to backplane but not implemented&amp;lt;br&amp;gt;See CP2201 data sheet for information on how to connect to an LED&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| DGND&lt;br /&gt;
| By the data sheet, this pin should be AGND&amp;lt;br&amp;gt;We deliberately set it to DGND to avoid noise on AGND plane&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| +3.3V&lt;br /&gt;
| AV+ power pin&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| CP2201/RX-&lt;br /&gt;
| Connects to RX- on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| CP2201/RX+&lt;br /&gt;
| Connects to RX+ on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| CP2201/TX+&lt;br /&gt;
| Connects to TX+ on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| CP2201/TX-&lt;br /&gt;
| Connects to TX- on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;quot;VDD&amp;quot; power pin&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;DGND1&amp;quot; per the data sheet&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| CP2201/RESET&lt;br /&gt;
| &amp;quot;RST&amp;quot; per the data sheet&amp;lt;br&amp;gt;Connects to FPGA - should be programmatically triggered upon reset of FPGA by RESET jumper&lt;br /&gt;
|-&lt;br /&gt;
| 11-18&lt;br /&gt;
| CP2201/AD[0:7]&lt;br /&gt;
| Bits 0-7 of the address/data bus&amp;lt;br&amp;gt;Connect to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;quot;VDD&amp;quot; power pin&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;DGND2&amp;quot; per the data sheet&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| CP2201/ALE&lt;br /&gt;
| Address line enable&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| CP2201/RD&lt;br /&gt;
| Read strobe for AD bus&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| CP2201/WR&lt;br /&gt;
| Write strobe for AD bus&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| CP2201/CS&lt;br /&gt;
| Chip select&amp;lt;br&amp;gt;Connects to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| CP2201/INT&lt;br /&gt;
| Interrupt request&amp;lt;br&amp;gt;Connects to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;MOTEN&amp;quot; (Motorola enable) per the datasheet&amp;lt;br&amp;gt;Tied low to disable Motorola bus format (enable Intel format)&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| CP2201/XTAL2&lt;br /&gt;
| Crystal oscillator driver&amp;lt;br&amp;gt;The CP2201 inverts the 20MHz clock signal and feeds it back to the crystal oscillator to encourage larger oscillations&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| FPGA/CLK_IN&lt;br /&gt;
| &amp;quot;XTAL1&amp;quot; per the data sheet&amp;lt;br&amp;gt;This is the 20MHz clock input&amp;lt;br&amp;gt;Also connects to the FPGA's clock input&lt;br /&gt;
|- &lt;br /&gt;
| 29*&lt;br /&gt;
| DGND&lt;br /&gt;
| This is not a pin but rather the base of the CP2201 package.&amp;lt;br&amp;gt;It is connected to the DGND plane for thermal relief&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Eurocard Connector ==&lt;br /&gt;
At the bottom of the control board is the Eurocard connector, labelled P2. The Eurocard connector connects the board to the backplane and also connects the board to its power supplies. The Eurocard has 48 pins arranged in three rows of 16 pins each. Rows B and C are exclusively used to pass SiPM bias voltages to the backplane as described in [[#Channel Mapping | DAC Channel Mapping]]. Here is a table describing the purpose of pins in row A:&lt;br /&gt;
&lt;br /&gt;
=== Row A Pinout Table ===&lt;br /&gt;
Note that when viewing the front side of the board with the Eurocard at the bottom, these pins go from right to left. If you look closely at the pins, you will see that pin A1 has a square pad, unlike the round pads of the others.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| A1&lt;br /&gt;
| CP2201/LA&lt;br /&gt;
| Ethernet link/activity indicator routed to backplane&lt;br /&gt;
|-&lt;br /&gt;
| A2&lt;br /&gt;
| High voltage input (+210V max)&lt;br /&gt;
| High voltage input for DAC. See [[#DAC | DAC]] for information about what voltage to input here.&lt;br /&gt;
|-&lt;br /&gt;
| A3&lt;br /&gt;
| -5V&lt;br /&gt;
| For DAC&lt;br /&gt;
|-&lt;br /&gt;
| A4&lt;br /&gt;
| +5V&lt;br /&gt;
| Powers most things on the board&lt;br /&gt;
|-&lt;br /&gt;
| A5&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A6&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| A7&lt;br /&gt;
| ADC_EXT1&lt;br /&gt;
| Connects to ADC to monitor voltages on amplifier board&amp;lt;br&amp;gt;See [[#ADC | ADC]]&lt;br /&gt;
|-&lt;br /&gt;
| A8&lt;br /&gt;
| ADC_EXT2&lt;br /&gt;
| Connects to ADC to monitor voltages on amplifier board&amp;lt;br&amp;gt;See [[#ADC | ADC]]&lt;br /&gt;
|-&lt;br /&gt;
| A9&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A10&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| A11&lt;br /&gt;
| No conneciton&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A12&lt;br /&gt;
| ID4&lt;br /&gt;
| Location identifier bit 4&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A13&lt;br /&gt;
| ID3&lt;br /&gt;
| Location identifier bit 3&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A14&lt;br /&gt;
| ID2&lt;br /&gt;
| Location identifier bit 2&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A15&lt;br /&gt;
| ID1&lt;br /&gt;
| Location identifier bit 1&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A16&lt;br /&gt;
| ID0&lt;br /&gt;
| Location identifier bit 0&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4497</id>
		<title>Digital control board documentation</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4497"/>
		<updated>2009-07-23T15:39:29Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* Channel Mapping */ corrections&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This documentation covers the most important things to know while testing the digital control board, including component pinouts, nets, and other information.&lt;br /&gt;
&lt;br /&gt;
== Power Requirements ==&lt;br /&gt;
=== Required Voltages ===&lt;br /&gt;
All components on the digital board '''except the DAC''' can be tested using only a +5V source. The DAC requires +5V, -5V, and a high voltage corresponding to 10V higher than the maximum desired DAC output voltage (see [[#Setting the Output Range | Setting the Output Range]]). Digital and analog grounds must be connected as well before any testing takes place.&lt;br /&gt;
&lt;br /&gt;
=== Power Pins ===&lt;br /&gt;
Power shall be connected to the board as follows:&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Voltage'''&lt;br /&gt;
| '''Eurocard Pin'''&lt;br /&gt;
|-&lt;br /&gt;
| DGND &lt;br /&gt;
| A6&lt;br /&gt;
|-&lt;br /&gt;
| AGND &lt;br /&gt;
| A5&lt;br /&gt;
|-&lt;br /&gt;
| +5V &lt;br /&gt;
| A4&lt;br /&gt;
|-&lt;br /&gt;
| -5V &lt;br /&gt;
| A3&lt;br /&gt;
|-&lt;br /&gt;
| High voltage&amp;lt;br&amp;gt;(DAC max out +10)&lt;br /&gt;
| A2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Power Supply Sequencing ===&lt;br /&gt;
The control board is designed such that voltages may be supplied in any order so long as AGND and DGND are connected properly.  However, for initial testing, the preferred order for powering up the board is as follows:&lt;br /&gt;
&lt;br /&gt;
# Ensure AGND/DGND are connected/grounded&lt;br /&gt;
# +5V&lt;br /&gt;
# -5V&lt;br /&gt;
# High voltage&lt;br /&gt;
&lt;br /&gt;
== FPGA ==&lt;br /&gt;
The control board uses a Xilinx XC3S50A VQ100 FPGA. It has a 100 pin footprint and is located in the center of the control board.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The FPGA is powered by the 3.3V power plane, which is regulated by VR1. The FPGA also obtains 1.2V for its internal logic from a 1.2V power island, regulated by VR3.&lt;br /&gt;
&lt;br /&gt;
=== Logic Standard ===&lt;br /&gt;
The Xilinx XC3S50A supports several different digital logic standards. The control board is hard wired such that the FPGA will use a '''3.3V CMOS''' logic standard.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #''' || '''Net Name''' || '''Signal Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| P1 || FPGA/TMS || [JTAG] &lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P2 || FPGA/TDI || [JTAG] &lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P3 || AD7928/CS || SPI_A_iCS&lt;br /&gt;
| SPI chip select for ADC&lt;br /&gt;
|-&lt;br /&gt;
| P4 || SPI || SPI_SDO&lt;br /&gt;
| '''Erroneously wired SPI bus trace'''&amp;lt;br&amp;gt;Now connects to SDO on temp. sensor and on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P5 || CLK_5MHZ || SPI_SCLK&lt;br /&gt;
| 5 MHz clock output for SPI bus (ADC and temp. sensor)&lt;br /&gt;
|-&lt;br /&gt;
| P6 || No connection ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P7 || No connection ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P8 || DGND ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P9 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P10 || No connection ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P11 || +3.3V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P12 || No connection ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P13 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P14 || DGND ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P15 || No connection ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P16 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P17 || +1.2V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P18 || DGND ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P19 || dBinfo_Start ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P20 || dBinfo_Stream ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P21 || No connection ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P22 || +3.3V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P23 || DGND || [M1: JTAG prog. config.]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P24 || DGND || [M2: JTAG prog. config.]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P25 || DGND || [M0: JTAG prog. config.]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P26 || +3.3V ||&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| P27 || FPGA/CLK_IN || fClk&lt;br /&gt;
| 20 MHz clock input from crystal oscillator&lt;br /&gt;
|-&lt;br /&gt;
| P28 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P29 || No connection || (db) state_Q(0)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P30 || No connection || &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P31 || No connection || (db) state_Q(1)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P32 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P33 || No connection || (db) state_Q(2)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P34 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P35 || CP2201/INT || Eth_iINT&lt;br /&gt;
| Ethernet controller interrupt&lt;br /&gt;
|-&lt;br /&gt;
| P36 || MASTER_RESET || Rst&lt;br /&gt;
| Connects to RESET jumper in upper left of board (active-low, externally pulled up)&lt;br /&gt;
|-&lt;br /&gt;
| P37 || (manually wired) || fClk_out&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P38 || +1.2V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P39 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P40 || CP2201/CS || iCS&lt;br /&gt;
| Chip select for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P41 || CP2201/WR || iWR &lt;br /&gt;
| Write enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P42 || DGND ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P43 || CP2201/RD || iRD&lt;br /&gt;
| Read enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P44 || CP2201/ALE || ALE&lt;br /&gt;
| Address line enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P45 || +3.3V ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P46 || CP2201/RESET || Eth_iRst&lt;br /&gt;
| Reset pin for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P47 || DGND ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P48 || FPGA/INIT_B || [JTAG]&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P49 || CP2201/AD0 || AD(0)&lt;br /&gt;
| Ethernet controller address/data bus, bit 0&lt;br /&gt;
|-&lt;br /&gt;
| P50 || CP2201/AD1 || AD(1) &lt;br /&gt;
| Ethernet controller address/data bus, bit 1&lt;br /&gt;
|-&lt;br /&gt;
| P51 || FPGA/DIN || [JTAG]&lt;br /&gt;
| Serial data input from EEPROM for configuration&lt;br /&gt;
|-&lt;br /&gt;
| P52 || CP2201/AD2 || AD(2)&lt;br /&gt;
| Ethernet controller address/data bus, bit 2&lt;br /&gt;
|-&lt;br /&gt;
| P53 || FPGA/CCLK || [JTAG]&lt;br /&gt;
| Configuration clock (signal generated by FPGA at &amp;lt;br&amp;gt;power on to clock the configuration process)&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P54 || FPGA/DONE || [JTAG]&lt;br /&gt;
| Gives configuration status - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P55 || +3.3V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P56 || CP2201/AD3 || AD(3)&lt;br /&gt;
| Ethernet controller address/data bus, bit 3&lt;br /&gt;
|-&lt;br /&gt;
| P57 || CP2201/AD4 || AD(4)&lt;br /&gt;
| Ethernet controller address/data bus, bit 4&lt;br /&gt;
|-&lt;br /&gt;
| P58 || DGND ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P59 || CP2201/AD5 || AD(5)&lt;br /&gt;
| Ethernet controller address/data bus, bit 5&lt;br /&gt;
|-&lt;br /&gt;
| P60 || CP2201/AD6 || AD(6)&lt;br /&gt;
| Ethernet controller address/date bus, bit 6&lt;br /&gt;
|-&lt;br /&gt;
| P61 || CP2201/AD7 || AD(7)&lt;br /&gt;
| Ethernet controller address/date bus, bit 7&lt;br /&gt;
|-&lt;br /&gt;
| P62 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P63 || DGND ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P64 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P65 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P66 || +1.2V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P67 || +3.3V ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P68 || +3.3V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P69 || DGND ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P70 || ID3 || LocStamp(3)&lt;br /&gt;
| Backplane location identifier jumper, pins 3 &amp;amp; 4&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P71 || ID2 || LocStamp(2)&lt;br /&gt;
| Backplane location identifier jumper, pins 5 &amp;amp; 6&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P72 || ID1 || LocStamp(1)&lt;br /&gt;
| Backplane location identifier jumper, pins 7 &amp;amp; 8&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P73 || ID0 || LocStamp(0)&lt;br /&gt;
| Backplane location identifier jumper, pins 9 &amp;amp; 10&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P74 || DGND ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P75 || FPGA/TDO || [JTAG]&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P76 || FPGA/TCK || [JTAG]&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P77 || ID4 || LocStamp(4)&lt;br /&gt;
| Backplane location identifier jumper, pins 1 &amp;amp; 2&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P78 || No connection ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P79 || +3.3V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P80 || DGND ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P81 || +1.2V || &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P82 || No connection || (db) dbShort&lt;br /&gt;
| Shorts out the waiting timer in FPGA for Ethernet controller initialization (pulled low)&lt;br /&gt;
|-&lt;br /&gt;
| P83 || CLK_5MHZ_2 || DAC_Clk&lt;br /&gt;
| 5 MHz clock output for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P84 || No connection ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P85 || AD5535/DIN || DAC_serData&lt;br /&gt;
| DAC serial data input (FPGA out -&amp;gt; DAC in)&lt;br /&gt;
|-&lt;br /&gt;
| P86 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P87 || DGND ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P88 || AD5535/SYNC || DAC_setISync&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P89 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P90 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P91 || DGND ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P92 || +3.3V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P93 || AD7314/CE || SPI_TCE&lt;br /&gt;
| Chip enable for temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| P94 ||  No connection || &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P95 || DGND ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P96 || +3.3V ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P97 || (former AD7928/DOUT) ||&lt;br /&gt;
| '''Erroneously wired ADC SPI bus connection'''&amp;lt;br&amp;gt;Connects to DOUT on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P98 || AD5535/RESET || DAC_iRst &lt;br /&gt;
|Reset pin for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P99 || DGND ||&lt;br /&gt;
| PUDC_B pin - enables pullup resistors on user IO and input-only pins during FPGA config.&lt;br /&gt;
|-&lt;br /&gt;
| P100 || FPGA/PROG_B || [JTAG]&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== EEPROM ==&lt;br /&gt;
To facilitate power-on configuration of the FPGA, the control board includes a Xilinx XCF01S EEPROM. The EEPROM is located to the left of the FPGA, above the JTAG header, and has a 20 pin footprint. The EEPROM is labelled U5.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The EEPROM uses +3.3V exclusively, which it receives from the +3.3V power plane, regulated by VR1.&lt;br /&gt;
&lt;br /&gt;
=== Flashing/Burning/Writing ===&lt;br /&gt;
Whatever you call it, this refers to storing data in the EEPROM so that it can configure the FPGA at power-on. The EEPROM is programmed using a JTAG interface and the Xilinx Platform USB II cable. It is important to note that in digital board's JTAG chain, the EEPROM is the first device in the chain, unlike in the Xilinx documentation where it is shown as the second device. This should not affect the operation of the board, but should be reflected in the Xilinx software when writing the EEPROM via JTAG. &lt;br /&gt;
&lt;br /&gt;
=== FPGA Configuration ===&lt;br /&gt;
The EEPROM and FPGA are hardwired to use a master serial protocol to transfer the program from the EEPROM to the FPGA. This is the protocol recommended in the Xilinx documentation because it minimizes the number of traces necessary to run between the EEPROM and FPGA. All configuration data is sent over a single trace, FPGA/DIN (pin 1 on EEPROM), controlled by the configuration clock signal (FPGA/CCLK) which is automatically generated by the FPGA at power-on. When configuration is complete, FPGA/DONE (pin 10) is pulled high by the FPGA, and the EEPROM and configuration clock are deactivated.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data line&amp;lt;br&amp;gt;Carries data from the EEPROM to the FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock&amp;lt;br&amp;gt;Auto generated by FPGA at power-on, disabled at end of configuration&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| This is the EEPROM's TDI&amp;lt;br&amp;gt;This is the entry point for the onboard JTAG chain&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during configuration&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during configuration - can be used to intiate reconfiguration of FPGA&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Indicates completion of FPGA configuration&amp;lt;br&amp;gt;High when complete&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 12-16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| This is the EEPROM's TDO/FPGA's TDI&lt;br /&gt;
|-&lt;br /&gt;
| 18-20&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== JTAG Header ==&lt;br /&gt;
To write the FPGA's program to the EEPROM, the board employs a JTAG based programming system consistent with Xilinx's recommendations. The system is designed to operate with Xilnx's Platform USB II cable and the flying lead adapter.&lt;br /&gt;
&lt;br /&gt;
===Header Location and Size===&lt;br /&gt;
The header consists of 14 pins, 100 mil pitch, just below the EEPROM (U5). The header is labelled P1. The pitch of the pins in the header was erroneously selected to be 100 mil, which is not compatible with Xilinx's JTAG ribbon cable. Therefore, the Xilinx flying lead adapter must be used.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The JTAG interface is powered by the +3.3V power plane, not by the computer's USB port. Power is supplied through pin 2 of the JTAG header.&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
Note that the header is positioned on the board rotated 180 degrees from the position in which it is shown in the Xilinx documentation. Care must be taken when connecting the flying leads to ensure they are connected to the right pins. Improper wiring will certainly cause undesired operation, and may cause damage as well. Damage is most likely to occur if one of the flying leads is improperly connected to an odd numbered pin, since it will short to the PCB's ground plane. &lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Flying Lead'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1, 3, 5, 7, 9, 11, 13 (odd pins)&lt;br /&gt;
| DGND&lt;br /&gt;
| Black (connect to any odd numbered pin)&lt;br /&gt;
| Ground pins for signal integrity&amp;lt;br&amp;gt;'''Never connect a flying lead other than the black lead to an odd numbered pin'''&amp;lt;br&amp;gt;Doing so will short to ground and may cause permanent damage if the Platform USB II cable does not have protection against this.&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;Red/VREF&amp;lt;/span&amp;gt;&lt;br /&gt;
| Power source for all JTAG logic&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: green&amp;quot;&amp;gt;Green/TMS&amp;lt;/span&amp;gt;&lt;br /&gt;
| JTAG TMS - connects to EEPROM and FPGA &lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: yellow&amp;quot;&amp;gt;Yellow/TCK&amp;lt;/span&amp;gt;&lt;br /&gt;
| JTAG TCK - connects to EEPROM and FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple&amp;quot;&amp;gt;Purple/TDO&amp;lt;/span&amp;gt;&lt;br /&gt;
| JTAG  boundary scan chain endpoint&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| White/TDI&lt;br /&gt;
| JTAG boundary scan chain start point&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|}&lt;br /&gt;
''The gray HALT flying lead is not connected.''&lt;br /&gt;
&lt;br /&gt;
===JTAG Overview===&lt;br /&gt;
The JTAG interface is clocked by the TCK signal. TCK is generated by the Platform USB II cable, and connects directly from the JTAG header to both the EEPROM and FPGA.&lt;br /&gt;
&lt;br /&gt;
The TMS signal is directly connected to both the EEPROM and FPGA, and is the data line over which JTAG test results (in this case programming results) are sent. TMS is used by only one component at a time.&lt;br /&gt;
&lt;br /&gt;
The TDI/TDO lines form a chain that connects to each JTAG component in series. On the control board, the first point in the chain is the EEPROM's TDI. Next is the EEPROM's TDO, which is the same as the FPGA's TDI. The FPGA's TDO then returns to the JTAG header and the Platform USB II cable.&lt;br /&gt;
&lt;br /&gt;
== DAC ==&lt;br /&gt;
The control board uses the Analog Devices AD5535, 32-channel, 200V max, digital to analog converter. This chip has a modified BC-124 BGA footprint and is located above the Eurocard connector at the bottom of the board. It is labelled U3.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The DAC is primarily powered by the +5V power island, regulated by an off-board power supply and extensively decoupled in the area of the DAC. The DAC also requires -5V, and a high voltage as discussed in [[#Power Requirements | Power Requirements]]. Both of these voltages are supplied by an off-board supply and decoupled near the DAC. In addition to these voltage levels, the DAC requires a precise +2.5V reference, created by the shunt-type voltage reference VR4.&lt;br /&gt;
&lt;br /&gt;
=== Setting the Output Range ===&lt;br /&gt;
The output range of the DAC is set by the 2.5V reference voltage supplied by VR4. The high voltage power supply must supply at a minimum 50 times this voltage, plus 10. Thus, the high voltage power supply should be at least 135V for DAC to operate properly, even though the SiPMs are expected to need only 40V. If it is convenient to use a lower high voltage, VR4 must be replaced to provide lower reference voltage. The high voltage may then be decreased appropriately. To summarize:&lt;br /&gt;
&lt;br /&gt;
* Max output voltage = VREF*50&lt;br /&gt;
* Minimum high voltage supply = VREF*50 + 10&lt;br /&gt;
* Acceptable range for VREF&lt;br /&gt;
** Min: 1V&lt;br /&gt;
** Max: 3.75V (AD5535 datasheet specifies 4V max, but this would require AVCC of 5.25V for the DAC, which is not possible in the current board design)&lt;br /&gt;
&lt;br /&gt;
If relevant, R13 is a 100K resistor.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Diode ===&lt;br /&gt;
The DAC has a built in thermal diode. The diode drop from anode to cathode is typically 0.65V at 25&amp;amp;deg;C. It changes at a rate of -2.20mV/&amp;amp;deg;C. The anode of this diode is connected to the +5V power island, and the cathode is connected to a 270K resistor to ground. The voltage between the cathode and the resistor is connected to VIN1 (pin 15) on the ADC.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
See documentation from Analog Devices.&lt;br /&gt;
&lt;br /&gt;
=== Channel Mapping ===&lt;br /&gt;
Due to the layout of the balls on the footprint of the DAC, the DAC's internal channel numbers (which must be referenced by the FPGA) have no correlation to the channel numbers on the amplifier board. This table summarizes the mapping between various pins that belong to each channel.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''DAC Channel #'''&lt;br /&gt;
| '''DAC Pin #'''&lt;br /&gt;
| '''Digital Board Eurocard Pin #'''&lt;br /&gt;
| '''Amplifier Board Eurocard Pin #'''&lt;br /&gt;
| '''Amplifier Channel #'''&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| B1&lt;br /&gt;
| B3&lt;br /&gt;
| B6&lt;br /&gt;
| 6&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| A2&lt;br /&gt;
| C4&lt;br /&gt;
| B7&lt;br /&gt;
| 7&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| D1&lt;br /&gt;
| B2&lt;br /&gt;
| B4&lt;br /&gt;
| 4&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| C2&lt;br /&gt;
| C3&lt;br /&gt;
| B5&lt;br /&gt;
| 5&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| B3&lt;br /&gt;
| B4&lt;br /&gt;
| B8&lt;br /&gt;
| 8&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| E2&lt;br /&gt;
| C2&lt;br /&gt;
| B3&lt;br /&gt;
| 3&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| F3&lt;br /&gt;
| B1&lt;br /&gt;
| B2&lt;br /&gt;
| 2&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| A4&lt;br /&gt;
| B5&lt;br /&gt;
| B10&lt;br /&gt;
| 10&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| E4&lt;br /&gt;
| C5&lt;br /&gt;
| B9&lt;br /&gt;
| 9&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| B5&lt;br /&gt;
| C6&lt;br /&gt;
| B11&lt;br /&gt;
| 11&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| F5&lt;br /&gt;
| C1&lt;br /&gt;
| B1&lt;br /&gt;
| 1&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| A6&lt;br /&gt;
| C7&lt;br /&gt;
| B13&lt;br /&gt;
| 13&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| E6&lt;br /&gt;
| B6&lt;br /&gt;
| B12&lt;br /&gt;
| 12&lt;br /&gt;
|-&lt;br /&gt;
| 13&lt;br /&gt;
| B7&lt;br /&gt;
| B7&lt;br /&gt;
| B14&lt;br /&gt;
| 14&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| F7&lt;br /&gt;
| C10&lt;br /&gt;
| B19&lt;br /&gt;
| 19&lt;br /&gt;
|-&lt;br /&gt;
| 15&lt;br /&gt;
| E8&lt;br /&gt;
| C8&lt;br /&gt;
| B15&lt;br /&gt;
| 15&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| A8&lt;br /&gt;
| B8&lt;br /&gt;
| B16&lt;br /&gt;
| 16&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| B9&lt;br /&gt;
| C9&lt;br /&gt;
| B17&lt;br /&gt;
| 17&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| F9&lt;br /&gt;
| C16&lt;br /&gt;
| B31&lt;br /&gt;
| GAINMODE&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| E10&lt;br /&gt;
| B11&lt;br /&gt;
| B22&lt;br /&gt;
| 22&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| A10&lt;br /&gt;
| B9&lt;br /&gt;
| B18&lt;br /&gt;
| 18&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| B11&lt;br /&gt;
| B10&lt;br /&gt;
| B20&lt;br /&gt;
| 20&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| C12&lt;br /&gt;
| B12&lt;br /&gt;
| B24&lt;br /&gt;
| 24&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| D13&lt;br /&gt;
| B13&lt;br /&gt;
| B26&lt;br /&gt;
| 26&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| E12&lt;br /&gt;
| B14&lt;br /&gt;
| B28&lt;br /&gt;
| 28&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| A12&lt;br /&gt;
| C11&lt;br /&gt;
| B21&lt;br /&gt;
| 21&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| B13&lt;br /&gt;
| C12&lt;br /&gt;
| B23&lt;br /&gt;
| 23&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| H13&lt;br /&gt;
| B16&lt;br /&gt;
| Not connected&lt;br /&gt;
| No amplifier connection&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| G14&lt;br /&gt;
| B15&lt;br /&gt;
| B30&lt;br /&gt;
| 30&lt;br /&gt;
|-&lt;br /&gt;
| 29&lt;br /&gt;
| C14&lt;br /&gt;
| C13&lt;br /&gt;
| B25&lt;br /&gt;
| 25&lt;br /&gt;
|-&lt;br /&gt;
| 30&lt;br /&gt;
| F13&lt;br /&gt;
| C15&lt;br /&gt;
| B29&lt;br /&gt;
| 29&lt;br /&gt;
|-&lt;br /&gt;
| 31&lt;br /&gt;
| E14&lt;br /&gt;
| C14&lt;br /&gt;
| B27&lt;br /&gt;
| 27&amp;lt;br&amp;gt;DACHEALTH&amp;lt;br&amp;gt;See [[#Channel Descriptions | ADC Channel Descriptions]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==ADC==&lt;br /&gt;
The board includes an Analog Devices AD7928 analog to digital converter. The ADC is located just to the right and slightly below the FPGA. It is labelled U4.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The ADC is powered by the +5V power island, which is regulated by an off-board power supply and decoupled near the ADC. It also requires a precise (&amp;amp;plusmn;1%) 2.5V reference to which it compares voltages when converting from analog to digital. Since the +5V power source is not used for comparison, it is flexible and may vary by &amp;amp;plusmn;0.25V without affecting ADC precision.&lt;br /&gt;
&lt;br /&gt;
===Setting the Measuring Range===&lt;br /&gt;
The measuring range is set programmatically by the FPGA over the SPI bus. The way the ADC is connected on the digital board requires that its measuring range be set to 5V, so the RANGE bit should be set to 1 by the FPGA (see Analog Devices documentation).&lt;br /&gt;
&lt;br /&gt;
===Data Interfacing===&lt;br /&gt;
The ADC uses an SPI bus to communicate with the FPGA. This bus is shared with the temperature sensor. SPI related pins include SCLK, CS, DIN, and DOUT. See the Pinout Table below.&lt;br /&gt;
&lt;br /&gt;
===Channel Descriptions===&lt;br /&gt;
This table shows what signals are monitored by the ADC.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''ADC Channel #'''&lt;br /&gt;
| '''ADC Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| VIN0&lt;br /&gt;
| 16&lt;br /&gt;
| AD7928/VHEALTH&lt;br /&gt;
| This net helps to monitor to overall health of power on the board, but is specifically intended to monitor -5V. It's voltage is the output of a resistor divider between the +5 and -5V power supplies, with resistor values of 33.2K, and 100K. Assuming +5V and -5V are both correct, the output of the divider will be +2.51V. A reading of other than 2.51V indicates a problem with one of the power supplies. Problems with the +5V power supply can be ruled out by reading VIN3. Based on the reading from VIN3, the voltage of the -5V supply can be calculated.&lt;br /&gt;
|-&lt;br /&gt;
| VIN1&lt;br /&gt;
| 15&lt;br /&gt;
| AD5535/CATHODE&lt;br /&gt;
| This is the thermal diode output from the DAC. Should read 4.35V (typical) at 25&amp;amp;deg;C. Drops 2.20mV/&amp;amp;deg;C.&lt;br /&gt;
|-&lt;br /&gt;
| VIN2&lt;br /&gt;
| 14&lt;br /&gt;
| +3.3V&lt;br /&gt;
| This is the +3.3V power plane. A reading of other than +3.3V indicates a problem with VR1.&lt;br /&gt;
|-&lt;br /&gt;
| VIN3&lt;br /&gt;
| 13&lt;br /&gt;
| +5V&lt;br /&gt;
| This is the +5V power island. A reading of other than +5V indicates a problem with the +5V power supply.&lt;br /&gt;
|-&lt;br /&gt;
| VIN4&lt;br /&gt;
| 12&lt;br /&gt;
| ADC_EXT1&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A7. It is intended to measure the output of thermistor on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN5&lt;br /&gt;
| 11&lt;br /&gt;
| +1.2V&lt;br /&gt;
| This is the +1.2V power island. This island powers the internal logic of the FPGA. A reading of other than 1.2V indicates a problem with VR3.&lt;br /&gt;
|-&lt;br /&gt;
| VIN6&lt;br /&gt;
| 10&lt;br /&gt;
| ADC_EXT2&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A8. It is intended to measure one of the transistor base voltages on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN7&lt;br /&gt;
| 9&lt;br /&gt;
| DACHEALTH&lt;br /&gt;
| This channel monitors the output of a resistor divider connected to channel 31 of the DAC. The divider consists of three resistors of 200K, 200K, and 10.2K (in order). The ADC reads out the voltage level between the second 200K and then 10.2K resistor. These resistors were selected so that at 200V, the readout voltage will be 4.973V. Since the divider should be linear, the expected voltage at 20V is 0.4973V. Three resistors were used rather than two to avoid exceeding the resistors' power ratings when the DAC is set to its maximum voltage. Note that since this divider will consume up to 484uA of current at 200V, this DAC channel should not be used for anything that might require more than ~200uA of current (the DAC can source 700uA max). The channel is routed to the backplane nonetheless.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| SPI clock (SCLK), from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| DIN&lt;br /&gt;
| SPI data in, from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&amp;lt;br&amp;gt;''Currently wired wrong''&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| CS&lt;br /&gt;
| SPI chip select&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| AD7928/REF_IN&lt;br /&gt;
| +2.5V reference, set by VR2&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9-16&lt;br /&gt;
| VIN[7:0]&lt;br /&gt;
| See [[#Channel Descriptions | ADC Channel Descriptions]]&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| DOUT&lt;br /&gt;
| SPI data out&amp;lt;br&amp;gt;''Currently wired incorrectly''&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| +3.3V&lt;br /&gt;
| VDRIVE, powers the SPI logic&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Ethernet Controller ==&lt;br /&gt;
The board uses a Silicon Laboratories CP2201, 28-pin, ethernet controller. The CP2201 is located just above the FPGA, and is labelled U2.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The CP2201 uses only +3.3V, which is supplied by the +3.3V power plane and regulated by VR1. Appropriate decoupling capacitors can be found near the CP2201.&lt;br /&gt;
&lt;br /&gt;
=== Ethernet Jack ===&lt;br /&gt;
To the right of the CP2201 is a Pulse J0011D21NL ethernet jack, labelled J1. This jack has a built-in 1:1 inductive coupling. For best results, connect this jack to a nearby ethernet switch. The jack may also be connected directly to a computer using a crossover cable. Though auto-crossover is not supported by the CP2201, if the computer's NIC supports it, a crossover cable is not necessary to connect directly to a computer.&lt;br /&gt;
&lt;br /&gt;
==== Ethernet Jack Pins ====&lt;br /&gt;
These are visible only on the back side of the board. Pin 1 is indicated by a square pad. Pin 8 is the farthest pin from pin 1. Pins are numbered such that the 4 pins closer to the plastic thru-hole connectors are odd (1, 3, 5, 7), and the four pins closer to the CP2201 are are even (2, 4, 6, 8).&lt;br /&gt;
&lt;br /&gt;
* Pin 1: TX+&lt;br /&gt;
* Pin 2: AC coupled to DGND&lt;br /&gt;
* Pin 3: TX-&lt;br /&gt;
* Pin 4: RX+&lt;br /&gt;
* Pin 5: AC coupled to DGND&lt;br /&gt;
* Pin 6: RX-&lt;br /&gt;
* Pin 7: No connection&lt;br /&gt;
* Pin 8: DGND (direct)&lt;br /&gt;
&lt;br /&gt;
The two large thru-hole pins (not numbered) connect to the metal shielding on the outside of the jack. These are directly connected to DGND to shield against electrical noise inside the jack.&lt;br /&gt;
&lt;br /&gt;
The two plastic thru-hole pins are not conductive and have no electrical connection. They are present only for structural purposes, presumably to prevent stress on the solder points when an ethernet wire is inserted or removed from the jack.&lt;br /&gt;
&lt;br /&gt;
=== Crystal Oscillator ===&lt;br /&gt;
The CP2201 is responsible for driving the 20MHz crystal oscillator. This oscillator clocks both the CP2201 and the FPGA. The crystal oscillator can be found above the right corner of the FPGA. It can be identified by its four surface mount pads and roughly .3&amp;quot; length. It is labelled Y1, though this label is not visible after the oscillator is soldered on. The CP2201 uses an inverting driver to excite the crystal. The output of the crystal is then sent to the CP2201 and the FPGA.&lt;br /&gt;
&lt;br /&gt;
=== Bus Format and Multiplexing ===&lt;br /&gt;
The 28-pin CP2201 used on the board only supports multiplexed operation. This means that both address and data information are passed over the same set of 8 traces. Hence, these traces are referred to as the address/data (AD) bus. A separate address line enable (ALE) trace prevents collisions from occuring on these traces. The communication protocol used is the Intel format. See the CP2201's datasheet for more information about this.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| CP2201/LA&lt;br /&gt;
| Link/activity indicator&amp;lt;br&amp;gt;Routed to backplane but not implemented&amp;lt;br&amp;gt;See CP2201 data sheet for information on how to connect to an LED&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| DGND&lt;br /&gt;
| By the data sheet, this pin should be AGND&amp;lt;br&amp;gt;We deliberately set it to DGND to avoid noise on AGND plane&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| +3.3V&lt;br /&gt;
| AV+ power pin&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| CP2201/RX-&lt;br /&gt;
| Connects to RX- on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| CP2201/RX+&lt;br /&gt;
| Connects to RX+ on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| CP2201/TX+&lt;br /&gt;
| Connects to TX+ on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| CP2201/TX-&lt;br /&gt;
| Connects to TX- on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;quot;VDD&amp;quot; power pin&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;DGND1&amp;quot; per the data sheet&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| CP2201/RESET&lt;br /&gt;
| &amp;quot;RST&amp;quot; per the data sheet&amp;lt;br&amp;gt;Connects to FPGA - should be programmatically triggered upon reset of FPGA by RESET jumper&lt;br /&gt;
|-&lt;br /&gt;
| 11-18&lt;br /&gt;
| CP2201/AD[0:7]&lt;br /&gt;
| Bits 0-7 of the address/data bus&amp;lt;br&amp;gt;Connect to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;quot;VDD&amp;quot; power pin&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;DGND2&amp;quot; per the data sheet&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| CP2201/ALE&lt;br /&gt;
| Address line enable&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| CP2201/RD&lt;br /&gt;
| Read strobe for AD bus&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| CP2201/WR&lt;br /&gt;
| Write strobe for AD bus&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| CP2201/CS&lt;br /&gt;
| Chip select&amp;lt;br&amp;gt;Connects to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| CP2201/INT&lt;br /&gt;
| Interrupt request&amp;lt;br&amp;gt;Connects to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;MOTEN&amp;quot; (Motorola enable) per the datasheet&amp;lt;br&amp;gt;Tied low to disable Motorola bus format (enable Intel format)&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| CP2201/XTAL2&lt;br /&gt;
| Crystal oscillator driver&amp;lt;br&amp;gt;The CP2201 inverts the 20MHz clock signal and feeds it back to the crystal oscillator to encourage larger oscillations&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| FPGA/CLK_IN&lt;br /&gt;
| &amp;quot;XTAL1&amp;quot; per the data sheet&amp;lt;br&amp;gt;This is the 20MHz clock input&amp;lt;br&amp;gt;Also connects to the FPGA's clock input&lt;br /&gt;
|- &lt;br /&gt;
| 29*&lt;br /&gt;
| DGND&lt;br /&gt;
| This is not a pin but rather the base of the CP2201 package.&amp;lt;br&amp;gt;It is connected to the DGND plane for thermal relief&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Eurocard Connector ==&lt;br /&gt;
At the bottom of the control board is the Eurocard connector, labelled P2. The Eurocard connector connects the board to the backplane and also connects the board to its power supplies. The Eurocard has 48 pins arranged in three rows of 16 pins each. Rows B and C are exclusively used to pass SiPM bias voltages to the backplane as described in [[#Channel Mapping | DAC Channel Mapping]]. Here is a table describing the purpose of pins in row A:&lt;br /&gt;
&lt;br /&gt;
=== Row A Pinout Table ===&lt;br /&gt;
Note that when viewing the front side of the board with the Eurocard at the bottom, these pins go from right to left. If you look closely at the pins, you will see that pin A1 has a square pad, unlike the round pads of the others.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| A1&lt;br /&gt;
| CP2201/LA&lt;br /&gt;
| Ethernet link/activity indicator routed to backplane&lt;br /&gt;
|-&lt;br /&gt;
| A2&lt;br /&gt;
| High voltage input (+210V max)&lt;br /&gt;
| High voltage input for DAC. See [[#DAC | DAC]] for information about what voltage to input here.&lt;br /&gt;
|-&lt;br /&gt;
| A3&lt;br /&gt;
| -5V&lt;br /&gt;
| For DAC&lt;br /&gt;
|-&lt;br /&gt;
| A4&lt;br /&gt;
| +5V&lt;br /&gt;
| Powers most things on the board&lt;br /&gt;
|-&lt;br /&gt;
| A5&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A6&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| A7&lt;br /&gt;
| ADC_EXT1&lt;br /&gt;
| Connects to ADC to monitor voltages on amplifier board&amp;lt;br&amp;gt;See [[#ADC | ADC]]&lt;br /&gt;
|-&lt;br /&gt;
| A8&lt;br /&gt;
| ADC_EXT2&lt;br /&gt;
| Connects to ADC to monitor voltages on amplifier board&amp;lt;br&amp;gt;See [[#ADC | ADC]]&lt;br /&gt;
|-&lt;br /&gt;
| A9&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A10&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| A11&lt;br /&gt;
| No conneciton&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A12&lt;br /&gt;
| ID4&lt;br /&gt;
| Location identifier bit 4&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A13&lt;br /&gt;
| ID3&lt;br /&gt;
| Location identifier bit 3&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A14&lt;br /&gt;
| ID2&lt;br /&gt;
| Location identifier bit 2&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A15&lt;br /&gt;
| ID1&lt;br /&gt;
| Location identifier bit 1&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A16&lt;br /&gt;
| ID0&lt;br /&gt;
| Location identifier bit 0&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4496</id>
		<title>Digital control board documentation</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4496"/>
		<updated>2009-07-23T15:35:05Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* Channel Mapping */  completed amplifier channel mapping&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This documentation covers the most important things to know while testing the digital control board, including component pinouts, nets, and other information.&lt;br /&gt;
&lt;br /&gt;
== Power Requirements ==&lt;br /&gt;
=== Required Voltages ===&lt;br /&gt;
All components on the digital board '''except the DAC''' can be tested using only a +5V source. The DAC requires +5V, -5V, and a high voltage corresponding to 10V higher than the maximum desired DAC output voltage (see [[#Setting the Output Range | Setting the Output Range]]). Digital and analog grounds must be connected as well before any testing takes place.&lt;br /&gt;
&lt;br /&gt;
=== Power Pins ===&lt;br /&gt;
Power shall be connected to the board as follows:&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Voltage'''&lt;br /&gt;
| '''Eurocard Pin'''&lt;br /&gt;
|-&lt;br /&gt;
| DGND &lt;br /&gt;
| A6&lt;br /&gt;
|-&lt;br /&gt;
| AGND &lt;br /&gt;
| A5&lt;br /&gt;
|-&lt;br /&gt;
| +5V &lt;br /&gt;
| A4&lt;br /&gt;
|-&lt;br /&gt;
| -5V &lt;br /&gt;
| A3&lt;br /&gt;
|-&lt;br /&gt;
| High voltage&amp;lt;br&amp;gt;(DAC max out +10)&lt;br /&gt;
| A2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Power Supply Sequencing ===&lt;br /&gt;
The control board is designed such that voltages may be supplied in any order so long as AGND and DGND are connected properly.  However, for initial testing, the preferred order for powering up the board is as follows:&lt;br /&gt;
&lt;br /&gt;
# Ensure AGND/DGND are connected/grounded&lt;br /&gt;
# +5V&lt;br /&gt;
# -5V&lt;br /&gt;
# High voltage&lt;br /&gt;
&lt;br /&gt;
== FPGA ==&lt;br /&gt;
The control board uses a Xilinx XC3S50A VQ100 FPGA. It has a 100 pin footprint and is located in the center of the control board.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The FPGA is powered by the 3.3V power plane, which is regulated by VR1. The FPGA also obtains 1.2V for its internal logic from a 1.2V power island, regulated by VR3.&lt;br /&gt;
&lt;br /&gt;
=== Logic Standard ===&lt;br /&gt;
The Xilinx XC3S50A supports several different digital logic standards. The control board is hard wired such that the FPGA will use a '''3.3V CMOS''' logic standard.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #''' || '''Net Name''' || '''Signal Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| P1 || FPGA/TMS || [JTAG] &lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P2 || FPGA/TDI || [JTAG] &lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P3 || AD7928/CS || SPI_A_iCS&lt;br /&gt;
| SPI chip select for ADC&lt;br /&gt;
|-&lt;br /&gt;
| P4 || SPI || SPI_SDO&lt;br /&gt;
| '''Erroneously wired SPI bus trace'''&amp;lt;br&amp;gt;Now connects to SDO on temp. sensor and on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P5 || CLK_5MHZ || SPI_SCLK&lt;br /&gt;
| 5 MHz clock output for SPI bus (ADC and temp. sensor)&lt;br /&gt;
|-&lt;br /&gt;
| P6 || No connection ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P7 || No connection ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P8 || DGND ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P9 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P10 || No connection ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P11 || +3.3V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P12 || No connection ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P13 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P14 || DGND ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P15 || No connection ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P16 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P17 || +1.2V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P18 || DGND ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P19 || dBinfo_Start ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P20 || dBinfo_Stream ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P21 || No connection ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P22 || +3.3V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P23 || DGND || [M1: JTAG prog. config.]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P24 || DGND || [M2: JTAG prog. config.]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P25 || DGND || [M0: JTAG prog. config.]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P26 || +3.3V ||&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| P27 || FPGA/CLK_IN || fClk&lt;br /&gt;
| 20 MHz clock input from crystal oscillator&lt;br /&gt;
|-&lt;br /&gt;
| P28 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P29 || No connection || (db) state_Q(0)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P30 || No connection || &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P31 || No connection || (db) state_Q(1)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P32 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P33 || No connection || (db) state_Q(2)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P34 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P35 || CP2201/INT || Eth_iINT&lt;br /&gt;
| Ethernet controller interrupt&lt;br /&gt;
|-&lt;br /&gt;
| P36 || MASTER_RESET || Rst&lt;br /&gt;
| Connects to RESET jumper in upper left of board (active-low, externally pulled up)&lt;br /&gt;
|-&lt;br /&gt;
| P37 || (manually wired) || fClk_out&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P38 || +1.2V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P39 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P40 || CP2201/CS || iCS&lt;br /&gt;
| Chip select for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P41 || CP2201/WR || iWR &lt;br /&gt;
| Write enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P42 || DGND ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P43 || CP2201/RD || iRD&lt;br /&gt;
| Read enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P44 || CP2201/ALE || ALE&lt;br /&gt;
| Address line enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P45 || +3.3V ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P46 || CP2201/RESET || Eth_iRst&lt;br /&gt;
| Reset pin for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P47 || DGND ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P48 || FPGA/INIT_B || [JTAG]&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P49 || CP2201/AD0 || AD(0)&lt;br /&gt;
| Ethernet controller address/data bus, bit 0&lt;br /&gt;
|-&lt;br /&gt;
| P50 || CP2201/AD1 || AD(1) &lt;br /&gt;
| Ethernet controller address/data bus, bit 1&lt;br /&gt;
|-&lt;br /&gt;
| P51 || FPGA/DIN || [JTAG]&lt;br /&gt;
| Serial data input from EEPROM for configuration&lt;br /&gt;
|-&lt;br /&gt;
| P52 || CP2201/AD2 || AD(2)&lt;br /&gt;
| Ethernet controller address/data bus, bit 2&lt;br /&gt;
|-&lt;br /&gt;
| P53 || FPGA/CCLK || [JTAG]&lt;br /&gt;
| Configuration clock (signal generated by FPGA at &amp;lt;br&amp;gt;power on to clock the configuration process)&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P54 || FPGA/DONE || [JTAG]&lt;br /&gt;
| Gives configuration status - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P55 || +3.3V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P56 || CP2201/AD3 || AD(3)&lt;br /&gt;
| Ethernet controller address/data bus, bit 3&lt;br /&gt;
|-&lt;br /&gt;
| P57 || CP2201/AD4 || AD(4)&lt;br /&gt;
| Ethernet controller address/data bus, bit 4&lt;br /&gt;
|-&lt;br /&gt;
| P58 || DGND ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P59 || CP2201/AD5 || AD(5)&lt;br /&gt;
| Ethernet controller address/data bus, bit 5&lt;br /&gt;
|-&lt;br /&gt;
| P60 || CP2201/AD6 || AD(6)&lt;br /&gt;
| Ethernet controller address/date bus, bit 6&lt;br /&gt;
|-&lt;br /&gt;
| P61 || CP2201/AD7 || AD(7)&lt;br /&gt;
| Ethernet controller address/date bus, bit 7&lt;br /&gt;
|-&lt;br /&gt;
| P62 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P63 || DGND ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P64 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P65 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P66 || +1.2V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P67 || +3.3V ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P68 || +3.3V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P69 || DGND ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P70 || ID3 || LocStamp(3)&lt;br /&gt;
| Backplane location identifier jumper, pins 3 &amp;amp; 4&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P71 || ID2 || LocStamp(2)&lt;br /&gt;
| Backplane location identifier jumper, pins 5 &amp;amp; 6&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P72 || ID1 || LocStamp(1)&lt;br /&gt;
| Backplane location identifier jumper, pins 7 &amp;amp; 8&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P73 || ID0 || LocStamp(0)&lt;br /&gt;
| Backplane location identifier jumper, pins 9 &amp;amp; 10&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P74 || DGND ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P75 || FPGA/TDO || [JTAG]&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P76 || FPGA/TCK || [JTAG]&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P77 || ID4 || LocStamp(4)&lt;br /&gt;
| Backplane location identifier jumper, pins 1 &amp;amp; 2&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P78 || No connection ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P79 || +3.3V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P80 || DGND ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P81 || +1.2V || &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P82 || No connection || (db) dbShort&lt;br /&gt;
| Shorts out the waiting timer in FPGA for Ethernet controller initialization (pulled low)&lt;br /&gt;
|-&lt;br /&gt;
| P83 || CLK_5MHZ_2 || DAC_Clk&lt;br /&gt;
| 5 MHz clock output for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P84 || No connection ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P85 || AD5535/DIN || DAC_serData&lt;br /&gt;
| DAC serial data input (FPGA out -&amp;gt; DAC in)&lt;br /&gt;
|-&lt;br /&gt;
| P86 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P87 || DGND ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P88 || AD5535/SYNC || DAC_setISync&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P89 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P90 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P91 || DGND ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P92 || +3.3V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P93 || AD7314/CE || SPI_TCE&lt;br /&gt;
| Chip enable for temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| P94 ||  No connection || &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P95 || DGND ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P96 || +3.3V ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P97 || (former AD7928/DOUT) ||&lt;br /&gt;
| '''Erroneously wired ADC SPI bus connection'''&amp;lt;br&amp;gt;Connects to DOUT on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P98 || AD5535/RESET || DAC_iRst &lt;br /&gt;
|Reset pin for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P99 || DGND ||&lt;br /&gt;
| PUDC_B pin - enables pullup resistors on user IO and input-only pins during FPGA config.&lt;br /&gt;
|-&lt;br /&gt;
| P100 || FPGA/PROG_B || [JTAG]&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== EEPROM ==&lt;br /&gt;
To facilitate power-on configuration of the FPGA, the control board includes a Xilinx XCF01S EEPROM. The EEPROM is located to the left of the FPGA, above the JTAG header, and has a 20 pin footprint. The EEPROM is labelled U5.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The EEPROM uses +3.3V exclusively, which it receives from the +3.3V power plane, regulated by VR1.&lt;br /&gt;
&lt;br /&gt;
=== Flashing/Burning/Writing ===&lt;br /&gt;
Whatever you call it, this refers to storing data in the EEPROM so that it can configure the FPGA at power-on. The EEPROM is programmed using a JTAG interface and the Xilinx Platform USB II cable. It is important to note that in digital board's JTAG chain, the EEPROM is the first device in the chain, unlike in the Xilinx documentation where it is shown as the second device. This should not affect the operation of the board, but should be reflected in the Xilinx software when writing the EEPROM via JTAG. &lt;br /&gt;
&lt;br /&gt;
=== FPGA Configuration ===&lt;br /&gt;
The EEPROM and FPGA are hardwired to use a master serial protocol to transfer the program from the EEPROM to the FPGA. This is the protocol recommended in the Xilinx documentation because it minimizes the number of traces necessary to run between the EEPROM and FPGA. All configuration data is sent over a single trace, FPGA/DIN (pin 1 on EEPROM), controlled by the configuration clock signal (FPGA/CCLK) which is automatically generated by the FPGA at power-on. When configuration is complete, FPGA/DONE (pin 10) is pulled high by the FPGA, and the EEPROM and configuration clock are deactivated.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data line&amp;lt;br&amp;gt;Carries data from the EEPROM to the FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock&amp;lt;br&amp;gt;Auto generated by FPGA at power-on, disabled at end of configuration&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| This is the EEPROM's TDI&amp;lt;br&amp;gt;This is the entry point for the onboard JTAG chain&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during configuration&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during configuration - can be used to intiate reconfiguration of FPGA&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Indicates completion of FPGA configuration&amp;lt;br&amp;gt;High when complete&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 12-16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| This is the EEPROM's TDO/FPGA's TDI&lt;br /&gt;
|-&lt;br /&gt;
| 18-20&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== JTAG Header ==&lt;br /&gt;
To write the FPGA's program to the EEPROM, the board employs a JTAG based programming system consistent with Xilinx's recommendations. The system is designed to operate with Xilnx's Platform USB II cable and the flying lead adapter.&lt;br /&gt;
&lt;br /&gt;
===Header Location and Size===&lt;br /&gt;
The header consists of 14 pins, 100 mil pitch, just below the EEPROM (U5). The header is labelled P1. The pitch of the pins in the header was erroneously selected to be 100 mil, which is not compatible with Xilinx's JTAG ribbon cable. Therefore, the Xilinx flying lead adapter must be used.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The JTAG interface is powered by the +3.3V power plane, not by the computer's USB port. Power is supplied through pin 2 of the JTAG header.&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
Note that the header is positioned on the board rotated 180 degrees from the position in which it is shown in the Xilinx documentation. Care must be taken when connecting the flying leads to ensure they are connected to the right pins. Improper wiring will certainly cause undesired operation, and may cause damage as well. Damage is most likely to occur if one of the flying leads is improperly connected to an odd numbered pin, since it will short to the PCB's ground plane. &lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Flying Lead'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1, 3, 5, 7, 9, 11, 13 (odd pins)&lt;br /&gt;
| DGND&lt;br /&gt;
| Black (connect to any odd numbered pin)&lt;br /&gt;
| Ground pins for signal integrity&amp;lt;br&amp;gt;'''Never connect a flying lead other than the black lead to an odd numbered pin'''&amp;lt;br&amp;gt;Doing so will short to ground and may cause permanent damage if the Platform USB II cable does not have protection against this.&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;Red/VREF&amp;lt;/span&amp;gt;&lt;br /&gt;
| Power source for all JTAG logic&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: green&amp;quot;&amp;gt;Green/TMS&amp;lt;/span&amp;gt;&lt;br /&gt;
| JTAG TMS - connects to EEPROM and FPGA &lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: yellow&amp;quot;&amp;gt;Yellow/TCK&amp;lt;/span&amp;gt;&lt;br /&gt;
| JTAG TCK - connects to EEPROM and FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple&amp;quot;&amp;gt;Purple/TDO&amp;lt;/span&amp;gt;&lt;br /&gt;
| JTAG  boundary scan chain endpoint&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| White/TDI&lt;br /&gt;
| JTAG boundary scan chain start point&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|}&lt;br /&gt;
''The gray HALT flying lead is not connected.''&lt;br /&gt;
&lt;br /&gt;
===JTAG Overview===&lt;br /&gt;
The JTAG interface is clocked by the TCK signal. TCK is generated by the Platform USB II cable, and connects directly from the JTAG header to both the EEPROM and FPGA.&lt;br /&gt;
&lt;br /&gt;
The TMS signal is directly connected to both the EEPROM and FPGA, and is the data line over which JTAG test results (in this case programming results) are sent. TMS is used by only one component at a time.&lt;br /&gt;
&lt;br /&gt;
The TDI/TDO lines form a chain that connects to each JTAG component in series. On the control board, the first point in the chain is the EEPROM's TDI. Next is the EEPROM's TDO, which is the same as the FPGA's TDI. The FPGA's TDO then returns to the JTAG header and the Platform USB II cable.&lt;br /&gt;
&lt;br /&gt;
== DAC ==&lt;br /&gt;
The control board uses the Analog Devices AD5535, 32-channel, 200V max, digital to analog converter. This chip has a modified BC-124 BGA footprint and is located above the Eurocard connector at the bottom of the board. It is labelled U3.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The DAC is primarily powered by the +5V power island, regulated by an off-board power supply and extensively decoupled in the area of the DAC. The DAC also requires -5V, and a high voltage as discussed in [[#Power Requirements | Power Requirements]]. Both of these voltages are supplied by an off-board supply and decoupled near the DAC. In addition to these voltage levels, the DAC requires a precise +2.5V reference, created by the shunt-type voltage reference VR4.&lt;br /&gt;
&lt;br /&gt;
=== Setting the Output Range ===&lt;br /&gt;
The output range of the DAC is set by the 2.5V reference voltage supplied by VR4. The high voltage power supply must supply at a minimum 50 times this voltage, plus 10. Thus, the high voltage power supply should be at least 135V for DAC to operate properly, even though the SiPMs are expected to need only 40V. If it is convenient to use a lower high voltage, VR4 must be replaced to provide lower reference voltage. The high voltage may then be decreased appropriately. To summarize:&lt;br /&gt;
&lt;br /&gt;
* Max output voltage = VREF*50&lt;br /&gt;
* Minimum high voltage supply = VREF*50 + 10&lt;br /&gt;
* Acceptable range for VREF&lt;br /&gt;
** Min: 1V&lt;br /&gt;
** Max: 3.75V (AD5535 datasheet specifies 4V max, but this would require AVCC of 5.25V for the DAC, which is not possible in the current board design)&lt;br /&gt;
&lt;br /&gt;
If relevant, R13 is a 100K resistor.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Diode ===&lt;br /&gt;
The DAC has a built in thermal diode. The diode drop from anode to cathode is typically 0.65V at 25&amp;amp;deg;C. It changes at a rate of -2.20mV/&amp;amp;deg;C. The anode of this diode is connected to the +5V power island, and the cathode is connected to a 270K resistor to ground. The voltage between the cathode and the resistor is connected to VIN1 (pin 15) on the ADC.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
See documentation from Analog Devices.&lt;br /&gt;
&lt;br /&gt;
=== Channel Mapping ===&lt;br /&gt;
Due to the layout of the balls on the footprint of the DAC, the DAC's internal channel numbers (which must be referenced by the FPGA) have no correlation to the channel numbers on the amplifier board. This table summarizes the mapping between various pins that belong to each channel.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''DAC Channel #'''&lt;br /&gt;
| '''DAC Pin #'''&lt;br /&gt;
| '''Digital Board Eurocard Pin #'''&lt;br /&gt;
| '''Amplifier Board Eurocard Pin #'''&lt;br /&gt;
| '''Amplifier Channel #'''&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| B1&lt;br /&gt;
| B3&lt;br /&gt;
| B6&lt;br /&gt;
| 6&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| A2&lt;br /&gt;
| C4&lt;br /&gt;
| B7&lt;br /&gt;
| 7&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| D1&lt;br /&gt;
| B2&lt;br /&gt;
| B4&lt;br /&gt;
| 4&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| C2&lt;br /&gt;
| C3&lt;br /&gt;
| B5&lt;br /&gt;
| 5&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| B3&lt;br /&gt;
| B4&lt;br /&gt;
| B8&lt;br /&gt;
| 8&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| E2&lt;br /&gt;
| C2&lt;br /&gt;
| B3&lt;br /&gt;
| 3&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| F3&lt;br /&gt;
| B1&lt;br /&gt;
| B2&lt;br /&gt;
| 2&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| A4&lt;br /&gt;
| B5&lt;br /&gt;
| B10&lt;br /&gt;
| 10&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| E4&lt;br /&gt;
| C5&lt;br /&gt;
| B9&lt;br /&gt;
| 9&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| B5&lt;br /&gt;
| C6&lt;br /&gt;
| B11&lt;br /&gt;
| 11&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| F5&lt;br /&gt;
| C1&lt;br /&gt;
| B1&lt;br /&gt;
| 1&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| A6&lt;br /&gt;
| C7&lt;br /&gt;
| B13&lt;br /&gt;
| 13&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| E6&lt;br /&gt;
| B6&lt;br /&gt;
| B12&lt;br /&gt;
| 12&lt;br /&gt;
|-&lt;br /&gt;
| 13&lt;br /&gt;
| B7&lt;br /&gt;
| B7&lt;br /&gt;
| B14&lt;br /&gt;
| 14&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| F7&lt;br /&gt;
| C10&lt;br /&gt;
| B19&lt;br /&gt;
| 19&lt;br /&gt;
|-&lt;br /&gt;
| 15&lt;br /&gt;
| E8&lt;br /&gt;
| C8&lt;br /&gt;
| B15&lt;br /&gt;
| 15&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| A8&lt;br /&gt;
| B8&lt;br /&gt;
| B16&lt;br /&gt;
| 16&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| B9&lt;br /&gt;
| C9&lt;br /&gt;
| B17&lt;br /&gt;
| 17&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| F9&lt;br /&gt;
| C16&lt;br /&gt;
| B31&lt;br /&gt;
| 31&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| E10&lt;br /&gt;
| B11&lt;br /&gt;
| B22&lt;br /&gt;
| 22&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| A10&lt;br /&gt;
| B9&lt;br /&gt;
| B18&lt;br /&gt;
| 18&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| B11&lt;br /&gt;
| B10&lt;br /&gt;
| B20&lt;br /&gt;
| 20&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| C12&lt;br /&gt;
| B12&lt;br /&gt;
| B24&lt;br /&gt;
| 24&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| D13&lt;br /&gt;
| B13&lt;br /&gt;
| B26&lt;br /&gt;
| 26&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| E12&lt;br /&gt;
| B14&lt;br /&gt;
| B28&lt;br /&gt;
| 28&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| A12&lt;br /&gt;
| C11&lt;br /&gt;
| B21&lt;br /&gt;
| 21&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| B13&lt;br /&gt;
| C12&lt;br /&gt;
| B23&lt;br /&gt;
| 23&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| H13&lt;br /&gt;
| B16&lt;br /&gt;
| B32&lt;br /&gt;
| 32&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| G14&lt;br /&gt;
| B15&lt;br /&gt;
| B30&lt;br /&gt;
| 30&lt;br /&gt;
|-&lt;br /&gt;
| 29&lt;br /&gt;
| C14&lt;br /&gt;
| C13&lt;br /&gt;
| B25&lt;br /&gt;
| 25&lt;br /&gt;
|-&lt;br /&gt;
| 30&lt;br /&gt;
| F13&lt;br /&gt;
| C15&lt;br /&gt;
| B29&lt;br /&gt;
| 29&lt;br /&gt;
|-&lt;br /&gt;
| 31&lt;br /&gt;
| E14&lt;br /&gt;
| C14&lt;br /&gt;
| B27&lt;br /&gt;
| 27&amp;lt;br&amp;gt;DACHEALTH&amp;lt;br&amp;gt;See [[#Channel Descriptions | ADC Channel Descriptions]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==ADC==&lt;br /&gt;
The board includes an Analog Devices AD7928 analog to digital converter. The ADC is located just to the right and slightly below the FPGA. It is labelled U4.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The ADC is powered by the +5V power island, which is regulated by an off-board power supply and decoupled near the ADC. It also requires a precise (&amp;amp;plusmn;1%) 2.5V reference to which it compares voltages when converting from analog to digital. Since the +5V power source is not used for comparison, it is flexible and may vary by &amp;amp;plusmn;0.25V without affecting ADC precision.&lt;br /&gt;
&lt;br /&gt;
===Setting the Measuring Range===&lt;br /&gt;
The measuring range is set programmatically by the FPGA over the SPI bus. The way the ADC is connected on the digital board requires that its measuring range be set to 5V, so the RANGE bit should be set to 1 by the FPGA (see Analog Devices documentation).&lt;br /&gt;
&lt;br /&gt;
===Data Interfacing===&lt;br /&gt;
The ADC uses an SPI bus to communicate with the FPGA. This bus is shared with the temperature sensor. SPI related pins include SCLK, CS, DIN, and DOUT. See the Pinout Table below.&lt;br /&gt;
&lt;br /&gt;
===Channel Descriptions===&lt;br /&gt;
This table shows what signals are monitored by the ADC.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''ADC Channel #'''&lt;br /&gt;
| '''ADC Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| VIN0&lt;br /&gt;
| 16&lt;br /&gt;
| AD7928/VHEALTH&lt;br /&gt;
| This net helps to monitor to overall health of power on the board, but is specifically intended to monitor -5V. It's voltage is the output of a resistor divider between the +5 and -5V power supplies, with resistor values of 33.2K, and 100K. Assuming +5V and -5V are both correct, the output of the divider will be +2.51V. A reading of other than 2.51V indicates a problem with one of the power supplies. Problems with the +5V power supply can be ruled out by reading VIN3. Based on the reading from VIN3, the voltage of the -5V supply can be calculated.&lt;br /&gt;
|-&lt;br /&gt;
| VIN1&lt;br /&gt;
| 15&lt;br /&gt;
| AD5535/CATHODE&lt;br /&gt;
| This is the thermal diode output from the DAC. Should read 4.35V (typical) at 25&amp;amp;deg;C. Drops 2.20mV/&amp;amp;deg;C.&lt;br /&gt;
|-&lt;br /&gt;
| VIN2&lt;br /&gt;
| 14&lt;br /&gt;
| +3.3V&lt;br /&gt;
| This is the +3.3V power plane. A reading of other than +3.3V indicates a problem with VR1.&lt;br /&gt;
|-&lt;br /&gt;
| VIN3&lt;br /&gt;
| 13&lt;br /&gt;
| +5V&lt;br /&gt;
| This is the +5V power island. A reading of other than +5V indicates a problem with the +5V power supply.&lt;br /&gt;
|-&lt;br /&gt;
| VIN4&lt;br /&gt;
| 12&lt;br /&gt;
| ADC_EXT1&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A7. It is intended to measure the output of thermistor on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN5&lt;br /&gt;
| 11&lt;br /&gt;
| +1.2V&lt;br /&gt;
| This is the +1.2V power island. This island powers the internal logic of the FPGA. A reading of other than 1.2V indicates a problem with VR3.&lt;br /&gt;
|-&lt;br /&gt;
| VIN6&lt;br /&gt;
| 10&lt;br /&gt;
| ADC_EXT2&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A8. It is intended to measure one of the transistor base voltages on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN7&lt;br /&gt;
| 9&lt;br /&gt;
| DACHEALTH&lt;br /&gt;
| This channel monitors the output of a resistor divider connected to channel 31 of the DAC. The divider consists of three resistors of 200K, 200K, and 10.2K (in order). The ADC reads out the voltage level between the second 200K and then 10.2K resistor. These resistors were selected so that at 200V, the readout voltage will be 4.973V. Since the divider should be linear, the expected voltage at 20V is 0.4973V. Three resistors were used rather than two to avoid exceeding the resistors' power ratings when the DAC is set to its maximum voltage. Note that since this divider will consume up to 484uA of current at 200V, this DAC channel should not be used for anything that might require more than ~200uA of current (the DAC can source 700uA max). The channel is routed to the backplane nonetheless.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| SPI clock (SCLK), from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| DIN&lt;br /&gt;
| SPI data in, from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&amp;lt;br&amp;gt;''Currently wired wrong''&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| CS&lt;br /&gt;
| SPI chip select&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| AD7928/REF_IN&lt;br /&gt;
| +2.5V reference, set by VR2&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9-16&lt;br /&gt;
| VIN[7:0]&lt;br /&gt;
| See [[#Channel Descriptions | ADC Channel Descriptions]]&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| DOUT&lt;br /&gt;
| SPI data out&amp;lt;br&amp;gt;''Currently wired incorrectly''&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| +3.3V&lt;br /&gt;
| VDRIVE, powers the SPI logic&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Ethernet Controller ==&lt;br /&gt;
The board uses a Silicon Laboratories CP2201, 28-pin, ethernet controller. The CP2201 is located just above the FPGA, and is labelled U2.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The CP2201 uses only +3.3V, which is supplied by the +3.3V power plane and regulated by VR1. Appropriate decoupling capacitors can be found near the CP2201.&lt;br /&gt;
&lt;br /&gt;
=== Ethernet Jack ===&lt;br /&gt;
To the right of the CP2201 is a Pulse J0011D21NL ethernet jack, labelled J1. This jack has a built-in 1:1 inductive coupling. For best results, connect this jack to a nearby ethernet switch. The jack may also be connected directly to a computer using a crossover cable. Though auto-crossover is not supported by the CP2201, if the computer's NIC supports it, a crossover cable is not necessary to connect directly to a computer.&lt;br /&gt;
&lt;br /&gt;
==== Ethernet Jack Pins ====&lt;br /&gt;
These are visible only on the back side of the board. Pin 1 is indicated by a square pad. Pin 8 is the farthest pin from pin 1. Pins are numbered such that the 4 pins closer to the plastic thru-hole connectors are odd (1, 3, 5, 7), and the four pins closer to the CP2201 are are even (2, 4, 6, 8).&lt;br /&gt;
&lt;br /&gt;
* Pin 1: TX+&lt;br /&gt;
* Pin 2: AC coupled to DGND&lt;br /&gt;
* Pin 3: TX-&lt;br /&gt;
* Pin 4: RX+&lt;br /&gt;
* Pin 5: AC coupled to DGND&lt;br /&gt;
* Pin 6: RX-&lt;br /&gt;
* Pin 7: No connection&lt;br /&gt;
* Pin 8: DGND (direct)&lt;br /&gt;
&lt;br /&gt;
The two large thru-hole pins (not numbered) connect to the metal shielding on the outside of the jack. These are directly connected to DGND to shield against electrical noise inside the jack.&lt;br /&gt;
&lt;br /&gt;
The two plastic thru-hole pins are not conductive and have no electrical connection. They are present only for structural purposes, presumably to prevent stress on the solder points when an ethernet wire is inserted or removed from the jack.&lt;br /&gt;
&lt;br /&gt;
=== Crystal Oscillator ===&lt;br /&gt;
The CP2201 is responsible for driving the 20MHz crystal oscillator. This oscillator clocks both the CP2201 and the FPGA. The crystal oscillator can be found above the right corner of the FPGA. It can be identified by its four surface mount pads and roughly .3&amp;quot; length. It is labelled Y1, though this label is not visible after the oscillator is soldered on. The CP2201 uses an inverting driver to excite the crystal. The output of the crystal is then sent to the CP2201 and the FPGA.&lt;br /&gt;
&lt;br /&gt;
=== Bus Format and Multiplexing ===&lt;br /&gt;
The 28-pin CP2201 used on the board only supports multiplexed operation. This means that both address and data information are passed over the same set of 8 traces. Hence, these traces are referred to as the address/data (AD) bus. A separate address line enable (ALE) trace prevents collisions from occuring on these traces. The communication protocol used is the Intel format. See the CP2201's datasheet for more information about this.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| CP2201/LA&lt;br /&gt;
| Link/activity indicator&amp;lt;br&amp;gt;Routed to backplane but not implemented&amp;lt;br&amp;gt;See CP2201 data sheet for information on how to connect to an LED&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| DGND&lt;br /&gt;
| By the data sheet, this pin should be AGND&amp;lt;br&amp;gt;We deliberately set it to DGND to avoid noise on AGND plane&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| +3.3V&lt;br /&gt;
| AV+ power pin&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| CP2201/RX-&lt;br /&gt;
| Connects to RX- on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| CP2201/RX+&lt;br /&gt;
| Connects to RX+ on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| CP2201/TX+&lt;br /&gt;
| Connects to TX+ on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| CP2201/TX-&lt;br /&gt;
| Connects to TX- on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;quot;VDD&amp;quot; power pin&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;DGND1&amp;quot; per the data sheet&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| CP2201/RESET&lt;br /&gt;
| &amp;quot;RST&amp;quot; per the data sheet&amp;lt;br&amp;gt;Connects to FPGA - should be programmatically triggered upon reset of FPGA by RESET jumper&lt;br /&gt;
|-&lt;br /&gt;
| 11-18&lt;br /&gt;
| CP2201/AD[0:7]&lt;br /&gt;
| Bits 0-7 of the address/data bus&amp;lt;br&amp;gt;Connect to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;quot;VDD&amp;quot; power pin&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;DGND2&amp;quot; per the data sheet&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| CP2201/ALE&lt;br /&gt;
| Address line enable&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| CP2201/RD&lt;br /&gt;
| Read strobe for AD bus&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| CP2201/WR&lt;br /&gt;
| Write strobe for AD bus&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| CP2201/CS&lt;br /&gt;
| Chip select&amp;lt;br&amp;gt;Connects to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| CP2201/INT&lt;br /&gt;
| Interrupt request&amp;lt;br&amp;gt;Connects to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;MOTEN&amp;quot; (Motorola enable) per the datasheet&amp;lt;br&amp;gt;Tied low to disable Motorola bus format (enable Intel format)&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| CP2201/XTAL2&lt;br /&gt;
| Crystal oscillator driver&amp;lt;br&amp;gt;The CP2201 inverts the 20MHz clock signal and feeds it back to the crystal oscillator to encourage larger oscillations&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| FPGA/CLK_IN&lt;br /&gt;
| &amp;quot;XTAL1&amp;quot; per the data sheet&amp;lt;br&amp;gt;This is the 20MHz clock input&amp;lt;br&amp;gt;Also connects to the FPGA's clock input&lt;br /&gt;
|- &lt;br /&gt;
| 29*&lt;br /&gt;
| DGND&lt;br /&gt;
| This is not a pin but rather the base of the CP2201 package.&amp;lt;br&amp;gt;It is connected to the DGND plane for thermal relief&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Eurocard Connector ==&lt;br /&gt;
At the bottom of the control board is the Eurocard connector, labelled P2. The Eurocard connector connects the board to the backplane and also connects the board to its power supplies. The Eurocard has 48 pins arranged in three rows of 16 pins each. Rows B and C are exclusively used to pass SiPM bias voltages to the backplane as described in [[#Channel Mapping | DAC Channel Mapping]]. Here is a table describing the purpose of pins in row A:&lt;br /&gt;
&lt;br /&gt;
=== Row A Pinout Table ===&lt;br /&gt;
Note that when viewing the front side of the board with the Eurocard at the bottom, these pins go from right to left. If you look closely at the pins, you will see that pin A1 has a square pad, unlike the round pads of the others.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| A1&lt;br /&gt;
| CP2201/LA&lt;br /&gt;
| Ethernet link/activity indicator routed to backplane&lt;br /&gt;
|-&lt;br /&gt;
| A2&lt;br /&gt;
| High voltage input (+210V max)&lt;br /&gt;
| High voltage input for DAC. See [[#DAC | DAC]] for information about what voltage to input here.&lt;br /&gt;
|-&lt;br /&gt;
| A3&lt;br /&gt;
| -5V&lt;br /&gt;
| For DAC&lt;br /&gt;
|-&lt;br /&gt;
| A4&lt;br /&gt;
| +5V&lt;br /&gt;
| Powers most things on the board&lt;br /&gt;
|-&lt;br /&gt;
| A5&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A6&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| A7&lt;br /&gt;
| ADC_EXT1&lt;br /&gt;
| Connects to ADC to monitor voltages on amplifier board&amp;lt;br&amp;gt;See [[#ADC | ADC]]&lt;br /&gt;
|-&lt;br /&gt;
| A8&lt;br /&gt;
| ADC_EXT2&lt;br /&gt;
| Connects to ADC to monitor voltages on amplifier board&amp;lt;br&amp;gt;See [[#ADC | ADC]]&lt;br /&gt;
|-&lt;br /&gt;
| A9&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A10&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| A11&lt;br /&gt;
| No conneciton&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A12&lt;br /&gt;
| ID4&lt;br /&gt;
| Location identifier bit 4&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A13&lt;br /&gt;
| ID3&lt;br /&gt;
| Location identifier bit 3&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A14&lt;br /&gt;
| ID2&lt;br /&gt;
| Location identifier bit 2&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A15&lt;br /&gt;
| ID1&lt;br /&gt;
| Location identifier bit 1&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A16&lt;br /&gt;
| ID0&lt;br /&gt;
| Location identifier bit 0&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4486</id>
		<title>Digital control board documentation</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4486"/>
		<updated>2009-07-22T16:30:34Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* Channel Mapping */ started adding amplifier channel mapping&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This documentation covers the most important things to know while testing the digital control board, including component pinouts, nets, and other information.&lt;br /&gt;
&lt;br /&gt;
== Power Requirements ==&lt;br /&gt;
=== Required Voltages ===&lt;br /&gt;
All components on the digital board '''except the DAC''' can be tested using only a +5V source. The DAC requires +5V, -5V, and a high voltage corresponding to 10V higher than the maximum desired DAC output voltage (see [[#Setting the Output Range | Setting the Output Range]]). Digital and analog grounds must be connected as well before any testing takes place.&lt;br /&gt;
&lt;br /&gt;
=== Power Pins ===&lt;br /&gt;
Power shall be connected to the board as follows:&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Voltage'''&lt;br /&gt;
| '''Eurocard Pin'''&lt;br /&gt;
|-&lt;br /&gt;
| DGND &lt;br /&gt;
| A6&lt;br /&gt;
|-&lt;br /&gt;
| AGND &lt;br /&gt;
| A5&lt;br /&gt;
|-&lt;br /&gt;
| +5V &lt;br /&gt;
| A4&lt;br /&gt;
|-&lt;br /&gt;
| -5V &lt;br /&gt;
| A3&lt;br /&gt;
|-&lt;br /&gt;
| High voltage&amp;lt;br&amp;gt;(DAC max out +10)&lt;br /&gt;
| A2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Power Supply Sequencing ===&lt;br /&gt;
The control board is designed such that voltages may be supplied in any order so long as AGND and DGND are connected properly.  However, for initial testing, the preferred order for powering up the board is as follows:&lt;br /&gt;
&lt;br /&gt;
# Ensure AGND/DGND are connected/grounded&lt;br /&gt;
# +5V&lt;br /&gt;
# -5V&lt;br /&gt;
# High voltage&lt;br /&gt;
&lt;br /&gt;
== FPGA ==&lt;br /&gt;
The control board uses a Xilinx XC3S50A VQ100 FPGA. It has a 100 pin footprint and is located in the center of the control board.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The FPGA is powered by the 3.3V power plane, which is regulated by VR1. The FPGA also obtains 1.2V for its internal logic from a 1.2V power island, regulated by VR3.&lt;br /&gt;
&lt;br /&gt;
=== Logic Standard ===&lt;br /&gt;
The Xilinx XC3S50A supports several different digital logic standards. The control board is hard wired such that the FPGA will use a '''3.3V CMOS''' logic standard.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #''' || '''Net Name''' || '''Signal Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| P1 || FPGA/TMS || [JTAG] &lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P2 || FPGA/TDI || [JTAG] &lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P3 || AD7928/CS || SPI_A_iCS&lt;br /&gt;
| SPI chip select for ADC&lt;br /&gt;
|-&lt;br /&gt;
| P4 || SPI || SDO&lt;br /&gt;
| '''Erroneously wired SPI bus trace'''&amp;lt;br&amp;gt;Connects to SDO on temp. sensor and DIN on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P5 || CLK_5MHZ || SPI_SCLK&lt;br /&gt;
| 5 MHz clock output for SPI bus (ADC and temp. sensor)&lt;br /&gt;
|-&lt;br /&gt;
| P6 || No connection ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P7 || No connection ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P8 || DGND ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P9 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P10 || No connection ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P11 || +3.3V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P12 || No connection ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P13 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P14 || DGND ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P15 || No connection ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P16 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P17 || +1.2V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P18 || DGND ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P19 || No connection ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P20 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P21 || No connection ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P22 || +3.3V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P23 || DGND || [M1: JTAG prog. config.]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P24 || DGND || [M2: JTAG prog. config.]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P25 || DGND || [M0: JTAG prog. config.]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P26 || +3.3V ||&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| P27 || FPGA/CLK_IN || fClk&lt;br /&gt;
| 20 MHz clock input from crystal oscillator&lt;br /&gt;
|-&lt;br /&gt;
| P28 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P29 || No connection || (db) state_Q(0)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P30 || No connection || &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P31 || No connection || (db) state_Q(1)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P32 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P33 || No connection || (db) state_Q(2)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P34 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P35 || CP2201/INT || Eth_iINT&lt;br /&gt;
| Ethernet controller interrupt&lt;br /&gt;
|-&lt;br /&gt;
| P36 || MASTER_RESET || Rst&lt;br /&gt;
| Connects to RESET jumper in upper left of board (active-low, externally pulled up)&lt;br /&gt;
|-&lt;br /&gt;
| P37 || (manually wired) || fClk_out&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P38 || +1.2V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P39 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P40 || CP2201/CS || iCS&lt;br /&gt;
| Chip select for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P41 || CP2201/WR || iWR &lt;br /&gt;
| Write enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P42 || DGND ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P43 || CP2201/RD || iRD&lt;br /&gt;
| Read enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P44 || CP2201/ALE || ALE&lt;br /&gt;
| Address line enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P45 || +3.3V ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P46 || CP2201/RESET || Eth_iRst&lt;br /&gt;
| Reset pin for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P47 || DGND ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P48 || FPGA/INIT_B || [JTAG]&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P49 || CP2201/AD0 || AD(0)&lt;br /&gt;
| Ethernet controller address/data bus, bit 0&lt;br /&gt;
|-&lt;br /&gt;
| P50 || CP2201/AD1 || AD(1) &lt;br /&gt;
| Ethernet controller address/data bus, bit 1&lt;br /&gt;
|-&lt;br /&gt;
| P51 || FPGA/DIN || [JTAG]&lt;br /&gt;
| Serial data input from EEPROM for configuration&lt;br /&gt;
|-&lt;br /&gt;
| P52 || CP2201/AD2 || AD(2)&lt;br /&gt;
| Ethernet controller address/data bus, bit 2&lt;br /&gt;
|-&lt;br /&gt;
| P53 || FPGA/CCLK || [JTAG]&lt;br /&gt;
| Configuration clock (signal generated by FPGA at &amp;lt;br&amp;gt;power on to clock the configuration process)&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P54 || FPGA/DONE || [JTAG]&lt;br /&gt;
| Gives configuration status - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P55 || +3.3V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P56 || CP2201/AD3 || AD(3)&lt;br /&gt;
| Ethernet controller address/data bus, bit 3&lt;br /&gt;
|-&lt;br /&gt;
| P57 || CP2201/AD4 || AD(4)&lt;br /&gt;
| Ethernet controller address/data bus, bit 4&lt;br /&gt;
|-&lt;br /&gt;
| P58 || DGND ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P59 || CP2201/AD5 || AD(5)&lt;br /&gt;
| Ethernet controller address/data bus, bit 5&lt;br /&gt;
|-&lt;br /&gt;
| P60 || CP2201/AD6 || AD(6)&lt;br /&gt;
| Ethernet controller address/date bus, bit 6&lt;br /&gt;
|-&lt;br /&gt;
| P61 || CP2201/AD7 || AD(7)&lt;br /&gt;
| Ethernet controller address/date bus, bit 7&lt;br /&gt;
|-&lt;br /&gt;
| P62 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P63 || DGND ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P64 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P65 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P66 || +1.2V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P67 || +3.3V ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P68 || +3.3V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P69 || DGND ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P70 || ID3 || LocStamp(3)&lt;br /&gt;
| Backplane location identifier jumper, pins 3 &amp;amp; 4&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P71 || ID2 || LocStamp(2)&lt;br /&gt;
| Backplane location identifier jumper, pins 5 &amp;amp; 6&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P72 || ID1 || LocStamp(1)&lt;br /&gt;
| Backplane location identifier jumper, pins 7 &amp;amp; 8&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P73 || ID0 || LocStamp(0)&lt;br /&gt;
| Backplane location identifier jumper, pins 9 &amp;amp; 10&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P74 || DGND ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P75 || FPGA/TDO || [JTAG]&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P76 || FPGA/TCK || [JTAG]&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P77 || ID4 || LocStamp(4)&lt;br /&gt;
| Backplane location identifier jumper, pins 1 &amp;amp; 2&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P78 || No connection ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P79 || +3.3V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P80 || DGND ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P81 || +1.2V || &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P82 || No connection || (db) dbShort&lt;br /&gt;
| Shorts out the waiting timer in FPGA for Ethernet controller initialization (pulled low)&lt;br /&gt;
|-&lt;br /&gt;
| P83 || CLK_5MHZ_2 || DAC_Clk&lt;br /&gt;
| 5 MHz clock output for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P84 || No connection ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P85 || AD5535/DIN || DAC_serData&lt;br /&gt;
| DAC serial data input (FPGA out -&amp;gt; DAC in)&lt;br /&gt;
|-&lt;br /&gt;
| P86 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P87 || DGND ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P88 || AD5535/SYNC || DAC_setISync&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P89 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P90 || No connection ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P91 || DGND ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P92 || +3.3V ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P93 || AD7314/CE || SPI_TCE&lt;br /&gt;
| Chip enable for temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| P94 || (''needs manual connection?''') || SPI_iRst_out&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P95 || DGND ||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P96 || +3.3V ||&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P97 || (former AD7928/DOUT) ||&lt;br /&gt;
| '''Erroneously wired ADC SPI bus connection'''&amp;lt;br&amp;gt;Connects to DOUT on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P98 || AD5535/RESET || DAC_iRst &lt;br /&gt;
|Reset pin for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P99 || DGND ||&lt;br /&gt;
| PUDC_B pin - enables pullup resistors on user IO and input-only pins during FPGA config.&lt;br /&gt;
|-&lt;br /&gt;
| P100 || FPGA/PROG_B || [JTAG]&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== EEPROM ==&lt;br /&gt;
To facilitate power-on configuration of the FPGA, the control board includes a Xilinx XCF01S EEPROM. The EEPROM is located to the left of the FPGA, above the JTAG header, and has a 20 pin footprint. The EEPROM is labelled U5.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The EEPROM uses +3.3V exclusively, which it receives from the +3.3V power plane, regulated by VR1.&lt;br /&gt;
&lt;br /&gt;
=== Flashing/Burning/Writing ===&lt;br /&gt;
Whatever you call it, this refers to storing data in the EEPROM so that it can configure the FPGA at power-on. The EEPROM is programmed using a JTAG interface and the Xilinx Platform USB II cable. It is important to note that in digital board's JTAG chain, the EEPROM is the first device in the chain, unlike in the Xilinx documentation where it is shown as the second device. This should not affect the operation of the board, but should be reflected in the Xilinx software when writing the EEPROM via JTAG. &lt;br /&gt;
&lt;br /&gt;
=== FPGA Configuration ===&lt;br /&gt;
The EEPROM and FPGA are hardwired to use a master serial protocol to transfer the program from the EEPROM to the FPGA. This is the protocol recommended in the Xilinx documentation because it minimizes the number of traces necessary to run between the EEPROM and FPGA. All configuration data is sent over a single trace, FPGA/DIN (pin 1 on EEPROM), controlled by the configuration clock signal (FPGA/CCLK) which is automatically generated by the FPGA at power-on. When configuration is complete, FPGA/DONE (pin 10) is pulled high by the FPGA, and the EEPROM and configuration clock are deactivated.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data line&amp;lt;br&amp;gt;Carries data from the EEPROM to the FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock&amp;lt;br&amp;gt;Auto generated by FPGA at power-on, disabled at end of configuration&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| This is the EEPROM's TDI&amp;lt;br&amp;gt;This is the entry point for the onboard JTAG chain&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during configuration&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during configuration - can be used to intiate reconfiguration of FPGA&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Indicates completion of FPGA configuration&amp;lt;br&amp;gt;High when complete&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 12-16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| This is the EEPROM's TDO/FPGA's TDI&lt;br /&gt;
|-&lt;br /&gt;
| 18-20&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== JTAG Header ==&lt;br /&gt;
To write the FPGA's program to the EEPROM, the board employs a JTAG based programming system consistent with Xilinx's recommendations. The system is designed to operate with Xilnx's Platform USB II cable and the flying lead adapter.&lt;br /&gt;
&lt;br /&gt;
===Header Location and Size===&lt;br /&gt;
The header consists of 14 pins, 100 mil pitch, just below the EEPROM (U5). The header is labelled P1. The pitch of the pins in the header was erroneously selected to be 100 mil, which is not compatible with Xilinx's JTAG ribbon cable. Therefore, the Xilinx flying lead adapter must be used.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The JTAG interface is powered by the +3.3V power plane, not by the computer's USB port. Power is supplied through pin 2 of the JTAG header.&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
Note that the header is positioned on the board rotated 180 degrees from the position in which it is shown in the Xilinx documentation. Care must be taken when connecting the flying leads to ensure they are connected to the right pins. Improper wiring will certainly cause undesired operation, and may cause damage as well. Damage is most likely to occur if one of the flying leads is improperly connected to an odd numbered pin, since it will short to the PCB's ground plane. &lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Flying Lead'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1, 3, 5, 7, 9, 11, 13 (odd pins)&lt;br /&gt;
| DGND&lt;br /&gt;
| Black (connect to any odd numbered pin)&lt;br /&gt;
| Ground pins for signal integrity&amp;lt;br&amp;gt;'''Never connect a flying lead other than the black lead to an odd numbered pin'''&amp;lt;br&amp;gt;Doing so will short to ground and may cause permanent damage if the Platform USB II cable does not have protection against this.&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;Red/VREF&amp;lt;/span&amp;gt;&lt;br /&gt;
| Power source for all JTAG logic&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: green&amp;quot;&amp;gt;Green/TMS&amp;lt;/span&amp;gt;&lt;br /&gt;
| JTAG TMS - connects to EEPROM and FPGA &lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: yellow&amp;quot;&amp;gt;Yellow/TCK&amp;lt;/span&amp;gt;&lt;br /&gt;
| JTAG TCK - connects to EEPROM and FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple&amp;quot;&amp;gt;Purple/TDO&amp;lt;/span&amp;gt;&lt;br /&gt;
| JTAG  boundary scan chain endpoint&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| White/TDI&lt;br /&gt;
| JTAG boundary scan chain start point&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|}&lt;br /&gt;
''The gray HALT flying lead is not connected.''&lt;br /&gt;
&lt;br /&gt;
===JTAG Overview===&lt;br /&gt;
The JTAG interface is clocked by the TCK signal. TCK is generated by the Platform USB II cable, and connects directly from the JTAG header to both the EEPROM and FPGA.&lt;br /&gt;
&lt;br /&gt;
The TMS signal is directly connected to both the EEPROM and FPGA, and is the data line over which JTAG test results (in this case programming results) are sent. TMS is used by only one component at a time.&lt;br /&gt;
&lt;br /&gt;
The TDI/TDO lines form a chain that connects to each JTAG component in series. On the control board, the first point in the chain is the EEPROM's TDI. Next is the EEPROM's TDO, which is the same as the FPGA's TDI. The FPGA's TDO then returns to the JTAG header and the Platform USB II cable.&lt;br /&gt;
&lt;br /&gt;
== DAC ==&lt;br /&gt;
The control board uses the Analog Devices AD5535, 32-channel, 200V max, digital to analog converter. This chip has a modified BC-124 BGA footprint and is located above the Eurocard connector at the bottom of the board. It is labelled U3.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The DAC is primarily powered by the +5V power island, regulated by an off-board power supply and extensively decoupled in the area of the DAC. The DAC also requires -5V, and a high voltage as discussed in [[#Power Requirements | Power Requirements]]. Both of these voltages are supplied by an off-board supply and decoupled near the DAC. In addition to these voltage levels, the DAC requires a precise +2.5V reference, created by the shunt-type voltage reference VR4.&lt;br /&gt;
&lt;br /&gt;
=== Setting the Output Range ===&lt;br /&gt;
The output range of the DAC is set by the 2.5V reference voltage supplied by VR4. The high voltage power supply must supply at a minimum 50 times this voltage, plus 10. Thus, the high voltage power supply should be at least 135V for DAC to operate properly, even though the SiPMs are expected to need only 40V. If it is convenient to use a lower high voltage, VR4 must be replaced to provide lower reference voltage. The high voltage may then be decreased appropriately. To summarize:&lt;br /&gt;
&lt;br /&gt;
* Max output voltage = VREF*50&lt;br /&gt;
* Minimum high voltage supply = VREF*50 + 10&lt;br /&gt;
* Acceptable range for VREF&lt;br /&gt;
** Min: 1V&lt;br /&gt;
** Max: 3.75V (AD5535 datasheet specifies 4V max, but this would require AVCC of 5.25V for the DAC, which is not possible in the current board design)&lt;br /&gt;
&lt;br /&gt;
If relevant, R13 is a 100K resistor.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Diode ===&lt;br /&gt;
The DAC has a built in thermal diode. The diode drop from anode to cathode is typically 0.65V at 25&amp;amp;deg;C. It changes at a rate of -2.20mV/&amp;amp;deg;C. The anode of this diode is connected to the +5V power island, and the cathode is connected to a 270K resistor to ground. The voltage between the cathode and the resistor is connected to VIN1 (pin 15) on the ADC.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
See documentation from Analog Devices.&lt;br /&gt;
&lt;br /&gt;
=== Channel Mapping ===&lt;br /&gt;
Due to the layout of the balls on the footprint of the DAC, the DAC's internal channel numbers (which must be referenced by the FPGA) have no correlation to the channel numbers on the amplifier board. This table summarizes the mapping between various pins that belong to each channel.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''DAC Channel #'''&lt;br /&gt;
| '''DAC Pin #'''&lt;br /&gt;
| '''Digital Board Eurocard Pin #'''&lt;br /&gt;
| '''Amplifier Board Eurocard Pin #'''&lt;br /&gt;
| '''Amplifier Channel #'''&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| B1&lt;br /&gt;
| B3&lt;br /&gt;
| B6&lt;br /&gt;
| 6&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| A2&lt;br /&gt;
| C4&lt;br /&gt;
| B7&lt;br /&gt;
| 7&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| D1&lt;br /&gt;
| B2&lt;br /&gt;
| B4&lt;br /&gt;
| 4&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| C2&lt;br /&gt;
| C3&lt;br /&gt;
| B5&lt;br /&gt;
| 5&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| B3&lt;br /&gt;
| B4&lt;br /&gt;
| B8&lt;br /&gt;
| 8&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| E2&lt;br /&gt;
| C2&lt;br /&gt;
| B3&lt;br /&gt;
| 3&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| F3&lt;br /&gt;
| B1&lt;br /&gt;
| B2&lt;br /&gt;
| 2&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| A4&lt;br /&gt;
| B5&lt;br /&gt;
| B10&lt;br /&gt;
| 10&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| E4&lt;br /&gt;
| C5&lt;br /&gt;
| B9&lt;br /&gt;
| 9&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| B5&lt;br /&gt;
| C6&lt;br /&gt;
| B11&lt;br /&gt;
| 11&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| F5&lt;br /&gt;
| C1&lt;br /&gt;
| B1&lt;br /&gt;
| 1&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| A6&lt;br /&gt;
| C7&lt;br /&gt;
| B13&lt;br /&gt;
| 13&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| E6&lt;br /&gt;
| B6&lt;br /&gt;
| B12&lt;br /&gt;
| 12&lt;br /&gt;
|-&lt;br /&gt;
| 13&lt;br /&gt;
| B7&lt;br /&gt;
| B7&lt;br /&gt;
| B14&lt;br /&gt;
| B14&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| F7&lt;br /&gt;
| C10&lt;br /&gt;
| B19&lt;br /&gt;
| 19&lt;br /&gt;
|-&lt;br /&gt;
| 15&lt;br /&gt;
| E8&lt;br /&gt;
| C8&lt;br /&gt;
| B15&lt;br /&gt;
| 15&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| A8&lt;br /&gt;
| B8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| B9&lt;br /&gt;
| C9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| F9&lt;br /&gt;
| C16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| E10&lt;br /&gt;
| B11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| A10&lt;br /&gt;
| B9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| B11&lt;br /&gt;
| B10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| C12&lt;br /&gt;
| B12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| D13&lt;br /&gt;
| B13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| E12&lt;br /&gt;
| B14&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| A12&lt;br /&gt;
| C11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| B13&lt;br /&gt;
| C12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| H13&lt;br /&gt;
| B16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| G14&lt;br /&gt;
| B15&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 29&lt;br /&gt;
| C14&lt;br /&gt;
| C13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 30&lt;br /&gt;
| F13&lt;br /&gt;
| C15&lt;br /&gt;
|&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 31&lt;br /&gt;
| E14&lt;br /&gt;
| C14&lt;br /&gt;
|&lt;br /&gt;
| DACHEALTH&amp;lt;br&amp;gt;See [[#Channel Descriptions | ADC Channel Descriptions]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==ADC==&lt;br /&gt;
The board includes an Analog Devices AD7928 analog to digital converter. The ADC is located just to the right and slightly below the FPGA. It is labelled U4.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The ADC is powered by the +5V power island, which is regulated by an off-board power supply and decoupled near the ADC. It also requires a precise (&amp;amp;plusmn;1%) 2.5V reference to which it compares voltages when converting from analog to digital. Since the +5V power source is not used for comparison, it is flexible and may vary by &amp;amp;plusmn;0.25V without affecting ADC precision.&lt;br /&gt;
&lt;br /&gt;
===Setting the Measuring Range===&lt;br /&gt;
The measuring range is set programmatically by the FPGA over the SPI bus. The way the ADC is connected on the digital board requires that its measuring range be set to 5V, so the RANGE bit should be set to 1 by the FPGA (see Analog Devices documentation).&lt;br /&gt;
&lt;br /&gt;
===Data Interfacing===&lt;br /&gt;
The ADC uses an SPI bus to communicate with the FPGA. This bus is shared with the temperature sensor. SPI related pins include SCLK, CS, DIN, and DOUT. See the Pinout Table below.&lt;br /&gt;
&lt;br /&gt;
===Channel Descriptions===&lt;br /&gt;
This table shows what signals are monitored by the ADC.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''ADC Channel #'''&lt;br /&gt;
| '''ADC Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| VIN0&lt;br /&gt;
| 16&lt;br /&gt;
| AD7928/VHEALTH&lt;br /&gt;
| This net helps to monitor to overall health of power on the board, but is specifically intended to monitor -5V. It's voltage is the output of a resistor divider between the +5 and -5V power supplies, with resistor values of 33.2K, and 100K. Assuming +5V and -5V are both correct, the output of the divider will be +2.51V. A reading of other than 2.51V indicates a problem with one of the power supplies. Problems with the +5V power supply can be ruled out by reading VIN3. Based on the reading from VIN3, the voltage of the -5V supply can be calculated.&lt;br /&gt;
|-&lt;br /&gt;
| VIN1&lt;br /&gt;
| 15&lt;br /&gt;
| AD5535/CATHODE&lt;br /&gt;
| This is the thermal diode output from the DAC. Should read 4.35V (typical) at 25&amp;amp;deg;C. Drops 2.20mV/&amp;amp;deg;C.&lt;br /&gt;
|-&lt;br /&gt;
| VIN2&lt;br /&gt;
| 14&lt;br /&gt;
| +3.3V&lt;br /&gt;
| This is the +3.3V power plane. A reading of other than +3.3V indicates a problem with VR1.&lt;br /&gt;
|-&lt;br /&gt;
| VIN3&lt;br /&gt;
| 13&lt;br /&gt;
| +5V&lt;br /&gt;
| This is the +5V power island. A reading of other than +5V indicates a problem with the +5V power supply.&lt;br /&gt;
|-&lt;br /&gt;
| VIN4&lt;br /&gt;
| 12&lt;br /&gt;
| ADC_EXT1&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A7. It is intended to measure the output of thermistor on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN5&lt;br /&gt;
| 11&lt;br /&gt;
| +1.2V&lt;br /&gt;
| This is the +1.2V power island. This island powers the internal logic of the FPGA. A reading of other than 1.2V indicates a problem with VR3.&lt;br /&gt;
|-&lt;br /&gt;
| VIN6&lt;br /&gt;
| 10&lt;br /&gt;
| ADC_EXT2&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A8. It is intended to measure one of the transistor base voltages on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN7&lt;br /&gt;
| 9&lt;br /&gt;
| DACHEALTH&lt;br /&gt;
| This channel monitors the output of a resistor divider connected to channel 31 of the DAC. The divider consists of three resistors of 200K, 200K, and 10.2K (in order). The ADC reads out the voltage level between the second 200K and then 10.2K resistor. These resistors were selected so that at 200V, the readout voltage will be 4.973V. Since the divider should be linear, the expected voltage at 20V is 0.4973V. Three resistors were used rather than two to avoid exceeding the resistors' power ratings when the DAC is set to its maximum voltage. Note that since this divider will consume up to 484uA of current at 200V, this DAC channel should not be used for anything that might require more than ~200uA of current (the DAC can source 700uA max). The channel is routed to the backplane nonetheless.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| SPI clock (SCLK), from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| DIN&lt;br /&gt;
| SPI data in, from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&amp;lt;br&amp;gt;''Currently wired wrong''&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| CS&lt;br /&gt;
| SPI chip select&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| AD7928/REF_IN&lt;br /&gt;
| +2.5V reference, set by VR2&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9-16&lt;br /&gt;
| VIN[7:0]&lt;br /&gt;
| See [[#Channel Descriptions | ADC Channel Descriptions]]&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| DOUT&lt;br /&gt;
| SPI data out&amp;lt;br&amp;gt;''Currently wired incorrectly''&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| +3.3V&lt;br /&gt;
| VDRIVE, powers the SPI logic&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Ethernet Controller ==&lt;br /&gt;
The board uses a Silicon Laboratories CP2201, 28-pin, ethernet controller. The CP2201 is located just above the FPGA, and is labelled U2.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The CP2201 uses only +3.3V, which is supplied by the +3.3V power plane and regulated by VR1. Appropriate decoupling capacitors can be found near the CP2201.&lt;br /&gt;
&lt;br /&gt;
=== Ethernet Jack ===&lt;br /&gt;
To the right of the CP2201 is a Pulse J0011D21NL ethernet jack, labelled J1. This jack has a built-in 1:1 inductive coupling. For best results, connect this jack to a nearby ethernet switch. The jack may also be connected directly to a computer using a crossover cable. Though auto-crossover is not supported by the CP2201, if the computer's NIC supports it, a crossover cable is not necessary to connect directly to a computer.&lt;br /&gt;
&lt;br /&gt;
==== Ethernet Jack Pins ====&lt;br /&gt;
These are visible only on the back side of the board. Pin 1 is indicated by a square pad. Pin 8 is the farthest pin from pin 1. Pins are numbered such that the 4 pins closer to the plastic thru-hole connectors are odd (1, 3, 5, 7), and the four pins closer to the CP2201 are are even (2, 4, 6, 8).&lt;br /&gt;
&lt;br /&gt;
* Pin 1: TX+&lt;br /&gt;
* Pin 2: AC coupled to DGND&lt;br /&gt;
* Pin 3: TX-&lt;br /&gt;
* Pin 4: RX+&lt;br /&gt;
* Pin 5: AC coupled to DGND&lt;br /&gt;
* Pin 6: RX-&lt;br /&gt;
* Pin 7: No connection&lt;br /&gt;
* Pin 8: DGND (direct)&lt;br /&gt;
&lt;br /&gt;
The two large thru-hole pins (not numbered) connect to the metal shielding on the outside of the jack. These are directly connected to DGND to shield against electrical noise inside the jack.&lt;br /&gt;
&lt;br /&gt;
The two plastic thru-hole pins are not conductive and have no electrical connection. They are present only for structural purposes, presumably to prevent stress on the solder points when an ethernet wire is inserted or removed from the jack.&lt;br /&gt;
&lt;br /&gt;
=== Crystal Oscillator ===&lt;br /&gt;
The CP2201 is responsible for driving the 20MHz crystal oscillator. This oscillator clocks both the CP2201 and the FPGA. The crystal oscillator can be found above the right corner of the FPGA. It can be identified by its four surface mount pads and roughly .3&amp;quot; length. It is labelled Y1, though this label is not visible after the oscillator is soldered on. The CP2201 uses an inverting driver to excite the crystal. The output of the crystal is then sent to the CP2201 and the FPGA.&lt;br /&gt;
&lt;br /&gt;
=== Bus Format and Multiplexing ===&lt;br /&gt;
The 28-pin CP2201 used on the board only supports multiplexed operation. This means that both address and data information are passed over the same set of 8 traces. Hence, these traces are referred to as the address/data (AD) bus. A separate address line enable (ALE) trace prevents collisions from occuring on these traces. The communication protocol used is the Intel format. See the CP2201's datasheet for more information about this.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| CP2201/LA&lt;br /&gt;
| Link/activity indicator&amp;lt;br&amp;gt;Routed to backplane but not implemented&amp;lt;br&amp;gt;See CP2201 data sheet for information on how to connect to an LED&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| DGND&lt;br /&gt;
| By the data sheet, this pin should be AGND&amp;lt;br&amp;gt;We deliberately set it to DGND to avoid noise on AGND plane&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| +3.3V&lt;br /&gt;
| AV+ power pin&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| CP2201/RX-&lt;br /&gt;
| Connects to RX- on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| CP2201/RX+&lt;br /&gt;
| Connects to RX+ on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| CP2201/TX+&lt;br /&gt;
| Connects to TX+ on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| CP2201/TX-&lt;br /&gt;
| Connects to TX- on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;quot;VDD&amp;quot; power pin&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;DGND1&amp;quot; per the data sheet&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| CP2201/RESET&lt;br /&gt;
| &amp;quot;RST&amp;quot; per the data sheet&amp;lt;br&amp;gt;Connects to FPGA - should be programmatically triggered upon reset of FPGA by RESET jumper&lt;br /&gt;
|-&lt;br /&gt;
| 11-18&lt;br /&gt;
| CP2201/AD[0:7]&lt;br /&gt;
| Bits 0-7 of the address/data bus&amp;lt;br&amp;gt;Connect to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;quot;VDD&amp;quot; power pin&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;DGND2&amp;quot; per the data sheet&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| CP2201/ALE&lt;br /&gt;
| Address line enable&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| CP2201/RD&lt;br /&gt;
| Read strobe for AD bus&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| CP2201/WR&lt;br /&gt;
| Write strobe for AD bus&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| CP2201/CS&lt;br /&gt;
| Chip select&amp;lt;br&amp;gt;Connects to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| CP2201/INT&lt;br /&gt;
| Interrupt request&amp;lt;br&amp;gt;Connects to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;MOTEN&amp;quot; (Motorola enable) per the datasheet&amp;lt;br&amp;gt;Tied low to disable Motorola bus format (enable Intel format)&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| CP2201/XTAL2&lt;br /&gt;
| Crystal oscillator driver&amp;lt;br&amp;gt;The CP2201 inverts the 20MHz clock signal and feeds it back to the crystal oscillator to encourage larger oscillations&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| FPGA/CLK_IN&lt;br /&gt;
| &amp;quot;XTAL1&amp;quot; per the data sheet&amp;lt;br&amp;gt;This is the 20MHz clock input&amp;lt;br&amp;gt;Also connects to the FPGA's clock input&lt;br /&gt;
|- &lt;br /&gt;
| 29*&lt;br /&gt;
| DGND&lt;br /&gt;
| This is not a pin but rather the base of the CP2201 package.&amp;lt;br&amp;gt;It is connected to the DGND plane for thermal relief&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Eurocard Connector ==&lt;br /&gt;
At the bottom of the control board is the Eurocard connector, labelled P2. The Eurocard connector connects the board to the backplane and also connects the board to its power supplies. The Eurocard has 48 pins arranged in three rows of 16 pins each. Rows B and C are exclusively used to pass SiPM bias voltages to the backplane as described in [[#Channel Mapping | DAC Channel Mapping]]. Here is a table describing the purpose of pins in row A:&lt;br /&gt;
&lt;br /&gt;
=== Row A Pinout Table ===&lt;br /&gt;
Note that when viewing the front side of the board with the Eurocard at the bottom, these pins go from right to left. If you look closely at the pins, you will see that pin A1 has a square pad, unlike the round pads of the others.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| A1&lt;br /&gt;
| CP2201/LA&lt;br /&gt;
| Ethernet link/activity indicator routed to backplane&lt;br /&gt;
|-&lt;br /&gt;
| A2&lt;br /&gt;
| High voltage input (+210V max)&lt;br /&gt;
| High voltage input for DAC. See [[#DAC | DAC]] for information about what voltage to input here.&lt;br /&gt;
|-&lt;br /&gt;
| A3&lt;br /&gt;
| -5V&lt;br /&gt;
| For DAC&lt;br /&gt;
|-&lt;br /&gt;
| A4&lt;br /&gt;
| +5V&lt;br /&gt;
| Powers most things on the board&lt;br /&gt;
|-&lt;br /&gt;
| A5&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A6&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| A7&lt;br /&gt;
| ADC_EXT1&lt;br /&gt;
| Connects to ADC to monitor voltages on amplifier board&amp;lt;br&amp;gt;See [[#ADC | ADC]]&lt;br /&gt;
|-&lt;br /&gt;
| A8&lt;br /&gt;
| ADC_EXT2&lt;br /&gt;
| Connects to ADC to monitor voltages on amplifier board&amp;lt;br&amp;gt;See [[#ADC | ADC]]&lt;br /&gt;
|-&lt;br /&gt;
| A9&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A10&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| A11&lt;br /&gt;
| No conneciton&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A12&lt;br /&gt;
| ID4&lt;br /&gt;
| Location identifier bit 4&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A13&lt;br /&gt;
| ID3&lt;br /&gt;
| Location identifier bit 3&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A14&lt;br /&gt;
| ID2&lt;br /&gt;
| Location identifier bit 2&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A15&lt;br /&gt;
| ID1&lt;br /&gt;
| Location identifier bit 1&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A16&lt;br /&gt;
| ID0&lt;br /&gt;
| Location identifier bit 0&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_debugging_notes&amp;diff=4381</id>
		<title>Digital control board debugging notes</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_debugging_notes&amp;diff=4381"/>
		<updated>2009-06-22T16:10:11Z</updated>

		<summary type="html">&lt;p&gt;Underwood: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains a list of all currently known problems with the digital control board.&lt;br /&gt;
&lt;br /&gt;
== No Power on +1.2V Power Island ==&lt;br /&gt;
=== Description ===&lt;br /&gt;
The +1.2V island was found to be at 0.0V rather than +1.2V.&lt;br /&gt;
&lt;br /&gt;
=== Cause ===&lt;br /&gt;
The +5V input (pin 2) on the +1.2V voltage regulator, VR3 (Analog Devices ADP1715), was  not connected.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
A dab of solder was used to short pins 1 and 2 on VR3. Pin 1 is an active high chip enable pin, which is permanently tied to +5V.&lt;br /&gt;
&lt;br /&gt;
=== Other Details and Current Status ===&lt;br /&gt;
This problem was due to an unconnected pin in the original schematics. The schematics have '''not yet been updated''' to reflect the solution.&lt;br /&gt;
&lt;br /&gt;
* June 22, 2009: One board has been modified to correct this problem.&lt;br /&gt;
&lt;br /&gt;
== SPI Bus Miswired ==&lt;br /&gt;
=== Description ===&lt;br /&gt;
The SPI bus to the temperature sensor and the ADC is not wired correctly.&lt;br /&gt;
&lt;br /&gt;
=== Cause ===&lt;br /&gt;
FPGA pin 5 (labelled SPI) is connected to DIN on the ADC, and DOUT of the temperature sensor. FPGA pin 96 (labelled AD7928/DOUT) is connected to DOUT on the ADC. SPI designates that all slave device DOUT traces be connected together. Chip select and HiZ logic are used to prevent devices from fighting over the signal line.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
DOUT on the temperature sensor should be connected to DOUT on the ADC and pin 96 on the FPGA. This can be accomplished by cutting the existing DOUT trace near the temperature sensor and soldering a wire to DOUT on the ADC. DIN on the ADC can then be connected with a wire to pin 5 on the FPGA, or if possible, simply left connected using the original trace. In this configuration, pin 5 on the FPGA will become the SPI MOSI (master out, slave in) line, and pin 96 on the FPGA will become the SPI MISO (master in, slave out) line. DIN on the temperature sensor is left tied to ground, since it is not needed.&lt;br /&gt;
&lt;br /&gt;
=== Other Details and Current Status ===&lt;br /&gt;
This problem was due to errors int he original schematics. The schematics have '''not yet been updated''' to reflect the solution.&lt;br /&gt;
&lt;br /&gt;
* June 22, 2009: This modification has not yet been implemented.&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Design_and_prototyping_of_SiPM_electronics&amp;diff=4380</id>
		<title>Design and prototyping of SiPM electronics</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Design_and_prototyping_of_SiPM_electronics&amp;diff=4380"/>
		<updated>2009-06-22T15:47:52Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* Current Progress */  added link to debugging notes&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:TaggerBoards.png|thumb|445px|Basic Tagger Microscope control/wiring scheme]]&lt;br /&gt;
&lt;br /&gt;
The pages listed here describe the work in electronics undertaken to support Silicon Photomultiplier (SiPM) based  readout of the Tagger Microscope for JLab Hall-D and the GlueX experiment in particular. The working design concept for the Tagger's readout involves an array of PCB boards with SiPMs and their amplifiers, summing circuits etc. suspended in a light-tight box out of the plane of incoming electrons. Each of these &amp;quot;amplifier&amp;quot; or &amp;quot;analog&amp;quot; boards are connected across a light-sealing bus board to a &amp;quot;control&amp;quot; or &amp;quot;digital&amp;quot; board. The latter set of boards principally contain bias voltage control circuitry and an architecture that allows Ethernet-based communication with a controlling PC. An added advantage of this two-tier design is the ease with which the tagger can be wired without introducing light leaks: the SiPM signals are passed into a chamber more tolerant of ambient light. (The coaxial cables can  then take the SiPM signals off digital boards.) The adjacent diagram outlines this scheme.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Amplifier Boards ==&lt;br /&gt;
&lt;br /&gt;
=== Analog Amplifier ===&lt;br /&gt;
&lt;br /&gt;
The suitability of commercially-available SiPMs have been evaluated with &amp;quot;AMP_0604&amp;quot; amplifier by [http://www.photonique.ch/ Photonique].&lt;br /&gt;
&lt;br /&gt;
The following pages provide analysis of this circuit:&lt;br /&gt;
* [[SiPM Amplifier]] - analog amplifier circuit supplied by for use with the SiPMs.&lt;br /&gt;
** [[MATLAB amplifier in detail]] - more information regarding the implementation of the MATLAB-based simulation of the amplifier circuit.&lt;br /&gt;
&lt;br /&gt;
A similar amplifier circuit is necessary replicated for each SiPM in the tagger microscope. However, microscope readout calls for somewhat different design requirements and operating condition constraints. The following is a brief outline the demands on the amplifier design:&lt;br /&gt;
* adjustable gain, ranging from readout of hundreds of pixels to calibration with single-photon counting&lt;br /&gt;
* less than 15% gain variability on transistor &amp;lt;math&amp;gt;\beta&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;h_{FE}&amp;lt;/math&amp;gt;) parameter&lt;br /&gt;
* summing circuit to pool SiPM signals in groups of 5&lt;br /&gt;
* minimized pulse duration&lt;br /&gt;
* minimized power consumption &lt;br /&gt;
&lt;br /&gt;
A full discussion of these along with steps taken to meet the new design goals are outlined in:&lt;br /&gt;
* [[SiPM Amplifier Optimization]]&lt;br /&gt;
** [[SiPM Amplifier Signal Analysis]]&lt;br /&gt;
** [[SiPM Amplifier Components]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Digital Control Boards ==&lt;br /&gt;
&lt;br /&gt;
=== Current Progress ===&lt;br /&gt;
The PCB layout of the digital control board is complete. Three prototype identical prototype boards are currently being tested. Documentation for these boards can be found here: [[Digital control board documentation]]&lt;br /&gt;
&lt;br /&gt;
For debugging notes, including all currently known problems, see [[Digital control board debugging notes]].&lt;br /&gt;
&lt;br /&gt;
=== Design Tree ===&lt;br /&gt;
&lt;br /&gt;
* [[SiPM digital control board]] - design of the digital PCB for controlling the SiPMs.&lt;br /&gt;
** Programming the FPGA&lt;br /&gt;
*** [[Programming the Ethernet controller]] - discussion of the design for the core of the FPGA which handles the complex needs of the FPGA&amp;amp;nbsp;-&amp;amp;nbsp;Ethernet controller chip interface.&lt;br /&gt;
**** [[Reset and Initialization]] - discussion of the design for the reset and initialization part of the core&lt;br /&gt;
**** [[Ethernet packets]] - a detail of the packets we intend to use on our network.&lt;br /&gt;
*** [[Programming the DAC]] - discussion of the design for the DAC.&lt;br /&gt;
*** [[Programming the SPI]] - discussion of the hybrid module that controls both the ADC and the temperature sensor over a single SPI bus. This design incorporates the (now obsolete) predecessor modules:&lt;br /&gt;
**** [[Programming the temperature sensor]] - discussion of the design for the temperature sensor.&lt;br /&gt;
**** [[Programming the ADC]] - discussion of the design for the ADC.&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* Presentation on FPGA programming [http://zeus.phys.uconn.edu/~senderovich/GlueX/Tagger/Reports/FPGAtalk-4-17-2008/FPGAdesign.ppt PPT] [http://zeus.phys.uconn.edu/~senderovich/GlueX/Tagger/Reports/FPGAtalk-4-17-2008/FPGAdesign.pdf PDF] &lt;br /&gt;
* [http://www.vhdl-online.de/tutorial/ VHDL Tutorial]&lt;br /&gt;
* [http://tams-www.informatik.uni-hamburg.de/research/vlsi/vhdl/index.php?content=03-documentation The Hamburg VHDL Archive]&lt;br /&gt;
&lt;br /&gt;
=== VHDL Overview ===&lt;br /&gt;
&lt;br /&gt;
* [[VHDL tutorial]] - a brief guide to VHDL design with a design example; the introduction and core of the tutorial.&lt;br /&gt;
** [[VHDL: Where to start]] - section one of the tutorial, focusing on preparing your design for coding.&lt;br /&gt;
** [[VHDL: Enter the code monkey]] - section two of the tutorial, focusing on outlining the framework of your code.&lt;br /&gt;
** [[VHDL: The real code]] - section three of the tutorial, focusing on coding the body of your design.&lt;br /&gt;
** [[VHDL: Xilinx ISE]] - section four of the tutorial, focusing on using the development environment.&lt;br /&gt;
&lt;br /&gt;
== To-do list ==&lt;br /&gt;
&lt;br /&gt;
* Upload [[Programming the ADC|ADC module]] block diagrams&lt;br /&gt;
* &amp;lt;s&amp;gt;Combine [[Programming the ADC|ADC]] &amp;amp; [[Programming the temperature sensor|temperature sensor]] into single &amp;quot;SPI&amp;quot; module&amp;lt;/s&amp;gt;&lt;br /&gt;
[[Programming_the_Ethernet_controller#.28000.29_Reset_Cycle|Ethernet module]]&lt;br /&gt;
* &amp;lt;s&amp;gt;Complete [[Programming the Ethernet controller|Ethernet controller module]]&amp;lt;/s&amp;gt;&lt;br /&gt;
** &amp;lt;s&amp;gt;Registers&amp;lt;/s&amp;gt;&lt;br /&gt;
** &amp;lt;s&amp;gt;Idler&amp;lt;/s&amp;gt;&lt;br /&gt;
** &amp;lt;s&amp;gt;Reader&amp;lt;/s&amp;gt;&lt;br /&gt;
** &amp;lt;s&amp;gt;Querier&amp;lt;/s&amp;gt;&lt;br /&gt;
** &amp;lt;s&amp;gt;Programmer&amp;lt;/s&amp;gt;&lt;br /&gt;
** &amp;lt;s&amp;gt;Transmitter&amp;lt;/s&amp;gt;&lt;br /&gt;
** &amp;lt;s&amp;gt;Transceiver&amp;lt;/s&amp;gt;, extra debugging quasi-emulators in progress&lt;br /&gt;
** &amp;lt;s&amp;gt;[[Reset and Initialization|Reset module]]&amp;lt;/s&amp;gt;&lt;br /&gt;
*** &amp;lt;s&amp;gt;Check all modules for proper async reset support&amp;lt;/s&amp;gt;&lt;br /&gt;
*** &amp;lt;s&amp;gt;Execute on startup&amp;lt;/s&amp;gt;&lt;br /&gt;
*** &amp;lt;s&amp;gt;Execute on command&amp;lt;/s&amp;gt;&lt;br /&gt;
*** &amp;lt;s&amp;gt;Soft reset - load and report MAC and location addresses.&amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;s&amp;gt;Integrate all modules and simulate the device as a whole&amp;lt;/s&amp;gt;&lt;br /&gt;
* &amp;lt;s&amp;gt;Determine size of FPGA&amp;lt;/s&amp;gt;&lt;br /&gt;
* Design or purchase connector to bus board&lt;br /&gt;
* Purchase all components (including EEPROM, RJ-45 female jack, etc)&lt;br /&gt;
* Obtain footprints of all chips, connectors, jacks, etc&lt;br /&gt;
* PCB layout [in progress]&lt;br /&gt;
* Prototype PCB&lt;br /&gt;
* Design bus board&lt;br /&gt;
* Design [[SiPM Amplifier|analog board]]&lt;br /&gt;
&lt;br /&gt;
==Schematics and PCB Designs==&lt;br /&gt;
&lt;br /&gt;
[[Woody Underwood|Electronics board design project by Woody Underwood]]&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4379</id>
		<title>Digital control board documentation</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4379"/>
		<updated>2009-06-16T20:42:24Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* Pinout Table */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This documentation covers the most important things to know while testing the digital control board, including component pinouts, nets, and other information.&lt;br /&gt;
&lt;br /&gt;
== Power Requirements ==&lt;br /&gt;
=== Required Voltages ===&lt;br /&gt;
All components on the digital board '''except the DAC''' can be tested using only a +5V source. The DAC requires +5V, -5V, and a high voltage corresponding to 10V higher than the maximum desired DAC output voltage (see [[#Setting the Output Range | Setting the Output Range]]). Digital and analog grounds must be connected as well before any testing takes place.&lt;br /&gt;
&lt;br /&gt;
=== Power Pins ===&lt;br /&gt;
Power shall be connected to the board as follows:&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Voltage'''&lt;br /&gt;
| '''Eurocard Pin'''&lt;br /&gt;
|-&lt;br /&gt;
| DGND &lt;br /&gt;
| A6&lt;br /&gt;
|-&lt;br /&gt;
| AGND &lt;br /&gt;
| A5&lt;br /&gt;
|-&lt;br /&gt;
| +5V &lt;br /&gt;
| A4&lt;br /&gt;
|-&lt;br /&gt;
| -5V &lt;br /&gt;
| A3&lt;br /&gt;
|-&lt;br /&gt;
| High voltage&amp;lt;br&amp;gt;(DAC max out +10)&lt;br /&gt;
| A2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Power Supply Sequencing ===&lt;br /&gt;
The control board is designed such that voltages may be supplied in any order so long as AGND and DGND are connected properly.  However, for initial testing, the preferred order for powering up the board is as follows:&lt;br /&gt;
&lt;br /&gt;
# Ensure AGND/DGND are connected/grounded&lt;br /&gt;
# +5V&lt;br /&gt;
# -5V&lt;br /&gt;
# High voltage&lt;br /&gt;
&lt;br /&gt;
== FPGA ==&lt;br /&gt;
The control board uses a Xilinx XC3S50A VQ100 FPGA. It has a 100 pin footprint and is located in the center of the control board.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The FPGA is powered by the 3.3V power plane, which is regulated by VR1. The FPGA also obtains 1.2V for its internal logic from a 1.2V power island, regulated by VR3.&lt;br /&gt;
&lt;br /&gt;
=== Logic Standard ===&lt;br /&gt;
The Xilinx XC3S50A supports several different digital logic standards. The control board is hard wired such that the FPGA will use a '''3.3V CMOS''' logic standard.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| P1&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P2&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P3&lt;br /&gt;
| AD7928/CS&lt;br /&gt;
| SPI chip select for ADC&lt;br /&gt;
|-&lt;br /&gt;
| P4&lt;br /&gt;
| SPI&lt;br /&gt;
| '''Erroneously wired SPI bus trace'''&amp;lt;br&amp;gt;Connects to SDO on temp. sensor and DIN on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P5&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| 5 MHz clock output for SPI bus (ADC and temp. sensor)&lt;br /&gt;
|-&lt;br /&gt;
| P6&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P7&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P8&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P9&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P10&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P11&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P12&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P13&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P14&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P15&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P17&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P18&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P19&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P20&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P21&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P22&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P23&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P24&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P25&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P26&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| P27&lt;br /&gt;
| FPGA/CLK_IN&lt;br /&gt;
| 20 MHz clock input from crystal oscillator&lt;br /&gt;
|-&lt;br /&gt;
| P28&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P29&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P30&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P31&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P32&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P33&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P34&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P35&lt;br /&gt;
| CP2201/INT&lt;br /&gt;
| Ethernet controller interrupt&lt;br /&gt;
|-&lt;br /&gt;
| P36&lt;br /&gt;
| MASTER_RESET&lt;br /&gt;
| Connects to RESET jumper in upper left of board (active-low, externally pulled up)&lt;br /&gt;
|-&lt;br /&gt;
| P37&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P38&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P39&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P40&lt;br /&gt;
| CP2201/CS&lt;br /&gt;
| Chip select for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P41&lt;br /&gt;
| CP2201/WR&lt;br /&gt;
| Write enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P42&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P43&lt;br /&gt;
| CP2201/RD&lt;br /&gt;
| Read enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P44&lt;br /&gt;
| CP2201/ALE&lt;br /&gt;
| Address line enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P45&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P46&lt;br /&gt;
| CP2201/RESET&lt;br /&gt;
| Reset pin for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P47&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P48&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P49&lt;br /&gt;
| CP2201/AD0&lt;br /&gt;
| Ethernet controller address/data bus, bit 0&lt;br /&gt;
|-&lt;br /&gt;
| P50&lt;br /&gt;
| CP2201/AD1&lt;br /&gt;
| Ethernet controller address/data bus, bit 1&lt;br /&gt;
|-&lt;br /&gt;
| P51&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data input from EEPROM for configuration&lt;br /&gt;
|-&lt;br /&gt;
| P52&lt;br /&gt;
| CP2201/AD2&lt;br /&gt;
| Ethernet controller address/data bus, bit 2&lt;br /&gt;
|-&lt;br /&gt;
| P53&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock (signal generated by FPGA at &amp;lt;br&amp;gt;power on to clock the configuration process)&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P54&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Gives configuration status - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P55&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P56&lt;br /&gt;
| CP2201/AD3&lt;br /&gt;
| Ethernet controller address/data bus, bit 3&lt;br /&gt;
|-&lt;br /&gt;
| P57&lt;br /&gt;
| CP2201/AD4&lt;br /&gt;
| Ethernet controller address/data bus, bit 4&lt;br /&gt;
|-&lt;br /&gt;
| P58&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P59&lt;br /&gt;
| CP2201/AD5&lt;br /&gt;
| Ethernet controller address/data bus, bit 5&lt;br /&gt;
|-&lt;br /&gt;
| P60&lt;br /&gt;
| CP2201/AD6&lt;br /&gt;
| Ethernet controller address/date bus, bit 6&lt;br /&gt;
|-&lt;br /&gt;
| P61&lt;br /&gt;
| CP2201/AD7&lt;br /&gt;
| Ethernet controller address/date bus, bit 7&lt;br /&gt;
|-&lt;br /&gt;
| P62&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P63&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P64&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P65&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P66&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P67&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P68&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P69&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P70&lt;br /&gt;
| ID3&lt;br /&gt;
| Backplane location identifier jumper, pins 3 &amp;amp; 4&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P71&lt;br /&gt;
| ID2&lt;br /&gt;
| Backplane location identifier jumper, pins 5 &amp;amp; 6&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P72&lt;br /&gt;
| ID1&lt;br /&gt;
| Backplane location identifier jumper, pins 7 &amp;amp; 8&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P73&lt;br /&gt;
| ID0&lt;br /&gt;
| Backplane location identifier jumper, pins 9 &amp;amp; 10&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P74&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P75&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P76&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P77&lt;br /&gt;
| ID4&lt;br /&gt;
| Backplane location identifier jumper, pins 1 &amp;amp; 2&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P78&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P79&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P80&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P81&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P82&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P83&lt;br /&gt;
| CLK_5MHZ_2&lt;br /&gt;
| 5 MHz clock output for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P84&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P85&lt;br /&gt;
| AD5535/DIN&lt;br /&gt;
| DAC serial data input (FPGA out -&amp;gt; DAC in)&lt;br /&gt;
|-&lt;br /&gt;
| P86&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P87&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P89&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P90&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P91&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P92&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P93&lt;br /&gt;
| AD7314/CE&lt;br /&gt;
| Chip enable for temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| P94&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P95&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P96&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P97&lt;br /&gt;
| AD7928/DOUT&lt;br /&gt;
| '''Erroneously wired ADC SPI bus connection'''&amp;lt;br&amp;gt;Connects to DOUT on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P98&lt;br /&gt;
| AD5535/RESET&lt;br /&gt;
| Reset pin for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P99&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P100&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== EEPROM ==&lt;br /&gt;
To facilitate power-on configuration of the FPGA, the control board includes a Xilinx XCF01S EEPROM. The EEPROM is located to the left of the FPGA, above the JTAG header, and has a 20 pin footprint. The EEPROM is labelled U5.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The EEPROM uses +3.3V exclusively, which it receives from the +3.3V power plane, regulated by VR1.&lt;br /&gt;
&lt;br /&gt;
=== Flashing/Burning/Writing ===&lt;br /&gt;
Whatever you call it, this refers to storing data in the EEPROM so that it can configure the FPGA at power-on. The EEPROM is programmed using a JTAG interface and the Xilinx Platform USB II cable. It is important to note that in digital board's JTAG chain, the EEPROM is the first device in the chain, unlike in the Xilinx documentation where it is shown as the second device. This should not affect the operation of the board, but should be reflected in the Xilinx software when writing the EEPROM via JTAG. &lt;br /&gt;
&lt;br /&gt;
=== FPGA Configuration ===&lt;br /&gt;
The EEPROM and FPGA are hardwired to use a master serial protocol to transfer the program from the EEPROM to the FPGA. This is the protocol recommended in the Xilinx documentation because it minimizes the number of traces necessary to run between the EEPROM and FPGA. All configuration data is sent over a single trace, FPGA/DIN (pin 1 on EEPROM), controlled by the configuration clock signal (FPGA/CCLK) which is automatically generated by the FPGA at power-on. When configuration is complete, FPGA/DONE (pin 10) is pulled high by the FPGA, and the EEPROM and configuration clock are deactivated.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data line&amp;lt;br&amp;gt;Carries data from the EEPROM to the FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock&amp;lt;br&amp;gt;Auto generated by FPGA at power-on, disabled at end of configuration&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| This is the EEPROM's TDI&amp;lt;br&amp;gt;This is the entry point for the onboard JTAG chain&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during configuration&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during configuration - can be used to intiate reconfiguration of FPGA&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Indicates completion of FPGA configuration&amp;lt;br&amp;gt;High when complete&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 12-16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| This is the EEPROM's TDO/FPGA's TDI&lt;br /&gt;
|-&lt;br /&gt;
| 18-20&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== JTAG Header ==&lt;br /&gt;
To write the FPGA's program to the EEPROM, the board employs a JTAG based programming system consistent with Xilinx's recommendations. The system is designed to operate with Xilnx's Platform USB II cable and the flying lead adapter.&lt;br /&gt;
&lt;br /&gt;
===Header Location and Size===&lt;br /&gt;
The header consists of 14 pins, 100 mil pitch, just below the EEPROM (U5). The header is labelled P1. The pitch of the pins in the header was erroneously selected to be 100 mil, which is not compatible with Xilinx's JTAG ribbon cable. Therefore, the Xilinx flying lead adapter must be used.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The JTAG interface is powered by the +3.3V power plane, not by the computer's USB port. Power is supplied through pin 2 of the JTAG header.&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
Note that the header is positioned on the board rotated 180 degrees from the position in which it is shown in the Xilinx documentation. Care must be taken when connecting the flying leads to ensure they are connected to the right pins. Improper wiring will certainly cause undesired operation, and may cause damage as well. Damage is most likely to occur if one of the flying leads is improperly connected to an odd numbered pin, since it will short to the PCB's ground plane. &lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Flying Lead'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1, 3, 5, 7, 9, 11, 13 (odd pins)&lt;br /&gt;
| DGND&lt;br /&gt;
| Black (connect to any odd numbered pin)&lt;br /&gt;
| Ground pins for signal integrity&amp;lt;br&amp;gt;'''Never connect a flying lead other than the black lead to an odd numbered pin'''&amp;lt;br&amp;gt;Doing so will short to ground and may cause permanent damage if the Platform USB II cable does not have protection against this.&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;Red/VREF&amp;lt;/span&amp;gt;&lt;br /&gt;
| Power source for all JTAG logic&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: green&amp;quot;&amp;gt;Green/TMS&amp;lt;/span&amp;gt;&lt;br /&gt;
| JTAG TMS - connects to EEPROM and FPGA &lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: yellow&amp;quot;&amp;gt;Yellow/TCK&amp;lt;/span&amp;gt;&lt;br /&gt;
| JTAG TCK - connects to EEPROM and FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color: purple&amp;quot;&amp;gt;Purple/TDO&amp;lt;/span&amp;gt;&lt;br /&gt;
| JTAG  boundary scan chain endpoint&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| White/TDI&lt;br /&gt;
| JTAG boundary scan chain start point&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|}&lt;br /&gt;
''The gray HALT flying lead is not connected.''&lt;br /&gt;
&lt;br /&gt;
===JTAG Overview===&lt;br /&gt;
The JTAG interface is clocked by the TCK signal. TCK is generated by the Platform USB II cable, and connects directly from the JTAG header to both the EEPROM and FPGA.&lt;br /&gt;
&lt;br /&gt;
The TMS signal is directly connected to both the EEPROM and FPGA, and is the data line over which JTAG test results (in this case programming results) are sent. TMS is used by only one component at a time.&lt;br /&gt;
&lt;br /&gt;
The TDI/TDO lines form a chain that connects to each JTAG component in series. On the control board, the first point in the chain is the EEPROM's TDI. Next is the EEPROM's TDO, which is the same as the FPGA's TDI. The FPGA's TDO then returns to the JTAG header and the Platform USB II cable.&lt;br /&gt;
&lt;br /&gt;
== DAC ==&lt;br /&gt;
The control board uses the Analog Devices AD5535, 32-channel, 200V max, digital to analog converter. This chip has a modified BC-124 BGA footprint and is located above the Eurocard connector at the bottom of the board. It is labelled U3.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The DAC is primarily powered by the +5V power island, regulated by an off-board power supply and extensively decoupled in the area of the DAC. The DAC also requires -5V, and a high voltage as discussed in [[#Power Requirements | Power Requirements]]. Both of these voltages are supplied by an off-board supply and decoupled near the DAC. In addition to these voltage levels, the DAC requires a precise +2.5V reference, created by the shunt-type voltage reference VR4.&lt;br /&gt;
&lt;br /&gt;
=== Setting the Output Range ===&lt;br /&gt;
The output range of the DAC is set by the 2.5V reference voltage supplied by VR4. The high voltage power supply must supply at a minimum 50 times this voltage, plus 10. Thus, the high voltage power supply should be at least 135V for DAC to operate properly, even though the SiPMs are expected to need only 40V. If it is convenient to use a lower high voltage, VR4 must be replaced to provide lower reference voltage. The high voltage may then be decreased appropriately. To summarize:&lt;br /&gt;
&lt;br /&gt;
* Max output voltage = VREF*50&lt;br /&gt;
* Minimum high voltage supply = VREF*50 + 10&lt;br /&gt;
* Acceptable range for VREF&lt;br /&gt;
** Min: 1V&lt;br /&gt;
** Max: 3.75V (AD5535 datasheet specifies 4V max, but this would require AVCC of 5.25V for the DAC, which is not possible in the current board design)&lt;br /&gt;
&lt;br /&gt;
If relevant, R13 is a 100K resistor.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Diode ===&lt;br /&gt;
The DAC has a built in thermal diode. The diode drop from anode to cathode is typically 0.65V at 25&amp;amp;deg;C. It changes at a rate of -2.20mV/&amp;amp;deg;C. The anode of this diode is connected to the +5V power island, and the cathode is connected to a 270K resistor to ground. The voltage between the cathode and the resistor is connected to VIN1 (pin 15) on the ADC.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
See documentation from Analog Devices.&lt;br /&gt;
&lt;br /&gt;
=== Channel Mapping ===&lt;br /&gt;
Due to the layout of the balls on the footprint of the DAC, the DAC's internal channel numbers (which must be referenced by the FPGA) have no correlation to the channel numbers on the amplifier board. This table summarizes the mapping between various pins that belong to each channel.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''DAC Channel #'''&lt;br /&gt;
| '''DAC Pin #'''&lt;br /&gt;
| '''Digital Board Eurocard Pin #'''&lt;br /&gt;
| '''Amplifier Board Eurocard Pin #'''&lt;br /&gt;
| '''Amplifier Channel #'''&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| B1&lt;br /&gt;
| B3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| A2&lt;br /&gt;
| C4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| D1&lt;br /&gt;
| B2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| C2&lt;br /&gt;
| C3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| B3&lt;br /&gt;
| B4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| E2&lt;br /&gt;
| C2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| F3&lt;br /&gt;
| B1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| A4&lt;br /&gt;
| B5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| E4&lt;br /&gt;
| C5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| B5&lt;br /&gt;
| C6&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| F5&lt;br /&gt;
| C1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| A6&lt;br /&gt;
| C7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| E6&lt;br /&gt;
| B6&lt;br /&gt;
| &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 13&lt;br /&gt;
| B7&lt;br /&gt;
| B7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| F7&lt;br /&gt;
| C10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 15&lt;br /&gt;
| E8&lt;br /&gt;
| C8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| A8&lt;br /&gt;
| B8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| B9&lt;br /&gt;
| C9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| F9&lt;br /&gt;
| C16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| E10&lt;br /&gt;
| B11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| A10&lt;br /&gt;
| B9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| B11&lt;br /&gt;
| B10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| C12&lt;br /&gt;
| B12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| D13&lt;br /&gt;
| B13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| E12&lt;br /&gt;
| B14&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| A12&lt;br /&gt;
| C11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| B13&lt;br /&gt;
| C12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| H13&lt;br /&gt;
| B16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| G14&lt;br /&gt;
| B15&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 29&lt;br /&gt;
| C14&lt;br /&gt;
| C13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 30&lt;br /&gt;
| F13&lt;br /&gt;
| C15&lt;br /&gt;
|&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 31&lt;br /&gt;
| E14&lt;br /&gt;
| C14&lt;br /&gt;
|&lt;br /&gt;
| DACHEALTH&amp;lt;br&amp;gt;See [[#Channel Descriptions | ADC Channel Descriptions]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==ADC==&lt;br /&gt;
The board includes an Analog Devices AD7928 analog to digital converter. The ADC is located just to the right and slightly below the FPGA. It is labelled U4.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The ADC is powered by the +5V power island, which is regulated by an off-board power supply and decoupled near the ADC. It also requires a precise (&amp;amp;plusmn;1%) 2.5V reference to which it compares voltages when converting from analog to digital. Since the +5V power source is not used for comparison, it is flexible and may vary by &amp;amp;plusmn;0.25V without affecting ADC precision.&lt;br /&gt;
&lt;br /&gt;
===Setting the Measuring Range===&lt;br /&gt;
The measuring range is set programmatically by the FPGA over the SPI bus. The way the ADC is connected on the digital board requires that its measuring range be set to 5V, so the RANGE bit should be set to 1 by the FPGA (see Analog Devices documentation).&lt;br /&gt;
&lt;br /&gt;
===Data Interfacing===&lt;br /&gt;
The ADC uses an SPI bus to communicate with the FPGA. This bus is shared with the temperature sensor. SPI related pins include SCLK, CS, DIN, and DOUT. See the Pinout Table below.&lt;br /&gt;
&lt;br /&gt;
===Channel Descriptions===&lt;br /&gt;
This table shows what signals are monitored by the ADC.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''ADC Channel #'''&lt;br /&gt;
| '''ADC Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| VIN0&lt;br /&gt;
| 16&lt;br /&gt;
| AD7928/VHEALTH&lt;br /&gt;
| This net helps to monitor to overall health of power on the board, but is specifically intended to monitor -5V. It's voltage is the output of a resistor divider between the +5 and -5V power supplies, with resistor values of 33.2K, and 100K. Assuming +5V and -5V are both correct, the output of the divider will be +2.51V. A reading of other than 2.51V indicates a problem with one of the power supplies. Problems with the +5V power supply can be ruled out by reading VIN3. Based on the reading from VIN3, the voltage of the -5V supply can be calculated.&lt;br /&gt;
|-&lt;br /&gt;
| VIN1&lt;br /&gt;
| 15&lt;br /&gt;
| AD5535/CATHODE&lt;br /&gt;
| This is the thermal diode output from the DAC. Should read 4.35V (typical) at 25&amp;amp;deg;C. Drops 2.20mV/&amp;amp;deg;C.&lt;br /&gt;
|-&lt;br /&gt;
| VIN2&lt;br /&gt;
| 14&lt;br /&gt;
| +3.3V&lt;br /&gt;
| This is the +3.3V power plane. A reading of other than +3.3V indicates a problem with VR1.&lt;br /&gt;
|-&lt;br /&gt;
| VIN3&lt;br /&gt;
| 13&lt;br /&gt;
| +5V&lt;br /&gt;
| This is the +5V power island. A reading of other than +5V indicates a problem with the +5V power supply.&lt;br /&gt;
|-&lt;br /&gt;
| VIN4&lt;br /&gt;
| 12&lt;br /&gt;
| ADC_EXT1&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A7. It is intended to measure the output of thermistor on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN5&lt;br /&gt;
| 11&lt;br /&gt;
| +1.2V&lt;br /&gt;
| This is the +1.2V power island. This island powers the internal logic of the FPGA. A reading of other than 1.2V indicates a problem with VR3.&lt;br /&gt;
|-&lt;br /&gt;
| VIN6&lt;br /&gt;
| 10&lt;br /&gt;
| ADC_EXT2&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A8. It is intended to measure one of the transistor base voltages on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN7&lt;br /&gt;
| 9&lt;br /&gt;
| DACHEALTH&lt;br /&gt;
| This channel monitors the output of a resistor divider connected to channel 31 of the DAC. The divider consists of three resistors of 200K, 200K, and 10.2K (in order). The ADC reads out the voltage level between the second 200K and then 10.2K resistor. These resistors were selected so that at 200V, the readout voltage will be 4.973V. Since the divider should be linear, the expected voltage at 20V is 0.4973V. Three resistors were used rather than two to avoid exceeding the resistors' power ratings when the DAC is set to its maximum voltage. Note that since this divider will consume up to 484uA of current at 200V, this DAC channel should not be used for anything that might require more than ~200uA of current (the DAC can source 700uA max). The channel is routed to the backplane nonetheless.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| SPI clock (SCLK), from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| DIN&lt;br /&gt;
| SPI data in, from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&amp;lt;br&amp;gt;''Currently wired wrong''&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| CS&lt;br /&gt;
| SPI chip select&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| AD7928/REF_IN&lt;br /&gt;
| +2.5V reference, set by VR2&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9-16&lt;br /&gt;
| VIN[7:0]&lt;br /&gt;
| See [[#Channel Descriptions | ADC Channel Descriptions]]&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| DOUT&lt;br /&gt;
| SPI data out&amp;lt;br&amp;gt;''Currently wired incorrectly''&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| +3.3V&lt;br /&gt;
| VDRIVE, powers the SPI logic&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Ethernet Controller ==&lt;br /&gt;
The board uses a Silicon Laboratories CP2201, 28-pin, ethernet controller. The CP2201 is located just above the FPGA, and is labelled U2.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The CP2201 uses only +3.3V, which is supplied by the +3.3V power plane and regulated by VR1. Appropriate decoupling capacitors can be found near the CP2201.&lt;br /&gt;
&lt;br /&gt;
=== Ethernet Jack ===&lt;br /&gt;
To the right of the CP2201 is a Pulse J0011D21NL ethernet jack, labelled J1. This jack has a built-in 1:1 inductive coupling. For best results, connect this jack to a nearby ethernet switch. The jack may also be connected directly to a computer using a crossover cable. Though auto-crossover is not supported by the CP2201, if the computer's NIC supports it, a crossover cable is not necessary to connect directly to a computer.&lt;br /&gt;
&lt;br /&gt;
==== Ethernet Jack Pins ====&lt;br /&gt;
These are visible only on the back side of the board. Pin 1 is indicated by a square pad. Pin 8 is the farthest pin from pin 1. Pins are numbered such that the 4 pins closer to the plastic thru-hole connectors are odd (1, 3, 5, 7), and the four pins closer to the CP2201 are are even (2, 4, 6, 8).&lt;br /&gt;
&lt;br /&gt;
* Pin 1: TX+&lt;br /&gt;
* Pin 2: AC coupled to DGND&lt;br /&gt;
* Pin 3: TX-&lt;br /&gt;
* Pin 4: RX+&lt;br /&gt;
* Pin 5: AC coupled to DGND&lt;br /&gt;
* Pin 6: RX-&lt;br /&gt;
* Pin 7: No connection&lt;br /&gt;
* Pin 8: DGND (direct)&lt;br /&gt;
&lt;br /&gt;
The two large thru-hole pins (not numbered) connect to the metal shielding on the outside of the jack. These are directly connected to DGND to shield against electrical noise inside the jack.&lt;br /&gt;
&lt;br /&gt;
The two plastic thru-hole pins are not conductive and have no electrical connection. They are present only for structural purposes, presumably to prevent stress on the solder points when an ethernet wire is inserted or removed from the jack.&lt;br /&gt;
&lt;br /&gt;
=== Crystal Oscillator ===&lt;br /&gt;
The CP2201 is responsible for driving the 20MHz crystal oscillator. This oscillator clocks both the CP2201 and the FPGA. The crystal oscillator can be found above the right corner of the FPGA. It can be identified by its four surface mount pads and roughly .3&amp;quot; length. It is labelled Y1, though this label is not visible after the oscillator is soldered on. The CP2201 uses an inverting driver to excite the crystal. The output of the crystal is then sent to the CP2201 and the FPGA.&lt;br /&gt;
&lt;br /&gt;
=== Bus Format and Multiplexing ===&lt;br /&gt;
The 28-pin CP2201 used on the board only supports multiplexed operation. This means that both address and data information are passed over the same set of 8 traces. Hence, these traces are referred to as the address/data (AD) bus. A separate address line enable (ALE) trace prevents collisions from occuring on these traces. The communication protocol used is the Intel format. See the CP2201's datasheet for more information about this.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| CP2201/LA&lt;br /&gt;
| Link/activity indicator&amp;lt;br&amp;gt;Routed to backplane but not implemented&amp;lt;br&amp;gt;See CP2201 data sheet for information on how to connect to an LED&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| DGND&lt;br /&gt;
| By the data sheet, this pin should be AGND&amp;lt;br&amp;gt;We deliberately set it to DGND to avoid noise on AGND plane&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| +3.3V&lt;br /&gt;
| AV+ power pin&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| CP2201/RX-&lt;br /&gt;
| Connects to RX- on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| CP2201/RX+&lt;br /&gt;
| Connects to RX+ on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| CP2201/TX+&lt;br /&gt;
| Connects to TX+ on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| CP2201/TX-&lt;br /&gt;
| Connects to TX- on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;quot;VDD&amp;quot; power pin&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;DGND1&amp;quot; per the data sheet&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| CP2201/RESET&lt;br /&gt;
| &amp;quot;RST&amp;quot; per the data sheet&amp;lt;br&amp;gt;Connects to FPGA - should be programmatically triggered upon reset of FPGA by RESET jumper&lt;br /&gt;
|-&lt;br /&gt;
| 11-18&lt;br /&gt;
| CP2201/AD[0:7]&lt;br /&gt;
| Bits 0-7 of the address/data bus&amp;lt;br&amp;gt;Connect to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;quot;VDD&amp;quot; power pin&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;DGND2&amp;quot; per the data sheet&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| CP2201/ALE&lt;br /&gt;
| Address line enable&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| CP2201/RD&lt;br /&gt;
| Read strobe for AD bus&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| CP2201/WR&lt;br /&gt;
| Write strobe for AD bus&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| CP2201/CS&lt;br /&gt;
| Chip select&amp;lt;br&amp;gt;Connects to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| CP2201/INT&lt;br /&gt;
| Interrupt request&amp;lt;br&amp;gt;Connects to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;MOTEN&amp;quot; (Motorola enable) per the datasheet&amp;lt;br&amp;gt;Tied low to disable Motorola bus format (enable Intel format)&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| CP2201/XTAL2&lt;br /&gt;
| Crystal oscillator driver&amp;lt;br&amp;gt;The CP2201 inverts the 20MHz clock signal and feeds it back to the crystal oscillator to encourage larger oscillations&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| FPGA/CLK_IN&lt;br /&gt;
| &amp;quot;XTAL1&amp;quot; per the data sheet&amp;lt;br&amp;gt;This is the 20MHz clock input&amp;lt;br&amp;gt;Also connects to the FPGA's clock input&lt;br /&gt;
|- &lt;br /&gt;
| 29*&lt;br /&gt;
| DGND&lt;br /&gt;
| This is not a pin but rather the base of the CP2201 package.&amp;lt;br&amp;gt;It is connected to the DGND plane for thermal relief&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Eurocard Connector ==&lt;br /&gt;
At the bottom of the control board is the Eurocard connector, labelled P2. The Eurocard connector connects the board to the backplane and also connects the board to its power supplies. The Eurocard has 48 pins arranged in three rows of 16 pins each. Rows B and C are exclusively used to pass SiPM bias voltages to the backplane as described in [[#Channel Mapping | DAC Channel Mapping]]. Here is a table describing the purpose of pins in row A:&lt;br /&gt;
&lt;br /&gt;
=== Row A Pinout Table ===&lt;br /&gt;
Note that when viewing the front side of the board with the Eurocard at the bottom, these pins go from right to left. If you look closely at the pins, you will see that pin A1 has a square pad, unlike the round pads of the others.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| A1&lt;br /&gt;
| CP2201/LA&lt;br /&gt;
| Ethernet link/activity indicator routed to backplane&lt;br /&gt;
|-&lt;br /&gt;
| A2&lt;br /&gt;
| High voltage input (+210V max)&lt;br /&gt;
| High voltage input for DAC. See [[#DAC | DAC]] for information about what voltage to input here.&lt;br /&gt;
|-&lt;br /&gt;
| A3&lt;br /&gt;
| -5V&lt;br /&gt;
| For DAC&lt;br /&gt;
|-&lt;br /&gt;
| A4&lt;br /&gt;
| +5V&lt;br /&gt;
| Powers most things on the board&lt;br /&gt;
|-&lt;br /&gt;
| A5&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A6&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| A7&lt;br /&gt;
| ADC_EXT1&lt;br /&gt;
| Connects to ADC to monitor voltages on amplifier board&amp;lt;br&amp;gt;See [[#ADC | ADC]]&lt;br /&gt;
|-&lt;br /&gt;
| A8&lt;br /&gt;
| ADC_EXT2&lt;br /&gt;
| Connects to ADC to monitor voltages on amplifier board&amp;lt;br&amp;gt;See [[#ADC | ADC]]&lt;br /&gt;
|-&lt;br /&gt;
| A9&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A10&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| A11&lt;br /&gt;
| No conneciton&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A12&lt;br /&gt;
| ID4&lt;br /&gt;
| Location identifier bit 4&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A13&lt;br /&gt;
| ID3&lt;br /&gt;
| Location identifier bit 3&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A14&lt;br /&gt;
| ID2&lt;br /&gt;
| Location identifier bit 2&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A15&lt;br /&gt;
| ID1&lt;br /&gt;
| Location identifier bit 1&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A16&lt;br /&gt;
| ID0&lt;br /&gt;
| Location identifier bit 0&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4378</id>
		<title>Digital control board documentation</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4378"/>
		<updated>2009-06-16T19:35:15Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* Pinout Table */ changed pin warning&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This documentation covers the most important things to know while testing the digital control board, including component pinouts, nets, and other information.&lt;br /&gt;
&lt;br /&gt;
== Power Requirements ==&lt;br /&gt;
=== Required Voltages ===&lt;br /&gt;
All components on the digital board '''except the DAC''' can be tested using only a +5V source. The DAC requires +5V, -5V, and a high voltage corresponding to 10V higher than the maximum desired DAC output voltage (see [[#Setting the Output Range | Setting the Output Range]]). Digital and analog grounds must be connected as well before any testing takes place.&lt;br /&gt;
&lt;br /&gt;
=== Power Pins ===&lt;br /&gt;
Power shall be connected to the board as follows:&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Voltage'''&lt;br /&gt;
| '''Eurocard Pin'''&lt;br /&gt;
|-&lt;br /&gt;
| DGND &lt;br /&gt;
| A6&lt;br /&gt;
|-&lt;br /&gt;
| AGND &lt;br /&gt;
| A5&lt;br /&gt;
|-&lt;br /&gt;
| +5V &lt;br /&gt;
| A4&lt;br /&gt;
|-&lt;br /&gt;
| -5V &lt;br /&gt;
| A3&lt;br /&gt;
|-&lt;br /&gt;
| High voltage&amp;lt;br&amp;gt;(DAC max out +10)&lt;br /&gt;
| A2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Power Supply Sequencing ===&lt;br /&gt;
The control board is designed such that voltages may be supplied in any order so long as AGND and DGND are connected properly.  However, for initial testing, the preferred order for powering up the board is as follows:&lt;br /&gt;
&lt;br /&gt;
# Ensure AGND/DGND are connected/grounded&lt;br /&gt;
# +5V&lt;br /&gt;
# -5V&lt;br /&gt;
# High voltage&lt;br /&gt;
&lt;br /&gt;
== FPGA ==&lt;br /&gt;
The control board uses a Xilinx XC3S50A VQ100 FPGA. It has a 100 pin footprint and is located in the center of the control board.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The FPGA is powered by the 3.3V power plane, which is regulated by VR1. The FPGA also obtains 1.2V for its internal logic from a 1.2V power island, regulated by VR3.&lt;br /&gt;
&lt;br /&gt;
=== Logic Standard ===&lt;br /&gt;
The Xilinx XC3S50A supports several different digital logic standards. The control board is hard wired such that the FPGA will use a '''3.3V CMOS''' logic standard.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| P1&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P2&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P3&lt;br /&gt;
| AD7928/CS&lt;br /&gt;
| SPI chip select for ADC&lt;br /&gt;
|-&lt;br /&gt;
| P4&lt;br /&gt;
| SPI&lt;br /&gt;
| '''Erroneously wired SPI bus trace'''&amp;lt;br&amp;gt;Connects to SDO on temp. sensor and DIN on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P5&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| 5 MHz clock output for SPI bus (ADC and temp. sensor)&lt;br /&gt;
|-&lt;br /&gt;
| P6&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P7&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P8&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P9&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P10&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P11&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P12&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P13&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P14&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P15&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P17&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P18&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P19&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P20&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P21&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P22&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P23&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P24&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P25&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P26&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| P27&lt;br /&gt;
| FPGA/CLK_IN&lt;br /&gt;
| 20 MHz clock input from crystal oscillator&lt;br /&gt;
|-&lt;br /&gt;
| P28&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P29&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P30&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P31&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P32&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P33&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P34&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P35&lt;br /&gt;
| CP2201/INT&lt;br /&gt;
| Ethernet controller interrupt&lt;br /&gt;
|-&lt;br /&gt;
| P36&lt;br /&gt;
| MASTER_RESET&lt;br /&gt;
| Connects to RESET jumper in upper left of board (active-low, externally pulled up)&lt;br /&gt;
|-&lt;br /&gt;
| P37&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P38&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P39&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P40&lt;br /&gt;
| CP2201/CS&lt;br /&gt;
| Chip select for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P41&lt;br /&gt;
| CP2201/WR&lt;br /&gt;
| Write enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P42&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P43&lt;br /&gt;
| CP2201/RD&lt;br /&gt;
| Read enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P44&lt;br /&gt;
| CP2201/ALE&lt;br /&gt;
| Address line enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P45&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P46&lt;br /&gt;
| CP2201/RESET&lt;br /&gt;
| Reset pin for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P47&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P48&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P49&lt;br /&gt;
| CP2201/AD0&lt;br /&gt;
| Ethernet controller address/data bus, bit 0&lt;br /&gt;
|-&lt;br /&gt;
| P50&lt;br /&gt;
| CP2201/AD1&lt;br /&gt;
| Ethernet controller address/data bus, bit 1&lt;br /&gt;
|-&lt;br /&gt;
| P51&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data input from EEPROM for configuration&lt;br /&gt;
|-&lt;br /&gt;
| P52&lt;br /&gt;
| CP2201/AD2&lt;br /&gt;
| Ethernet controller address/data bus, bit 2&lt;br /&gt;
|-&lt;br /&gt;
| P53&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock (signal generated by FPGA at &amp;lt;br&amp;gt;power on to clock the configuration process)&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P54&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Gives configuration status - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P55&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P56&lt;br /&gt;
| CP2201/AD3&lt;br /&gt;
| Ethernet controller address/data bus, bit 3&lt;br /&gt;
|-&lt;br /&gt;
| P57&lt;br /&gt;
| CP2201/AD4&lt;br /&gt;
| Ethernet controller address/data bus, bit 4&lt;br /&gt;
|-&lt;br /&gt;
| P58&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P59&lt;br /&gt;
| CP2201/AD5&lt;br /&gt;
| Ethernet controller address/data bus, bit 5&lt;br /&gt;
|-&lt;br /&gt;
| P60&lt;br /&gt;
| CP2201/AD6&lt;br /&gt;
| Ethernet controller address/date bus, bit 6&lt;br /&gt;
|-&lt;br /&gt;
| P61&lt;br /&gt;
| CP2201/AD7&lt;br /&gt;
| Ethernet controller address/date bus, bit 7&lt;br /&gt;
|-&lt;br /&gt;
| P62&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P63&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P64&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P65&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P66&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P67&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P68&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P69&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P70&lt;br /&gt;
| ID3&lt;br /&gt;
| Backplane location identifier jumper, pins 3 &amp;amp; 4&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P71&lt;br /&gt;
| ID2&lt;br /&gt;
| Backplane location identifier jumper, pins 5 &amp;amp; 6&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P72&lt;br /&gt;
| ID1&lt;br /&gt;
| Backplane location identifier jumper, pins 7 &amp;amp; 8&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P73&lt;br /&gt;
| ID0&lt;br /&gt;
| Backplane location identifier jumper, pins 9 &amp;amp; 10&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P74&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P75&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P76&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P77&lt;br /&gt;
| ID4&lt;br /&gt;
| Backplane location identifier jumper, pins 1 &amp;amp; 2&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P78&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P79&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P80&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P81&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P82&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P83&lt;br /&gt;
| CLK_5MHZ_2&lt;br /&gt;
| 5 MHz clock output for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P84&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P85&lt;br /&gt;
| AD5535/DIN&lt;br /&gt;
| DAC serial data input (FPGA out -&amp;gt; DAC in)&lt;br /&gt;
|-&lt;br /&gt;
| P86&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P87&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P89&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P90&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P91&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P92&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P93&lt;br /&gt;
| AD7314/CE&lt;br /&gt;
| Chip enable for temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| P94&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P95&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P96&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P97&lt;br /&gt;
| AD7928/DOUT&lt;br /&gt;
| '''Erroneously wired ADC SPI bus connection'''&amp;lt;br&amp;gt;Connects to DOUT on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P98&lt;br /&gt;
| AD5535/RESET&lt;br /&gt;
| Reset pin for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P99&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P100&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== EEPROM ==&lt;br /&gt;
To facilitate power-on configuration of the FPGA, the control board includes a Xilinx XCF01S EEPROM. The EEPROM is located to the left of the FPGA, above the JTAG header, and has a 20 pin footprint. The EEPROM is labelled U5.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The EEPROM uses +3.3V exclusively, which it receives from the +3.3V power plane, regulated by VR1.&lt;br /&gt;
&lt;br /&gt;
=== Flashing/Burning/Writing ===&lt;br /&gt;
Whatever you call it, this refers to storing data in the EEPROM so that it can configure the FPGA at power-on. The EEPROM is programmed using a JTAG interface and the Xilinx Platform USB II cable. It is important to note that in digital board's JTAG chain, the EEPROM is the first device in the chain, unlike in the Xilinx documentation where it is shown as the second device. This should not affect the operation of the board, but should be reflected in the Xilinx software when writing the EEPROM via JTAG. &lt;br /&gt;
&lt;br /&gt;
=== FPGA Configuration ===&lt;br /&gt;
The EEPROM and FPGA are hardwired to use a master serial protocol to transfer the program from the EEPROM to the FPGA. This is the protocol recommended in the Xilinx documentation because it minimizes the number of traces necessary to run between the EEPROM and FPGA. All configuration data is sent over a single trace, FPGA/DIN (pin 1 on EEPROM), controlled by the configuration clock signal (FPGA/CCLK) which is automatically generated by the FPGA at power-on. When configuration is complete, FPGA/DONE (pin 10) is pulled high by the FPGA, and the EEPROM and configuration clock are deactivated.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data line&amp;lt;br&amp;gt;Carries data from the EEPROM to the FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock&amp;lt;br&amp;gt;Auto generated by FPGA at power-on, disabled at end of configuration&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| This is the EEPROM's TDI&amp;lt;br&amp;gt;This is the entry point for the onboard JTAG chain&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during configuration&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during configuration - can be used to intiate reconfiguration of FPGA&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Indicates completion of FPGA configuration&amp;lt;br&amp;gt;High when complete&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 12-16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| This is the EEPROM's TDO/FPGA's TDI&lt;br /&gt;
|-&lt;br /&gt;
| 18-20&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== JTAG Header ==&lt;br /&gt;
To write the FPGA's program to the EEPROM, the board employs a JTAG based programming system consistent with Xilinx's recommendations. The system is designed to operate with Xilnx's Platform USB II cable and the flying lead adapter.&lt;br /&gt;
&lt;br /&gt;
===Header Location and Size===&lt;br /&gt;
The header consists of 14 pins, 100 mil pitch, just below the EEPROM (U5). The header is labelled P1. The pitch of the pins in the header was erroneously selected to be 100 mil, which is not compatible with Xilinx's JTAG ribbon cable. Therefore, the Xilinx flying lead adapter must be used.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The JTAG interface is powered by the +3.3V power plane, not by the computer's USB port. Power is supplied through pin 2 of the JTAG header.&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
Note that the header is positioned on the board rotated 180 degrees from the position in which it is shown in the Xilinx documentation. Care must be taken when connecting the flying leads to ensure they are connected to the right pins. Improper wiring will certainly cause undesired operation, and may cause damage as well. Damage is most likely to occur if one of the flying leads is connected to an odd numbered pin, since it will short to the PCB's ground plane. '''Note from the pinout table below that no flying lead connections should ever be made to the odd numbered pins on the JTAG header.'''&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1, 3, 5, 7, 9, 11, 13 (odd pins)&lt;br /&gt;
| DGND&lt;br /&gt;
| Ground pins for signal integrity&amp;lt;br&amp;gt;'''Never connect a flying lead to these pins'''&amp;lt;br&amp;gt;Doing so will short to ground and may cause permanent damage if the Platform USB II cable does not have protection against this.&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| +3.3V&lt;br /&gt;
| Power source for all JTAG logic&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS - connects to EEPROM and FPGA &lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK - connects to EEPROM and FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| JTAG  boundary scan chain endpoint&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| JTAG boundary scan chain start point&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| No connection&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| No connection&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===JTAG Overview===&lt;br /&gt;
The JTAG interface is clocked by the TCK signal. TCK is generated by the Platform USB II cable, and connects directly from the JTAG header to both the EEPROM and FPGA.&lt;br /&gt;
&lt;br /&gt;
The TMS signal is directly connected to both the EEPROM and FPGA, and is the data line over which JTAG test results (in this case programming results) are sent. TMS is used by only one component at a time.&lt;br /&gt;
&lt;br /&gt;
The TDI/TDO lines form a chain that connects to each JTAG component in series. On the control board, the first point in the chain is the EEPROM's TDI. Next is the EEPROM's TDO, which is the same as the FPGA's TDI. The FPGA's TDO then returns to the JTAG header and the Platform USB II cable.&lt;br /&gt;
&lt;br /&gt;
== DAC ==&lt;br /&gt;
The control board uses the Analog Devices AD5535, 32-channel, 200V max, digital to analog converter. This chip has a modified BC-124 BGA footprint and is located above the Eurocard connector at the bottom of the board. It is labelled U3.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The DAC is primarily powered by the +5V power island, regulated by an off-board power supply and extensively decoupled in the area of the DAC. The DAC also requires -5V, and a high voltage as discussed in [[#Power Requirements | Power Requirements]]. Both of these voltages are supplied by an off-board supply and decoupled near the DAC. In addition to these voltage levels, the DAC requires a precise +2.5V reference, created by the shunt-type voltage reference VR4.&lt;br /&gt;
&lt;br /&gt;
=== Setting the Output Range ===&lt;br /&gt;
The output range of the DAC is set by the 2.5V reference voltage supplied by VR4. The high voltage power supply must supply at a minimum 50 times this voltage, plus 10. Thus, the high voltage power supply should be at least 135V for DAC to operate properly, even though the SiPMs are expected to need only 40V. If it is convenient to use a lower high voltage, VR4 must be replaced to provide lower reference voltage. The high voltage may then be decreased appropriately. To summarize:&lt;br /&gt;
&lt;br /&gt;
* Max output voltage = VREF*50&lt;br /&gt;
* Minimum high voltage supply = VREF*50 + 10&lt;br /&gt;
* Acceptable range for VREF&lt;br /&gt;
** Min: 1V&lt;br /&gt;
** Max: 3.75V (AD5535 datasheet specifies 4V max, but this would require AVCC of 5.25V for the DAC, which is not possible in the current board design)&lt;br /&gt;
&lt;br /&gt;
If relevant, R13 is a 100K resistor.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Diode ===&lt;br /&gt;
The DAC has a built in thermal diode. The diode drop from anode to cathode is typically 0.65V at 25&amp;amp;deg;C. It changes at a rate of -2.20mV/&amp;amp;deg;C. The anode of this diode is connected to the +5V power island, and the cathode is connected to a 270K resistor to ground. The voltage between the cathode and the resistor is connected to VIN1 (pin 15) on the ADC.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
See documentation from Analog Devices.&lt;br /&gt;
&lt;br /&gt;
=== Channel Mapping ===&lt;br /&gt;
Due to the layout of the balls on the footprint of the DAC, the DAC's internal channel numbers (which must be referenced by the FPGA) have no correlation to the channel numbers on the amplifier board. This table summarizes the mapping between various pins that belong to each channel.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''DAC Channel #'''&lt;br /&gt;
| '''DAC Pin #'''&lt;br /&gt;
| '''Digital Board Eurocard Pin #'''&lt;br /&gt;
| '''Amplifier Board Eurocard Pin #'''&lt;br /&gt;
| '''Amplifier Channel #'''&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| B1&lt;br /&gt;
| B3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| A2&lt;br /&gt;
| C4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| D1&lt;br /&gt;
| B2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| C2&lt;br /&gt;
| C3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| B3&lt;br /&gt;
| B4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| E2&lt;br /&gt;
| C2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| F3&lt;br /&gt;
| B1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| A4&lt;br /&gt;
| B5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| E4&lt;br /&gt;
| C5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| B5&lt;br /&gt;
| C6&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| F5&lt;br /&gt;
| C1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| A6&lt;br /&gt;
| C7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| E6&lt;br /&gt;
| B6&lt;br /&gt;
| &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 13&lt;br /&gt;
| B7&lt;br /&gt;
| B7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| F7&lt;br /&gt;
| C10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 15&lt;br /&gt;
| E8&lt;br /&gt;
| C8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| A8&lt;br /&gt;
| B8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| B9&lt;br /&gt;
| C9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| F9&lt;br /&gt;
| C16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| E10&lt;br /&gt;
| B11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| A10&lt;br /&gt;
| B9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| B11&lt;br /&gt;
| B10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| C12&lt;br /&gt;
| B12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| D13&lt;br /&gt;
| B13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| E12&lt;br /&gt;
| B14&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| A12&lt;br /&gt;
| C11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| B13&lt;br /&gt;
| C12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| H13&lt;br /&gt;
| B16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| G14&lt;br /&gt;
| B15&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 29&lt;br /&gt;
| C14&lt;br /&gt;
| C13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 30&lt;br /&gt;
| F13&lt;br /&gt;
| C15&lt;br /&gt;
|&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 31&lt;br /&gt;
| E14&lt;br /&gt;
| C14&lt;br /&gt;
|&lt;br /&gt;
| DACHEALTH&amp;lt;br&amp;gt;See [[#Channel Descriptions | ADC Channel Descriptions]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==ADC==&lt;br /&gt;
The board includes an Analog Devices AD7928 analog to digital converter. The ADC is located just to the right and slightly below the FPGA. It is labelled U4.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The ADC is powered by the +5V power island, which is regulated by an off-board power supply and decoupled near the ADC. It also requires a precise (&amp;amp;plusmn;1%) 2.5V reference to which it compares voltages when converting from analog to digital. Since the +5V power source is not used for comparison, it is flexible and may vary by &amp;amp;plusmn;0.25V without affecting ADC precision.&lt;br /&gt;
&lt;br /&gt;
===Setting the Measuring Range===&lt;br /&gt;
The measuring range is set programmatically by the FPGA over the SPI bus. The way the ADC is connected on the digital board requires that its measuring range be set to 5V, so the RANGE bit should be set to 1 by the FPGA (see Analog Devices documentation).&lt;br /&gt;
&lt;br /&gt;
===Data Interfacing===&lt;br /&gt;
The ADC uses an SPI bus to communicate with the FPGA. This bus is shared with the temperature sensor. SPI related pins include SCLK, CS, DIN, and DOUT. See the Pinout Table below.&lt;br /&gt;
&lt;br /&gt;
===Channel Descriptions===&lt;br /&gt;
This table shows what signals are monitored by the ADC.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''ADC Channel #'''&lt;br /&gt;
| '''ADC Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| VIN0&lt;br /&gt;
| 16&lt;br /&gt;
| AD7928/VHEALTH&lt;br /&gt;
| This net helps to monitor to overall health of power on the board, but is specifically intended to monitor -5V. It's voltage is the output of a resistor divider between the +5 and -5V power supplies, with resistor values of 33.2K, and 100K. Assuming +5V and -5V are both correct, the output of the divider will be +2.51V. A reading of other than 2.51V indicates a problem with one of the power supplies. Problems with the +5V power supply can be ruled out by reading VIN3. Based on the reading from VIN3, the voltage of the -5V supply can be calculated.&lt;br /&gt;
|-&lt;br /&gt;
| VIN1&lt;br /&gt;
| 15&lt;br /&gt;
| AD5535/CATHODE&lt;br /&gt;
| This is the thermal diode output from the DAC. Should read 4.35V (typical) at 25&amp;amp;deg;C. Drops 2.20mV/&amp;amp;deg;C.&lt;br /&gt;
|-&lt;br /&gt;
| VIN2&lt;br /&gt;
| 14&lt;br /&gt;
| +3.3V&lt;br /&gt;
| This is the +3.3V power plane. A reading of other than +3.3V indicates a problem with VR1.&lt;br /&gt;
|-&lt;br /&gt;
| VIN3&lt;br /&gt;
| 13&lt;br /&gt;
| +5V&lt;br /&gt;
| This is the +5V power island. A reading of other than +5V indicates a problem with the +5V power supply.&lt;br /&gt;
|-&lt;br /&gt;
| VIN4&lt;br /&gt;
| 12&lt;br /&gt;
| ADC_EXT1&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A7. It is intended to measure the output of thermistor on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN5&lt;br /&gt;
| 11&lt;br /&gt;
| +1.2V&lt;br /&gt;
| This is the +1.2V power island. This island powers the internal logic of the FPGA. A reading of other than 1.2V indicates a problem with VR3.&lt;br /&gt;
|-&lt;br /&gt;
| VIN6&lt;br /&gt;
| 10&lt;br /&gt;
| ADC_EXT2&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A8. It is intended to measure one of the transistor base voltages on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN7&lt;br /&gt;
| 9&lt;br /&gt;
| DACHEALTH&lt;br /&gt;
| This channel monitors the output of a resistor divider connected to channel 31 of the DAC. The divider consists of three resistors of 200K, 200K, and 10.2K (in order). The ADC reads out the voltage level between the second 200K and then 10.2K resistor. These resistors were selected so that at 200V, the readout voltage will be 4.973V. Since the divider should be linear, the expected voltage at 20V is 0.4973V. Three resistors were used rather than two to avoid exceeding the resistors' power ratings when the DAC is set to its maximum voltage. Note that since this divider will consume up to 484uA of current at 200V, this DAC channel should not be used for anything that might require more than ~200uA of current (the DAC can source 700uA max). The channel is routed to the backplane nonetheless.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| SPI clock (SCLK), from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| DIN&lt;br /&gt;
| SPI data in, from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&amp;lt;br&amp;gt;''Currently wired wrong''&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| CS&lt;br /&gt;
| SPI chip select&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| AD7928/REF_IN&lt;br /&gt;
| +2.5V reference, set by VR2&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9-16&lt;br /&gt;
| VIN[7:0]&lt;br /&gt;
| See [[#Channel Descriptions | ADC Channel Descriptions]]&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| DOUT&lt;br /&gt;
| SPI data out&amp;lt;br&amp;gt;''Currently wired incorrectly''&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| +3.3V&lt;br /&gt;
| VDRIVE, powers the SPI logic&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Ethernet Controller ==&lt;br /&gt;
The board uses a Silicon Laboratories CP2201, 28-pin, ethernet controller. The CP2201 is located just above the FPGA, and is labelled U2.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The CP2201 uses only +3.3V, which is supplied by the +3.3V power plane and regulated by VR1. Appropriate decoupling capacitors can be found near the CP2201.&lt;br /&gt;
&lt;br /&gt;
=== Ethernet Jack ===&lt;br /&gt;
To the right of the CP2201 is a Pulse J0011D21NL ethernet jack, labelled J1. This jack has a built-in 1:1 inductive coupling. For best results, connect this jack to a nearby ethernet switch. The jack may also be connected directly to a computer using a crossover cable. Though auto-crossover is not supported by the CP2201, if the computer's NIC supports it, a crossover cable is not necessary to connect directly to a computer.&lt;br /&gt;
&lt;br /&gt;
==== Ethernet Jack Pins ====&lt;br /&gt;
These are visible only on the back side of the board. Pin 1 is indicated by a square pad. Pin 8 is the farthest pin from pin 1. Pins are numbered such that the 4 pins closer to the plastic thru-hole connectors are odd (1, 3, 5, 7), and the four pins closer to the CP2201 are are even (2, 4, 6, 8).&lt;br /&gt;
&lt;br /&gt;
* Pin 1: TX+&lt;br /&gt;
* Pin 2: AC coupled to DGND&lt;br /&gt;
* Pin 3: TX-&lt;br /&gt;
* Pin 4: RX+&lt;br /&gt;
* Pin 5: AC coupled to DGND&lt;br /&gt;
* Pin 6: RX-&lt;br /&gt;
* Pin 7: No connection&lt;br /&gt;
* Pin 8: DGND (direct)&lt;br /&gt;
&lt;br /&gt;
The two large thru-hole pins (not numbered) connect to the metal shielding on the outside of the jack. These are directly connected to DGND to shield against electrical noise inside the jack.&lt;br /&gt;
&lt;br /&gt;
The two plastic thru-hole pins are not conductive and have no electrical connection. They are present only for structural purposes, presumably to prevent stress on the solder points when an ethernet wire is inserted or removed from the jack.&lt;br /&gt;
&lt;br /&gt;
=== Crystal Oscillator ===&lt;br /&gt;
The CP2201 is responsible for driving the 20MHz crystal oscillator. This oscillator clocks both the CP2201 and the FPGA. The crystal oscillator can be found above the right corner of the FPGA. It can be identified by its four surface mount pads and roughly .3&amp;quot; length. It is labelled Y1, though this label is not visible after the oscillator is soldered on. The CP2201 uses an inverting driver to excite the crystal. The output of the crystal is then sent to the CP2201 and the FPGA.&lt;br /&gt;
&lt;br /&gt;
=== Bus Format and Multiplexing ===&lt;br /&gt;
The 28-pin CP2201 used on the board only supports multiplexed operation. This means that both address and data information are passed over the same set of 8 traces. Hence, these traces are referred to as the address/data (AD) bus. A separate address line enable (ALE) trace prevents collisions from occuring on these traces. The communication protocol used is the Intel format. See the CP2201's datasheet for more information about this.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| CP2201/LA&lt;br /&gt;
| Link/activity indicator&amp;lt;br&amp;gt;Routed to backplane but not implemented&amp;lt;br&amp;gt;See CP2201 data sheet for information on how to connect to an LED&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| DGND&lt;br /&gt;
| By the data sheet, this pin should be AGND&amp;lt;br&amp;gt;We deliberately set it to DGND to avoid noise on AGND plane&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| +3.3V&lt;br /&gt;
| AV+ power pin&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| CP2201/RX-&lt;br /&gt;
| Connects to RX- on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| CP2201/RX+&lt;br /&gt;
| Connects to RX+ on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| CP2201/TX+&lt;br /&gt;
| Connects to TX+ on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| CP2201/TX-&lt;br /&gt;
| Connects to TX- on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;quot;VDD&amp;quot; power pin&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;DGND1&amp;quot; per the data sheet&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| CP2201/RESET&lt;br /&gt;
| &amp;quot;RST&amp;quot; per the data sheet&amp;lt;br&amp;gt;Connects to FPGA - should be programmatically triggered upon reset of FPGA by RESET jumper&lt;br /&gt;
|-&lt;br /&gt;
| 11-18&lt;br /&gt;
| CP2201/AD[0:7]&lt;br /&gt;
| Bits 0-7 of the address/data bus&amp;lt;br&amp;gt;Connect to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;quot;VDD&amp;quot; power pin&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;DGND2&amp;quot; per the data sheet&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| CP2201/ALE&lt;br /&gt;
| Address line enable&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| CP2201/RD&lt;br /&gt;
| Read strobe for AD bus&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| CP2201/WR&lt;br /&gt;
| Write strobe for AD bus&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| CP2201/CS&lt;br /&gt;
| Chip select&amp;lt;br&amp;gt;Connects to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| CP2201/INT&lt;br /&gt;
| Interrupt request&amp;lt;br&amp;gt;Connects to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;MOTEN&amp;quot; (Motorola enable) per the datasheet&amp;lt;br&amp;gt;Tied low to disable Motorola bus format (enable Intel format)&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| CP2201/XTAL2&lt;br /&gt;
| Crystal oscillator driver&amp;lt;br&amp;gt;The CP2201 inverts the 20MHz clock signal and feeds it back to the crystal oscillator to encourage larger oscillations&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| FPGA/CLK_IN&lt;br /&gt;
| &amp;quot;XTAL1&amp;quot; per the data sheet&amp;lt;br&amp;gt;This is the 20MHz clock input&amp;lt;br&amp;gt;Also connects to the FPGA's clock input&lt;br /&gt;
|- &lt;br /&gt;
| 29*&lt;br /&gt;
| DGND&lt;br /&gt;
| This is not a pin but rather the base of the CP2201 package.&amp;lt;br&amp;gt;It is connected to the DGND plane for thermal relief&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Eurocard Connector ==&lt;br /&gt;
At the bottom of the control board is the Eurocard connector, labelled P2. The Eurocard connector connects the board to the backplane and also connects the board to its power supplies. The Eurocard has 48 pins arranged in three rows of 16 pins each. Rows B and C are exclusively used to pass SiPM bias voltages to the backplane as described in [[#Channel Mapping | DAC Channel Mapping]]. Here is a table describing the purpose of pins in row A:&lt;br /&gt;
&lt;br /&gt;
=== Row A Pinout Table ===&lt;br /&gt;
Note that when viewing the front side of the board with the Eurocard at the bottom, these pins go from right to left. If you look closely at the pins, you will see that pin A1 has a square pad, unlike the round pads of the others.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| A1&lt;br /&gt;
| CP2201/LA&lt;br /&gt;
| Ethernet link/activity indicator routed to backplane&lt;br /&gt;
|-&lt;br /&gt;
| A2&lt;br /&gt;
| High voltage input (+210V max)&lt;br /&gt;
| High voltage input for DAC. See [[#DAC | DAC]] for information about what voltage to input here.&lt;br /&gt;
|-&lt;br /&gt;
| A3&lt;br /&gt;
| -5V&lt;br /&gt;
| For DAC&lt;br /&gt;
|-&lt;br /&gt;
| A4&lt;br /&gt;
| +5V&lt;br /&gt;
| Powers most things on the board&lt;br /&gt;
|-&lt;br /&gt;
| A5&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A6&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| A7&lt;br /&gt;
| ADC_EXT1&lt;br /&gt;
| Connects to ADC to monitor voltages on amplifier board&amp;lt;br&amp;gt;See [[#ADC | ADC]]&lt;br /&gt;
|-&lt;br /&gt;
| A8&lt;br /&gt;
| ADC_EXT2&lt;br /&gt;
| Connects to ADC to monitor voltages on amplifier board&amp;lt;br&amp;gt;See [[#ADC | ADC]]&lt;br /&gt;
|-&lt;br /&gt;
| A9&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A10&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| A11&lt;br /&gt;
| No conneciton&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A12&lt;br /&gt;
| ID4&lt;br /&gt;
| Location identifier bit 4&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A13&lt;br /&gt;
| ID3&lt;br /&gt;
| Location identifier bit 3&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A14&lt;br /&gt;
| ID2&lt;br /&gt;
| Location identifier bit 2&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A15&lt;br /&gt;
| ID1&lt;br /&gt;
| Location identifier bit 1&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A16&lt;br /&gt;
| ID0&lt;br /&gt;
| Location identifier bit 0&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4377</id>
		<title>Digital control board documentation</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4377"/>
		<updated>2009-06-16T19:28:36Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* Eurocard Connector */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This documentation covers the most important things to know while testing the digital control board, including component pinouts, nets, and other information.&lt;br /&gt;
&lt;br /&gt;
== Power Requirements ==&lt;br /&gt;
=== Required Voltages ===&lt;br /&gt;
All components on the digital board '''except the DAC''' can be tested using only a +5V source. The DAC requires +5V, -5V, and a high voltage corresponding to 10V higher than the maximum desired DAC output voltage (see [[#Setting the Output Range | Setting the Output Range]]). Digital and analog grounds must be connected as well before any testing takes place.&lt;br /&gt;
&lt;br /&gt;
=== Power Pins ===&lt;br /&gt;
Power shall be connected to the board as follows:&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Voltage'''&lt;br /&gt;
| '''Eurocard Pin'''&lt;br /&gt;
|-&lt;br /&gt;
| DGND &lt;br /&gt;
| A6&lt;br /&gt;
|-&lt;br /&gt;
| AGND &lt;br /&gt;
| A5&lt;br /&gt;
|-&lt;br /&gt;
| +5V &lt;br /&gt;
| A4&lt;br /&gt;
|-&lt;br /&gt;
| -5V &lt;br /&gt;
| A3&lt;br /&gt;
|-&lt;br /&gt;
| High voltage&amp;lt;br&amp;gt;(DAC max out +10)&lt;br /&gt;
| A2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Power Supply Sequencing ===&lt;br /&gt;
The control board is designed such that voltages may be supplied in any order so long as AGND and DGND are connected properly.  However, for initial testing, the preferred order for powering up the board is as follows:&lt;br /&gt;
&lt;br /&gt;
# Ensure AGND/DGND are connected/grounded&lt;br /&gt;
# +5V&lt;br /&gt;
# -5V&lt;br /&gt;
# High voltage&lt;br /&gt;
&lt;br /&gt;
== FPGA ==&lt;br /&gt;
The control board uses a Xilinx XC3S50A VQ100 FPGA. It has a 100 pin footprint and is located in the center of the control board.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The FPGA is powered by the 3.3V power plane, which is regulated by VR1. The FPGA also obtains 1.2V for its internal logic from a 1.2V power island, regulated by VR3.&lt;br /&gt;
&lt;br /&gt;
=== Logic Standard ===&lt;br /&gt;
The Xilinx XC3S50A supports several different digital logic standards. The control board is hard wired such that the FPGA will use a '''3.3V CMOS''' logic standard.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| P1&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P2&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P3&lt;br /&gt;
| AD7928/CS&lt;br /&gt;
| SPI chip select for ADC&lt;br /&gt;
|-&lt;br /&gt;
| P4&lt;br /&gt;
| SPI&lt;br /&gt;
| '''Erroneously wired SPI bus trace'''&amp;lt;br&amp;gt;Connects to SDO on temp. sensor and DIN on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P5&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| 5 MHz clock output for SPI bus (ADC and temp. sensor)&lt;br /&gt;
|-&lt;br /&gt;
| P6&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P7&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P8&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P9&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P10&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P11&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P12&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P13&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P14&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P15&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P17&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P18&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P19&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P20&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P21&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P22&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P23&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P24&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P25&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P26&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| P27&lt;br /&gt;
| FPGA/CLK_IN&lt;br /&gt;
| 20 MHz clock input from crystal oscillator&lt;br /&gt;
|-&lt;br /&gt;
| P28&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P29&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P30&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P31&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P32&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P33&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P34&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P35&lt;br /&gt;
| CP2201/INT&lt;br /&gt;
| Ethernet controller interrupt&lt;br /&gt;
|-&lt;br /&gt;
| P36&lt;br /&gt;
| MASTER_RESET&lt;br /&gt;
| Connects to RESET jumper in upper left of board (active-low, externally pulled up)&lt;br /&gt;
|-&lt;br /&gt;
| P37&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P38&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P39&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P40&lt;br /&gt;
| CP2201/CS&lt;br /&gt;
| Chip select for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P41&lt;br /&gt;
| CP2201/WR&lt;br /&gt;
| Write enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P42&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P43&lt;br /&gt;
| CP2201/RD&lt;br /&gt;
| Read enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P44&lt;br /&gt;
| CP2201/ALE&lt;br /&gt;
| Address line enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P45&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P46&lt;br /&gt;
| CP2201/RESET&lt;br /&gt;
| Reset pin for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P47&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P48&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P49&lt;br /&gt;
| CP2201/AD0&lt;br /&gt;
| Ethernet controller address/data bus, bit 0&lt;br /&gt;
|-&lt;br /&gt;
| P50&lt;br /&gt;
| CP2201/AD1&lt;br /&gt;
| Ethernet controller address/data bus, bit 1&lt;br /&gt;
|-&lt;br /&gt;
| P51&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data input from EEPROM for configuration&lt;br /&gt;
|-&lt;br /&gt;
| P52&lt;br /&gt;
| CP2201/AD2&lt;br /&gt;
| Ethernet controller address/data bus, bit 2&lt;br /&gt;
|-&lt;br /&gt;
| P53&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock (signal generated by FPGA at &amp;lt;br&amp;gt;power on to clock the configuration process)&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P54&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Gives configuration status - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P55&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P56&lt;br /&gt;
| CP2201/AD3&lt;br /&gt;
| Ethernet controller address/data bus, bit 3&lt;br /&gt;
|-&lt;br /&gt;
| P57&lt;br /&gt;
| CP2201/AD4&lt;br /&gt;
| Ethernet controller address/data bus, bit 4&lt;br /&gt;
|-&lt;br /&gt;
| P58&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P59&lt;br /&gt;
| CP2201/AD5&lt;br /&gt;
| Ethernet controller address/data bus, bit 5&lt;br /&gt;
|-&lt;br /&gt;
| P60&lt;br /&gt;
| CP2201/AD6&lt;br /&gt;
| Ethernet controller address/date bus, bit 6&lt;br /&gt;
|-&lt;br /&gt;
| P61&lt;br /&gt;
| CP2201/AD7&lt;br /&gt;
| Ethernet controller address/date bus, bit 7&lt;br /&gt;
|-&lt;br /&gt;
| P62&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P63&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P64&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P65&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P66&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P67&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P68&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P69&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P70&lt;br /&gt;
| ID3&lt;br /&gt;
| Backplane location identifier jumper, pins 3 &amp;amp; 4&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P71&lt;br /&gt;
| ID2&lt;br /&gt;
| Backplane location identifier jumper, pins 5 &amp;amp; 6&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P72&lt;br /&gt;
| ID1&lt;br /&gt;
| Backplane location identifier jumper, pins 7 &amp;amp; 8&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P73&lt;br /&gt;
| ID0&lt;br /&gt;
| Backplane location identifier jumper, pins 9 &amp;amp; 10&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P74&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P75&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P76&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P77&lt;br /&gt;
| ID4&lt;br /&gt;
| Backplane location identifier jumper, pins 1 &amp;amp; 2&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P78&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P79&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P80&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P81&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P82&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P83&lt;br /&gt;
| CLK_5MHZ_2&lt;br /&gt;
| 5 MHz clock output for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P84&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P85&lt;br /&gt;
| AD5535/DIN&lt;br /&gt;
| DAC serial data input (FPGA out -&amp;gt; DAC in)&lt;br /&gt;
|-&lt;br /&gt;
| P86&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P87&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P89&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P90&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P91&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P92&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P93&lt;br /&gt;
| AD7314/CE&lt;br /&gt;
| Chip enable for temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| P94&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P95&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P96&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P97&lt;br /&gt;
| AD7928/DOUT&lt;br /&gt;
| '''Erroneously wired ADC SPI bus connection'''&amp;lt;br&amp;gt;Connects to DOUT on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P98&lt;br /&gt;
| AD5535/RESET&lt;br /&gt;
| Reset pin for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P99&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P100&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== EEPROM ==&lt;br /&gt;
To facilitate power-on configuration of the FPGA, the control board includes a Xilinx XCF01S EEPROM. The EEPROM is located to the left of the FPGA, above the JTAG header, and has a 20 pin footprint. The EEPROM is labelled U5.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The EEPROM uses +3.3V exclusively, which it receives from the +3.3V power plane, regulated by VR1.&lt;br /&gt;
&lt;br /&gt;
=== Flashing/Burning/Writing ===&lt;br /&gt;
Whatever you call it, this refers to storing data in the EEPROM so that it can configure the FPGA at power-on. The EEPROM is programmed using a JTAG interface and the Xilinx Platform USB II cable. It is important to note that in digital board's JTAG chain, the EEPROM is the first device in the chain, unlike in the Xilinx documentation where it is shown as the second device. This should not affect the operation of the board, but should be reflected in the Xilinx software when writing the EEPROM via JTAG. &lt;br /&gt;
&lt;br /&gt;
=== FPGA Configuration ===&lt;br /&gt;
The EEPROM and FPGA are hardwired to use a master serial protocol to transfer the program from the EEPROM to the FPGA. This is the protocol recommended in the Xilinx documentation because it minimizes the number of traces necessary to run between the EEPROM and FPGA. All configuration data is sent over a single trace, FPGA/DIN (pin 1 on EEPROM), controlled by the configuration clock signal (FPGA/CCLK) which is automatically generated by the FPGA at power-on. When configuration is complete, FPGA/DONE (pin 10) is pulled high by the FPGA, and the EEPROM and configuration clock are deactivated.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data line&amp;lt;br&amp;gt;Carries data from the EEPROM to the FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock&amp;lt;br&amp;gt;Auto generated by FPGA at power-on, disabled at end of configuration&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| This is the EEPROM's TDI&amp;lt;br&amp;gt;This is the entry point for the onboard JTAG chain&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during configuration&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during configuration - can be used to intiate reconfiguration of FPGA&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Indicates completion of FPGA configuration&amp;lt;br&amp;gt;High when complete&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 12-16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| This is the EEPROM's TDO/FPGA's TDI&lt;br /&gt;
|-&lt;br /&gt;
| 18-20&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== JTAG Header ==&lt;br /&gt;
To write the FPGA's program to the EEPROM, the board employs a JTAG based programming system consistent with Xilinx's recommendations. The system is designed to operate with Xilnx's Platform USB II cable and the flying lead adapter.&lt;br /&gt;
&lt;br /&gt;
===Header Location and Size===&lt;br /&gt;
The header consists of 14 pins, 100 mil pitch, just below the EEPROM (U5). The header is labelled P1. The pitch of the pins in the header was erroneously selected to be 100 mil, which is not compatible with Xilinx's JTAG ribbon cable. Therefore, the Xilinx flying lead adapter must be used.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The JTAG interface is powered by the +3.3V power plane, not by the computer's USB port. Power is supplied through pin 2 of the JTAG header.&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
Note that the header is positioned on the board rotated 180 degrees from the position in which it is shown in the Xilinx documentation. Care must be taken when connecting the flying leads to ensure they are connected to the right pins. Connecting the flying leads to the wrong side of the header will cause all of the leads to short on the digital board's ground plane. This will certainly cause undesired operation, and may or may not cause damage. Improper wiring is most likely to cause damage if one of the flying leads is connected to an odd numbered pin. '''Note from the pinout table below that no flying lead connections should ever be made to the odd numbered pins on the JTAG header.'''&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1, 3, 5, 7, 9, 11, 13 (odd pins)&lt;br /&gt;
| DGND&lt;br /&gt;
| Ground pins for signal integrity&amp;lt;br&amp;gt;'''Never connect a flying lead to these pins'''&amp;lt;br&amp;gt;Doing so will short to ground and may cause permanent damage if the Platform USB II cable does not have protection against this.&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| +3.3V&lt;br /&gt;
| Power source for all JTAG logic&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS - connects to EEPROM and FPGA &lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK - connects to EEPROM and FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| JTAG  boundary scan chain endpoint&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| JTAG boundary scan chain start point&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| No connection&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| No connection&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===JTAG Overview===&lt;br /&gt;
The JTAG interface is clocked by the TCK signal. TCK is generated by the Platform USB II cable, and connects directly from the JTAG header to both the EEPROM and FPGA.&lt;br /&gt;
&lt;br /&gt;
The TMS signal is directly connected to both the EEPROM and FPGA, and is the data line over which JTAG test results (in this case programming results) are sent. TMS is used by only one component at a time.&lt;br /&gt;
&lt;br /&gt;
The TDI/TDO lines form a chain that connects to each JTAG component in series. On the control board, the first point in the chain is the EEPROM's TDI. Next is the EEPROM's TDO, which is the same as the FPGA's TDI. The FPGA's TDO then returns to the JTAG header and the Platform USB II cable.&lt;br /&gt;
&lt;br /&gt;
== DAC ==&lt;br /&gt;
The control board uses the Analog Devices AD5535, 32-channel, 200V max, digital to analog converter. This chip has a modified BC-124 BGA footprint and is located above the Eurocard connector at the bottom of the board. It is labelled U3.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The DAC is primarily powered by the +5V power island, regulated by an off-board power supply and extensively decoupled in the area of the DAC. The DAC also requires -5V, and a high voltage as discussed in [[#Power Requirements | Power Requirements]]. Both of these voltages are supplied by an off-board supply and decoupled near the DAC. In addition to these voltage levels, the DAC requires a precise +2.5V reference, created by the shunt-type voltage reference VR4.&lt;br /&gt;
&lt;br /&gt;
=== Setting the Output Range ===&lt;br /&gt;
The output range of the DAC is set by the 2.5V reference voltage supplied by VR4. The high voltage power supply must supply at a minimum 50 times this voltage, plus 10. Thus, the high voltage power supply should be at least 135V for DAC to operate properly, even though the SiPMs are expected to need only 40V. If it is convenient to use a lower high voltage, VR4 must be replaced to provide lower reference voltage. The high voltage may then be decreased appropriately. To summarize:&lt;br /&gt;
&lt;br /&gt;
* Max output voltage = VREF*50&lt;br /&gt;
* Minimum high voltage supply = VREF*50 + 10&lt;br /&gt;
* Acceptable range for VREF&lt;br /&gt;
** Min: 1V&lt;br /&gt;
** Max: 3.75V (AD5535 datasheet specifies 4V max, but this would require AVCC of 5.25V for the DAC, which is not possible in the current board design)&lt;br /&gt;
&lt;br /&gt;
If relevant, R13 is a 100K resistor.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Diode ===&lt;br /&gt;
The DAC has a built in thermal diode. The diode drop from anode to cathode is typically 0.65V at 25&amp;amp;deg;C. It changes at a rate of -2.20mV/&amp;amp;deg;C. The anode of this diode is connected to the +5V power island, and the cathode is connected to a 270K resistor to ground. The voltage between the cathode and the resistor is connected to VIN1 (pin 15) on the ADC.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
See documentation from Analog Devices.&lt;br /&gt;
&lt;br /&gt;
=== Channel Mapping ===&lt;br /&gt;
Due to the layout of the balls on the footprint of the DAC, the DAC's internal channel numbers (which must be referenced by the FPGA) have no correlation to the channel numbers on the amplifier board. This table summarizes the mapping between various pins that belong to each channel.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''DAC Channel #'''&lt;br /&gt;
| '''DAC Pin #'''&lt;br /&gt;
| '''Digital Board Eurocard Pin #'''&lt;br /&gt;
| '''Amplifier Board Eurocard Pin #'''&lt;br /&gt;
| '''Amplifier Channel #'''&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| B1&lt;br /&gt;
| B3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| A2&lt;br /&gt;
| C4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| D1&lt;br /&gt;
| B2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| C2&lt;br /&gt;
| C3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| B3&lt;br /&gt;
| B4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| E2&lt;br /&gt;
| C2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| F3&lt;br /&gt;
| B1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| A4&lt;br /&gt;
| B5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| E4&lt;br /&gt;
| C5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| B5&lt;br /&gt;
| C6&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| F5&lt;br /&gt;
| C1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| A6&lt;br /&gt;
| C7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| E6&lt;br /&gt;
| B6&lt;br /&gt;
| &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 13&lt;br /&gt;
| B7&lt;br /&gt;
| B7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| F7&lt;br /&gt;
| C10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 15&lt;br /&gt;
| E8&lt;br /&gt;
| C8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| A8&lt;br /&gt;
| B8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| B9&lt;br /&gt;
| C9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| F9&lt;br /&gt;
| C16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| E10&lt;br /&gt;
| B11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| A10&lt;br /&gt;
| B9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| B11&lt;br /&gt;
| B10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| C12&lt;br /&gt;
| B12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| D13&lt;br /&gt;
| B13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| E12&lt;br /&gt;
| B14&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| A12&lt;br /&gt;
| C11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| B13&lt;br /&gt;
| C12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| H13&lt;br /&gt;
| B16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| G14&lt;br /&gt;
| B15&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 29&lt;br /&gt;
| C14&lt;br /&gt;
| C13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 30&lt;br /&gt;
| F13&lt;br /&gt;
| C15&lt;br /&gt;
|&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 31&lt;br /&gt;
| E14&lt;br /&gt;
| C14&lt;br /&gt;
|&lt;br /&gt;
| DACHEALTH&amp;lt;br&amp;gt;See [[#Channel Descriptions | ADC Channel Descriptions]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==ADC==&lt;br /&gt;
The board includes an Analog Devices AD7928 analog to digital converter. The ADC is located just to the right and slightly below the FPGA. It is labelled U4.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The ADC is powered by the +5V power island, which is regulated by an off-board power supply and decoupled near the ADC. It also requires a precise (&amp;amp;plusmn;1%) 2.5V reference to which it compares voltages when converting from analog to digital. Since the +5V power source is not used for comparison, it is flexible and may vary by &amp;amp;plusmn;0.25V without affecting ADC precision.&lt;br /&gt;
&lt;br /&gt;
===Setting the Measuring Range===&lt;br /&gt;
The measuring range is set programmatically by the FPGA over the SPI bus. The way the ADC is connected on the digital board requires that its measuring range be set to 5V, so the RANGE bit should be set to 1 by the FPGA (see Analog Devices documentation).&lt;br /&gt;
&lt;br /&gt;
===Data Interfacing===&lt;br /&gt;
The ADC uses an SPI bus to communicate with the FPGA. This bus is shared with the temperature sensor. SPI related pins include SCLK, CS, DIN, and DOUT. See the Pinout Table below.&lt;br /&gt;
&lt;br /&gt;
===Channel Descriptions===&lt;br /&gt;
This table shows what signals are monitored by the ADC.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''ADC Channel #'''&lt;br /&gt;
| '''ADC Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| VIN0&lt;br /&gt;
| 16&lt;br /&gt;
| AD7928/VHEALTH&lt;br /&gt;
| This net helps to monitor to overall health of power on the board, but is specifically intended to monitor -5V. It's voltage is the output of a resistor divider between the +5 and -5V power supplies, with resistor values of 33.2K, and 100K. Assuming +5V and -5V are both correct, the output of the divider will be +2.51V. A reading of other than 2.51V indicates a problem with one of the power supplies. Problems with the +5V power supply can be ruled out by reading VIN3. Based on the reading from VIN3, the voltage of the -5V supply can be calculated.&lt;br /&gt;
|-&lt;br /&gt;
| VIN1&lt;br /&gt;
| 15&lt;br /&gt;
| AD5535/CATHODE&lt;br /&gt;
| This is the thermal diode output from the DAC. Should read 4.35V (typical) at 25&amp;amp;deg;C. Drops 2.20mV/&amp;amp;deg;C.&lt;br /&gt;
|-&lt;br /&gt;
| VIN2&lt;br /&gt;
| 14&lt;br /&gt;
| +3.3V&lt;br /&gt;
| This is the +3.3V power plane. A reading of other than +3.3V indicates a problem with VR1.&lt;br /&gt;
|-&lt;br /&gt;
| VIN3&lt;br /&gt;
| 13&lt;br /&gt;
| +5V&lt;br /&gt;
| This is the +5V power island. A reading of other than +5V indicates a problem with the +5V power supply.&lt;br /&gt;
|-&lt;br /&gt;
| VIN4&lt;br /&gt;
| 12&lt;br /&gt;
| ADC_EXT1&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A7. It is intended to measure the output of thermistor on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN5&lt;br /&gt;
| 11&lt;br /&gt;
| +1.2V&lt;br /&gt;
| This is the +1.2V power island. This island powers the internal logic of the FPGA. A reading of other than 1.2V indicates a problem with VR3.&lt;br /&gt;
|-&lt;br /&gt;
| VIN6&lt;br /&gt;
| 10&lt;br /&gt;
| ADC_EXT2&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A8. It is intended to measure one of the transistor base voltages on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN7&lt;br /&gt;
| 9&lt;br /&gt;
| DACHEALTH&lt;br /&gt;
| This channel monitors the output of a resistor divider connected to channel 31 of the DAC. The divider consists of three resistors of 200K, 200K, and 10.2K (in order). The ADC reads out the voltage level between the second 200K and then 10.2K resistor. These resistors were selected so that at 200V, the readout voltage will be 4.973V. Since the divider should be linear, the expected voltage at 20V is 0.4973V. Three resistors were used rather than two to avoid exceeding the resistors' power ratings when the DAC is set to its maximum voltage. Note that since this divider will consume up to 484uA of current at 200V, this DAC channel should not be used for anything that might require more than ~200uA of current (the DAC can source 700uA max). The channel is routed to the backplane nonetheless.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| SPI clock (SCLK), from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| DIN&lt;br /&gt;
| SPI data in, from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&amp;lt;br&amp;gt;''Currently wired wrong''&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| CS&lt;br /&gt;
| SPI chip select&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| AD7928/REF_IN&lt;br /&gt;
| +2.5V reference, set by VR2&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9-16&lt;br /&gt;
| VIN[7:0]&lt;br /&gt;
| See [[#Channel Descriptions | ADC Channel Descriptions]]&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| DOUT&lt;br /&gt;
| SPI data out&amp;lt;br&amp;gt;''Currently wired incorrectly''&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| +3.3V&lt;br /&gt;
| VDRIVE, powers the SPI logic&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Ethernet Controller ==&lt;br /&gt;
The board uses a Silicon Laboratories CP2201, 28-pin, ethernet controller. The CP2201 is located just above the FPGA, and is labelled U2.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The CP2201 uses only +3.3V, which is supplied by the +3.3V power plane and regulated by VR1. Appropriate decoupling capacitors can be found near the CP2201.&lt;br /&gt;
&lt;br /&gt;
=== Ethernet Jack ===&lt;br /&gt;
To the right of the CP2201 is a Pulse J0011D21NL ethernet jack, labelled J1. This jack has a built-in 1:1 inductive coupling. For best results, connect this jack to a nearby ethernet switch. The jack may also be connected directly to a computer using a crossover cable. Though auto-crossover is not supported by the CP2201, if the computer's NIC supports it, a crossover cable is not necessary to connect directly to a computer.&lt;br /&gt;
&lt;br /&gt;
==== Ethernet Jack Pins ====&lt;br /&gt;
These are visible only on the back side of the board. Pin 1 is indicated by a square pad. Pin 8 is the farthest pin from pin 1. Pins are numbered such that the 4 pins closer to the plastic thru-hole connectors are odd (1, 3, 5, 7), and the four pins closer to the CP2201 are are even (2, 4, 6, 8).&lt;br /&gt;
&lt;br /&gt;
* Pin 1: TX+&lt;br /&gt;
* Pin 2: AC coupled to DGND&lt;br /&gt;
* Pin 3: TX-&lt;br /&gt;
* Pin 4: RX+&lt;br /&gt;
* Pin 5: AC coupled to DGND&lt;br /&gt;
* Pin 6: RX-&lt;br /&gt;
* Pin 7: No connection&lt;br /&gt;
* Pin 8: DGND (direct)&lt;br /&gt;
&lt;br /&gt;
The two large thru-hole pins (not numbered) connect to the metal shielding on the outside of the jack. These are directly connected to DGND to shield against electrical noise inside the jack.&lt;br /&gt;
&lt;br /&gt;
The two plastic thru-hole pins are not conductive and have no electrical connection. They are present only for structural purposes, presumably to prevent stress on the solder points when an ethernet wire is inserted or removed from the jack.&lt;br /&gt;
&lt;br /&gt;
=== Crystal Oscillator ===&lt;br /&gt;
The CP2201 is responsible for driving the 20MHz crystal oscillator. This oscillator clocks both the CP2201 and the FPGA. The crystal oscillator can be found above the right corner of the FPGA. It can be identified by its four surface mount pads and roughly .3&amp;quot; length. It is labelled Y1, though this label is not visible after the oscillator is soldered on. The CP2201 uses an inverting driver to excite the crystal. The output of the crystal is then sent to the CP2201 and the FPGA.&lt;br /&gt;
&lt;br /&gt;
=== Bus Format and Multiplexing ===&lt;br /&gt;
The 28-pin CP2201 used on the board only supports multiplexed operation. This means that both address and data information are passed over the same set of 8 traces. Hence, these traces are referred to as the address/data (AD) bus. A separate address line enable (ALE) trace prevents collisions from occuring on these traces. The communication protocol used is the Intel format. See the CP2201's datasheet for more information about this.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| CP2201/LA&lt;br /&gt;
| Link/activity indicator&amp;lt;br&amp;gt;Routed to backplane but not implemented&amp;lt;br&amp;gt;See CP2201 data sheet for information on how to connect to an LED&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| DGND&lt;br /&gt;
| By the data sheet, this pin should be AGND&amp;lt;br&amp;gt;We deliberately set it to DGND to avoid noise on AGND plane&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| +3.3V&lt;br /&gt;
| AV+ power pin&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| CP2201/RX-&lt;br /&gt;
| Connects to RX- on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| CP2201/RX+&lt;br /&gt;
| Connects to RX+ on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| CP2201/TX+&lt;br /&gt;
| Connects to TX+ on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| CP2201/TX-&lt;br /&gt;
| Connects to TX- on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;quot;VDD&amp;quot; power pin&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;DGND1&amp;quot; per the data sheet&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| CP2201/RESET&lt;br /&gt;
| &amp;quot;RST&amp;quot; per the data sheet&amp;lt;br&amp;gt;Connects to FPGA - should be programmatically triggered upon reset of FPGA by RESET jumper&lt;br /&gt;
|-&lt;br /&gt;
| 11-18&lt;br /&gt;
| CP2201/AD[0:7]&lt;br /&gt;
| Bits 0-7 of the address/data bus&amp;lt;br&amp;gt;Connect to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;quot;VDD&amp;quot; power pin&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;DGND2&amp;quot; per the data sheet&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| CP2201/ALE&lt;br /&gt;
| Address line enable&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| CP2201/RD&lt;br /&gt;
| Read strobe for AD bus&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| CP2201/WR&lt;br /&gt;
| Write strobe for AD bus&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| CP2201/CS&lt;br /&gt;
| Chip select&amp;lt;br&amp;gt;Connects to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| CP2201/INT&lt;br /&gt;
| Interrupt request&amp;lt;br&amp;gt;Connects to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;MOTEN&amp;quot; (Motorola enable) per the datasheet&amp;lt;br&amp;gt;Tied low to disable Motorola bus format (enable Intel format)&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| CP2201/XTAL2&lt;br /&gt;
| Crystal oscillator driver&amp;lt;br&amp;gt;The CP2201 inverts the 20MHz clock signal and feeds it back to the crystal oscillator to encourage larger oscillations&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| FPGA/CLK_IN&lt;br /&gt;
| &amp;quot;XTAL1&amp;quot; per the data sheet&amp;lt;br&amp;gt;This is the 20MHz clock input&amp;lt;br&amp;gt;Also connects to the FPGA's clock input&lt;br /&gt;
|- &lt;br /&gt;
| 29*&lt;br /&gt;
| DGND&lt;br /&gt;
| This is not a pin but rather the base of the CP2201 package.&amp;lt;br&amp;gt;It is connected to the DGND plane for thermal relief&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Eurocard Connector ==&lt;br /&gt;
At the bottom of the control board is the Eurocard connector, labelled P2. The Eurocard connector connects the board to the backplane and also connects the board to its power supplies. The Eurocard has 48 pins arranged in three rows of 16 pins each. Rows B and C are exclusively used to pass SiPM bias voltages to the backplane as described in [[#Channel Mapping | DAC Channel Mapping]]. Here is a table describing the purpose of pins in row A:&lt;br /&gt;
&lt;br /&gt;
=== Row A Pinout Table ===&lt;br /&gt;
Note that when viewing the front side of the board with the Eurocard at the bottom, these pins go from right to left. If you look closely at the pins, you will see that pin A1 has a square pad, unlike the round pads of the others.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| A1&lt;br /&gt;
| CP2201/LA&lt;br /&gt;
| Ethernet link/activity indicator routed to backplane&lt;br /&gt;
|-&lt;br /&gt;
| A2&lt;br /&gt;
| High voltage input (+210V max)&lt;br /&gt;
| High voltage input for DAC. See [[#DAC | DAC]] for information about what voltage to input here.&lt;br /&gt;
|-&lt;br /&gt;
| A3&lt;br /&gt;
| -5V&lt;br /&gt;
| For DAC&lt;br /&gt;
|-&lt;br /&gt;
| A4&lt;br /&gt;
| +5V&lt;br /&gt;
| Powers most things on the board&lt;br /&gt;
|-&lt;br /&gt;
| A5&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A6&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| A7&lt;br /&gt;
| ADC_EXT1&lt;br /&gt;
| Connects to ADC to monitor voltages on amplifier board&amp;lt;br&amp;gt;See [[#ADC | ADC]]&lt;br /&gt;
|-&lt;br /&gt;
| A8&lt;br /&gt;
| ADC_EXT2&lt;br /&gt;
| Connects to ADC to monitor voltages on amplifier board&amp;lt;br&amp;gt;See [[#ADC | ADC]]&lt;br /&gt;
|-&lt;br /&gt;
| A9&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A10&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| A11&lt;br /&gt;
| No conneciton&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A12&lt;br /&gt;
| ID4&lt;br /&gt;
| Location identifier bit 4&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A13&lt;br /&gt;
| ID3&lt;br /&gt;
| Location identifier bit 3&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A14&lt;br /&gt;
| ID2&lt;br /&gt;
| Location identifier bit 2&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A15&lt;br /&gt;
| ID1&lt;br /&gt;
| Location identifier bit 1&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A16&lt;br /&gt;
| ID0&lt;br /&gt;
| Location identifier bit 0&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4376</id>
		<title>Digital control board documentation</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4376"/>
		<updated>2009-06-16T19:26:56Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* Channel Mapping */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This documentation covers the most important things to know while testing the digital control board, including component pinouts, nets, and other information.&lt;br /&gt;
&lt;br /&gt;
== Power Requirements ==&lt;br /&gt;
=== Required Voltages ===&lt;br /&gt;
All components on the digital board '''except the DAC''' can be tested using only a +5V source. The DAC requires +5V, -5V, and a high voltage corresponding to 10V higher than the maximum desired DAC output voltage (see [[#Setting the Output Range | Setting the Output Range]]). Digital and analog grounds must be connected as well before any testing takes place.&lt;br /&gt;
&lt;br /&gt;
=== Power Pins ===&lt;br /&gt;
Power shall be connected to the board as follows:&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Voltage'''&lt;br /&gt;
| '''Eurocard Pin'''&lt;br /&gt;
|-&lt;br /&gt;
| DGND &lt;br /&gt;
| A6&lt;br /&gt;
|-&lt;br /&gt;
| AGND &lt;br /&gt;
| A5&lt;br /&gt;
|-&lt;br /&gt;
| +5V &lt;br /&gt;
| A4&lt;br /&gt;
|-&lt;br /&gt;
| -5V &lt;br /&gt;
| A3&lt;br /&gt;
|-&lt;br /&gt;
| High voltage&amp;lt;br&amp;gt;(DAC max out +10)&lt;br /&gt;
| A2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Power Supply Sequencing ===&lt;br /&gt;
The control board is designed such that voltages may be supplied in any order so long as AGND and DGND are connected properly.  However, for initial testing, the preferred order for powering up the board is as follows:&lt;br /&gt;
&lt;br /&gt;
# Ensure AGND/DGND are connected/grounded&lt;br /&gt;
# +5V&lt;br /&gt;
# -5V&lt;br /&gt;
# High voltage&lt;br /&gt;
&lt;br /&gt;
== FPGA ==&lt;br /&gt;
The control board uses a Xilinx XC3S50A VQ100 FPGA. It has a 100 pin footprint and is located in the center of the control board.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The FPGA is powered by the 3.3V power plane, which is regulated by VR1. The FPGA also obtains 1.2V for its internal logic from a 1.2V power island, regulated by VR3.&lt;br /&gt;
&lt;br /&gt;
=== Logic Standard ===&lt;br /&gt;
The Xilinx XC3S50A supports several different digital logic standards. The control board is hard wired such that the FPGA will use a '''3.3V CMOS''' logic standard.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| P1&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P2&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P3&lt;br /&gt;
| AD7928/CS&lt;br /&gt;
| SPI chip select for ADC&lt;br /&gt;
|-&lt;br /&gt;
| P4&lt;br /&gt;
| SPI&lt;br /&gt;
| '''Erroneously wired SPI bus trace'''&amp;lt;br&amp;gt;Connects to SDO on temp. sensor and DIN on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P5&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| 5 MHz clock output for SPI bus (ADC and temp. sensor)&lt;br /&gt;
|-&lt;br /&gt;
| P6&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P7&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P8&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P9&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P10&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P11&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P12&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P13&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P14&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P15&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P17&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P18&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P19&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P20&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P21&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P22&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P23&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P24&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P25&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P26&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| P27&lt;br /&gt;
| FPGA/CLK_IN&lt;br /&gt;
| 20 MHz clock input from crystal oscillator&lt;br /&gt;
|-&lt;br /&gt;
| P28&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P29&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P30&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P31&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P32&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P33&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P34&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P35&lt;br /&gt;
| CP2201/INT&lt;br /&gt;
| Ethernet controller interrupt&lt;br /&gt;
|-&lt;br /&gt;
| P36&lt;br /&gt;
| MASTER_RESET&lt;br /&gt;
| Connects to RESET jumper in upper left of board (active-low, externally pulled up)&lt;br /&gt;
|-&lt;br /&gt;
| P37&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P38&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P39&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P40&lt;br /&gt;
| CP2201/CS&lt;br /&gt;
| Chip select for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P41&lt;br /&gt;
| CP2201/WR&lt;br /&gt;
| Write enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P42&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P43&lt;br /&gt;
| CP2201/RD&lt;br /&gt;
| Read enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P44&lt;br /&gt;
| CP2201/ALE&lt;br /&gt;
| Address line enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P45&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P46&lt;br /&gt;
| CP2201/RESET&lt;br /&gt;
| Reset pin for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P47&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P48&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P49&lt;br /&gt;
| CP2201/AD0&lt;br /&gt;
| Ethernet controller address/data bus, bit 0&lt;br /&gt;
|-&lt;br /&gt;
| P50&lt;br /&gt;
| CP2201/AD1&lt;br /&gt;
| Ethernet controller address/data bus, bit 1&lt;br /&gt;
|-&lt;br /&gt;
| P51&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data input from EEPROM for configuration&lt;br /&gt;
|-&lt;br /&gt;
| P52&lt;br /&gt;
| CP2201/AD2&lt;br /&gt;
| Ethernet controller address/data bus, bit 2&lt;br /&gt;
|-&lt;br /&gt;
| P53&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock (signal generated by FPGA at &amp;lt;br&amp;gt;power on to clock the configuration process)&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P54&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Gives configuration status - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P55&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P56&lt;br /&gt;
| CP2201/AD3&lt;br /&gt;
| Ethernet controller address/data bus, bit 3&lt;br /&gt;
|-&lt;br /&gt;
| P57&lt;br /&gt;
| CP2201/AD4&lt;br /&gt;
| Ethernet controller address/data bus, bit 4&lt;br /&gt;
|-&lt;br /&gt;
| P58&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P59&lt;br /&gt;
| CP2201/AD5&lt;br /&gt;
| Ethernet controller address/data bus, bit 5&lt;br /&gt;
|-&lt;br /&gt;
| P60&lt;br /&gt;
| CP2201/AD6&lt;br /&gt;
| Ethernet controller address/date bus, bit 6&lt;br /&gt;
|-&lt;br /&gt;
| P61&lt;br /&gt;
| CP2201/AD7&lt;br /&gt;
| Ethernet controller address/date bus, bit 7&lt;br /&gt;
|-&lt;br /&gt;
| P62&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P63&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P64&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P65&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P66&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P67&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P68&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P69&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P70&lt;br /&gt;
| ID3&lt;br /&gt;
| Backplane location identifier jumper, pins 3 &amp;amp; 4&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P71&lt;br /&gt;
| ID2&lt;br /&gt;
| Backplane location identifier jumper, pins 5 &amp;amp; 6&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P72&lt;br /&gt;
| ID1&lt;br /&gt;
| Backplane location identifier jumper, pins 7 &amp;amp; 8&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P73&lt;br /&gt;
| ID0&lt;br /&gt;
| Backplane location identifier jumper, pins 9 &amp;amp; 10&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P74&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P75&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P76&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P77&lt;br /&gt;
| ID4&lt;br /&gt;
| Backplane location identifier jumper, pins 1 &amp;amp; 2&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P78&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P79&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P80&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P81&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P82&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P83&lt;br /&gt;
| CLK_5MHZ_2&lt;br /&gt;
| 5 MHz clock output for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P84&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P85&lt;br /&gt;
| AD5535/DIN&lt;br /&gt;
| DAC serial data input (FPGA out -&amp;gt; DAC in)&lt;br /&gt;
|-&lt;br /&gt;
| P86&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P87&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P89&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P90&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P91&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P92&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P93&lt;br /&gt;
| AD7314/CE&lt;br /&gt;
| Chip enable for temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| P94&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P95&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P96&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P97&lt;br /&gt;
| AD7928/DOUT&lt;br /&gt;
| '''Erroneously wired ADC SPI bus connection'''&amp;lt;br&amp;gt;Connects to DOUT on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P98&lt;br /&gt;
| AD5535/RESET&lt;br /&gt;
| Reset pin for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P99&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P100&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== EEPROM ==&lt;br /&gt;
To facilitate power-on configuration of the FPGA, the control board includes a Xilinx XCF01S EEPROM. The EEPROM is located to the left of the FPGA, above the JTAG header, and has a 20 pin footprint. The EEPROM is labelled U5.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The EEPROM uses +3.3V exclusively, which it receives from the +3.3V power plane, regulated by VR1.&lt;br /&gt;
&lt;br /&gt;
=== Flashing/Burning/Writing ===&lt;br /&gt;
Whatever you call it, this refers to storing data in the EEPROM so that it can configure the FPGA at power-on. The EEPROM is programmed using a JTAG interface and the Xilinx Platform USB II cable. It is important to note that in digital board's JTAG chain, the EEPROM is the first device in the chain, unlike in the Xilinx documentation where it is shown as the second device. This should not affect the operation of the board, but should be reflected in the Xilinx software when writing the EEPROM via JTAG. &lt;br /&gt;
&lt;br /&gt;
=== FPGA Configuration ===&lt;br /&gt;
The EEPROM and FPGA are hardwired to use a master serial protocol to transfer the program from the EEPROM to the FPGA. This is the protocol recommended in the Xilinx documentation because it minimizes the number of traces necessary to run between the EEPROM and FPGA. All configuration data is sent over a single trace, FPGA/DIN (pin 1 on EEPROM), controlled by the configuration clock signal (FPGA/CCLK) which is automatically generated by the FPGA at power-on. When configuration is complete, FPGA/DONE (pin 10) is pulled high by the FPGA, and the EEPROM and configuration clock are deactivated.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data line&amp;lt;br&amp;gt;Carries data from the EEPROM to the FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock&amp;lt;br&amp;gt;Auto generated by FPGA at power-on, disabled at end of configuration&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| This is the EEPROM's TDI&amp;lt;br&amp;gt;This is the entry point for the onboard JTAG chain&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during configuration&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during configuration - can be used to intiate reconfiguration of FPGA&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Indicates completion of FPGA configuration&amp;lt;br&amp;gt;High when complete&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 12-16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| This is the EEPROM's TDO/FPGA's TDI&lt;br /&gt;
|-&lt;br /&gt;
| 18-20&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== JTAG Header ==&lt;br /&gt;
To write the FPGA's program to the EEPROM, the board employs a JTAG based programming system consistent with Xilinx's recommendations. The system is designed to operate with Xilnx's Platform USB II cable and the flying lead adapter.&lt;br /&gt;
&lt;br /&gt;
===Header Location and Size===&lt;br /&gt;
The header consists of 14 pins, 100 mil pitch, just below the EEPROM (U5). The header is labelled P1. The pitch of the pins in the header was erroneously selected to be 100 mil, which is not compatible with Xilinx's JTAG ribbon cable. Therefore, the Xilinx flying lead adapter must be used.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The JTAG interface is powered by the +3.3V power plane, not by the computer's USB port. Power is supplied through pin 2 of the JTAG header.&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
Note that the header is positioned on the board rotated 180 degrees from the position in which it is shown in the Xilinx documentation. Care must be taken when connecting the flying leads to ensure they are connected to the right pins. Connecting the flying leads to the wrong side of the header will cause all of the leads to short on the digital board's ground plane. This will certainly cause undesired operation, and may or may not cause damage. Improper wiring is most likely to cause damage if one of the flying leads is connected to an odd numbered pin. '''Note from the pinout table below that no flying lead connections should ever be made to the odd numbered pins on the JTAG header.'''&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1, 3, 5, 7, 9, 11, 13 (odd pins)&lt;br /&gt;
| DGND&lt;br /&gt;
| Ground pins for signal integrity&amp;lt;br&amp;gt;'''Never connect a flying lead to these pins'''&amp;lt;br&amp;gt;Doing so will short to ground and may cause permanent damage if the Platform USB II cable does not have protection against this.&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| +3.3V&lt;br /&gt;
| Power source for all JTAG logic&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS - connects to EEPROM and FPGA &lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK - connects to EEPROM and FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| JTAG  boundary scan chain endpoint&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| JTAG boundary scan chain start point&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| No connection&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| No connection&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===JTAG Overview===&lt;br /&gt;
The JTAG interface is clocked by the TCK signal. TCK is generated by the Platform USB II cable, and connects directly from the JTAG header to both the EEPROM and FPGA.&lt;br /&gt;
&lt;br /&gt;
The TMS signal is directly connected to both the EEPROM and FPGA, and is the data line over which JTAG test results (in this case programming results) are sent. TMS is used by only one component at a time.&lt;br /&gt;
&lt;br /&gt;
The TDI/TDO lines form a chain that connects to each JTAG component in series. On the control board, the first point in the chain is the EEPROM's TDI. Next is the EEPROM's TDO, which is the same as the FPGA's TDI. The FPGA's TDO then returns to the JTAG header and the Platform USB II cable.&lt;br /&gt;
&lt;br /&gt;
== DAC ==&lt;br /&gt;
The control board uses the Analog Devices AD5535, 32-channel, 200V max, digital to analog converter. This chip has a modified BC-124 BGA footprint and is located above the Eurocard connector at the bottom of the board. It is labelled U3.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The DAC is primarily powered by the +5V power island, regulated by an off-board power supply and extensively decoupled in the area of the DAC. The DAC also requires -5V, and a high voltage as discussed in [[#Power Requirements | Power Requirements]]. Both of these voltages are supplied by an off-board supply and decoupled near the DAC. In addition to these voltage levels, the DAC requires a precise +2.5V reference, created by the shunt-type voltage reference VR4.&lt;br /&gt;
&lt;br /&gt;
=== Setting the Output Range ===&lt;br /&gt;
The output range of the DAC is set by the 2.5V reference voltage supplied by VR4. The high voltage power supply must supply at a minimum 50 times this voltage, plus 10. Thus, the high voltage power supply should be at least 135V for DAC to operate properly, even though the SiPMs are expected to need only 40V. If it is convenient to use a lower high voltage, VR4 must be replaced to provide lower reference voltage. The high voltage may then be decreased appropriately. To summarize:&lt;br /&gt;
&lt;br /&gt;
* Max output voltage = VREF*50&lt;br /&gt;
* Minimum high voltage supply = VREF*50 + 10&lt;br /&gt;
* Acceptable range for VREF&lt;br /&gt;
** Min: 1V&lt;br /&gt;
** Max: 3.75V (AD5535 datasheet specifies 4V max, but this would require AVCC of 5.25V for the DAC, which is not possible in the current board design)&lt;br /&gt;
&lt;br /&gt;
If relevant, R13 is a 100K resistor.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Diode ===&lt;br /&gt;
The DAC has a built in thermal diode. The diode drop from anode to cathode is typically 0.65V at 25&amp;amp;deg;C. It changes at a rate of -2.20mV/&amp;amp;deg;C. The anode of this diode is connected to the +5V power island, and the cathode is connected to a 270K resistor to ground. The voltage between the cathode and the resistor is connected to VIN1 (pin 15) on the ADC.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
See documentation from Analog Devices.&lt;br /&gt;
&lt;br /&gt;
=== Channel Mapping ===&lt;br /&gt;
Due to the layout of the balls on the footprint of the DAC, the DAC's internal channel numbers (which must be referenced by the FPGA) have no correlation to the channel numbers on the amplifier board. This table summarizes the mapping between various pins that belong to each channel.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''DAC Channel #'''&lt;br /&gt;
| '''DAC Pin #'''&lt;br /&gt;
| '''Digital Board Eurocard Pin #'''&lt;br /&gt;
| '''Amplifier Board Eurocard Pin #'''&lt;br /&gt;
| '''Amplifier Channel #'''&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| B1&lt;br /&gt;
| B3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| A2&lt;br /&gt;
| C4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| D1&lt;br /&gt;
| B2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| C2&lt;br /&gt;
| C3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| B3&lt;br /&gt;
| B4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| E2&lt;br /&gt;
| C2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| F3&lt;br /&gt;
| B1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| A4&lt;br /&gt;
| B5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| E4&lt;br /&gt;
| C5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| B5&lt;br /&gt;
| C6&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| F5&lt;br /&gt;
| C1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| A6&lt;br /&gt;
| C7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| E6&lt;br /&gt;
| B6&lt;br /&gt;
| &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 13&lt;br /&gt;
| B7&lt;br /&gt;
| B7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| F7&lt;br /&gt;
| C10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 15&lt;br /&gt;
| E8&lt;br /&gt;
| C8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| A8&lt;br /&gt;
| B8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| B9&lt;br /&gt;
| C9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| F9&lt;br /&gt;
| C16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| E10&lt;br /&gt;
| B11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| A10&lt;br /&gt;
| B9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| B11&lt;br /&gt;
| B10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| C12&lt;br /&gt;
| B12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| D13&lt;br /&gt;
| B13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| E12&lt;br /&gt;
| B14&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| A12&lt;br /&gt;
| C11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| B13&lt;br /&gt;
| C12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| H13&lt;br /&gt;
| B16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| G14&lt;br /&gt;
| B15&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 29&lt;br /&gt;
| C14&lt;br /&gt;
| C13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 30&lt;br /&gt;
| F13&lt;br /&gt;
| C15&lt;br /&gt;
|&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 31&lt;br /&gt;
| E14&lt;br /&gt;
| C14&lt;br /&gt;
|&lt;br /&gt;
| DACHEALTH&amp;lt;br&amp;gt;See [[#Channel Descriptions | ADC Channel Descriptions]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==ADC==&lt;br /&gt;
The board includes an Analog Devices AD7928 analog to digital converter. The ADC is located just to the right and slightly below the FPGA. It is labelled U4.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The ADC is powered by the +5V power island, which is regulated by an off-board power supply and decoupled near the ADC. It also requires a precise (&amp;amp;plusmn;1%) 2.5V reference to which it compares voltages when converting from analog to digital. Since the +5V power source is not used for comparison, it is flexible and may vary by &amp;amp;plusmn;0.25V without affecting ADC precision.&lt;br /&gt;
&lt;br /&gt;
===Setting the Measuring Range===&lt;br /&gt;
The measuring range is set programmatically by the FPGA over the SPI bus. The way the ADC is connected on the digital board requires that its measuring range be set to 5V, so the RANGE bit should be set to 1 by the FPGA (see Analog Devices documentation).&lt;br /&gt;
&lt;br /&gt;
===Data Interfacing===&lt;br /&gt;
The ADC uses an SPI bus to communicate with the FPGA. This bus is shared with the temperature sensor. SPI related pins include SCLK, CS, DIN, and DOUT. See the Pinout Table below.&lt;br /&gt;
&lt;br /&gt;
===Channel Descriptions===&lt;br /&gt;
This table shows what signals are monitored by the ADC.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''ADC Channel #'''&lt;br /&gt;
| '''ADC Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| VIN0&lt;br /&gt;
| 16&lt;br /&gt;
| AD7928/VHEALTH&lt;br /&gt;
| This net helps to monitor to overall health of power on the board, but is specifically intended to monitor -5V. It's voltage is the output of a resistor divider between the +5 and -5V power supplies, with resistor values of 33.2K, and 100K. Assuming +5V and -5V are both correct, the output of the divider will be +2.51V. A reading of other than 2.51V indicates a problem with one of the power supplies. Problems with the +5V power supply can be ruled out by reading VIN3. Based on the reading from VIN3, the voltage of the -5V supply can be calculated.&lt;br /&gt;
|-&lt;br /&gt;
| VIN1&lt;br /&gt;
| 15&lt;br /&gt;
| AD5535/CATHODE&lt;br /&gt;
| This is the thermal diode output from the DAC. Should read 4.35V (typical) at 25&amp;amp;deg;C. Drops 2.20mV/&amp;amp;deg;C.&lt;br /&gt;
|-&lt;br /&gt;
| VIN2&lt;br /&gt;
| 14&lt;br /&gt;
| +3.3V&lt;br /&gt;
| This is the +3.3V power plane. A reading of other than +3.3V indicates a problem with VR1.&lt;br /&gt;
|-&lt;br /&gt;
| VIN3&lt;br /&gt;
| 13&lt;br /&gt;
| +5V&lt;br /&gt;
| This is the +5V power island. A reading of other than +5V indicates a problem with the +5V power supply.&lt;br /&gt;
|-&lt;br /&gt;
| VIN4&lt;br /&gt;
| 12&lt;br /&gt;
| ADC_EXT1&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A7. It is intended to measure the output of thermistor on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN5&lt;br /&gt;
| 11&lt;br /&gt;
| +1.2V&lt;br /&gt;
| This is the +1.2V power island. This island powers the internal logic of the FPGA. A reading of other than 1.2V indicates a problem with VR3.&lt;br /&gt;
|-&lt;br /&gt;
| VIN6&lt;br /&gt;
| 10&lt;br /&gt;
| ADC_EXT2&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A8. It is intended to measure one of the transistor base voltages on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN7&lt;br /&gt;
| 9&lt;br /&gt;
| DACHEALTH&lt;br /&gt;
| This channel monitors the output of a resistor divider connected to channel 31 of the DAC. The divider consists of three resistors of 200K, 200K, and 10.2K (in order). The ADC reads out the voltage level between the second 200K and then 10.2K resistor. These resistors were selected so that at 200V, the readout voltage will be 4.973V. Since the divider should be linear, the expected voltage at 20V is 0.4973V. Three resistors were used rather than two to avoid exceeding the resistors' power ratings when the DAC is set to its maximum voltage. Note that since this divider will consume up to 484uA of current at 200V, this DAC channel should not be used for anything that might require more than ~200uA of current (the DAC can source 700uA max). The channel is routed to the backplane nonetheless.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| SPI clock (SCLK), from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| DIN&lt;br /&gt;
| SPI data in, from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&amp;lt;br&amp;gt;''Currently wired wrong''&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| CS&lt;br /&gt;
| SPI chip select&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| AD7928/REF_IN&lt;br /&gt;
| +2.5V reference, set by VR2&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9-16&lt;br /&gt;
| VIN[7:0]&lt;br /&gt;
| See [[#Channel Descriptions | ADC Channel Descriptions]]&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| DOUT&lt;br /&gt;
| SPI data out&amp;lt;br&amp;gt;''Currently wired incorrectly''&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| +3.3V&lt;br /&gt;
| VDRIVE, powers the SPI logic&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Ethernet Controller ==&lt;br /&gt;
The board uses a Silicon Laboratories CP2201, 28-pin, ethernet controller. The CP2201 is located just above the FPGA, and is labelled U2.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The CP2201 uses only +3.3V, which is supplied by the +3.3V power plane and regulated by VR1. Appropriate decoupling capacitors can be found near the CP2201.&lt;br /&gt;
&lt;br /&gt;
=== Ethernet Jack ===&lt;br /&gt;
To the right of the CP2201 is a Pulse J0011D21NL ethernet jack, labelled J1. This jack has a built-in 1:1 inductive coupling. For best results, connect this jack to a nearby ethernet switch. The jack may also be connected directly to a computer using a crossover cable. Though auto-crossover is not supported by the CP2201, if the computer's NIC supports it, a crossover cable is not necessary to connect directly to a computer.&lt;br /&gt;
&lt;br /&gt;
==== Ethernet Jack Pins ====&lt;br /&gt;
These are visible only on the back side of the board. Pin 1 is indicated by a square pad. Pin 8 is the farthest pin from pin 1. Pins are numbered such that the 4 pins closer to the plastic thru-hole connectors are odd (1, 3, 5, 7), and the four pins closer to the CP2201 are are even (2, 4, 6, 8).&lt;br /&gt;
&lt;br /&gt;
* Pin 1: TX+&lt;br /&gt;
* Pin 2: AC coupled to DGND&lt;br /&gt;
* Pin 3: TX-&lt;br /&gt;
* Pin 4: RX+&lt;br /&gt;
* Pin 5: AC coupled to DGND&lt;br /&gt;
* Pin 6: RX-&lt;br /&gt;
* Pin 7: No connection&lt;br /&gt;
* Pin 8: DGND (direct)&lt;br /&gt;
&lt;br /&gt;
The two large thru-hole pins (not numbered) connect to the metal shielding on the outside of the jack. These are directly connected to DGND to shield against electrical noise inside the jack.&lt;br /&gt;
&lt;br /&gt;
The two plastic thru-hole pins are not conductive and have no electrical connection. They are present only for structural purposes, presumably to prevent stress on the solder points when an ethernet wire is inserted or removed from the jack.&lt;br /&gt;
&lt;br /&gt;
=== Crystal Oscillator ===&lt;br /&gt;
The CP2201 is responsible for driving the 20MHz crystal oscillator. This oscillator clocks both the CP2201 and the FPGA. The crystal oscillator can be found above the right corner of the FPGA. It can be identified by its four surface mount pads and roughly .3&amp;quot; length. It is labelled Y1, though this label is not visible after the oscillator is soldered on. The CP2201 uses an inverting driver to excite the crystal. The output of the crystal is then sent to the CP2201 and the FPGA.&lt;br /&gt;
&lt;br /&gt;
=== Bus Format and Multiplexing ===&lt;br /&gt;
The 28-pin CP2201 used on the board only supports multiplexed operation. This means that both address and data information are passed over the same set of 8 traces. Hence, these traces are referred to as the address/data (AD) bus. A separate address line enable (ALE) trace prevents collisions from occuring on these traces. The communication protocol used is the Intel format. See the CP2201's datasheet for more information about this.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| CP2201/LA&lt;br /&gt;
| Link/activity indicator&amp;lt;br&amp;gt;Routed to backplane but not implemented&amp;lt;br&amp;gt;See CP2201 data sheet for information on how to connect to an LED&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| DGND&lt;br /&gt;
| By the data sheet, this pin should be AGND&amp;lt;br&amp;gt;We deliberately set it to DGND to avoid noise on AGND plane&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| +3.3V&lt;br /&gt;
| AV+ power pin&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| CP2201/RX-&lt;br /&gt;
| Connects to RX- on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| CP2201/RX+&lt;br /&gt;
| Connects to RX+ on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| CP2201/TX+&lt;br /&gt;
| Connects to TX+ on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| CP2201/TX-&lt;br /&gt;
| Connects to TX- on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;quot;VDD&amp;quot; power pin&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;DGND1&amp;quot; per the data sheet&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| CP2201/RESET&lt;br /&gt;
| &amp;quot;RST&amp;quot; per the data sheet&amp;lt;br&amp;gt;Connects to FPGA - should be programmatically triggered upon reset of FPGA by RESET jumper&lt;br /&gt;
|-&lt;br /&gt;
| 11-18&lt;br /&gt;
| CP2201/AD[0:7]&lt;br /&gt;
| Bits 0-7 of the address/data bus&amp;lt;br&amp;gt;Connect to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;quot;VDD&amp;quot; power pin&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;DGND2&amp;quot; per the data sheet&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| CP2201/ALE&lt;br /&gt;
| Address line enable&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| CP2201/RD&lt;br /&gt;
| Read strobe for AD bus&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| CP2201/WR&lt;br /&gt;
| Write strobe for AD bus&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| CP2201/CS&lt;br /&gt;
| Chip select&amp;lt;br&amp;gt;Connects to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| CP2201/INT&lt;br /&gt;
| Interrupt request&amp;lt;br&amp;gt;Connects to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;MOTEN&amp;quot; (Motorola enable) per the datasheet&amp;lt;br&amp;gt;Tied low to disable Motorola bus format (enable Intel format)&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| CP2201/XTAL2&lt;br /&gt;
| Crystal oscillator driver&amp;lt;br&amp;gt;The CP2201 inverts the 20MHz clock signal and feeds it back to the crystal oscillator to encourage larger oscillations&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| FPGA/CLK_IN&lt;br /&gt;
| &amp;quot;XTAL1&amp;quot; per the data sheet&amp;lt;br&amp;gt;This is the 20MHz clock input&amp;lt;br&amp;gt;Also connects to the FPGA's clock input&lt;br /&gt;
|- &lt;br /&gt;
| 29*&lt;br /&gt;
| DGND&lt;br /&gt;
| This is not a pin but rather the base of the CP2201 package.&amp;lt;br&amp;gt;It is connected to the DGND plane for thermal relief&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Eurocard Connector ==&lt;br /&gt;
At the bottom of the control board is the Eurocard connector. The Eurocard connector connects the board to the backplane and also connects the board to its power supplies. The Eurocard has 48 pins arranged in three rows of 16 pins each. Rows B and C are exclusively used to pass SiPM bias voltages to the backplane as described in [[#Channel Mapping | DAC Channel Mapping]]. Here is a table describing the purpose of pins in row A:&lt;br /&gt;
&lt;br /&gt;
=== Row A Pinout Table ===&lt;br /&gt;
Note that when viewing the front side of the board with the Eurocard at the bottom, these pins go from right to left. If you look closely at the pins, you will see that pin A1 has a square pad, unlike the round pads of the others.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| A1&lt;br /&gt;
| CP2201/LA&lt;br /&gt;
| Ethernet link/activity indicator routed to backplane&lt;br /&gt;
|-&lt;br /&gt;
| A2&lt;br /&gt;
| High voltage input (+210V max)&lt;br /&gt;
| High voltage input for DAC. See [[#DAC | DAC]] for information about what voltage to input here.&lt;br /&gt;
|-&lt;br /&gt;
| A3&lt;br /&gt;
| -5V&lt;br /&gt;
| For DAC&lt;br /&gt;
|-&lt;br /&gt;
| A4&lt;br /&gt;
| +5V&lt;br /&gt;
| Powers most things on the board&lt;br /&gt;
|-&lt;br /&gt;
| A5&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A6&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| A7&lt;br /&gt;
| ADC_EXT1&lt;br /&gt;
| Connects to ADC to monitor voltages on amplifier board&amp;lt;br&amp;gt;See [[#ADC | ADC]]&lt;br /&gt;
|-&lt;br /&gt;
| A8&lt;br /&gt;
| ADC_EXT2&lt;br /&gt;
| Connects to ADC to monitor voltages on amplifier board&amp;lt;br&amp;gt;See [[#ADC | ADC]]&lt;br /&gt;
|-&lt;br /&gt;
| A9&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A10&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| A11&lt;br /&gt;
| No conneciton&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A12&lt;br /&gt;
| ID4&lt;br /&gt;
| Location identifier bit 4&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A13&lt;br /&gt;
| ID3&lt;br /&gt;
| Location identifier bit 3&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A14&lt;br /&gt;
| ID2&lt;br /&gt;
| Location identifier bit 2&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A15&lt;br /&gt;
| ID1&lt;br /&gt;
| Location identifier bit 1&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A16&lt;br /&gt;
| ID0&lt;br /&gt;
| Location identifier bit 0&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4375</id>
		<title>Digital control board documentation</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4375"/>
		<updated>2009-06-16T19:22:43Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* Ethernet Jack Pins */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This documentation covers the most important things to know while testing the digital control board, including component pinouts, nets, and other information.&lt;br /&gt;
&lt;br /&gt;
== Power Requirements ==&lt;br /&gt;
=== Required Voltages ===&lt;br /&gt;
All components on the digital board '''except the DAC''' can be tested using only a +5V source. The DAC requires +5V, -5V, and a high voltage corresponding to 10V higher than the maximum desired DAC output voltage (see [[#Setting the Output Range | Setting the Output Range]]). Digital and analog grounds must be connected as well before any testing takes place.&lt;br /&gt;
&lt;br /&gt;
=== Power Pins ===&lt;br /&gt;
Power shall be connected to the board as follows:&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Voltage'''&lt;br /&gt;
| '''Eurocard Pin'''&lt;br /&gt;
|-&lt;br /&gt;
| DGND &lt;br /&gt;
| A6&lt;br /&gt;
|-&lt;br /&gt;
| AGND &lt;br /&gt;
| A5&lt;br /&gt;
|-&lt;br /&gt;
| +5V &lt;br /&gt;
| A4&lt;br /&gt;
|-&lt;br /&gt;
| -5V &lt;br /&gt;
| A3&lt;br /&gt;
|-&lt;br /&gt;
| High voltage&amp;lt;br&amp;gt;(DAC max out +10)&lt;br /&gt;
| A2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Power Supply Sequencing ===&lt;br /&gt;
The control board is designed such that voltages may be supplied in any order so long as AGND and DGND are connected properly.  However, for initial testing, the preferred order for powering up the board is as follows:&lt;br /&gt;
&lt;br /&gt;
# Ensure AGND/DGND are connected/grounded&lt;br /&gt;
# +5V&lt;br /&gt;
# -5V&lt;br /&gt;
# High voltage&lt;br /&gt;
&lt;br /&gt;
== FPGA ==&lt;br /&gt;
The control board uses a Xilinx XC3S50A VQ100 FPGA. It has a 100 pin footprint and is located in the center of the control board.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The FPGA is powered by the 3.3V power plane, which is regulated by VR1. The FPGA also obtains 1.2V for its internal logic from a 1.2V power island, regulated by VR3.&lt;br /&gt;
&lt;br /&gt;
=== Logic Standard ===&lt;br /&gt;
The Xilinx XC3S50A supports several different digital logic standards. The control board is hard wired such that the FPGA will use a '''3.3V CMOS''' logic standard.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| P1&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P2&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P3&lt;br /&gt;
| AD7928/CS&lt;br /&gt;
| SPI chip select for ADC&lt;br /&gt;
|-&lt;br /&gt;
| P4&lt;br /&gt;
| SPI&lt;br /&gt;
| '''Erroneously wired SPI bus trace'''&amp;lt;br&amp;gt;Connects to SDO on temp. sensor and DIN on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P5&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| 5 MHz clock output for SPI bus (ADC and temp. sensor)&lt;br /&gt;
|-&lt;br /&gt;
| P6&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P7&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P8&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P9&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P10&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P11&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P12&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P13&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P14&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P15&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P17&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P18&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P19&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P20&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P21&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P22&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P23&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P24&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P25&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P26&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| P27&lt;br /&gt;
| FPGA/CLK_IN&lt;br /&gt;
| 20 MHz clock input from crystal oscillator&lt;br /&gt;
|-&lt;br /&gt;
| P28&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P29&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P30&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P31&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P32&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P33&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P34&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P35&lt;br /&gt;
| CP2201/INT&lt;br /&gt;
| Ethernet controller interrupt&lt;br /&gt;
|-&lt;br /&gt;
| P36&lt;br /&gt;
| MASTER_RESET&lt;br /&gt;
| Connects to RESET jumper in upper left of board (active-low, externally pulled up)&lt;br /&gt;
|-&lt;br /&gt;
| P37&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P38&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P39&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P40&lt;br /&gt;
| CP2201/CS&lt;br /&gt;
| Chip select for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P41&lt;br /&gt;
| CP2201/WR&lt;br /&gt;
| Write enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P42&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P43&lt;br /&gt;
| CP2201/RD&lt;br /&gt;
| Read enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P44&lt;br /&gt;
| CP2201/ALE&lt;br /&gt;
| Address line enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P45&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P46&lt;br /&gt;
| CP2201/RESET&lt;br /&gt;
| Reset pin for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P47&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P48&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P49&lt;br /&gt;
| CP2201/AD0&lt;br /&gt;
| Ethernet controller address/data bus, bit 0&lt;br /&gt;
|-&lt;br /&gt;
| P50&lt;br /&gt;
| CP2201/AD1&lt;br /&gt;
| Ethernet controller address/data bus, bit 1&lt;br /&gt;
|-&lt;br /&gt;
| P51&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data input from EEPROM for configuration&lt;br /&gt;
|-&lt;br /&gt;
| P52&lt;br /&gt;
| CP2201/AD2&lt;br /&gt;
| Ethernet controller address/data bus, bit 2&lt;br /&gt;
|-&lt;br /&gt;
| P53&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock (signal generated by FPGA at &amp;lt;br&amp;gt;power on to clock the configuration process)&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P54&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Gives configuration status - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P55&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P56&lt;br /&gt;
| CP2201/AD3&lt;br /&gt;
| Ethernet controller address/data bus, bit 3&lt;br /&gt;
|-&lt;br /&gt;
| P57&lt;br /&gt;
| CP2201/AD4&lt;br /&gt;
| Ethernet controller address/data bus, bit 4&lt;br /&gt;
|-&lt;br /&gt;
| P58&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P59&lt;br /&gt;
| CP2201/AD5&lt;br /&gt;
| Ethernet controller address/data bus, bit 5&lt;br /&gt;
|-&lt;br /&gt;
| P60&lt;br /&gt;
| CP2201/AD6&lt;br /&gt;
| Ethernet controller address/date bus, bit 6&lt;br /&gt;
|-&lt;br /&gt;
| P61&lt;br /&gt;
| CP2201/AD7&lt;br /&gt;
| Ethernet controller address/date bus, bit 7&lt;br /&gt;
|-&lt;br /&gt;
| P62&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P63&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P64&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P65&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P66&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P67&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P68&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P69&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P70&lt;br /&gt;
| ID3&lt;br /&gt;
| Backplane location identifier jumper, pins 3 &amp;amp; 4&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P71&lt;br /&gt;
| ID2&lt;br /&gt;
| Backplane location identifier jumper, pins 5 &amp;amp; 6&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P72&lt;br /&gt;
| ID1&lt;br /&gt;
| Backplane location identifier jumper, pins 7 &amp;amp; 8&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P73&lt;br /&gt;
| ID0&lt;br /&gt;
| Backplane location identifier jumper, pins 9 &amp;amp; 10&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P74&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P75&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P76&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P77&lt;br /&gt;
| ID4&lt;br /&gt;
| Backplane location identifier jumper, pins 1 &amp;amp; 2&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P78&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P79&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P80&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P81&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P82&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P83&lt;br /&gt;
| CLK_5MHZ_2&lt;br /&gt;
| 5 MHz clock output for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P84&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P85&lt;br /&gt;
| AD5535/DIN&lt;br /&gt;
| DAC serial data input (FPGA out -&amp;gt; DAC in)&lt;br /&gt;
|-&lt;br /&gt;
| P86&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P87&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P89&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P90&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P91&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P92&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P93&lt;br /&gt;
| AD7314/CE&lt;br /&gt;
| Chip enable for temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| P94&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P95&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P96&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P97&lt;br /&gt;
| AD7928/DOUT&lt;br /&gt;
| '''Erroneously wired ADC SPI bus connection'''&amp;lt;br&amp;gt;Connects to DOUT on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P98&lt;br /&gt;
| AD5535/RESET&lt;br /&gt;
| Reset pin for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P99&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P100&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== EEPROM ==&lt;br /&gt;
To facilitate power-on configuration of the FPGA, the control board includes a Xilinx XCF01S EEPROM. The EEPROM is located to the left of the FPGA, above the JTAG header, and has a 20 pin footprint. The EEPROM is labelled U5.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The EEPROM uses +3.3V exclusively, which it receives from the +3.3V power plane, regulated by VR1.&lt;br /&gt;
&lt;br /&gt;
=== Flashing/Burning/Writing ===&lt;br /&gt;
Whatever you call it, this refers to storing data in the EEPROM so that it can configure the FPGA at power-on. The EEPROM is programmed using a JTAG interface and the Xilinx Platform USB II cable. It is important to note that in digital board's JTAG chain, the EEPROM is the first device in the chain, unlike in the Xilinx documentation where it is shown as the second device. This should not affect the operation of the board, but should be reflected in the Xilinx software when writing the EEPROM via JTAG. &lt;br /&gt;
&lt;br /&gt;
=== FPGA Configuration ===&lt;br /&gt;
The EEPROM and FPGA are hardwired to use a master serial protocol to transfer the program from the EEPROM to the FPGA. This is the protocol recommended in the Xilinx documentation because it minimizes the number of traces necessary to run between the EEPROM and FPGA. All configuration data is sent over a single trace, FPGA/DIN (pin 1 on EEPROM), controlled by the configuration clock signal (FPGA/CCLK) which is automatically generated by the FPGA at power-on. When configuration is complete, FPGA/DONE (pin 10) is pulled high by the FPGA, and the EEPROM and configuration clock are deactivated.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data line&amp;lt;br&amp;gt;Carries data from the EEPROM to the FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock&amp;lt;br&amp;gt;Auto generated by FPGA at power-on, disabled at end of configuration&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| This is the EEPROM's TDI&amp;lt;br&amp;gt;This is the entry point for the onboard JTAG chain&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during configuration&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during configuration - can be used to intiate reconfiguration of FPGA&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Indicates completion of FPGA configuration&amp;lt;br&amp;gt;High when complete&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 12-16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| This is the EEPROM's TDO/FPGA's TDI&lt;br /&gt;
|-&lt;br /&gt;
| 18-20&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== JTAG Header ==&lt;br /&gt;
To write the FPGA's program to the EEPROM, the board employs a JTAG based programming system consistent with Xilinx's recommendations. The system is designed to operate with Xilnx's Platform USB II cable and the flying lead adapter.&lt;br /&gt;
&lt;br /&gt;
===Header Location and Size===&lt;br /&gt;
The header consists of 14 pins, 100 mil pitch, just below the EEPROM (U5). The header is labelled P1. The pitch of the pins in the header was erroneously selected to be 100 mil, which is not compatible with Xilinx's JTAG ribbon cable. Therefore, the Xilinx flying lead adapter must be used.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The JTAG interface is powered by the +3.3V power plane, not by the computer's USB port. Power is supplied through pin 2 of the JTAG header.&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
Note that the header is positioned on the board rotated 180 degrees from the position in which it is shown in the Xilinx documentation. Care must be taken when connecting the flying leads to ensure they are connected to the right pins. Connecting the flying leads to the wrong side of the header will cause all of the leads to short on the digital board's ground plane. This will certainly cause undesired operation, and may or may not cause damage. Improper wiring is most likely to cause damage if one of the flying leads is connected to an odd numbered pin. '''Note from the pinout table below that no flying lead connections should ever be made to the odd numbered pins on the JTAG header.'''&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1, 3, 5, 7, 9, 11, 13 (odd pins)&lt;br /&gt;
| DGND&lt;br /&gt;
| Ground pins for signal integrity&amp;lt;br&amp;gt;'''Never connect a flying lead to these pins'''&amp;lt;br&amp;gt;Doing so will short to ground and may cause permanent damage if the Platform USB II cable does not have protection against this.&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| +3.3V&lt;br /&gt;
| Power source for all JTAG logic&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS - connects to EEPROM and FPGA &lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK - connects to EEPROM and FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| JTAG  boundary scan chain endpoint&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| JTAG boundary scan chain start point&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| No connection&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| No connection&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===JTAG Overview===&lt;br /&gt;
The JTAG interface is clocked by the TCK signal. TCK is generated by the Platform USB II cable, and connects directly from the JTAG header to both the EEPROM and FPGA.&lt;br /&gt;
&lt;br /&gt;
The TMS signal is directly connected to both the EEPROM and FPGA, and is the data line over which JTAG test results (in this case programming results) are sent. TMS is used by only one component at a time.&lt;br /&gt;
&lt;br /&gt;
The TDI/TDO lines form a chain that connects to each JTAG component in series. On the control board, the first point in the chain is the EEPROM's TDI. Next is the EEPROM's TDO, which is the same as the FPGA's TDI. The FPGA's TDO then returns to the JTAG header and the Platform USB II cable.&lt;br /&gt;
&lt;br /&gt;
== DAC ==&lt;br /&gt;
The control board uses the Analog Devices AD5535, 32-channel, 200V max, digital to analog converter. This chip has a modified BC-124 BGA footprint and is located above the Eurocard connector at the bottom of the board. It is labelled U3.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The DAC is primarily powered by the +5V power island, regulated by an off-board power supply and extensively decoupled in the area of the DAC. The DAC also requires -5V, and a high voltage as discussed in [[#Power Requirements | Power Requirements]]. Both of these voltages are supplied by an off-board supply and decoupled near the DAC. In addition to these voltage levels, the DAC requires a precise +2.5V reference, created by the shunt-type voltage reference VR4.&lt;br /&gt;
&lt;br /&gt;
=== Setting the Output Range ===&lt;br /&gt;
The output range of the DAC is set by the 2.5V reference voltage supplied by VR4. The high voltage power supply must supply at a minimum 50 times this voltage, plus 10. Thus, the high voltage power supply should be at least 135V for DAC to operate properly, even though the SiPMs are expected to need only 40V. If it is convenient to use a lower high voltage, VR4 must be replaced to provide lower reference voltage. The high voltage may then be decreased appropriately. To summarize:&lt;br /&gt;
&lt;br /&gt;
* Max output voltage = VREF*50&lt;br /&gt;
* Minimum high voltage supply = VREF*50 + 10&lt;br /&gt;
* Acceptable range for VREF&lt;br /&gt;
** Min: 1V&lt;br /&gt;
** Max: 3.75V (AD5535 datasheet specifies 4V max, but this would require AVCC of 5.25V for the DAC, which is not possible in the current board design)&lt;br /&gt;
&lt;br /&gt;
If relevant, R13 is a 100K resistor.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Diode ===&lt;br /&gt;
The DAC has a built in thermal diode. The diode drop from anode to cathode is typically 0.65V at 25&amp;amp;deg;C. It changes at a rate of -2.20mV/&amp;amp;deg;C. The anode of this diode is connected to the +5V power island, and the cathode is connected to a 270K resistor to ground. The voltage between the cathode and the resistor is connected to VIN1 (pin 15) on the ADC.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
See documentation from Analog Devices.&lt;br /&gt;
&lt;br /&gt;
=== Channel Mapping ===&lt;br /&gt;
Due to the layout of the balls on the footprint of the DAC, the DAC's internal channel numbers (which must be referenced by the FPGA) have no correlation to the channel numbers on the amplifier board. This table summarizes the mapping between various pins that belong to each channel.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''DAC Channel #'''&lt;br /&gt;
| '''DAC Pin #'''&lt;br /&gt;
| '''Digital Board Eurocard Pin #'''&lt;br /&gt;
| '''Amplifier Board Eurocard Pin #'''&lt;br /&gt;
| '''Physical Channel #'''&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| B1&lt;br /&gt;
| B3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| A2&lt;br /&gt;
| C4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| D1&lt;br /&gt;
| B2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| C2&lt;br /&gt;
| C3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| B3&lt;br /&gt;
| B4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| E2&lt;br /&gt;
| C2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| F3&lt;br /&gt;
| B1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| A4&lt;br /&gt;
| B5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| E4&lt;br /&gt;
| C5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| B5&lt;br /&gt;
| C6&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| F5&lt;br /&gt;
| C1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| A6&lt;br /&gt;
| C7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| E6&lt;br /&gt;
| B6&lt;br /&gt;
| &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 13&lt;br /&gt;
| B7&lt;br /&gt;
| B7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| F7&lt;br /&gt;
| C10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 15&lt;br /&gt;
| E8&lt;br /&gt;
| C8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| A8&lt;br /&gt;
| B8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| B9&lt;br /&gt;
| C9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| F9&lt;br /&gt;
| C16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| E10&lt;br /&gt;
| B11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| A10&lt;br /&gt;
| B9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| B11&lt;br /&gt;
| B10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| C12&lt;br /&gt;
| B12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| D13&lt;br /&gt;
| B13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| E12&lt;br /&gt;
| B14&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| A12&lt;br /&gt;
| C11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| B13&lt;br /&gt;
| C12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| H13&lt;br /&gt;
| B16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| G14&lt;br /&gt;
| B15&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 29&lt;br /&gt;
| C14&lt;br /&gt;
| C13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 30&lt;br /&gt;
| F13&lt;br /&gt;
| C15&lt;br /&gt;
|&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 31&lt;br /&gt;
| E14&lt;br /&gt;
| C14&lt;br /&gt;
|&lt;br /&gt;
| DACHEALTH&amp;lt;br&amp;gt;See [[#Channel Descriptions | ADC Channel Descriptions]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==ADC==&lt;br /&gt;
The board includes an Analog Devices AD7928 analog to digital converter. The ADC is located just to the right and slightly below the FPGA. It is labelled U4.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The ADC is powered by the +5V power island, which is regulated by an off-board power supply and decoupled near the ADC. It also requires a precise (&amp;amp;plusmn;1%) 2.5V reference to which it compares voltages when converting from analog to digital. Since the +5V power source is not used for comparison, it is flexible and may vary by &amp;amp;plusmn;0.25V without affecting ADC precision.&lt;br /&gt;
&lt;br /&gt;
===Setting the Measuring Range===&lt;br /&gt;
The measuring range is set programmatically by the FPGA over the SPI bus. The way the ADC is connected on the digital board requires that its measuring range be set to 5V, so the RANGE bit should be set to 1 by the FPGA (see Analog Devices documentation).&lt;br /&gt;
&lt;br /&gt;
===Data Interfacing===&lt;br /&gt;
The ADC uses an SPI bus to communicate with the FPGA. This bus is shared with the temperature sensor. SPI related pins include SCLK, CS, DIN, and DOUT. See the Pinout Table below.&lt;br /&gt;
&lt;br /&gt;
===Channel Descriptions===&lt;br /&gt;
This table shows what signals are monitored by the ADC.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''ADC Channel #'''&lt;br /&gt;
| '''ADC Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| VIN0&lt;br /&gt;
| 16&lt;br /&gt;
| AD7928/VHEALTH&lt;br /&gt;
| This net helps to monitor to overall health of power on the board, but is specifically intended to monitor -5V. It's voltage is the output of a resistor divider between the +5 and -5V power supplies, with resistor values of 33.2K, and 100K. Assuming +5V and -5V are both correct, the output of the divider will be +2.51V. A reading of other than 2.51V indicates a problem with one of the power supplies. Problems with the +5V power supply can be ruled out by reading VIN3. Based on the reading from VIN3, the voltage of the -5V supply can be calculated.&lt;br /&gt;
|-&lt;br /&gt;
| VIN1&lt;br /&gt;
| 15&lt;br /&gt;
| AD5535/CATHODE&lt;br /&gt;
| This is the thermal diode output from the DAC. Should read 4.35V (typical) at 25&amp;amp;deg;C. Drops 2.20mV/&amp;amp;deg;C.&lt;br /&gt;
|-&lt;br /&gt;
| VIN2&lt;br /&gt;
| 14&lt;br /&gt;
| +3.3V&lt;br /&gt;
| This is the +3.3V power plane. A reading of other than +3.3V indicates a problem with VR1.&lt;br /&gt;
|-&lt;br /&gt;
| VIN3&lt;br /&gt;
| 13&lt;br /&gt;
| +5V&lt;br /&gt;
| This is the +5V power island. A reading of other than +5V indicates a problem with the +5V power supply.&lt;br /&gt;
|-&lt;br /&gt;
| VIN4&lt;br /&gt;
| 12&lt;br /&gt;
| ADC_EXT1&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A7. It is intended to measure the output of thermistor on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN5&lt;br /&gt;
| 11&lt;br /&gt;
| +1.2V&lt;br /&gt;
| This is the +1.2V power island. This island powers the internal logic of the FPGA. A reading of other than 1.2V indicates a problem with VR3.&lt;br /&gt;
|-&lt;br /&gt;
| VIN6&lt;br /&gt;
| 10&lt;br /&gt;
| ADC_EXT2&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A8. It is intended to measure one of the transistor base voltages on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN7&lt;br /&gt;
| 9&lt;br /&gt;
| DACHEALTH&lt;br /&gt;
| This channel monitors the output of a resistor divider connected to channel 31 of the DAC. The divider consists of three resistors of 200K, 200K, and 10.2K (in order). The ADC reads out the voltage level between the second 200K and then 10.2K resistor. These resistors were selected so that at 200V, the readout voltage will be 4.973V. Since the divider should be linear, the expected voltage at 20V is 0.4973V. Three resistors were used rather than two to avoid exceeding the resistors' power ratings when the DAC is set to its maximum voltage. Note that since this divider will consume up to 484uA of current at 200V, this DAC channel should not be used for anything that might require more than ~200uA of current (the DAC can source 700uA max). The channel is routed to the backplane nonetheless.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| SPI clock (SCLK), from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| DIN&lt;br /&gt;
| SPI data in, from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&amp;lt;br&amp;gt;''Currently wired wrong''&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| CS&lt;br /&gt;
| SPI chip select&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| AD7928/REF_IN&lt;br /&gt;
| +2.5V reference, set by VR2&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9-16&lt;br /&gt;
| VIN[7:0]&lt;br /&gt;
| See [[#Channel Descriptions | ADC Channel Descriptions]]&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| DOUT&lt;br /&gt;
| SPI data out&amp;lt;br&amp;gt;''Currently wired incorrectly''&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| +3.3V&lt;br /&gt;
| VDRIVE, powers the SPI logic&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Ethernet Controller ==&lt;br /&gt;
The board uses a Silicon Laboratories CP2201, 28-pin, ethernet controller. The CP2201 is located just above the FPGA, and is labelled U2.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The CP2201 uses only +3.3V, which is supplied by the +3.3V power plane and regulated by VR1. Appropriate decoupling capacitors can be found near the CP2201.&lt;br /&gt;
&lt;br /&gt;
=== Ethernet Jack ===&lt;br /&gt;
To the right of the CP2201 is a Pulse J0011D21NL ethernet jack, labelled J1. This jack has a built-in 1:1 inductive coupling. For best results, connect this jack to a nearby ethernet switch. The jack may also be connected directly to a computer using a crossover cable. Though auto-crossover is not supported by the CP2201, if the computer's NIC supports it, a crossover cable is not necessary to connect directly to a computer.&lt;br /&gt;
&lt;br /&gt;
==== Ethernet Jack Pins ====&lt;br /&gt;
These are visible only on the back side of the board. Pin 1 is indicated by a square pad. Pin 8 is the farthest pin from pin 1. Pins are numbered such that the 4 pins closer to the plastic thru-hole connectors are odd (1, 3, 5, 7), and the four pins closer to the CP2201 are are even (2, 4, 6, 8).&lt;br /&gt;
&lt;br /&gt;
* Pin 1: TX+&lt;br /&gt;
* Pin 2: AC coupled to DGND&lt;br /&gt;
* Pin 3: TX-&lt;br /&gt;
* Pin 4: RX+&lt;br /&gt;
* Pin 5: AC coupled to DGND&lt;br /&gt;
* Pin 6: RX-&lt;br /&gt;
* Pin 7: No connection&lt;br /&gt;
* Pin 8: DGND (direct)&lt;br /&gt;
&lt;br /&gt;
The two large thru-hole pins (not numbered) connect to the metal shielding on the outside of the jack. These are directly connected to DGND to shield against electrical noise inside the jack.&lt;br /&gt;
&lt;br /&gt;
The two plastic thru-hole pins are not conductive and have no electrical connection. They are present only for structural purposes, presumably to prevent stress on the solder points when an ethernet wire is inserted or removed from the jack.&lt;br /&gt;
&lt;br /&gt;
=== Crystal Oscillator ===&lt;br /&gt;
The CP2201 is responsible for driving the 20MHz crystal oscillator. This oscillator clocks both the CP2201 and the FPGA. The crystal oscillator can be found above the right corner of the FPGA. It can be identified by its four surface mount pads and roughly .3&amp;quot; length. It is labelled Y1, though this label is not visible after the oscillator is soldered on. The CP2201 uses an inverting driver to excite the crystal. The output of the crystal is then sent to the CP2201 and the FPGA.&lt;br /&gt;
&lt;br /&gt;
=== Bus Format and Multiplexing ===&lt;br /&gt;
The 28-pin CP2201 used on the board only supports multiplexed operation. This means that both address and data information are passed over the same set of 8 traces. Hence, these traces are referred to as the address/data (AD) bus. A separate address line enable (ALE) trace prevents collisions from occuring on these traces. The communication protocol used is the Intel format. See the CP2201's datasheet for more information about this.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| CP2201/LA&lt;br /&gt;
| Link/activity indicator&amp;lt;br&amp;gt;Routed to backplane but not implemented&amp;lt;br&amp;gt;See CP2201 data sheet for information on how to connect to an LED&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| DGND&lt;br /&gt;
| By the data sheet, this pin should be AGND&amp;lt;br&amp;gt;We deliberately set it to DGND to avoid noise on AGND plane&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| +3.3V&lt;br /&gt;
| AV+ power pin&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| CP2201/RX-&lt;br /&gt;
| Connects to RX- on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| CP2201/RX+&lt;br /&gt;
| Connects to RX+ on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| CP2201/TX+&lt;br /&gt;
| Connects to TX+ on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| CP2201/TX-&lt;br /&gt;
| Connects to TX- on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;quot;VDD&amp;quot; power pin&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;DGND1&amp;quot; per the data sheet&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| CP2201/RESET&lt;br /&gt;
| &amp;quot;RST&amp;quot; per the data sheet&amp;lt;br&amp;gt;Connects to FPGA - should be programmatically triggered upon reset of FPGA by RESET jumper&lt;br /&gt;
|-&lt;br /&gt;
| 11-18&lt;br /&gt;
| CP2201/AD[0:7]&lt;br /&gt;
| Bits 0-7 of the address/data bus&amp;lt;br&amp;gt;Connect to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;quot;VDD&amp;quot; power pin&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;DGND2&amp;quot; per the data sheet&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| CP2201/ALE&lt;br /&gt;
| Address line enable&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| CP2201/RD&lt;br /&gt;
| Read strobe for AD bus&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| CP2201/WR&lt;br /&gt;
| Write strobe for AD bus&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| CP2201/CS&lt;br /&gt;
| Chip select&amp;lt;br&amp;gt;Connects to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| CP2201/INT&lt;br /&gt;
| Interrupt request&amp;lt;br&amp;gt;Connects to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;MOTEN&amp;quot; (Motorola enable) per the datasheet&amp;lt;br&amp;gt;Tied low to disable Motorola bus format (enable Intel format)&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| CP2201/XTAL2&lt;br /&gt;
| Crystal oscillator driver&amp;lt;br&amp;gt;The CP2201 inverts the 20MHz clock signal and feeds it back to the crystal oscillator to encourage larger oscillations&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| FPGA/CLK_IN&lt;br /&gt;
| &amp;quot;XTAL1&amp;quot; per the data sheet&amp;lt;br&amp;gt;This is the 20MHz clock input&amp;lt;br&amp;gt;Also connects to the FPGA's clock input&lt;br /&gt;
|- &lt;br /&gt;
| 29*&lt;br /&gt;
| DGND&lt;br /&gt;
| This is not a pin but rather the base of the CP2201 package.&amp;lt;br&amp;gt;It is connected to the DGND plane for thermal relief&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Eurocard Connector ==&lt;br /&gt;
At the bottom of the control board is the Eurocard connector. The Eurocard connector connects the board to the backplane and also connects the board to its power supplies. The Eurocard has 48 pins arranged in three rows of 16 pins each. Rows B and C are exclusively used to pass SiPM bias voltages to the backplane as described in [[#Channel Mapping | DAC Channel Mapping]]. Here is a table describing the purpose of pins in row A:&lt;br /&gt;
&lt;br /&gt;
=== Row A Pinout Table ===&lt;br /&gt;
Note that when viewing the front side of the board with the Eurocard at the bottom, these pins go from right to left. If you look closely at the pins, you will see that pin A1 has a square pad, unlike the round pads of the others.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| A1&lt;br /&gt;
| CP2201/LA&lt;br /&gt;
| Ethernet link/activity indicator routed to backplane&lt;br /&gt;
|-&lt;br /&gt;
| A2&lt;br /&gt;
| High voltage input (+210V max)&lt;br /&gt;
| High voltage input for DAC. See [[#DAC | DAC]] for information about what voltage to input here.&lt;br /&gt;
|-&lt;br /&gt;
| A3&lt;br /&gt;
| -5V&lt;br /&gt;
| For DAC&lt;br /&gt;
|-&lt;br /&gt;
| A4&lt;br /&gt;
| +5V&lt;br /&gt;
| Powers most things on the board&lt;br /&gt;
|-&lt;br /&gt;
| A5&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A6&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| A7&lt;br /&gt;
| ADC_EXT1&lt;br /&gt;
| Connects to ADC to monitor voltages on amplifier board&amp;lt;br&amp;gt;See [[#ADC | ADC]]&lt;br /&gt;
|-&lt;br /&gt;
| A8&lt;br /&gt;
| ADC_EXT2&lt;br /&gt;
| Connects to ADC to monitor voltages on amplifier board&amp;lt;br&amp;gt;See [[#ADC | ADC]]&lt;br /&gt;
|-&lt;br /&gt;
| A9&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A10&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| A11&lt;br /&gt;
| No conneciton&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A12&lt;br /&gt;
| ID4&lt;br /&gt;
| Location identifier bit 4&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A13&lt;br /&gt;
| ID3&lt;br /&gt;
| Location identifier bit 3&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A14&lt;br /&gt;
| ID2&lt;br /&gt;
| Location identifier bit 2&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A15&lt;br /&gt;
| ID1&lt;br /&gt;
| Location identifier bit 1&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A16&lt;br /&gt;
| ID0&lt;br /&gt;
| Location identifier bit 0&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4374</id>
		<title>Digital control board documentation</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4374"/>
		<updated>2009-06-16T19:21:54Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* Ethernet Jack Pins */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This documentation covers the most important things to know while testing the digital control board, including component pinouts, nets, and other information.&lt;br /&gt;
&lt;br /&gt;
== Power Requirements ==&lt;br /&gt;
=== Required Voltages ===&lt;br /&gt;
All components on the digital board '''except the DAC''' can be tested using only a +5V source. The DAC requires +5V, -5V, and a high voltage corresponding to 10V higher than the maximum desired DAC output voltage (see [[#Setting the Output Range | Setting the Output Range]]). Digital and analog grounds must be connected as well before any testing takes place.&lt;br /&gt;
&lt;br /&gt;
=== Power Pins ===&lt;br /&gt;
Power shall be connected to the board as follows:&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Voltage'''&lt;br /&gt;
| '''Eurocard Pin'''&lt;br /&gt;
|-&lt;br /&gt;
| DGND &lt;br /&gt;
| A6&lt;br /&gt;
|-&lt;br /&gt;
| AGND &lt;br /&gt;
| A5&lt;br /&gt;
|-&lt;br /&gt;
| +5V &lt;br /&gt;
| A4&lt;br /&gt;
|-&lt;br /&gt;
| -5V &lt;br /&gt;
| A3&lt;br /&gt;
|-&lt;br /&gt;
| High voltage&amp;lt;br&amp;gt;(DAC max out +10)&lt;br /&gt;
| A2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Power Supply Sequencing ===&lt;br /&gt;
The control board is designed such that voltages may be supplied in any order so long as AGND and DGND are connected properly.  However, for initial testing, the preferred order for powering up the board is as follows:&lt;br /&gt;
&lt;br /&gt;
# Ensure AGND/DGND are connected/grounded&lt;br /&gt;
# +5V&lt;br /&gt;
# -5V&lt;br /&gt;
# High voltage&lt;br /&gt;
&lt;br /&gt;
== FPGA ==&lt;br /&gt;
The control board uses a Xilinx XC3S50A VQ100 FPGA. It has a 100 pin footprint and is located in the center of the control board.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The FPGA is powered by the 3.3V power plane, which is regulated by VR1. The FPGA also obtains 1.2V for its internal logic from a 1.2V power island, regulated by VR3.&lt;br /&gt;
&lt;br /&gt;
=== Logic Standard ===&lt;br /&gt;
The Xilinx XC3S50A supports several different digital logic standards. The control board is hard wired such that the FPGA will use a '''3.3V CMOS''' logic standard.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| P1&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P2&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P3&lt;br /&gt;
| AD7928/CS&lt;br /&gt;
| SPI chip select for ADC&lt;br /&gt;
|-&lt;br /&gt;
| P4&lt;br /&gt;
| SPI&lt;br /&gt;
| '''Erroneously wired SPI bus trace'''&amp;lt;br&amp;gt;Connects to SDO on temp. sensor and DIN on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P5&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| 5 MHz clock output for SPI bus (ADC and temp. sensor)&lt;br /&gt;
|-&lt;br /&gt;
| P6&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P7&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P8&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P9&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P10&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P11&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P12&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P13&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P14&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P15&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P17&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P18&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P19&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P20&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P21&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P22&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P23&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P24&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P25&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P26&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| P27&lt;br /&gt;
| FPGA/CLK_IN&lt;br /&gt;
| 20 MHz clock input from crystal oscillator&lt;br /&gt;
|-&lt;br /&gt;
| P28&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P29&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P30&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P31&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P32&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P33&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P34&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P35&lt;br /&gt;
| CP2201/INT&lt;br /&gt;
| Ethernet controller interrupt&lt;br /&gt;
|-&lt;br /&gt;
| P36&lt;br /&gt;
| MASTER_RESET&lt;br /&gt;
| Connects to RESET jumper in upper left of board (active-low, externally pulled up)&lt;br /&gt;
|-&lt;br /&gt;
| P37&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P38&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P39&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P40&lt;br /&gt;
| CP2201/CS&lt;br /&gt;
| Chip select for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P41&lt;br /&gt;
| CP2201/WR&lt;br /&gt;
| Write enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P42&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P43&lt;br /&gt;
| CP2201/RD&lt;br /&gt;
| Read enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P44&lt;br /&gt;
| CP2201/ALE&lt;br /&gt;
| Address line enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P45&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P46&lt;br /&gt;
| CP2201/RESET&lt;br /&gt;
| Reset pin for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P47&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P48&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P49&lt;br /&gt;
| CP2201/AD0&lt;br /&gt;
| Ethernet controller address/data bus, bit 0&lt;br /&gt;
|-&lt;br /&gt;
| P50&lt;br /&gt;
| CP2201/AD1&lt;br /&gt;
| Ethernet controller address/data bus, bit 1&lt;br /&gt;
|-&lt;br /&gt;
| P51&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data input from EEPROM for configuration&lt;br /&gt;
|-&lt;br /&gt;
| P52&lt;br /&gt;
| CP2201/AD2&lt;br /&gt;
| Ethernet controller address/data bus, bit 2&lt;br /&gt;
|-&lt;br /&gt;
| P53&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock (signal generated by FPGA at &amp;lt;br&amp;gt;power on to clock the configuration process)&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P54&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Gives configuration status - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P55&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P56&lt;br /&gt;
| CP2201/AD3&lt;br /&gt;
| Ethernet controller address/data bus, bit 3&lt;br /&gt;
|-&lt;br /&gt;
| P57&lt;br /&gt;
| CP2201/AD4&lt;br /&gt;
| Ethernet controller address/data bus, bit 4&lt;br /&gt;
|-&lt;br /&gt;
| P58&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P59&lt;br /&gt;
| CP2201/AD5&lt;br /&gt;
| Ethernet controller address/data bus, bit 5&lt;br /&gt;
|-&lt;br /&gt;
| P60&lt;br /&gt;
| CP2201/AD6&lt;br /&gt;
| Ethernet controller address/date bus, bit 6&lt;br /&gt;
|-&lt;br /&gt;
| P61&lt;br /&gt;
| CP2201/AD7&lt;br /&gt;
| Ethernet controller address/date bus, bit 7&lt;br /&gt;
|-&lt;br /&gt;
| P62&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P63&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P64&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P65&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P66&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P67&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P68&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P69&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P70&lt;br /&gt;
| ID3&lt;br /&gt;
| Backplane location identifier jumper, pins 3 &amp;amp; 4&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P71&lt;br /&gt;
| ID2&lt;br /&gt;
| Backplane location identifier jumper, pins 5 &amp;amp; 6&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P72&lt;br /&gt;
| ID1&lt;br /&gt;
| Backplane location identifier jumper, pins 7 &amp;amp; 8&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P73&lt;br /&gt;
| ID0&lt;br /&gt;
| Backplane location identifier jumper, pins 9 &amp;amp; 10&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P74&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P75&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P76&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P77&lt;br /&gt;
| ID4&lt;br /&gt;
| Backplane location identifier jumper, pins 1 &amp;amp; 2&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P78&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P79&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P80&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P81&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P82&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P83&lt;br /&gt;
| CLK_5MHZ_2&lt;br /&gt;
| 5 MHz clock output for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P84&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P85&lt;br /&gt;
| AD5535/DIN&lt;br /&gt;
| DAC serial data input (FPGA out -&amp;gt; DAC in)&lt;br /&gt;
|-&lt;br /&gt;
| P86&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P87&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P89&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P90&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P91&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P92&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P93&lt;br /&gt;
| AD7314/CE&lt;br /&gt;
| Chip enable for temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| P94&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P95&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P96&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P97&lt;br /&gt;
| AD7928/DOUT&lt;br /&gt;
| '''Erroneously wired ADC SPI bus connection'''&amp;lt;br&amp;gt;Connects to DOUT on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P98&lt;br /&gt;
| AD5535/RESET&lt;br /&gt;
| Reset pin for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P99&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P100&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== EEPROM ==&lt;br /&gt;
To facilitate power-on configuration of the FPGA, the control board includes a Xilinx XCF01S EEPROM. The EEPROM is located to the left of the FPGA, above the JTAG header, and has a 20 pin footprint. The EEPROM is labelled U5.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The EEPROM uses +3.3V exclusively, which it receives from the +3.3V power plane, regulated by VR1.&lt;br /&gt;
&lt;br /&gt;
=== Flashing/Burning/Writing ===&lt;br /&gt;
Whatever you call it, this refers to storing data in the EEPROM so that it can configure the FPGA at power-on. The EEPROM is programmed using a JTAG interface and the Xilinx Platform USB II cable. It is important to note that in digital board's JTAG chain, the EEPROM is the first device in the chain, unlike in the Xilinx documentation where it is shown as the second device. This should not affect the operation of the board, but should be reflected in the Xilinx software when writing the EEPROM via JTAG. &lt;br /&gt;
&lt;br /&gt;
=== FPGA Configuration ===&lt;br /&gt;
The EEPROM and FPGA are hardwired to use a master serial protocol to transfer the program from the EEPROM to the FPGA. This is the protocol recommended in the Xilinx documentation because it minimizes the number of traces necessary to run between the EEPROM and FPGA. All configuration data is sent over a single trace, FPGA/DIN (pin 1 on EEPROM), controlled by the configuration clock signal (FPGA/CCLK) which is automatically generated by the FPGA at power-on. When configuration is complete, FPGA/DONE (pin 10) is pulled high by the FPGA, and the EEPROM and configuration clock are deactivated.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data line&amp;lt;br&amp;gt;Carries data from the EEPROM to the FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock&amp;lt;br&amp;gt;Auto generated by FPGA at power-on, disabled at end of configuration&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| This is the EEPROM's TDI&amp;lt;br&amp;gt;This is the entry point for the onboard JTAG chain&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during configuration&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during configuration - can be used to intiate reconfiguration of FPGA&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Indicates completion of FPGA configuration&amp;lt;br&amp;gt;High when complete&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 12-16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| This is the EEPROM's TDO/FPGA's TDI&lt;br /&gt;
|-&lt;br /&gt;
| 18-20&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== JTAG Header ==&lt;br /&gt;
To write the FPGA's program to the EEPROM, the board employs a JTAG based programming system consistent with Xilinx's recommendations. The system is designed to operate with Xilnx's Platform USB II cable and the flying lead adapter.&lt;br /&gt;
&lt;br /&gt;
===Header Location and Size===&lt;br /&gt;
The header consists of 14 pins, 100 mil pitch, just below the EEPROM (U5). The header is labelled P1. The pitch of the pins in the header was erroneously selected to be 100 mil, which is not compatible with Xilinx's JTAG ribbon cable. Therefore, the Xilinx flying lead adapter must be used.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The JTAG interface is powered by the +3.3V power plane, not by the computer's USB port. Power is supplied through pin 2 of the JTAG header.&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
Note that the header is positioned on the board rotated 180 degrees from the position in which it is shown in the Xilinx documentation. Care must be taken when connecting the flying leads to ensure they are connected to the right pins. Connecting the flying leads to the wrong side of the header will cause all of the leads to short on the digital board's ground plane. This will certainly cause undesired operation, and may or may not cause damage. Improper wiring is most likely to cause damage if one of the flying leads is connected to an odd numbered pin. '''Note from the pinout table below that no flying lead connections should ever be made to the odd numbered pins on the JTAG header.'''&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1, 3, 5, 7, 9, 11, 13 (odd pins)&lt;br /&gt;
| DGND&lt;br /&gt;
| Ground pins for signal integrity&amp;lt;br&amp;gt;'''Never connect a flying lead to these pins'''&amp;lt;br&amp;gt;Doing so will short to ground and may cause permanent damage if the Platform USB II cable does not have protection against this.&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| +3.3V&lt;br /&gt;
| Power source for all JTAG logic&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS - connects to EEPROM and FPGA &lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK - connects to EEPROM and FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| JTAG  boundary scan chain endpoint&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| JTAG boundary scan chain start point&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| No connection&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| No connection&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===JTAG Overview===&lt;br /&gt;
The JTAG interface is clocked by the TCK signal. TCK is generated by the Platform USB II cable, and connects directly from the JTAG header to both the EEPROM and FPGA.&lt;br /&gt;
&lt;br /&gt;
The TMS signal is directly connected to both the EEPROM and FPGA, and is the data line over which JTAG test results (in this case programming results) are sent. TMS is used by only one component at a time.&lt;br /&gt;
&lt;br /&gt;
The TDI/TDO lines form a chain that connects to each JTAG component in series. On the control board, the first point in the chain is the EEPROM's TDI. Next is the EEPROM's TDO, which is the same as the FPGA's TDI. The FPGA's TDO then returns to the JTAG header and the Platform USB II cable.&lt;br /&gt;
&lt;br /&gt;
== DAC ==&lt;br /&gt;
The control board uses the Analog Devices AD5535, 32-channel, 200V max, digital to analog converter. This chip has a modified BC-124 BGA footprint and is located above the Eurocard connector at the bottom of the board. It is labelled U3.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The DAC is primarily powered by the +5V power island, regulated by an off-board power supply and extensively decoupled in the area of the DAC. The DAC also requires -5V, and a high voltage as discussed in [[#Power Requirements | Power Requirements]]. Both of these voltages are supplied by an off-board supply and decoupled near the DAC. In addition to these voltage levels, the DAC requires a precise +2.5V reference, created by the shunt-type voltage reference VR4.&lt;br /&gt;
&lt;br /&gt;
=== Setting the Output Range ===&lt;br /&gt;
The output range of the DAC is set by the 2.5V reference voltage supplied by VR4. The high voltage power supply must supply at a minimum 50 times this voltage, plus 10. Thus, the high voltage power supply should be at least 135V for DAC to operate properly, even though the SiPMs are expected to need only 40V. If it is convenient to use a lower high voltage, VR4 must be replaced to provide lower reference voltage. The high voltage may then be decreased appropriately. To summarize:&lt;br /&gt;
&lt;br /&gt;
* Max output voltage = VREF*50&lt;br /&gt;
* Minimum high voltage supply = VREF*50 + 10&lt;br /&gt;
* Acceptable range for VREF&lt;br /&gt;
** Min: 1V&lt;br /&gt;
** Max: 3.75V (AD5535 datasheet specifies 4V max, but this would require AVCC of 5.25V for the DAC, which is not possible in the current board design)&lt;br /&gt;
&lt;br /&gt;
If relevant, R13 is a 100K resistor.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Diode ===&lt;br /&gt;
The DAC has a built in thermal diode. The diode drop from anode to cathode is typically 0.65V at 25&amp;amp;deg;C. It changes at a rate of -2.20mV/&amp;amp;deg;C. The anode of this diode is connected to the +5V power island, and the cathode is connected to a 270K resistor to ground. The voltage between the cathode and the resistor is connected to VIN1 (pin 15) on the ADC.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
See documentation from Analog Devices.&lt;br /&gt;
&lt;br /&gt;
=== Channel Mapping ===&lt;br /&gt;
Due to the layout of the balls on the footprint of the DAC, the DAC's internal channel numbers (which must be referenced by the FPGA) have no correlation to the channel numbers on the amplifier board. This table summarizes the mapping between various pins that belong to each channel.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''DAC Channel #'''&lt;br /&gt;
| '''DAC Pin #'''&lt;br /&gt;
| '''Digital Board Eurocard Pin #'''&lt;br /&gt;
| '''Amplifier Board Eurocard Pin #'''&lt;br /&gt;
| '''Physical Channel #'''&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| B1&lt;br /&gt;
| B3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| A2&lt;br /&gt;
| C4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| D1&lt;br /&gt;
| B2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| C2&lt;br /&gt;
| C3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| B3&lt;br /&gt;
| B4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| E2&lt;br /&gt;
| C2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| F3&lt;br /&gt;
| B1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| A4&lt;br /&gt;
| B5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| E4&lt;br /&gt;
| C5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| B5&lt;br /&gt;
| C6&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| F5&lt;br /&gt;
| C1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| A6&lt;br /&gt;
| C7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| E6&lt;br /&gt;
| B6&lt;br /&gt;
| &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 13&lt;br /&gt;
| B7&lt;br /&gt;
| B7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| F7&lt;br /&gt;
| C10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 15&lt;br /&gt;
| E8&lt;br /&gt;
| C8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| A8&lt;br /&gt;
| B8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| B9&lt;br /&gt;
| C9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| F9&lt;br /&gt;
| C16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| E10&lt;br /&gt;
| B11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| A10&lt;br /&gt;
| B9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| B11&lt;br /&gt;
| B10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| C12&lt;br /&gt;
| B12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| D13&lt;br /&gt;
| B13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| E12&lt;br /&gt;
| B14&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| A12&lt;br /&gt;
| C11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| B13&lt;br /&gt;
| C12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| H13&lt;br /&gt;
| B16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| G14&lt;br /&gt;
| B15&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 29&lt;br /&gt;
| C14&lt;br /&gt;
| C13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 30&lt;br /&gt;
| F13&lt;br /&gt;
| C15&lt;br /&gt;
|&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 31&lt;br /&gt;
| E14&lt;br /&gt;
| C14&lt;br /&gt;
|&lt;br /&gt;
| DACHEALTH&amp;lt;br&amp;gt;See [[#Channel Descriptions | ADC Channel Descriptions]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==ADC==&lt;br /&gt;
The board includes an Analog Devices AD7928 analog to digital converter. The ADC is located just to the right and slightly below the FPGA. It is labelled U4.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The ADC is powered by the +5V power island, which is regulated by an off-board power supply and decoupled near the ADC. It also requires a precise (&amp;amp;plusmn;1%) 2.5V reference to which it compares voltages when converting from analog to digital. Since the +5V power source is not used for comparison, it is flexible and may vary by &amp;amp;plusmn;0.25V without affecting ADC precision.&lt;br /&gt;
&lt;br /&gt;
===Setting the Measuring Range===&lt;br /&gt;
The measuring range is set programmatically by the FPGA over the SPI bus. The way the ADC is connected on the digital board requires that its measuring range be set to 5V, so the RANGE bit should be set to 1 by the FPGA (see Analog Devices documentation).&lt;br /&gt;
&lt;br /&gt;
===Data Interfacing===&lt;br /&gt;
The ADC uses an SPI bus to communicate with the FPGA. This bus is shared with the temperature sensor. SPI related pins include SCLK, CS, DIN, and DOUT. See the Pinout Table below.&lt;br /&gt;
&lt;br /&gt;
===Channel Descriptions===&lt;br /&gt;
This table shows what signals are monitored by the ADC.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''ADC Channel #'''&lt;br /&gt;
| '''ADC Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| VIN0&lt;br /&gt;
| 16&lt;br /&gt;
| AD7928/VHEALTH&lt;br /&gt;
| This net helps to monitor to overall health of power on the board, but is specifically intended to monitor -5V. It's voltage is the output of a resistor divider between the +5 and -5V power supplies, with resistor values of 33.2K, and 100K. Assuming +5V and -5V are both correct, the output of the divider will be +2.51V. A reading of other than 2.51V indicates a problem with one of the power supplies. Problems with the +5V power supply can be ruled out by reading VIN3. Based on the reading from VIN3, the voltage of the -5V supply can be calculated.&lt;br /&gt;
|-&lt;br /&gt;
| VIN1&lt;br /&gt;
| 15&lt;br /&gt;
| AD5535/CATHODE&lt;br /&gt;
| This is the thermal diode output from the DAC. Should read 4.35V (typical) at 25&amp;amp;deg;C. Drops 2.20mV/&amp;amp;deg;C.&lt;br /&gt;
|-&lt;br /&gt;
| VIN2&lt;br /&gt;
| 14&lt;br /&gt;
| +3.3V&lt;br /&gt;
| This is the +3.3V power plane. A reading of other than +3.3V indicates a problem with VR1.&lt;br /&gt;
|-&lt;br /&gt;
| VIN3&lt;br /&gt;
| 13&lt;br /&gt;
| +5V&lt;br /&gt;
| This is the +5V power island. A reading of other than +5V indicates a problem with the +5V power supply.&lt;br /&gt;
|-&lt;br /&gt;
| VIN4&lt;br /&gt;
| 12&lt;br /&gt;
| ADC_EXT1&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A7. It is intended to measure the output of thermistor on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN5&lt;br /&gt;
| 11&lt;br /&gt;
| +1.2V&lt;br /&gt;
| This is the +1.2V power island. This island powers the internal logic of the FPGA. A reading of other than 1.2V indicates a problem with VR3.&lt;br /&gt;
|-&lt;br /&gt;
| VIN6&lt;br /&gt;
| 10&lt;br /&gt;
| ADC_EXT2&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A8. It is intended to measure one of the transistor base voltages on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN7&lt;br /&gt;
| 9&lt;br /&gt;
| DACHEALTH&lt;br /&gt;
| This channel monitors the output of a resistor divider connected to channel 31 of the DAC. The divider consists of three resistors of 200K, 200K, and 10.2K (in order). The ADC reads out the voltage level between the second 200K and then 10.2K resistor. These resistors were selected so that at 200V, the readout voltage will be 4.973V. Since the divider should be linear, the expected voltage at 20V is 0.4973V. Three resistors were used rather than two to avoid exceeding the resistors' power ratings when the DAC is set to its maximum voltage. Note that since this divider will consume up to 484uA of current at 200V, this DAC channel should not be used for anything that might require more than ~200uA of current (the DAC can source 700uA max). The channel is routed to the backplane nonetheless.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| SPI clock (SCLK), from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| DIN&lt;br /&gt;
| SPI data in, from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&amp;lt;br&amp;gt;''Currently wired wrong''&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| CS&lt;br /&gt;
| SPI chip select&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| AD7928/REF_IN&lt;br /&gt;
| +2.5V reference, set by VR2&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9-16&lt;br /&gt;
| VIN[7:0]&lt;br /&gt;
| See [[#Channel Descriptions | ADC Channel Descriptions]]&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| DOUT&lt;br /&gt;
| SPI data out&amp;lt;br&amp;gt;''Currently wired incorrectly''&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| +3.3V&lt;br /&gt;
| VDRIVE, powers the SPI logic&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Ethernet Controller ==&lt;br /&gt;
The board uses a Silicon Laboratories CP2201, 28-pin, ethernet controller. The CP2201 is located just above the FPGA, and is labelled U2.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The CP2201 uses only +3.3V, which is supplied by the +3.3V power plane and regulated by VR1. Appropriate decoupling capacitors can be found near the CP2201.&lt;br /&gt;
&lt;br /&gt;
=== Ethernet Jack ===&lt;br /&gt;
To the right of the CP2201 is a Pulse J0011D21NL ethernet jack, labelled J1. This jack has a built-in 1:1 inductive coupling. For best results, connect this jack to a nearby ethernet switch. The jack may also be connected directly to a computer using a crossover cable. Though auto-crossover is not supported by the CP2201, if the computer's NIC supports it, a crossover cable is not necessary to connect directly to a computer.&lt;br /&gt;
&lt;br /&gt;
==== Ethernet Jack Pins ====&lt;br /&gt;
These are visible only on the back side of the board. Pin 1 is indicated by a square pad. Pin 8 is the farthest pin from pin 1. Pins are numbered such that the 4 pins closer to the plastic thru-hole connectors are odd (1, 3, 5, 7), and the four pins closer to the CP2201 are are even (2, 4, 6, 8).&lt;br /&gt;
&lt;br /&gt;
* Pin 1: TX+&lt;br /&gt;
* Pin 2: AC coupled to DGND&lt;br /&gt;
* Pin 3: TX-&lt;br /&gt;
* Pin 4: RX+&lt;br /&gt;
* Pin 5: AC coupled to DGND&lt;br /&gt;
* Pin 6: RX-&lt;br /&gt;
* Pin 7: No connection&lt;br /&gt;
* Pin 8: DGND (direct)&lt;br /&gt;
&lt;br /&gt;
The two large thru-hole pins (not numbered) connect to the metal shielding on the outside of the jack. These are directly connected to DGND to shield against electrical noise inside the jack.&lt;br /&gt;
&lt;br /&gt;
The two plastic thru-hole pins are not conductive and have no electrical connection. They are present only for structural purposes, presumably to prevent stress of the solder points when an ethernet wire is inserted or removed from the jack.&lt;br /&gt;
&lt;br /&gt;
=== Crystal Oscillator ===&lt;br /&gt;
The CP2201 is responsible for driving the 20MHz crystal oscillator. This oscillator clocks both the CP2201 and the FPGA. The crystal oscillator can be found above the right corner of the FPGA. It can be identified by its four surface mount pads and roughly .3&amp;quot; length. It is labelled Y1, though this label is not visible after the oscillator is soldered on. The CP2201 uses an inverting driver to excite the crystal. The output of the crystal is then sent to the CP2201 and the FPGA.&lt;br /&gt;
&lt;br /&gt;
=== Bus Format and Multiplexing ===&lt;br /&gt;
The 28-pin CP2201 used on the board only supports multiplexed operation. This means that both address and data information are passed over the same set of 8 traces. Hence, these traces are referred to as the address/data (AD) bus. A separate address line enable (ALE) trace prevents collisions from occuring on these traces. The communication protocol used is the Intel format. See the CP2201's datasheet for more information about this.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| CP2201/LA&lt;br /&gt;
| Link/activity indicator&amp;lt;br&amp;gt;Routed to backplane but not implemented&amp;lt;br&amp;gt;See CP2201 data sheet for information on how to connect to an LED&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| DGND&lt;br /&gt;
| By the data sheet, this pin should be AGND&amp;lt;br&amp;gt;We deliberately set it to DGND to avoid noise on AGND plane&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| +3.3V&lt;br /&gt;
| AV+ power pin&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| CP2201/RX-&lt;br /&gt;
| Connects to RX- on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| CP2201/RX+&lt;br /&gt;
| Connects to RX+ on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| CP2201/TX+&lt;br /&gt;
| Connects to TX+ on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| CP2201/TX-&lt;br /&gt;
| Connects to TX- on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;quot;VDD&amp;quot; power pin&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;DGND1&amp;quot; per the data sheet&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| CP2201/RESET&lt;br /&gt;
| &amp;quot;RST&amp;quot; per the data sheet&amp;lt;br&amp;gt;Connects to FPGA - should be programmatically triggered upon reset of FPGA by RESET jumper&lt;br /&gt;
|-&lt;br /&gt;
| 11-18&lt;br /&gt;
| CP2201/AD[0:7]&lt;br /&gt;
| Bits 0-7 of the address/data bus&amp;lt;br&amp;gt;Connect to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;quot;VDD&amp;quot; power pin&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;DGND2&amp;quot; per the data sheet&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| CP2201/ALE&lt;br /&gt;
| Address line enable&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| CP2201/RD&lt;br /&gt;
| Read strobe for AD bus&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| CP2201/WR&lt;br /&gt;
| Write strobe for AD bus&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| CP2201/CS&lt;br /&gt;
| Chip select&amp;lt;br&amp;gt;Connects to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| CP2201/INT&lt;br /&gt;
| Interrupt request&amp;lt;br&amp;gt;Connects to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;MOTEN&amp;quot; (Motorola enable) per the datasheet&amp;lt;br&amp;gt;Tied low to disable Motorola bus format (enable Intel format)&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| CP2201/XTAL2&lt;br /&gt;
| Crystal oscillator driver&amp;lt;br&amp;gt;The CP2201 inverts the 20MHz clock signal and feeds it back to the crystal oscillator to encourage larger oscillations&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| FPGA/CLK_IN&lt;br /&gt;
| &amp;quot;XTAL1&amp;quot; per the data sheet&amp;lt;br&amp;gt;This is the 20MHz clock input&amp;lt;br&amp;gt;Also connects to the FPGA's clock input&lt;br /&gt;
|- &lt;br /&gt;
| 29*&lt;br /&gt;
| DGND&lt;br /&gt;
| This is not a pin but rather the base of the CP2201 package.&amp;lt;br&amp;gt;It is connected to the DGND plane for thermal relief&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Eurocard Connector ==&lt;br /&gt;
At the bottom of the control board is the Eurocard connector. The Eurocard connector connects the board to the backplane and also connects the board to its power supplies. The Eurocard has 48 pins arranged in three rows of 16 pins each. Rows B and C are exclusively used to pass SiPM bias voltages to the backplane as described in [[#Channel Mapping | DAC Channel Mapping]]. Here is a table describing the purpose of pins in row A:&lt;br /&gt;
&lt;br /&gt;
=== Row A Pinout Table ===&lt;br /&gt;
Note that when viewing the front side of the board with the Eurocard at the bottom, these pins go from right to left. If you look closely at the pins, you will see that pin A1 has a square pad, unlike the round pads of the others.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| A1&lt;br /&gt;
| CP2201/LA&lt;br /&gt;
| Ethernet link/activity indicator routed to backplane&lt;br /&gt;
|-&lt;br /&gt;
| A2&lt;br /&gt;
| High voltage input (+210V max)&lt;br /&gt;
| High voltage input for DAC. See [[#DAC | DAC]] for information about what voltage to input here.&lt;br /&gt;
|-&lt;br /&gt;
| A3&lt;br /&gt;
| -5V&lt;br /&gt;
| For DAC&lt;br /&gt;
|-&lt;br /&gt;
| A4&lt;br /&gt;
| +5V&lt;br /&gt;
| Powers most things on the board&lt;br /&gt;
|-&lt;br /&gt;
| A5&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A6&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| A7&lt;br /&gt;
| ADC_EXT1&lt;br /&gt;
| Connects to ADC to monitor voltages on amplifier board&amp;lt;br&amp;gt;See [[#ADC | ADC]]&lt;br /&gt;
|-&lt;br /&gt;
| A8&lt;br /&gt;
| ADC_EXT2&lt;br /&gt;
| Connects to ADC to monitor voltages on amplifier board&amp;lt;br&amp;gt;See [[#ADC | ADC]]&lt;br /&gt;
|-&lt;br /&gt;
| A9&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A10&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| A11&lt;br /&gt;
| No conneciton&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A12&lt;br /&gt;
| ID4&lt;br /&gt;
| Location identifier bit 4&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A13&lt;br /&gt;
| ID3&lt;br /&gt;
| Location identifier bit 3&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A14&lt;br /&gt;
| ID2&lt;br /&gt;
| Location identifier bit 2&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A15&lt;br /&gt;
| ID1&lt;br /&gt;
| Location identifier bit 1&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A16&lt;br /&gt;
| ID0&lt;br /&gt;
| Location identifier bit 0&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4373</id>
		<title>Digital control board documentation</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4373"/>
		<updated>2009-06-16T19:21:17Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* Ethernet Jack */  added pin info&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This documentation covers the most important things to know while testing the digital control board, including component pinouts, nets, and other information.&lt;br /&gt;
&lt;br /&gt;
== Power Requirements ==&lt;br /&gt;
=== Required Voltages ===&lt;br /&gt;
All components on the digital board '''except the DAC''' can be tested using only a +5V source. The DAC requires +5V, -5V, and a high voltage corresponding to 10V higher than the maximum desired DAC output voltage (see [[#Setting the Output Range | Setting the Output Range]]). Digital and analog grounds must be connected as well before any testing takes place.&lt;br /&gt;
&lt;br /&gt;
=== Power Pins ===&lt;br /&gt;
Power shall be connected to the board as follows:&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Voltage'''&lt;br /&gt;
| '''Eurocard Pin'''&lt;br /&gt;
|-&lt;br /&gt;
| DGND &lt;br /&gt;
| A6&lt;br /&gt;
|-&lt;br /&gt;
| AGND &lt;br /&gt;
| A5&lt;br /&gt;
|-&lt;br /&gt;
| +5V &lt;br /&gt;
| A4&lt;br /&gt;
|-&lt;br /&gt;
| -5V &lt;br /&gt;
| A3&lt;br /&gt;
|-&lt;br /&gt;
| High voltage&amp;lt;br&amp;gt;(DAC max out +10)&lt;br /&gt;
| A2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Power Supply Sequencing ===&lt;br /&gt;
The control board is designed such that voltages may be supplied in any order so long as AGND and DGND are connected properly.  However, for initial testing, the preferred order for powering up the board is as follows:&lt;br /&gt;
&lt;br /&gt;
# Ensure AGND/DGND are connected/grounded&lt;br /&gt;
# +5V&lt;br /&gt;
# -5V&lt;br /&gt;
# High voltage&lt;br /&gt;
&lt;br /&gt;
== FPGA ==&lt;br /&gt;
The control board uses a Xilinx XC3S50A VQ100 FPGA. It has a 100 pin footprint and is located in the center of the control board.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The FPGA is powered by the 3.3V power plane, which is regulated by VR1. The FPGA also obtains 1.2V for its internal logic from a 1.2V power island, regulated by VR3.&lt;br /&gt;
&lt;br /&gt;
=== Logic Standard ===&lt;br /&gt;
The Xilinx XC3S50A supports several different digital logic standards. The control board is hard wired such that the FPGA will use a '''3.3V CMOS''' logic standard.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| P1&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P2&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P3&lt;br /&gt;
| AD7928/CS&lt;br /&gt;
| SPI chip select for ADC&lt;br /&gt;
|-&lt;br /&gt;
| P4&lt;br /&gt;
| SPI&lt;br /&gt;
| '''Erroneously wired SPI bus trace'''&amp;lt;br&amp;gt;Connects to SDO on temp. sensor and DIN on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P5&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| 5 MHz clock output for SPI bus (ADC and temp. sensor)&lt;br /&gt;
|-&lt;br /&gt;
| P6&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P7&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P8&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P9&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P10&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P11&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P12&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P13&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P14&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P15&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P17&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P18&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P19&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P20&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P21&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P22&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P23&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P24&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P25&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P26&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| P27&lt;br /&gt;
| FPGA/CLK_IN&lt;br /&gt;
| 20 MHz clock input from crystal oscillator&lt;br /&gt;
|-&lt;br /&gt;
| P28&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P29&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P30&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P31&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P32&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P33&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P34&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P35&lt;br /&gt;
| CP2201/INT&lt;br /&gt;
| Ethernet controller interrupt&lt;br /&gt;
|-&lt;br /&gt;
| P36&lt;br /&gt;
| MASTER_RESET&lt;br /&gt;
| Connects to RESET jumper in upper left of board (active-low, externally pulled up)&lt;br /&gt;
|-&lt;br /&gt;
| P37&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P38&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P39&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P40&lt;br /&gt;
| CP2201/CS&lt;br /&gt;
| Chip select for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P41&lt;br /&gt;
| CP2201/WR&lt;br /&gt;
| Write enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P42&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P43&lt;br /&gt;
| CP2201/RD&lt;br /&gt;
| Read enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P44&lt;br /&gt;
| CP2201/ALE&lt;br /&gt;
| Address line enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P45&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P46&lt;br /&gt;
| CP2201/RESET&lt;br /&gt;
| Reset pin for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P47&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P48&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P49&lt;br /&gt;
| CP2201/AD0&lt;br /&gt;
| Ethernet controller address/data bus, bit 0&lt;br /&gt;
|-&lt;br /&gt;
| P50&lt;br /&gt;
| CP2201/AD1&lt;br /&gt;
| Ethernet controller address/data bus, bit 1&lt;br /&gt;
|-&lt;br /&gt;
| P51&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data input from EEPROM for configuration&lt;br /&gt;
|-&lt;br /&gt;
| P52&lt;br /&gt;
| CP2201/AD2&lt;br /&gt;
| Ethernet controller address/data bus, bit 2&lt;br /&gt;
|-&lt;br /&gt;
| P53&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock (signal generated by FPGA at &amp;lt;br&amp;gt;power on to clock the configuration process)&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P54&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Gives configuration status - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P55&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P56&lt;br /&gt;
| CP2201/AD3&lt;br /&gt;
| Ethernet controller address/data bus, bit 3&lt;br /&gt;
|-&lt;br /&gt;
| P57&lt;br /&gt;
| CP2201/AD4&lt;br /&gt;
| Ethernet controller address/data bus, bit 4&lt;br /&gt;
|-&lt;br /&gt;
| P58&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P59&lt;br /&gt;
| CP2201/AD5&lt;br /&gt;
| Ethernet controller address/data bus, bit 5&lt;br /&gt;
|-&lt;br /&gt;
| P60&lt;br /&gt;
| CP2201/AD6&lt;br /&gt;
| Ethernet controller address/date bus, bit 6&lt;br /&gt;
|-&lt;br /&gt;
| P61&lt;br /&gt;
| CP2201/AD7&lt;br /&gt;
| Ethernet controller address/date bus, bit 7&lt;br /&gt;
|-&lt;br /&gt;
| P62&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P63&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P64&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P65&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P66&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P67&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P68&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P69&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P70&lt;br /&gt;
| ID3&lt;br /&gt;
| Backplane location identifier jumper, pins 3 &amp;amp; 4&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P71&lt;br /&gt;
| ID2&lt;br /&gt;
| Backplane location identifier jumper, pins 5 &amp;amp; 6&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P72&lt;br /&gt;
| ID1&lt;br /&gt;
| Backplane location identifier jumper, pins 7 &amp;amp; 8&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P73&lt;br /&gt;
| ID0&lt;br /&gt;
| Backplane location identifier jumper, pins 9 &amp;amp; 10&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P74&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P75&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P76&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P77&lt;br /&gt;
| ID4&lt;br /&gt;
| Backplane location identifier jumper, pins 1 &amp;amp; 2&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P78&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P79&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P80&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P81&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P82&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P83&lt;br /&gt;
| CLK_5MHZ_2&lt;br /&gt;
| 5 MHz clock output for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P84&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P85&lt;br /&gt;
| AD5535/DIN&lt;br /&gt;
| DAC serial data input (FPGA out -&amp;gt; DAC in)&lt;br /&gt;
|-&lt;br /&gt;
| P86&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P87&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P89&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P90&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P91&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P92&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P93&lt;br /&gt;
| AD7314/CE&lt;br /&gt;
| Chip enable for temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| P94&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P95&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P96&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P97&lt;br /&gt;
| AD7928/DOUT&lt;br /&gt;
| '''Erroneously wired ADC SPI bus connection'''&amp;lt;br&amp;gt;Connects to DOUT on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P98&lt;br /&gt;
| AD5535/RESET&lt;br /&gt;
| Reset pin for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P99&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P100&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== EEPROM ==&lt;br /&gt;
To facilitate power-on configuration of the FPGA, the control board includes a Xilinx XCF01S EEPROM. The EEPROM is located to the left of the FPGA, above the JTAG header, and has a 20 pin footprint. The EEPROM is labelled U5.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The EEPROM uses +3.3V exclusively, which it receives from the +3.3V power plane, regulated by VR1.&lt;br /&gt;
&lt;br /&gt;
=== Flashing/Burning/Writing ===&lt;br /&gt;
Whatever you call it, this refers to storing data in the EEPROM so that it can configure the FPGA at power-on. The EEPROM is programmed using a JTAG interface and the Xilinx Platform USB II cable. It is important to note that in digital board's JTAG chain, the EEPROM is the first device in the chain, unlike in the Xilinx documentation where it is shown as the second device. This should not affect the operation of the board, but should be reflected in the Xilinx software when writing the EEPROM via JTAG. &lt;br /&gt;
&lt;br /&gt;
=== FPGA Configuration ===&lt;br /&gt;
The EEPROM and FPGA are hardwired to use a master serial protocol to transfer the program from the EEPROM to the FPGA. This is the protocol recommended in the Xilinx documentation because it minimizes the number of traces necessary to run between the EEPROM and FPGA. All configuration data is sent over a single trace, FPGA/DIN (pin 1 on EEPROM), controlled by the configuration clock signal (FPGA/CCLK) which is automatically generated by the FPGA at power-on. When configuration is complete, FPGA/DONE (pin 10) is pulled high by the FPGA, and the EEPROM and configuration clock are deactivated.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data line&amp;lt;br&amp;gt;Carries data from the EEPROM to the FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock&amp;lt;br&amp;gt;Auto generated by FPGA at power-on, disabled at end of configuration&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| This is the EEPROM's TDI&amp;lt;br&amp;gt;This is the entry point for the onboard JTAG chain&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during configuration&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during configuration - can be used to intiate reconfiguration of FPGA&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Indicates completion of FPGA configuration&amp;lt;br&amp;gt;High when complete&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 12-16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| This is the EEPROM's TDO/FPGA's TDI&lt;br /&gt;
|-&lt;br /&gt;
| 18-20&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== JTAG Header ==&lt;br /&gt;
To write the FPGA's program to the EEPROM, the board employs a JTAG based programming system consistent with Xilinx's recommendations. The system is designed to operate with Xilnx's Platform USB II cable and the flying lead adapter.&lt;br /&gt;
&lt;br /&gt;
===Header Location and Size===&lt;br /&gt;
The header consists of 14 pins, 100 mil pitch, just below the EEPROM (U5). The header is labelled P1. The pitch of the pins in the header was erroneously selected to be 100 mil, which is not compatible with Xilinx's JTAG ribbon cable. Therefore, the Xilinx flying lead adapter must be used.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The JTAG interface is powered by the +3.3V power plane, not by the computer's USB port. Power is supplied through pin 2 of the JTAG header.&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
Note that the header is positioned on the board rotated 180 degrees from the position in which it is shown in the Xilinx documentation. Care must be taken when connecting the flying leads to ensure they are connected to the right pins. Connecting the flying leads to the wrong side of the header will cause all of the leads to short on the digital board's ground plane. This will certainly cause undesired operation, and may or may not cause damage. Improper wiring is most likely to cause damage if one of the flying leads is connected to an odd numbered pin. '''Note from the pinout table below that no flying lead connections should ever be made to the odd numbered pins on the JTAG header.'''&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1, 3, 5, 7, 9, 11, 13 (odd pins)&lt;br /&gt;
| DGND&lt;br /&gt;
| Ground pins for signal integrity&amp;lt;br&amp;gt;'''Never connect a flying lead to these pins'''&amp;lt;br&amp;gt;Doing so will short to ground and may cause permanent damage if the Platform USB II cable does not have protection against this.&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| +3.3V&lt;br /&gt;
| Power source for all JTAG logic&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS - connects to EEPROM and FPGA &lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK - connects to EEPROM and FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| JTAG  boundary scan chain endpoint&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| JTAG boundary scan chain start point&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| No connection&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| No connection&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===JTAG Overview===&lt;br /&gt;
The JTAG interface is clocked by the TCK signal. TCK is generated by the Platform USB II cable, and connects directly from the JTAG header to both the EEPROM and FPGA.&lt;br /&gt;
&lt;br /&gt;
The TMS signal is directly connected to both the EEPROM and FPGA, and is the data line over which JTAG test results (in this case programming results) are sent. TMS is used by only one component at a time.&lt;br /&gt;
&lt;br /&gt;
The TDI/TDO lines form a chain that connects to each JTAG component in series. On the control board, the first point in the chain is the EEPROM's TDI. Next is the EEPROM's TDO, which is the same as the FPGA's TDI. The FPGA's TDO then returns to the JTAG header and the Platform USB II cable.&lt;br /&gt;
&lt;br /&gt;
== DAC ==&lt;br /&gt;
The control board uses the Analog Devices AD5535, 32-channel, 200V max, digital to analog converter. This chip has a modified BC-124 BGA footprint and is located above the Eurocard connector at the bottom of the board. It is labelled U3.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The DAC is primarily powered by the +5V power island, regulated by an off-board power supply and extensively decoupled in the area of the DAC. The DAC also requires -5V, and a high voltage as discussed in [[#Power Requirements | Power Requirements]]. Both of these voltages are supplied by an off-board supply and decoupled near the DAC. In addition to these voltage levels, the DAC requires a precise +2.5V reference, created by the shunt-type voltage reference VR4.&lt;br /&gt;
&lt;br /&gt;
=== Setting the Output Range ===&lt;br /&gt;
The output range of the DAC is set by the 2.5V reference voltage supplied by VR4. The high voltage power supply must supply at a minimum 50 times this voltage, plus 10. Thus, the high voltage power supply should be at least 135V for DAC to operate properly, even though the SiPMs are expected to need only 40V. If it is convenient to use a lower high voltage, VR4 must be replaced to provide lower reference voltage. The high voltage may then be decreased appropriately. To summarize:&lt;br /&gt;
&lt;br /&gt;
* Max output voltage = VREF*50&lt;br /&gt;
* Minimum high voltage supply = VREF*50 + 10&lt;br /&gt;
* Acceptable range for VREF&lt;br /&gt;
** Min: 1V&lt;br /&gt;
** Max: 3.75V (AD5535 datasheet specifies 4V max, but this would require AVCC of 5.25V for the DAC, which is not possible in the current board design)&lt;br /&gt;
&lt;br /&gt;
If relevant, R13 is a 100K resistor.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Diode ===&lt;br /&gt;
The DAC has a built in thermal diode. The diode drop from anode to cathode is typically 0.65V at 25&amp;amp;deg;C. It changes at a rate of -2.20mV/&amp;amp;deg;C. The anode of this diode is connected to the +5V power island, and the cathode is connected to a 270K resistor to ground. The voltage between the cathode and the resistor is connected to VIN1 (pin 15) on the ADC.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
See documentation from Analog Devices.&lt;br /&gt;
&lt;br /&gt;
=== Channel Mapping ===&lt;br /&gt;
Due to the layout of the balls on the footprint of the DAC, the DAC's internal channel numbers (which must be referenced by the FPGA) have no correlation to the channel numbers on the amplifier board. This table summarizes the mapping between various pins that belong to each channel.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''DAC Channel #'''&lt;br /&gt;
| '''DAC Pin #'''&lt;br /&gt;
| '''Digital Board Eurocard Pin #'''&lt;br /&gt;
| '''Amplifier Board Eurocard Pin #'''&lt;br /&gt;
| '''Physical Channel #'''&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| B1&lt;br /&gt;
| B3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| A2&lt;br /&gt;
| C4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| D1&lt;br /&gt;
| B2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| C2&lt;br /&gt;
| C3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| B3&lt;br /&gt;
| B4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| E2&lt;br /&gt;
| C2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| F3&lt;br /&gt;
| B1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| A4&lt;br /&gt;
| B5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| E4&lt;br /&gt;
| C5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| B5&lt;br /&gt;
| C6&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| F5&lt;br /&gt;
| C1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| A6&lt;br /&gt;
| C7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| E6&lt;br /&gt;
| B6&lt;br /&gt;
| &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 13&lt;br /&gt;
| B7&lt;br /&gt;
| B7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| F7&lt;br /&gt;
| C10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 15&lt;br /&gt;
| E8&lt;br /&gt;
| C8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| A8&lt;br /&gt;
| B8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| B9&lt;br /&gt;
| C9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| F9&lt;br /&gt;
| C16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| E10&lt;br /&gt;
| B11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| A10&lt;br /&gt;
| B9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| B11&lt;br /&gt;
| B10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| C12&lt;br /&gt;
| B12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| D13&lt;br /&gt;
| B13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| E12&lt;br /&gt;
| B14&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| A12&lt;br /&gt;
| C11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| B13&lt;br /&gt;
| C12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| H13&lt;br /&gt;
| B16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| G14&lt;br /&gt;
| B15&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 29&lt;br /&gt;
| C14&lt;br /&gt;
| C13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 30&lt;br /&gt;
| F13&lt;br /&gt;
| C15&lt;br /&gt;
|&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 31&lt;br /&gt;
| E14&lt;br /&gt;
| C14&lt;br /&gt;
|&lt;br /&gt;
| DACHEALTH&amp;lt;br&amp;gt;See [[#Channel Descriptions | ADC Channel Descriptions]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==ADC==&lt;br /&gt;
The board includes an Analog Devices AD7928 analog to digital converter. The ADC is located just to the right and slightly below the FPGA. It is labelled U4.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The ADC is powered by the +5V power island, which is regulated by an off-board power supply and decoupled near the ADC. It also requires a precise (&amp;amp;plusmn;1%) 2.5V reference to which it compares voltages when converting from analog to digital. Since the +5V power source is not used for comparison, it is flexible and may vary by &amp;amp;plusmn;0.25V without affecting ADC precision.&lt;br /&gt;
&lt;br /&gt;
===Setting the Measuring Range===&lt;br /&gt;
The measuring range is set programmatically by the FPGA over the SPI bus. The way the ADC is connected on the digital board requires that its measuring range be set to 5V, so the RANGE bit should be set to 1 by the FPGA (see Analog Devices documentation).&lt;br /&gt;
&lt;br /&gt;
===Data Interfacing===&lt;br /&gt;
The ADC uses an SPI bus to communicate with the FPGA. This bus is shared with the temperature sensor. SPI related pins include SCLK, CS, DIN, and DOUT. See the Pinout Table below.&lt;br /&gt;
&lt;br /&gt;
===Channel Descriptions===&lt;br /&gt;
This table shows what signals are monitored by the ADC.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''ADC Channel #'''&lt;br /&gt;
| '''ADC Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| VIN0&lt;br /&gt;
| 16&lt;br /&gt;
| AD7928/VHEALTH&lt;br /&gt;
| This net helps to monitor to overall health of power on the board, but is specifically intended to monitor -5V. It's voltage is the output of a resistor divider between the +5 and -5V power supplies, with resistor values of 33.2K, and 100K. Assuming +5V and -5V are both correct, the output of the divider will be +2.51V. A reading of other than 2.51V indicates a problem with one of the power supplies. Problems with the +5V power supply can be ruled out by reading VIN3. Based on the reading from VIN3, the voltage of the -5V supply can be calculated.&lt;br /&gt;
|-&lt;br /&gt;
| VIN1&lt;br /&gt;
| 15&lt;br /&gt;
| AD5535/CATHODE&lt;br /&gt;
| This is the thermal diode output from the DAC. Should read 4.35V (typical) at 25&amp;amp;deg;C. Drops 2.20mV/&amp;amp;deg;C.&lt;br /&gt;
|-&lt;br /&gt;
| VIN2&lt;br /&gt;
| 14&lt;br /&gt;
| +3.3V&lt;br /&gt;
| This is the +3.3V power plane. A reading of other than +3.3V indicates a problem with VR1.&lt;br /&gt;
|-&lt;br /&gt;
| VIN3&lt;br /&gt;
| 13&lt;br /&gt;
| +5V&lt;br /&gt;
| This is the +5V power island. A reading of other than +5V indicates a problem with the +5V power supply.&lt;br /&gt;
|-&lt;br /&gt;
| VIN4&lt;br /&gt;
| 12&lt;br /&gt;
| ADC_EXT1&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A7. It is intended to measure the output of thermistor on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN5&lt;br /&gt;
| 11&lt;br /&gt;
| +1.2V&lt;br /&gt;
| This is the +1.2V power island. This island powers the internal logic of the FPGA. A reading of other than 1.2V indicates a problem with VR3.&lt;br /&gt;
|-&lt;br /&gt;
| VIN6&lt;br /&gt;
| 10&lt;br /&gt;
| ADC_EXT2&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A8. It is intended to measure one of the transistor base voltages on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN7&lt;br /&gt;
| 9&lt;br /&gt;
| DACHEALTH&lt;br /&gt;
| This channel monitors the output of a resistor divider connected to channel 31 of the DAC. The divider consists of three resistors of 200K, 200K, and 10.2K (in order). The ADC reads out the voltage level between the second 200K and then 10.2K resistor. These resistors were selected so that at 200V, the readout voltage will be 4.973V. Since the divider should be linear, the expected voltage at 20V is 0.4973V. Three resistors were used rather than two to avoid exceeding the resistors' power ratings when the DAC is set to its maximum voltage. Note that since this divider will consume up to 484uA of current at 200V, this DAC channel should not be used for anything that might require more than ~200uA of current (the DAC can source 700uA max). The channel is routed to the backplane nonetheless.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| SPI clock (SCLK), from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| DIN&lt;br /&gt;
| SPI data in, from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&amp;lt;br&amp;gt;''Currently wired wrong''&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| CS&lt;br /&gt;
| SPI chip select&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| AD7928/REF_IN&lt;br /&gt;
| +2.5V reference, set by VR2&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9-16&lt;br /&gt;
| VIN[7:0]&lt;br /&gt;
| See [[#Channel Descriptions | ADC Channel Descriptions]]&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| DOUT&lt;br /&gt;
| SPI data out&amp;lt;br&amp;gt;''Currently wired incorrectly''&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| +3.3V&lt;br /&gt;
| VDRIVE, powers the SPI logic&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Ethernet Controller ==&lt;br /&gt;
The board uses a Silicon Laboratories CP2201, 28-pin, ethernet controller. The CP2201 is located just above the FPGA, and is labelled U2.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The CP2201 uses only +3.3V, which is supplied by the +3.3V power plane and regulated by VR1. Appropriate decoupling capacitors can be found near the CP2201.&lt;br /&gt;
&lt;br /&gt;
=== Ethernet Jack ===&lt;br /&gt;
To the right of the CP2201 is a Pulse J0011D21NL ethernet jack, labelled J1. This jack has a built-in 1:1 inductive coupling. For best results, connect this jack to a nearby ethernet switch. The jack may also be connected directly to a computer using a crossover cable. Though auto-crossover is not supported by the CP2201, if the computer's NIC supports it, a crossover cable is not necessary to connect directly to a computer.&lt;br /&gt;
&lt;br /&gt;
==== Ethernet Jack Pins ====&lt;br /&gt;
These are visible only on the back side of the board. Pin 1 is indicated by a square pad. Pin 8 is the farthest pin from pin 1. Pins numbered such that the 4 pins closer to the plastic thru-hole connectors are odd (1, 3, 5, 7), and the four pins closer to the CP2201 are are even.&lt;br /&gt;
&lt;br /&gt;
* Pin 1: TX+&lt;br /&gt;
* Pin 2: AC coupled to DGND&lt;br /&gt;
* Pin 3: TX-&lt;br /&gt;
* Pin 4: RX+&lt;br /&gt;
* Pin 5: AC coupled to DGND&lt;br /&gt;
* Pin 6: RX-&lt;br /&gt;
* Pin 7: No connection&lt;br /&gt;
* Pin 8: DGND (direct)&lt;br /&gt;
&lt;br /&gt;
The two large thru-hole pins (not numbered) connect to the metal shielding on the outside of the jack. These are directly connected to DGND to shield against electrical noise inside the jack.&lt;br /&gt;
&lt;br /&gt;
The two plastic thru-hole pins are not conductive and have no electrical connection. They are present only for structural purposes, presumably to prevent stress of the solder points when an ethernet wire is inserted or removed from the jack.&lt;br /&gt;
&lt;br /&gt;
=== Crystal Oscillator ===&lt;br /&gt;
The CP2201 is responsible for driving the 20MHz crystal oscillator. This oscillator clocks both the CP2201 and the FPGA. The crystal oscillator can be found above the right corner of the FPGA. It can be identified by its four surface mount pads and roughly .3&amp;quot; length. It is labelled Y1, though this label is not visible after the oscillator is soldered on. The CP2201 uses an inverting driver to excite the crystal. The output of the crystal is then sent to the CP2201 and the FPGA.&lt;br /&gt;
&lt;br /&gt;
=== Bus Format and Multiplexing ===&lt;br /&gt;
The 28-pin CP2201 used on the board only supports multiplexed operation. This means that both address and data information are passed over the same set of 8 traces. Hence, these traces are referred to as the address/data (AD) bus. A separate address line enable (ALE) trace prevents collisions from occuring on these traces. The communication protocol used is the Intel format. See the CP2201's datasheet for more information about this.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| CP2201/LA&lt;br /&gt;
| Link/activity indicator&amp;lt;br&amp;gt;Routed to backplane but not implemented&amp;lt;br&amp;gt;See CP2201 data sheet for information on how to connect to an LED&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| DGND&lt;br /&gt;
| By the data sheet, this pin should be AGND&amp;lt;br&amp;gt;We deliberately set it to DGND to avoid noise on AGND plane&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| +3.3V&lt;br /&gt;
| AV+ power pin&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| CP2201/RX-&lt;br /&gt;
| Connects to RX- on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| CP2201/RX+&lt;br /&gt;
| Connects to RX+ on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| CP2201/TX+&lt;br /&gt;
| Connects to TX+ on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| CP2201/TX-&lt;br /&gt;
| Connects to TX- on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;quot;VDD&amp;quot; power pin&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;DGND1&amp;quot; per the data sheet&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| CP2201/RESET&lt;br /&gt;
| &amp;quot;RST&amp;quot; per the data sheet&amp;lt;br&amp;gt;Connects to FPGA - should be programmatically triggered upon reset of FPGA by RESET jumper&lt;br /&gt;
|-&lt;br /&gt;
| 11-18&lt;br /&gt;
| CP2201/AD[0:7]&lt;br /&gt;
| Bits 0-7 of the address/data bus&amp;lt;br&amp;gt;Connect to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;quot;VDD&amp;quot; power pin&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;DGND2&amp;quot; per the data sheet&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| CP2201/ALE&lt;br /&gt;
| Address line enable&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| CP2201/RD&lt;br /&gt;
| Read strobe for AD bus&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| CP2201/WR&lt;br /&gt;
| Write strobe for AD bus&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| CP2201/CS&lt;br /&gt;
| Chip select&amp;lt;br&amp;gt;Connects to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| CP2201/INT&lt;br /&gt;
| Interrupt request&amp;lt;br&amp;gt;Connects to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;MOTEN&amp;quot; (Motorola enable) per the datasheet&amp;lt;br&amp;gt;Tied low to disable Motorola bus format (enable Intel format)&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| CP2201/XTAL2&lt;br /&gt;
| Crystal oscillator driver&amp;lt;br&amp;gt;The CP2201 inverts the 20MHz clock signal and feeds it back to the crystal oscillator to encourage larger oscillations&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| FPGA/CLK_IN&lt;br /&gt;
| &amp;quot;XTAL1&amp;quot; per the data sheet&amp;lt;br&amp;gt;This is the 20MHz clock input&amp;lt;br&amp;gt;Also connects to the FPGA's clock input&lt;br /&gt;
|- &lt;br /&gt;
| 29*&lt;br /&gt;
| DGND&lt;br /&gt;
| This is not a pin but rather the base of the CP2201 package.&amp;lt;br&amp;gt;It is connected to the DGND plane for thermal relief&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Eurocard Connector ==&lt;br /&gt;
At the bottom of the control board is the Eurocard connector. The Eurocard connector connects the board to the backplane and also connects the board to its power supplies. The Eurocard has 48 pins arranged in three rows of 16 pins each. Rows B and C are exclusively used to pass SiPM bias voltages to the backplane as described in [[#Channel Mapping | DAC Channel Mapping]]. Here is a table describing the purpose of pins in row A:&lt;br /&gt;
&lt;br /&gt;
=== Row A Pinout Table ===&lt;br /&gt;
Note that when viewing the front side of the board with the Eurocard at the bottom, these pins go from right to left. If you look closely at the pins, you will see that pin A1 has a square pad, unlike the round pads of the others.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| A1&lt;br /&gt;
| CP2201/LA&lt;br /&gt;
| Ethernet link/activity indicator routed to backplane&lt;br /&gt;
|-&lt;br /&gt;
| A2&lt;br /&gt;
| High voltage input (+210V max)&lt;br /&gt;
| High voltage input for DAC. See [[#DAC | DAC]] for information about what voltage to input here.&lt;br /&gt;
|-&lt;br /&gt;
| A3&lt;br /&gt;
| -5V&lt;br /&gt;
| For DAC&lt;br /&gt;
|-&lt;br /&gt;
| A4&lt;br /&gt;
| +5V&lt;br /&gt;
| Powers most things on the board&lt;br /&gt;
|-&lt;br /&gt;
| A5&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A6&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| A7&lt;br /&gt;
| ADC_EXT1&lt;br /&gt;
| Connects to ADC to monitor voltages on amplifier board&amp;lt;br&amp;gt;See [[#ADC | ADC]]&lt;br /&gt;
|-&lt;br /&gt;
| A8&lt;br /&gt;
| ADC_EXT2&lt;br /&gt;
| Connects to ADC to monitor voltages on amplifier board&amp;lt;br&amp;gt;See [[#ADC | ADC]]&lt;br /&gt;
|-&lt;br /&gt;
| A9&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A10&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| A11&lt;br /&gt;
| No conneciton&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A12&lt;br /&gt;
| ID4&lt;br /&gt;
| Location identifier bit 4&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A13&lt;br /&gt;
| ID3&lt;br /&gt;
| Location identifier bit 3&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A14&lt;br /&gt;
| ID2&lt;br /&gt;
| Location identifier bit 2&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A15&lt;br /&gt;
| ID1&lt;br /&gt;
| Location identifier bit 1&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A16&lt;br /&gt;
| ID0&lt;br /&gt;
| Location identifier bit 0&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4372</id>
		<title>Digital control board documentation</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4372"/>
		<updated>2009-06-16T19:08:38Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* Row A Pinout Table */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This documentation covers the most important things to know while testing the digital control board, including component pinouts, nets, and other information.&lt;br /&gt;
&lt;br /&gt;
== Power Requirements ==&lt;br /&gt;
=== Required Voltages ===&lt;br /&gt;
All components on the digital board '''except the DAC''' can be tested using only a +5V source. The DAC requires +5V, -5V, and a high voltage corresponding to 10V higher than the maximum desired DAC output voltage (see [[#Setting the Output Range | Setting the Output Range]]). Digital and analog grounds must be connected as well before any testing takes place.&lt;br /&gt;
&lt;br /&gt;
=== Power Pins ===&lt;br /&gt;
Power shall be connected to the board as follows:&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Voltage'''&lt;br /&gt;
| '''Eurocard Pin'''&lt;br /&gt;
|-&lt;br /&gt;
| DGND &lt;br /&gt;
| A6&lt;br /&gt;
|-&lt;br /&gt;
| AGND &lt;br /&gt;
| A5&lt;br /&gt;
|-&lt;br /&gt;
| +5V &lt;br /&gt;
| A4&lt;br /&gt;
|-&lt;br /&gt;
| -5V &lt;br /&gt;
| A3&lt;br /&gt;
|-&lt;br /&gt;
| High voltage&amp;lt;br&amp;gt;(DAC max out +10)&lt;br /&gt;
| A2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Power Supply Sequencing ===&lt;br /&gt;
The control board is designed such that voltages may be supplied in any order so long as AGND and DGND are connected properly.  However, for initial testing, the preferred order for powering up the board is as follows:&lt;br /&gt;
&lt;br /&gt;
# Ensure AGND/DGND are connected/grounded&lt;br /&gt;
# +5V&lt;br /&gt;
# -5V&lt;br /&gt;
# High voltage&lt;br /&gt;
&lt;br /&gt;
== FPGA ==&lt;br /&gt;
The control board uses a Xilinx XC3S50A VQ100 FPGA. It has a 100 pin footprint and is located in the center of the control board.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The FPGA is powered by the 3.3V power plane, which is regulated by VR1. The FPGA also obtains 1.2V for its internal logic from a 1.2V power island, regulated by VR3.&lt;br /&gt;
&lt;br /&gt;
=== Logic Standard ===&lt;br /&gt;
The Xilinx XC3S50A supports several different digital logic standards. The control board is hard wired such that the FPGA will use a '''3.3V CMOS''' logic standard.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| P1&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P2&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P3&lt;br /&gt;
| AD7928/CS&lt;br /&gt;
| SPI chip select for ADC&lt;br /&gt;
|-&lt;br /&gt;
| P4&lt;br /&gt;
| SPI&lt;br /&gt;
| '''Erroneously wired SPI bus trace'''&amp;lt;br&amp;gt;Connects to SDO on temp. sensor and DIN on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P5&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| 5 MHz clock output for SPI bus (ADC and temp. sensor)&lt;br /&gt;
|-&lt;br /&gt;
| P6&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P7&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P8&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P9&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P10&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P11&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P12&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P13&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P14&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P15&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P17&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P18&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P19&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P20&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P21&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P22&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P23&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P24&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P25&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P26&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| P27&lt;br /&gt;
| FPGA/CLK_IN&lt;br /&gt;
| 20 MHz clock input from crystal oscillator&lt;br /&gt;
|-&lt;br /&gt;
| P28&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P29&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P30&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P31&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P32&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P33&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P34&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P35&lt;br /&gt;
| CP2201/INT&lt;br /&gt;
| Ethernet controller interrupt&lt;br /&gt;
|-&lt;br /&gt;
| P36&lt;br /&gt;
| MASTER_RESET&lt;br /&gt;
| Connects to RESET jumper in upper left of board (active-low, externally pulled up)&lt;br /&gt;
|-&lt;br /&gt;
| P37&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P38&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P39&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P40&lt;br /&gt;
| CP2201/CS&lt;br /&gt;
| Chip select for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P41&lt;br /&gt;
| CP2201/WR&lt;br /&gt;
| Write enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P42&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P43&lt;br /&gt;
| CP2201/RD&lt;br /&gt;
| Read enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P44&lt;br /&gt;
| CP2201/ALE&lt;br /&gt;
| Address line enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P45&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P46&lt;br /&gt;
| CP2201/RESET&lt;br /&gt;
| Reset pin for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P47&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P48&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P49&lt;br /&gt;
| CP2201/AD0&lt;br /&gt;
| Ethernet controller address/data bus, bit 0&lt;br /&gt;
|-&lt;br /&gt;
| P50&lt;br /&gt;
| CP2201/AD1&lt;br /&gt;
| Ethernet controller address/data bus, bit 1&lt;br /&gt;
|-&lt;br /&gt;
| P51&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data input from EEPROM for configuration&lt;br /&gt;
|-&lt;br /&gt;
| P52&lt;br /&gt;
| CP2201/AD2&lt;br /&gt;
| Ethernet controller address/data bus, bit 2&lt;br /&gt;
|-&lt;br /&gt;
| P53&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock (signal generated by FPGA at &amp;lt;br&amp;gt;power on to clock the configuration process)&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P54&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Gives configuration status - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P55&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P56&lt;br /&gt;
| CP2201/AD3&lt;br /&gt;
| Ethernet controller address/data bus, bit 3&lt;br /&gt;
|-&lt;br /&gt;
| P57&lt;br /&gt;
| CP2201/AD4&lt;br /&gt;
| Ethernet controller address/data bus, bit 4&lt;br /&gt;
|-&lt;br /&gt;
| P58&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P59&lt;br /&gt;
| CP2201/AD5&lt;br /&gt;
| Ethernet controller address/data bus, bit 5&lt;br /&gt;
|-&lt;br /&gt;
| P60&lt;br /&gt;
| CP2201/AD6&lt;br /&gt;
| Ethernet controller address/date bus, bit 6&lt;br /&gt;
|-&lt;br /&gt;
| P61&lt;br /&gt;
| CP2201/AD7&lt;br /&gt;
| Ethernet controller address/date bus, bit 7&lt;br /&gt;
|-&lt;br /&gt;
| P62&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P63&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P64&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P65&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P66&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P67&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P68&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P69&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P70&lt;br /&gt;
| ID3&lt;br /&gt;
| Backplane location identifier jumper, pins 3 &amp;amp; 4&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P71&lt;br /&gt;
| ID2&lt;br /&gt;
| Backplane location identifier jumper, pins 5 &amp;amp; 6&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P72&lt;br /&gt;
| ID1&lt;br /&gt;
| Backplane location identifier jumper, pins 7 &amp;amp; 8&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P73&lt;br /&gt;
| ID0&lt;br /&gt;
| Backplane location identifier jumper, pins 9 &amp;amp; 10&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P74&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P75&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P76&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P77&lt;br /&gt;
| ID4&lt;br /&gt;
| Backplane location identifier jumper, pins 1 &amp;amp; 2&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P78&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P79&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P80&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P81&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P82&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P83&lt;br /&gt;
| CLK_5MHZ_2&lt;br /&gt;
| 5 MHz clock output for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P84&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P85&lt;br /&gt;
| AD5535/DIN&lt;br /&gt;
| DAC serial data input (FPGA out -&amp;gt; DAC in)&lt;br /&gt;
|-&lt;br /&gt;
| P86&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P87&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P89&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P90&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P91&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P92&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P93&lt;br /&gt;
| AD7314/CE&lt;br /&gt;
| Chip enable for temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| P94&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P95&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P96&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P97&lt;br /&gt;
| AD7928/DOUT&lt;br /&gt;
| '''Erroneously wired ADC SPI bus connection'''&amp;lt;br&amp;gt;Connects to DOUT on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P98&lt;br /&gt;
| AD5535/RESET&lt;br /&gt;
| Reset pin for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P99&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P100&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== EEPROM ==&lt;br /&gt;
To facilitate power-on configuration of the FPGA, the control board includes a Xilinx XCF01S EEPROM. The EEPROM is located to the left of the FPGA, above the JTAG header, and has a 20 pin footprint. The EEPROM is labelled U5.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The EEPROM uses +3.3V exclusively, which it receives from the +3.3V power plane, regulated by VR1.&lt;br /&gt;
&lt;br /&gt;
=== Flashing/Burning/Writing ===&lt;br /&gt;
Whatever you call it, this refers to storing data in the EEPROM so that it can configure the FPGA at power-on. The EEPROM is programmed using a JTAG interface and the Xilinx Platform USB II cable. It is important to note that in digital board's JTAG chain, the EEPROM is the first device in the chain, unlike in the Xilinx documentation where it is shown as the second device. This should not affect the operation of the board, but should be reflected in the Xilinx software when writing the EEPROM via JTAG. &lt;br /&gt;
&lt;br /&gt;
=== FPGA Configuration ===&lt;br /&gt;
The EEPROM and FPGA are hardwired to use a master serial protocol to transfer the program from the EEPROM to the FPGA. This is the protocol recommended in the Xilinx documentation because it minimizes the number of traces necessary to run between the EEPROM and FPGA. All configuration data is sent over a single trace, FPGA/DIN (pin 1 on EEPROM), controlled by the configuration clock signal (FPGA/CCLK) which is automatically generated by the FPGA at power-on. When configuration is complete, FPGA/DONE (pin 10) is pulled high by the FPGA, and the EEPROM and configuration clock are deactivated.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data line&amp;lt;br&amp;gt;Carries data from the EEPROM to the FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock&amp;lt;br&amp;gt;Auto generated by FPGA at power-on, disabled at end of configuration&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| This is the EEPROM's TDI&amp;lt;br&amp;gt;This is the entry point for the onboard JTAG chain&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during configuration&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during configuration - can be used to intiate reconfiguration of FPGA&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Indicates completion of FPGA configuration&amp;lt;br&amp;gt;High when complete&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 12-16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| This is the EEPROM's TDO/FPGA's TDI&lt;br /&gt;
|-&lt;br /&gt;
| 18-20&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== JTAG Header ==&lt;br /&gt;
To write the FPGA's program to the EEPROM, the board employs a JTAG based programming system consistent with Xilinx's recommendations. The system is designed to operate with Xilnx's Platform USB II cable and the flying lead adapter.&lt;br /&gt;
&lt;br /&gt;
===Header Location and Size===&lt;br /&gt;
The header consists of 14 pins, 100 mil pitch, just below the EEPROM (U5). The header is labelled P1. The pitch of the pins in the header was erroneously selected to be 100 mil, which is not compatible with Xilinx's JTAG ribbon cable. Therefore, the Xilinx flying lead adapter must be used.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The JTAG interface is powered by the +3.3V power plane, not by the computer's USB port. Power is supplied through pin 2 of the JTAG header.&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
Note that the header is positioned on the board rotated 180 degrees from the position in which it is shown in the Xilinx documentation. Care must be taken when connecting the flying leads to ensure they are connected to the right pins. Connecting the flying leads to the wrong side of the header will cause all of the leads to short on the digital board's ground plane. This will certainly cause undesired operation, and may or may not cause damage. Improper wiring is most likely to cause damage if one of the flying leads is connected to an odd numbered pin. '''Note from the pinout table below that no flying lead connections should ever be made to the odd numbered pins on the JTAG header.'''&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1, 3, 5, 7, 9, 11, 13 (odd pins)&lt;br /&gt;
| DGND&lt;br /&gt;
| Ground pins for signal integrity&amp;lt;br&amp;gt;'''Never connect a flying lead to these pins'''&amp;lt;br&amp;gt;Doing so will short to ground and may cause permanent damage if the Platform USB II cable does not have protection against this.&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| +3.3V&lt;br /&gt;
| Power source for all JTAG logic&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS - connects to EEPROM and FPGA &lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK - connects to EEPROM and FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| JTAG  boundary scan chain endpoint&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| JTAG boundary scan chain start point&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| No connection&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| No connection&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===JTAG Overview===&lt;br /&gt;
The JTAG interface is clocked by the TCK signal. TCK is generated by the Platform USB II cable, and connects directly from the JTAG header to both the EEPROM and FPGA.&lt;br /&gt;
&lt;br /&gt;
The TMS signal is directly connected to both the EEPROM and FPGA, and is the data line over which JTAG test results (in this case programming results) are sent. TMS is used by only one component at a time.&lt;br /&gt;
&lt;br /&gt;
The TDI/TDO lines form a chain that connects to each JTAG component in series. On the control board, the first point in the chain is the EEPROM's TDI. Next is the EEPROM's TDO, which is the same as the FPGA's TDI. The FPGA's TDO then returns to the JTAG header and the Platform USB II cable.&lt;br /&gt;
&lt;br /&gt;
== DAC ==&lt;br /&gt;
The control board uses the Analog Devices AD5535, 32-channel, 200V max, digital to analog converter. This chip has a modified BC-124 BGA footprint and is located above the Eurocard connector at the bottom of the board. It is labelled U3.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The DAC is primarily powered by the +5V power island, regulated by an off-board power supply and extensively decoupled in the area of the DAC. The DAC also requires -5V, and a high voltage as discussed in [[#Power Requirements | Power Requirements]]. Both of these voltages are supplied by an off-board supply and decoupled near the DAC. In addition to these voltage levels, the DAC requires a precise +2.5V reference, created by the shunt-type voltage reference VR4.&lt;br /&gt;
&lt;br /&gt;
=== Setting the Output Range ===&lt;br /&gt;
The output range of the DAC is set by the 2.5V reference voltage supplied by VR4. The high voltage power supply must supply at a minimum 50 times this voltage, plus 10. Thus, the high voltage power supply should be at least 135V for DAC to operate properly, even though the SiPMs are expected to need only 40V. If it is convenient to use a lower high voltage, VR4 must be replaced to provide lower reference voltage. The high voltage may then be decreased appropriately. To summarize:&lt;br /&gt;
&lt;br /&gt;
* Max output voltage = VREF*50&lt;br /&gt;
* Minimum high voltage supply = VREF*50 + 10&lt;br /&gt;
* Acceptable range for VREF&lt;br /&gt;
** Min: 1V&lt;br /&gt;
** Max: 3.75V (AD5535 datasheet specifies 4V max, but this would require AVCC of 5.25V for the DAC, which is not possible in the current board design)&lt;br /&gt;
&lt;br /&gt;
If relevant, R13 is a 100K resistor.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Diode ===&lt;br /&gt;
The DAC has a built in thermal diode. The diode drop from anode to cathode is typically 0.65V at 25&amp;amp;deg;C. It changes at a rate of -2.20mV/&amp;amp;deg;C. The anode of this diode is connected to the +5V power island, and the cathode is connected to a 270K resistor to ground. The voltage between the cathode and the resistor is connected to VIN1 (pin 15) on the ADC.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
See documentation from Analog Devices.&lt;br /&gt;
&lt;br /&gt;
=== Channel Mapping ===&lt;br /&gt;
Due to the layout of the balls on the footprint of the DAC, the DAC's internal channel numbers (which must be referenced by the FPGA) have no correlation to the channel numbers on the amplifier board. This table summarizes the mapping between various pins that belong to each channel.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''DAC Channel #'''&lt;br /&gt;
| '''DAC Pin #'''&lt;br /&gt;
| '''Digital Board Eurocard Pin #'''&lt;br /&gt;
| '''Amplifier Board Eurocard Pin #'''&lt;br /&gt;
| '''Physical Channel #'''&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| B1&lt;br /&gt;
| B3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| A2&lt;br /&gt;
| C4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| D1&lt;br /&gt;
| B2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| C2&lt;br /&gt;
| C3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| B3&lt;br /&gt;
| B4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| E2&lt;br /&gt;
| C2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| F3&lt;br /&gt;
| B1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| A4&lt;br /&gt;
| B5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| E4&lt;br /&gt;
| C5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| B5&lt;br /&gt;
| C6&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| F5&lt;br /&gt;
| C1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| A6&lt;br /&gt;
| C7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| E6&lt;br /&gt;
| B6&lt;br /&gt;
| &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 13&lt;br /&gt;
| B7&lt;br /&gt;
| B7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| F7&lt;br /&gt;
| C10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 15&lt;br /&gt;
| E8&lt;br /&gt;
| C8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| A8&lt;br /&gt;
| B8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| B9&lt;br /&gt;
| C9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| F9&lt;br /&gt;
| C16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| E10&lt;br /&gt;
| B11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| A10&lt;br /&gt;
| B9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| B11&lt;br /&gt;
| B10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| C12&lt;br /&gt;
| B12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| D13&lt;br /&gt;
| B13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| E12&lt;br /&gt;
| B14&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| A12&lt;br /&gt;
| C11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| B13&lt;br /&gt;
| C12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| H13&lt;br /&gt;
| B16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| G14&lt;br /&gt;
| B15&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 29&lt;br /&gt;
| C14&lt;br /&gt;
| C13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 30&lt;br /&gt;
| F13&lt;br /&gt;
| C15&lt;br /&gt;
|&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 31&lt;br /&gt;
| E14&lt;br /&gt;
| C14&lt;br /&gt;
|&lt;br /&gt;
| DACHEALTH&amp;lt;br&amp;gt;See [[#Channel Descriptions | ADC Channel Descriptions]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==ADC==&lt;br /&gt;
The board includes an Analog Devices AD7928 analog to digital converter. The ADC is located just to the right and slightly below the FPGA. It is labelled U4.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The ADC is powered by the +5V power island, which is regulated by an off-board power supply and decoupled near the ADC. It also requires a precise (&amp;amp;plusmn;1%) 2.5V reference to which it compares voltages when converting from analog to digital. Since the +5V power source is not used for comparison, it is flexible and may vary by &amp;amp;plusmn;0.25V without affecting ADC precision.&lt;br /&gt;
&lt;br /&gt;
===Setting the Measuring Range===&lt;br /&gt;
The measuring range is set programmatically by the FPGA over the SPI bus. The way the ADC is connected on the digital board requires that its measuring range be set to 5V, so the RANGE bit should be set to 1 by the FPGA (see Analog Devices documentation).&lt;br /&gt;
&lt;br /&gt;
===Data Interfacing===&lt;br /&gt;
The ADC uses an SPI bus to communicate with the FPGA. This bus is shared with the temperature sensor. SPI related pins include SCLK, CS, DIN, and DOUT. See the Pinout Table below.&lt;br /&gt;
&lt;br /&gt;
===Channel Descriptions===&lt;br /&gt;
This table shows what signals are monitored by the ADC.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''ADC Channel #'''&lt;br /&gt;
| '''ADC Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| VIN0&lt;br /&gt;
| 16&lt;br /&gt;
| AD7928/VHEALTH&lt;br /&gt;
| This net helps to monitor to overall health of power on the board, but is specifically intended to monitor -5V. It's voltage is the output of a resistor divider between the +5 and -5V power supplies, with resistor values of 33.2K, and 100K. Assuming +5V and -5V are both correct, the output of the divider will be +2.51V. A reading of other than 2.51V indicates a problem with one of the power supplies. Problems with the +5V power supply can be ruled out by reading VIN3. Based on the reading from VIN3, the voltage of the -5V supply can be calculated.&lt;br /&gt;
|-&lt;br /&gt;
| VIN1&lt;br /&gt;
| 15&lt;br /&gt;
| AD5535/CATHODE&lt;br /&gt;
| This is the thermal diode output from the DAC. Should read 4.35V (typical) at 25&amp;amp;deg;C. Drops 2.20mV/&amp;amp;deg;C.&lt;br /&gt;
|-&lt;br /&gt;
| VIN2&lt;br /&gt;
| 14&lt;br /&gt;
| +3.3V&lt;br /&gt;
| This is the +3.3V power plane. A reading of other than +3.3V indicates a problem with VR1.&lt;br /&gt;
|-&lt;br /&gt;
| VIN3&lt;br /&gt;
| 13&lt;br /&gt;
| +5V&lt;br /&gt;
| This is the +5V power island. A reading of other than +5V indicates a problem with the +5V power supply.&lt;br /&gt;
|-&lt;br /&gt;
| VIN4&lt;br /&gt;
| 12&lt;br /&gt;
| ADC_EXT1&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A7. It is intended to measure the output of thermistor on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN5&lt;br /&gt;
| 11&lt;br /&gt;
| +1.2V&lt;br /&gt;
| This is the +1.2V power island. This island powers the internal logic of the FPGA. A reading of other than 1.2V indicates a problem with VR3.&lt;br /&gt;
|-&lt;br /&gt;
| VIN6&lt;br /&gt;
| 10&lt;br /&gt;
| ADC_EXT2&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A8. It is intended to measure one of the transistor base voltages on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN7&lt;br /&gt;
| 9&lt;br /&gt;
| DACHEALTH&lt;br /&gt;
| This channel monitors the output of a resistor divider connected to channel 31 of the DAC. The divider consists of three resistors of 200K, 200K, and 10.2K (in order). The ADC reads out the voltage level between the second 200K and then 10.2K resistor. These resistors were selected so that at 200V, the readout voltage will be 4.973V. Since the divider should be linear, the expected voltage at 20V is 0.4973V. Three resistors were used rather than two to avoid exceeding the resistors' power ratings when the DAC is set to its maximum voltage. Note that since this divider will consume up to 484uA of current at 200V, this DAC channel should not be used for anything that might require more than ~200uA of current (the DAC can source 700uA max). The channel is routed to the backplane nonetheless.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| SPI clock (SCLK), from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| DIN&lt;br /&gt;
| SPI data in, from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&amp;lt;br&amp;gt;''Currently wired wrong''&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| CS&lt;br /&gt;
| SPI chip select&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| AD7928/REF_IN&lt;br /&gt;
| +2.5V reference, set by VR2&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9-16&lt;br /&gt;
| VIN[7:0]&lt;br /&gt;
| See [[#Channel Descriptions | ADC Channel Descriptions]]&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| DOUT&lt;br /&gt;
| SPI data out&amp;lt;br&amp;gt;''Currently wired incorrectly''&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| +3.3V&lt;br /&gt;
| VDRIVE, powers the SPI logic&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Ethernet Controller ==&lt;br /&gt;
The board uses a Silicon Laboratories CP2201, 28-pin, ethernet controller. The CP2201 is located just above the FPGA, and is labelled U2.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The CP2201 uses only +3.3V, which is supplied by the +3.3V power plane and regulated by VR1. Appropriate decoupling capacitors can be found near the CP2201.&lt;br /&gt;
&lt;br /&gt;
=== Ethernet Jack ===&lt;br /&gt;
To the right of the CP2201 is a Pulse J0011D21NL ethernet jack, labelled J1. This jack has a built-in 1:1 inductive coupling. For best results, connect this jack to a nearby ethernet switch. The jack may also be connected directly to a computer using a crossover cable. Though auto-crossover is not supported by the CP2201, if the computer's NIC supports it, a crossover cable is not necessary to connect directly to a computer.&lt;br /&gt;
&lt;br /&gt;
=== Crystal Oscillator ===&lt;br /&gt;
The CP2201 is responsible for driving the 20MHz crystal oscillator. This oscillator clocks both the CP2201 and the FPGA. The crystal oscillator can be found above the right corner of the FPGA. It can be identified by its four surface mount pads and roughly .3&amp;quot; length. It is labelled Y1, though this label is not visible after the oscillator is soldered on. The CP2201 uses an inverting driver to excite the crystal. The output of the crystal is then sent to the CP2201 and the FPGA.&lt;br /&gt;
&lt;br /&gt;
=== Bus Format and Multiplexing ===&lt;br /&gt;
The 28-pin CP2201 used on the board only supports multiplexed operation. This means that both address and data information are passed over the same set of 8 traces. Hence, these traces are referred to as the address/data (AD) bus. A separate address line enable (ALE) trace prevents collisions from occuring on these traces. The communication protocol used is the Intel format. See the CP2201's datasheet for more information about this.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| CP2201/LA&lt;br /&gt;
| Link/activity indicator&amp;lt;br&amp;gt;Routed to backplane but not implemented&amp;lt;br&amp;gt;See CP2201 data sheet for information on how to connect to an LED&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| DGND&lt;br /&gt;
| By the data sheet, this pin should be AGND&amp;lt;br&amp;gt;We deliberately set it to DGND to avoid noise on AGND plane&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| +3.3V&lt;br /&gt;
| AV+ power pin&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| CP2201/RX-&lt;br /&gt;
| Connects to RX- on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| CP2201/RX+&lt;br /&gt;
| Connects to RX+ on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| CP2201/TX+&lt;br /&gt;
| Connects to TX+ on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| CP2201/TX-&lt;br /&gt;
| Connects to TX- on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;quot;VDD&amp;quot; power pin&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;DGND1&amp;quot; per the data sheet&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| CP2201/RESET&lt;br /&gt;
| &amp;quot;RST&amp;quot; per the data sheet&amp;lt;br&amp;gt;Connects to FPGA - should be programmatically triggered upon reset of FPGA by RESET jumper&lt;br /&gt;
|-&lt;br /&gt;
| 11-18&lt;br /&gt;
| CP2201/AD[0:7]&lt;br /&gt;
| Bits 0-7 of the address/data bus&amp;lt;br&amp;gt;Connect to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;quot;VDD&amp;quot; power pin&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;DGND2&amp;quot; per the data sheet&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| CP2201/ALE&lt;br /&gt;
| Address line enable&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| CP2201/RD&lt;br /&gt;
| Read strobe for AD bus&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| CP2201/WR&lt;br /&gt;
| Write strobe for AD bus&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| CP2201/CS&lt;br /&gt;
| Chip select&amp;lt;br&amp;gt;Connects to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| CP2201/INT&lt;br /&gt;
| Interrupt request&amp;lt;br&amp;gt;Connects to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;MOTEN&amp;quot; (Motorola enable) per the datasheet&amp;lt;br&amp;gt;Tied low to disable Motorola bus format (enable Intel format)&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| CP2201/XTAL2&lt;br /&gt;
| Crystal oscillator driver&amp;lt;br&amp;gt;The CP2201 inverts the 20MHz clock signal and feeds it back to the crystal oscillator to encourage larger oscillations&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| FPGA/CLK_IN&lt;br /&gt;
| &amp;quot;XTAL1&amp;quot; per the data sheet&amp;lt;br&amp;gt;This is the 20MHz clock input&amp;lt;br&amp;gt;Also connects to the FPGA's clock input&lt;br /&gt;
|- &lt;br /&gt;
| 29*&lt;br /&gt;
| DGND&lt;br /&gt;
| This is not a pin but rather the base of the CP2201 package.&amp;lt;br&amp;gt;It is connected to the DGND plane for thermal relief&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Eurocard Connector ==&lt;br /&gt;
At the bottom of the control board is the Eurocard connector. The Eurocard connector connects the board to the backplane and also connects the board to its power supplies. The Eurocard has 48 pins arranged in three rows of 16 pins each. Rows B and C are exclusively used to pass SiPM bias voltages to the backplane as described in [[#Channel Mapping | DAC Channel Mapping]]. Here is a table describing the purpose of pins in row A:&lt;br /&gt;
&lt;br /&gt;
=== Row A Pinout Table ===&lt;br /&gt;
Note that when viewing the front side of the board with the Eurocard at the bottom, these pins go from right to left. If you look closely at the pins, you will see that pin A1 has a square pad, unlike the round pads of the others.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| A1&lt;br /&gt;
| CP2201/LA&lt;br /&gt;
| Ethernet link/activity indicator routed to backplane&lt;br /&gt;
|-&lt;br /&gt;
| A2&lt;br /&gt;
| High voltage input (+210V max)&lt;br /&gt;
| High voltage input for DAC. See [[#DAC | DAC]] for information about what voltage to input here.&lt;br /&gt;
|-&lt;br /&gt;
| A3&lt;br /&gt;
| -5V&lt;br /&gt;
| For DAC&lt;br /&gt;
|-&lt;br /&gt;
| A4&lt;br /&gt;
| +5V&lt;br /&gt;
| Powers most things on the board&lt;br /&gt;
|-&lt;br /&gt;
| A5&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A6&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| A7&lt;br /&gt;
| ADC_EXT1&lt;br /&gt;
| Connects to ADC to monitor voltages on amplifier board&amp;lt;br&amp;gt;See [[#ADC | ADC]]&lt;br /&gt;
|-&lt;br /&gt;
| A8&lt;br /&gt;
| ADC_EXT2&lt;br /&gt;
| Connects to ADC to monitor voltages on amplifier board&amp;lt;br&amp;gt;See [[#ADC | ADC]]&lt;br /&gt;
|-&lt;br /&gt;
| A9&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A10&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| A11&lt;br /&gt;
| No conneciton&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A12&lt;br /&gt;
| ID4&lt;br /&gt;
| Location identifier bit 4&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A13&lt;br /&gt;
| ID3&lt;br /&gt;
| Location identifier bit 3&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A14&lt;br /&gt;
| ID2&lt;br /&gt;
| Location identifier bit 2&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A15&lt;br /&gt;
| ID1&lt;br /&gt;
| Location identifier bit 1&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A16&lt;br /&gt;
| ID0&lt;br /&gt;
| Location identifier bit 0&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4371</id>
		<title>Digital control board documentation</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4371"/>
		<updated>2009-06-16T19:08:08Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* Eurocard Connector */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This documentation covers the most important things to know while testing the digital control board, including component pinouts, nets, and other information.&lt;br /&gt;
&lt;br /&gt;
== Power Requirements ==&lt;br /&gt;
=== Required Voltages ===&lt;br /&gt;
All components on the digital board '''except the DAC''' can be tested using only a +5V source. The DAC requires +5V, -5V, and a high voltage corresponding to 10V higher than the maximum desired DAC output voltage (see [[#Setting the Output Range | Setting the Output Range]]). Digital and analog grounds must be connected as well before any testing takes place.&lt;br /&gt;
&lt;br /&gt;
=== Power Pins ===&lt;br /&gt;
Power shall be connected to the board as follows:&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Voltage'''&lt;br /&gt;
| '''Eurocard Pin'''&lt;br /&gt;
|-&lt;br /&gt;
| DGND &lt;br /&gt;
| A6&lt;br /&gt;
|-&lt;br /&gt;
| AGND &lt;br /&gt;
| A5&lt;br /&gt;
|-&lt;br /&gt;
| +5V &lt;br /&gt;
| A4&lt;br /&gt;
|-&lt;br /&gt;
| -5V &lt;br /&gt;
| A3&lt;br /&gt;
|-&lt;br /&gt;
| High voltage&amp;lt;br&amp;gt;(DAC max out +10)&lt;br /&gt;
| A2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Power Supply Sequencing ===&lt;br /&gt;
The control board is designed such that voltages may be supplied in any order so long as AGND and DGND are connected properly.  However, for initial testing, the preferred order for powering up the board is as follows:&lt;br /&gt;
&lt;br /&gt;
# Ensure AGND/DGND are connected/grounded&lt;br /&gt;
# +5V&lt;br /&gt;
# -5V&lt;br /&gt;
# High voltage&lt;br /&gt;
&lt;br /&gt;
== FPGA ==&lt;br /&gt;
The control board uses a Xilinx XC3S50A VQ100 FPGA. It has a 100 pin footprint and is located in the center of the control board.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The FPGA is powered by the 3.3V power plane, which is regulated by VR1. The FPGA also obtains 1.2V for its internal logic from a 1.2V power island, regulated by VR3.&lt;br /&gt;
&lt;br /&gt;
=== Logic Standard ===&lt;br /&gt;
The Xilinx XC3S50A supports several different digital logic standards. The control board is hard wired such that the FPGA will use a '''3.3V CMOS''' logic standard.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| P1&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P2&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P3&lt;br /&gt;
| AD7928/CS&lt;br /&gt;
| SPI chip select for ADC&lt;br /&gt;
|-&lt;br /&gt;
| P4&lt;br /&gt;
| SPI&lt;br /&gt;
| '''Erroneously wired SPI bus trace'''&amp;lt;br&amp;gt;Connects to SDO on temp. sensor and DIN on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P5&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| 5 MHz clock output for SPI bus (ADC and temp. sensor)&lt;br /&gt;
|-&lt;br /&gt;
| P6&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P7&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P8&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P9&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P10&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P11&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P12&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P13&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P14&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P15&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P17&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P18&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P19&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P20&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P21&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P22&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P23&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P24&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P25&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P26&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| P27&lt;br /&gt;
| FPGA/CLK_IN&lt;br /&gt;
| 20 MHz clock input from crystal oscillator&lt;br /&gt;
|-&lt;br /&gt;
| P28&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P29&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P30&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P31&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P32&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P33&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P34&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P35&lt;br /&gt;
| CP2201/INT&lt;br /&gt;
| Ethernet controller interrupt&lt;br /&gt;
|-&lt;br /&gt;
| P36&lt;br /&gt;
| MASTER_RESET&lt;br /&gt;
| Connects to RESET jumper in upper left of board (active-low, externally pulled up)&lt;br /&gt;
|-&lt;br /&gt;
| P37&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P38&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P39&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P40&lt;br /&gt;
| CP2201/CS&lt;br /&gt;
| Chip select for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P41&lt;br /&gt;
| CP2201/WR&lt;br /&gt;
| Write enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P42&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P43&lt;br /&gt;
| CP2201/RD&lt;br /&gt;
| Read enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P44&lt;br /&gt;
| CP2201/ALE&lt;br /&gt;
| Address line enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P45&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P46&lt;br /&gt;
| CP2201/RESET&lt;br /&gt;
| Reset pin for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P47&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P48&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P49&lt;br /&gt;
| CP2201/AD0&lt;br /&gt;
| Ethernet controller address/data bus, bit 0&lt;br /&gt;
|-&lt;br /&gt;
| P50&lt;br /&gt;
| CP2201/AD1&lt;br /&gt;
| Ethernet controller address/data bus, bit 1&lt;br /&gt;
|-&lt;br /&gt;
| P51&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data input from EEPROM for configuration&lt;br /&gt;
|-&lt;br /&gt;
| P52&lt;br /&gt;
| CP2201/AD2&lt;br /&gt;
| Ethernet controller address/data bus, bit 2&lt;br /&gt;
|-&lt;br /&gt;
| P53&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock (signal generated by FPGA at &amp;lt;br&amp;gt;power on to clock the configuration process)&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P54&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Gives configuration status - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P55&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P56&lt;br /&gt;
| CP2201/AD3&lt;br /&gt;
| Ethernet controller address/data bus, bit 3&lt;br /&gt;
|-&lt;br /&gt;
| P57&lt;br /&gt;
| CP2201/AD4&lt;br /&gt;
| Ethernet controller address/data bus, bit 4&lt;br /&gt;
|-&lt;br /&gt;
| P58&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P59&lt;br /&gt;
| CP2201/AD5&lt;br /&gt;
| Ethernet controller address/data bus, bit 5&lt;br /&gt;
|-&lt;br /&gt;
| P60&lt;br /&gt;
| CP2201/AD6&lt;br /&gt;
| Ethernet controller address/date bus, bit 6&lt;br /&gt;
|-&lt;br /&gt;
| P61&lt;br /&gt;
| CP2201/AD7&lt;br /&gt;
| Ethernet controller address/date bus, bit 7&lt;br /&gt;
|-&lt;br /&gt;
| P62&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P63&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P64&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P65&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P66&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P67&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P68&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P69&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P70&lt;br /&gt;
| ID3&lt;br /&gt;
| Backplane location identifier jumper, pins 3 &amp;amp; 4&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P71&lt;br /&gt;
| ID2&lt;br /&gt;
| Backplane location identifier jumper, pins 5 &amp;amp; 6&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P72&lt;br /&gt;
| ID1&lt;br /&gt;
| Backplane location identifier jumper, pins 7 &amp;amp; 8&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P73&lt;br /&gt;
| ID0&lt;br /&gt;
| Backplane location identifier jumper, pins 9 &amp;amp; 10&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P74&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P75&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P76&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P77&lt;br /&gt;
| ID4&lt;br /&gt;
| Backplane location identifier jumper, pins 1 &amp;amp; 2&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P78&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P79&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P80&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P81&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P82&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P83&lt;br /&gt;
| CLK_5MHZ_2&lt;br /&gt;
| 5 MHz clock output for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P84&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P85&lt;br /&gt;
| AD5535/DIN&lt;br /&gt;
| DAC serial data input (FPGA out -&amp;gt; DAC in)&lt;br /&gt;
|-&lt;br /&gt;
| P86&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P87&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P89&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P90&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P91&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P92&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P93&lt;br /&gt;
| AD7314/CE&lt;br /&gt;
| Chip enable for temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| P94&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P95&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P96&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P97&lt;br /&gt;
| AD7928/DOUT&lt;br /&gt;
| '''Erroneously wired ADC SPI bus connection'''&amp;lt;br&amp;gt;Connects to DOUT on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P98&lt;br /&gt;
| AD5535/RESET&lt;br /&gt;
| Reset pin for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P99&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P100&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== EEPROM ==&lt;br /&gt;
To facilitate power-on configuration of the FPGA, the control board includes a Xilinx XCF01S EEPROM. The EEPROM is located to the left of the FPGA, above the JTAG header, and has a 20 pin footprint. The EEPROM is labelled U5.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The EEPROM uses +3.3V exclusively, which it receives from the +3.3V power plane, regulated by VR1.&lt;br /&gt;
&lt;br /&gt;
=== Flashing/Burning/Writing ===&lt;br /&gt;
Whatever you call it, this refers to storing data in the EEPROM so that it can configure the FPGA at power-on. The EEPROM is programmed using a JTAG interface and the Xilinx Platform USB II cable. It is important to note that in digital board's JTAG chain, the EEPROM is the first device in the chain, unlike in the Xilinx documentation where it is shown as the second device. This should not affect the operation of the board, but should be reflected in the Xilinx software when writing the EEPROM via JTAG. &lt;br /&gt;
&lt;br /&gt;
=== FPGA Configuration ===&lt;br /&gt;
The EEPROM and FPGA are hardwired to use a master serial protocol to transfer the program from the EEPROM to the FPGA. This is the protocol recommended in the Xilinx documentation because it minimizes the number of traces necessary to run between the EEPROM and FPGA. All configuration data is sent over a single trace, FPGA/DIN (pin 1 on EEPROM), controlled by the configuration clock signal (FPGA/CCLK) which is automatically generated by the FPGA at power-on. When configuration is complete, FPGA/DONE (pin 10) is pulled high by the FPGA, and the EEPROM and configuration clock are deactivated.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data line&amp;lt;br&amp;gt;Carries data from the EEPROM to the FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock&amp;lt;br&amp;gt;Auto generated by FPGA at power-on, disabled at end of configuration&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| This is the EEPROM's TDI&amp;lt;br&amp;gt;This is the entry point for the onboard JTAG chain&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during configuration&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during configuration - can be used to intiate reconfiguration of FPGA&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Indicates completion of FPGA configuration&amp;lt;br&amp;gt;High when complete&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 12-16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| This is the EEPROM's TDO/FPGA's TDI&lt;br /&gt;
|-&lt;br /&gt;
| 18-20&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== JTAG Header ==&lt;br /&gt;
To write the FPGA's program to the EEPROM, the board employs a JTAG based programming system consistent with Xilinx's recommendations. The system is designed to operate with Xilnx's Platform USB II cable and the flying lead adapter.&lt;br /&gt;
&lt;br /&gt;
===Header Location and Size===&lt;br /&gt;
The header consists of 14 pins, 100 mil pitch, just below the EEPROM (U5). The header is labelled P1. The pitch of the pins in the header was erroneously selected to be 100 mil, which is not compatible with Xilinx's JTAG ribbon cable. Therefore, the Xilinx flying lead adapter must be used.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The JTAG interface is powered by the +3.3V power plane, not by the computer's USB port. Power is supplied through pin 2 of the JTAG header.&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
Note that the header is positioned on the board rotated 180 degrees from the position in which it is shown in the Xilinx documentation. Care must be taken when connecting the flying leads to ensure they are connected to the right pins. Connecting the flying leads to the wrong side of the header will cause all of the leads to short on the digital board's ground plane. This will certainly cause undesired operation, and may or may not cause damage. Improper wiring is most likely to cause damage if one of the flying leads is connected to an odd numbered pin. '''Note from the pinout table below that no flying lead connections should ever be made to the odd numbered pins on the JTAG header.'''&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1, 3, 5, 7, 9, 11, 13 (odd pins)&lt;br /&gt;
| DGND&lt;br /&gt;
| Ground pins for signal integrity&amp;lt;br&amp;gt;'''Never connect a flying lead to these pins'''&amp;lt;br&amp;gt;Doing so will short to ground and may cause permanent damage if the Platform USB II cable does not have protection against this.&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| +3.3V&lt;br /&gt;
| Power source for all JTAG logic&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS - connects to EEPROM and FPGA &lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK - connects to EEPROM and FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| JTAG  boundary scan chain endpoint&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| JTAG boundary scan chain start point&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| No connection&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| No connection&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===JTAG Overview===&lt;br /&gt;
The JTAG interface is clocked by the TCK signal. TCK is generated by the Platform USB II cable, and connects directly from the JTAG header to both the EEPROM and FPGA.&lt;br /&gt;
&lt;br /&gt;
The TMS signal is directly connected to both the EEPROM and FPGA, and is the data line over which JTAG test results (in this case programming results) are sent. TMS is used by only one component at a time.&lt;br /&gt;
&lt;br /&gt;
The TDI/TDO lines form a chain that connects to each JTAG component in series. On the control board, the first point in the chain is the EEPROM's TDI. Next is the EEPROM's TDO, which is the same as the FPGA's TDI. The FPGA's TDO then returns to the JTAG header and the Platform USB II cable.&lt;br /&gt;
&lt;br /&gt;
== DAC ==&lt;br /&gt;
The control board uses the Analog Devices AD5535, 32-channel, 200V max, digital to analog converter. This chip has a modified BC-124 BGA footprint and is located above the Eurocard connector at the bottom of the board. It is labelled U3.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The DAC is primarily powered by the +5V power island, regulated by an off-board power supply and extensively decoupled in the area of the DAC. The DAC also requires -5V, and a high voltage as discussed in [[#Power Requirements | Power Requirements]]. Both of these voltages are supplied by an off-board supply and decoupled near the DAC. In addition to these voltage levels, the DAC requires a precise +2.5V reference, created by the shunt-type voltage reference VR4.&lt;br /&gt;
&lt;br /&gt;
=== Setting the Output Range ===&lt;br /&gt;
The output range of the DAC is set by the 2.5V reference voltage supplied by VR4. The high voltage power supply must supply at a minimum 50 times this voltage, plus 10. Thus, the high voltage power supply should be at least 135V for DAC to operate properly, even though the SiPMs are expected to need only 40V. If it is convenient to use a lower high voltage, VR4 must be replaced to provide lower reference voltage. The high voltage may then be decreased appropriately. To summarize:&lt;br /&gt;
&lt;br /&gt;
* Max output voltage = VREF*50&lt;br /&gt;
* Minimum high voltage supply = VREF*50 + 10&lt;br /&gt;
* Acceptable range for VREF&lt;br /&gt;
** Min: 1V&lt;br /&gt;
** Max: 3.75V (AD5535 datasheet specifies 4V max, but this would require AVCC of 5.25V for the DAC, which is not possible in the current board design)&lt;br /&gt;
&lt;br /&gt;
If relevant, R13 is a 100K resistor.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Diode ===&lt;br /&gt;
The DAC has a built in thermal diode. The diode drop from anode to cathode is typically 0.65V at 25&amp;amp;deg;C. It changes at a rate of -2.20mV/&amp;amp;deg;C. The anode of this diode is connected to the +5V power island, and the cathode is connected to a 270K resistor to ground. The voltage between the cathode and the resistor is connected to VIN1 (pin 15) on the ADC.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
See documentation from Analog Devices.&lt;br /&gt;
&lt;br /&gt;
=== Channel Mapping ===&lt;br /&gt;
Due to the layout of the balls on the footprint of the DAC, the DAC's internal channel numbers (which must be referenced by the FPGA) have no correlation to the channel numbers on the amplifier board. This table summarizes the mapping between various pins that belong to each channel.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''DAC Channel #'''&lt;br /&gt;
| '''DAC Pin #'''&lt;br /&gt;
| '''Digital Board Eurocard Pin #'''&lt;br /&gt;
| '''Amplifier Board Eurocard Pin #'''&lt;br /&gt;
| '''Physical Channel #'''&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| B1&lt;br /&gt;
| B3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| A2&lt;br /&gt;
| C4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| D1&lt;br /&gt;
| B2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| C2&lt;br /&gt;
| C3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| B3&lt;br /&gt;
| B4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| E2&lt;br /&gt;
| C2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| F3&lt;br /&gt;
| B1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| A4&lt;br /&gt;
| B5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| E4&lt;br /&gt;
| C5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| B5&lt;br /&gt;
| C6&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| F5&lt;br /&gt;
| C1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| A6&lt;br /&gt;
| C7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| E6&lt;br /&gt;
| B6&lt;br /&gt;
| &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 13&lt;br /&gt;
| B7&lt;br /&gt;
| B7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| F7&lt;br /&gt;
| C10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 15&lt;br /&gt;
| E8&lt;br /&gt;
| C8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| A8&lt;br /&gt;
| B8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| B9&lt;br /&gt;
| C9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| F9&lt;br /&gt;
| C16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| E10&lt;br /&gt;
| B11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| A10&lt;br /&gt;
| B9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| B11&lt;br /&gt;
| B10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| C12&lt;br /&gt;
| B12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| D13&lt;br /&gt;
| B13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| E12&lt;br /&gt;
| B14&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| A12&lt;br /&gt;
| C11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| B13&lt;br /&gt;
| C12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| H13&lt;br /&gt;
| B16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| G14&lt;br /&gt;
| B15&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 29&lt;br /&gt;
| C14&lt;br /&gt;
| C13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 30&lt;br /&gt;
| F13&lt;br /&gt;
| C15&lt;br /&gt;
|&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 31&lt;br /&gt;
| E14&lt;br /&gt;
| C14&lt;br /&gt;
|&lt;br /&gt;
| DACHEALTH&amp;lt;br&amp;gt;See [[#Channel Descriptions | ADC Channel Descriptions]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==ADC==&lt;br /&gt;
The board includes an Analog Devices AD7928 analog to digital converter. The ADC is located just to the right and slightly below the FPGA. It is labelled U4.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The ADC is powered by the +5V power island, which is regulated by an off-board power supply and decoupled near the ADC. It also requires a precise (&amp;amp;plusmn;1%) 2.5V reference to which it compares voltages when converting from analog to digital. Since the +5V power source is not used for comparison, it is flexible and may vary by &amp;amp;plusmn;0.25V without affecting ADC precision.&lt;br /&gt;
&lt;br /&gt;
===Setting the Measuring Range===&lt;br /&gt;
The measuring range is set programmatically by the FPGA over the SPI bus. The way the ADC is connected on the digital board requires that its measuring range be set to 5V, so the RANGE bit should be set to 1 by the FPGA (see Analog Devices documentation).&lt;br /&gt;
&lt;br /&gt;
===Data Interfacing===&lt;br /&gt;
The ADC uses an SPI bus to communicate with the FPGA. This bus is shared with the temperature sensor. SPI related pins include SCLK, CS, DIN, and DOUT. See the Pinout Table below.&lt;br /&gt;
&lt;br /&gt;
===Channel Descriptions===&lt;br /&gt;
This table shows what signals are monitored by the ADC.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''ADC Channel #'''&lt;br /&gt;
| '''ADC Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| VIN0&lt;br /&gt;
| 16&lt;br /&gt;
| AD7928/VHEALTH&lt;br /&gt;
| This net helps to monitor to overall health of power on the board, but is specifically intended to monitor -5V. It's voltage is the output of a resistor divider between the +5 and -5V power supplies, with resistor values of 33.2K, and 100K. Assuming +5V and -5V are both correct, the output of the divider will be +2.51V. A reading of other than 2.51V indicates a problem with one of the power supplies. Problems with the +5V power supply can be ruled out by reading VIN3. Based on the reading from VIN3, the voltage of the -5V supply can be calculated.&lt;br /&gt;
|-&lt;br /&gt;
| VIN1&lt;br /&gt;
| 15&lt;br /&gt;
| AD5535/CATHODE&lt;br /&gt;
| This is the thermal diode output from the DAC. Should read 4.35V (typical) at 25&amp;amp;deg;C. Drops 2.20mV/&amp;amp;deg;C.&lt;br /&gt;
|-&lt;br /&gt;
| VIN2&lt;br /&gt;
| 14&lt;br /&gt;
| +3.3V&lt;br /&gt;
| This is the +3.3V power plane. A reading of other than +3.3V indicates a problem with VR1.&lt;br /&gt;
|-&lt;br /&gt;
| VIN3&lt;br /&gt;
| 13&lt;br /&gt;
| +5V&lt;br /&gt;
| This is the +5V power island. A reading of other than +5V indicates a problem with the +5V power supply.&lt;br /&gt;
|-&lt;br /&gt;
| VIN4&lt;br /&gt;
| 12&lt;br /&gt;
| ADC_EXT1&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A7. It is intended to measure the output of thermistor on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN5&lt;br /&gt;
| 11&lt;br /&gt;
| +1.2V&lt;br /&gt;
| This is the +1.2V power island. This island powers the internal logic of the FPGA. A reading of other than 1.2V indicates a problem with VR3.&lt;br /&gt;
|-&lt;br /&gt;
| VIN6&lt;br /&gt;
| 10&lt;br /&gt;
| ADC_EXT2&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A8. It is intended to measure one of the transistor base voltages on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN7&lt;br /&gt;
| 9&lt;br /&gt;
| DACHEALTH&lt;br /&gt;
| This channel monitors the output of a resistor divider connected to channel 31 of the DAC. The divider consists of three resistors of 200K, 200K, and 10.2K (in order). The ADC reads out the voltage level between the second 200K and then 10.2K resistor. These resistors were selected so that at 200V, the readout voltage will be 4.973V. Since the divider should be linear, the expected voltage at 20V is 0.4973V. Three resistors were used rather than two to avoid exceeding the resistors' power ratings when the DAC is set to its maximum voltage. Note that since this divider will consume up to 484uA of current at 200V, this DAC channel should not be used for anything that might require more than ~200uA of current (the DAC can source 700uA max). The channel is routed to the backplane nonetheless.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| SPI clock (SCLK), from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| DIN&lt;br /&gt;
| SPI data in, from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&amp;lt;br&amp;gt;''Currently wired wrong''&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| CS&lt;br /&gt;
| SPI chip select&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| AD7928/REF_IN&lt;br /&gt;
| +2.5V reference, set by VR2&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9-16&lt;br /&gt;
| VIN[7:0]&lt;br /&gt;
| See [[#Channel Descriptions | ADC Channel Descriptions]]&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| DOUT&lt;br /&gt;
| SPI data out&amp;lt;br&amp;gt;''Currently wired incorrectly''&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| +3.3V&lt;br /&gt;
| VDRIVE, powers the SPI logic&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Ethernet Controller ==&lt;br /&gt;
The board uses a Silicon Laboratories CP2201, 28-pin, ethernet controller. The CP2201 is located just above the FPGA, and is labelled U2.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The CP2201 uses only +3.3V, which is supplied by the +3.3V power plane and regulated by VR1. Appropriate decoupling capacitors can be found near the CP2201.&lt;br /&gt;
&lt;br /&gt;
=== Ethernet Jack ===&lt;br /&gt;
To the right of the CP2201 is a Pulse J0011D21NL ethernet jack, labelled J1. This jack has a built-in 1:1 inductive coupling. For best results, connect this jack to a nearby ethernet switch. The jack may also be connected directly to a computer using a crossover cable. Though auto-crossover is not supported by the CP2201, if the computer's NIC supports it, a crossover cable is not necessary to connect directly to a computer.&lt;br /&gt;
&lt;br /&gt;
=== Crystal Oscillator ===&lt;br /&gt;
The CP2201 is responsible for driving the 20MHz crystal oscillator. This oscillator clocks both the CP2201 and the FPGA. The crystal oscillator can be found above the right corner of the FPGA. It can be identified by its four surface mount pads and roughly .3&amp;quot; length. It is labelled Y1, though this label is not visible after the oscillator is soldered on. The CP2201 uses an inverting driver to excite the crystal. The output of the crystal is then sent to the CP2201 and the FPGA.&lt;br /&gt;
&lt;br /&gt;
=== Bus Format and Multiplexing ===&lt;br /&gt;
The 28-pin CP2201 used on the board only supports multiplexed operation. This means that both address and data information are passed over the same set of 8 traces. Hence, these traces are referred to as the address/data (AD) bus. A separate address line enable (ALE) trace prevents collisions from occuring on these traces. The communication protocol used is the Intel format. See the CP2201's datasheet for more information about this.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| CP2201/LA&lt;br /&gt;
| Link/activity indicator&amp;lt;br&amp;gt;Routed to backplane but not implemented&amp;lt;br&amp;gt;See CP2201 data sheet for information on how to connect to an LED&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| DGND&lt;br /&gt;
| By the data sheet, this pin should be AGND&amp;lt;br&amp;gt;We deliberately set it to DGND to avoid noise on AGND plane&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| +3.3V&lt;br /&gt;
| AV+ power pin&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| CP2201/RX-&lt;br /&gt;
| Connects to RX- on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| CP2201/RX+&lt;br /&gt;
| Connects to RX+ on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| CP2201/TX+&lt;br /&gt;
| Connects to TX+ on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| CP2201/TX-&lt;br /&gt;
| Connects to TX- on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;quot;VDD&amp;quot; power pin&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;DGND1&amp;quot; per the data sheet&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| CP2201/RESET&lt;br /&gt;
| &amp;quot;RST&amp;quot; per the data sheet&amp;lt;br&amp;gt;Connects to FPGA - should be programmatically triggered upon reset of FPGA by RESET jumper&lt;br /&gt;
|-&lt;br /&gt;
| 11-18&lt;br /&gt;
| CP2201/AD[0:7]&lt;br /&gt;
| Bits 0-7 of the address/data bus&amp;lt;br&amp;gt;Connect to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;quot;VDD&amp;quot; power pin&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;DGND2&amp;quot; per the data sheet&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| CP2201/ALE&lt;br /&gt;
| Address line enable&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| CP2201/RD&lt;br /&gt;
| Read strobe for AD bus&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| CP2201/WR&lt;br /&gt;
| Write strobe for AD bus&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| CP2201/CS&lt;br /&gt;
| Chip select&amp;lt;br&amp;gt;Connects to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| CP2201/INT&lt;br /&gt;
| Interrupt request&amp;lt;br&amp;gt;Connects to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;MOTEN&amp;quot; (Motorola enable) per the datasheet&amp;lt;br&amp;gt;Tied low to disable Motorola bus format (enable Intel format)&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| CP2201/XTAL2&lt;br /&gt;
| Crystal oscillator driver&amp;lt;br&amp;gt;The CP2201 inverts the 20MHz clock signal and feeds it back to the crystal oscillator to encourage larger oscillations&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| FPGA/CLK_IN&lt;br /&gt;
| &amp;quot;XTAL1&amp;quot; per the data sheet&amp;lt;br&amp;gt;This is the 20MHz clock input&amp;lt;br&amp;gt;Also connects to the FPGA's clock input&lt;br /&gt;
|- &lt;br /&gt;
| 29*&lt;br /&gt;
| DGND&lt;br /&gt;
| This is not a pin but rather the base of the CP2201 package.&amp;lt;br&amp;gt;It is connected to the DGND plane for thermal relief&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Eurocard Connector ==&lt;br /&gt;
At the bottom of the control board is the Eurocard connector. The Eurocard connector connects the board to the backplane and also connects the board to its power supplies. The Eurocard has 48 pins arranged in three rows of 16 pins each. Rows B and C are exclusively used to pass SiPM bias voltages to the backplane as described in [[#Channel Mapping | DAC Channel Mapping]]. Here is a table describing the purpose of pins in row A:&lt;br /&gt;
&lt;br /&gt;
=== Row A Pinout Table ===&lt;br /&gt;
Note that when viewing the top of the board with the Eurocard at the bottom, these pins go from right to left. If you look closely at the pins, you will see that pin A1 has a square pad, unlike the round pads of the others.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| A1&lt;br /&gt;
| CP2201/LA&lt;br /&gt;
| Ethernet link/activity indicator routed to backplane&lt;br /&gt;
|-&lt;br /&gt;
| A2&lt;br /&gt;
| High voltage input (+210V max)&lt;br /&gt;
| High voltage input for DAC. See [[#DAC | DAC]] for information about what voltage to input here.&lt;br /&gt;
|-&lt;br /&gt;
| A3&lt;br /&gt;
| -5V&lt;br /&gt;
| For DAC&lt;br /&gt;
|-&lt;br /&gt;
| A4&lt;br /&gt;
| +5V&lt;br /&gt;
| Powers most things on the board&lt;br /&gt;
|-&lt;br /&gt;
| A5&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A6&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| A7&lt;br /&gt;
| ADC_EXT1&lt;br /&gt;
| Connects to ADC to monitor voltages on amplifier board&amp;lt;br&amp;gt;See [[#ADC | ADC]]&lt;br /&gt;
|-&lt;br /&gt;
| A8&lt;br /&gt;
| ADC_EXT2&lt;br /&gt;
| Connects to ADC to monitor voltages on amplifier board&amp;lt;br&amp;gt;See [[#ADC | ADC]]&lt;br /&gt;
|-&lt;br /&gt;
| A9&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A10&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| A11&lt;br /&gt;
| No conneciton&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| A12&lt;br /&gt;
| ID4&lt;br /&gt;
| Location identifier bit 4&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A13&lt;br /&gt;
| ID3&lt;br /&gt;
| Location identifier bit 3&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A14&lt;br /&gt;
| ID2&lt;br /&gt;
| Location identifier bit 2&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A15&lt;br /&gt;
| ID1&lt;br /&gt;
| Location identifier bit 1&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|-&lt;br /&gt;
| A16&lt;br /&gt;
| ID0&lt;br /&gt;
| Location identifier bit 0&amp;lt;br&amp;gt;Used to identify which backplane board is connected to&amp;lt;br&amp;gt;See [[#FPGA | FPGA]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4370</id>
		<title>Digital control board documentation</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4370"/>
		<updated>2009-06-16T18:47:16Z</updated>

		<summary type="html">&lt;p&gt;Underwood: eurocard start&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This documentation covers the most important things to know while testing the digital control board, including component pinouts, nets, and other information.&lt;br /&gt;
&lt;br /&gt;
== Power Requirements ==&lt;br /&gt;
=== Required Voltages ===&lt;br /&gt;
All components on the digital board '''except the DAC''' can be tested using only a +5V source. The DAC requires +5V, -5V, and a high voltage corresponding to 10V higher than the maximum desired DAC output voltage (see [[#Setting the Output Range | Setting the Output Range]]). Digital and analog grounds must be connected as well before any testing takes place.&lt;br /&gt;
&lt;br /&gt;
=== Power Pins ===&lt;br /&gt;
Power shall be connected to the board as follows:&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Voltage'''&lt;br /&gt;
| '''Eurocard Pin'''&lt;br /&gt;
|-&lt;br /&gt;
| DGND &lt;br /&gt;
| A6&lt;br /&gt;
|-&lt;br /&gt;
| AGND &lt;br /&gt;
| A5&lt;br /&gt;
|-&lt;br /&gt;
| +5V &lt;br /&gt;
| A4&lt;br /&gt;
|-&lt;br /&gt;
| -5V &lt;br /&gt;
| A3&lt;br /&gt;
|-&lt;br /&gt;
| High voltage&amp;lt;br&amp;gt;(DAC max out +10)&lt;br /&gt;
| A2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Power Supply Sequencing ===&lt;br /&gt;
The control board is designed such that voltages may be supplied in any order so long as AGND and DGND are connected properly.  However, for initial testing, the preferred order for powering up the board is as follows:&lt;br /&gt;
&lt;br /&gt;
# Ensure AGND/DGND are connected/grounded&lt;br /&gt;
# +5V&lt;br /&gt;
# -5V&lt;br /&gt;
# High voltage&lt;br /&gt;
&lt;br /&gt;
== FPGA ==&lt;br /&gt;
The control board uses a Xilinx XC3S50A VQ100 FPGA. It has a 100 pin footprint and is located in the center of the control board.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The FPGA is powered by the 3.3V power plane, which is regulated by VR1. The FPGA also obtains 1.2V for its internal logic from a 1.2V power island, regulated by VR3.&lt;br /&gt;
&lt;br /&gt;
=== Logic Standard ===&lt;br /&gt;
The Xilinx XC3S50A supports several different digital logic standards. The control board is hard wired such that the FPGA will use a '''3.3V CMOS''' logic standard.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| P1&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P2&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P3&lt;br /&gt;
| AD7928/CS&lt;br /&gt;
| SPI chip select for ADC&lt;br /&gt;
|-&lt;br /&gt;
| P4&lt;br /&gt;
| SPI&lt;br /&gt;
| '''Erroneously wired SPI bus trace'''&amp;lt;br&amp;gt;Connects to SDO on temp. sensor and DIN on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P5&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| 5 MHz clock output for SPI bus (ADC and temp. sensor)&lt;br /&gt;
|-&lt;br /&gt;
| P6&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P7&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P8&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P9&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P10&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P11&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P12&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P13&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P14&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P15&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P17&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P18&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P19&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P20&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P21&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P22&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P23&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P24&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P25&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P26&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| P27&lt;br /&gt;
| FPGA/CLK_IN&lt;br /&gt;
| 20 MHz clock input from crystal oscillator&lt;br /&gt;
|-&lt;br /&gt;
| P28&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P29&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P30&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P31&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P32&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P33&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P34&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P35&lt;br /&gt;
| CP2201/INT&lt;br /&gt;
| Ethernet controller interrupt&lt;br /&gt;
|-&lt;br /&gt;
| P36&lt;br /&gt;
| MASTER_RESET&lt;br /&gt;
| Connects to RESET jumper in upper left of board (active-low, externally pulled up)&lt;br /&gt;
|-&lt;br /&gt;
| P37&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P38&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P39&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P40&lt;br /&gt;
| CP2201/CS&lt;br /&gt;
| Chip select for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P41&lt;br /&gt;
| CP2201/WR&lt;br /&gt;
| Write enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P42&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P43&lt;br /&gt;
| CP2201/RD&lt;br /&gt;
| Read enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P44&lt;br /&gt;
| CP2201/ALE&lt;br /&gt;
| Address line enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P45&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P46&lt;br /&gt;
| CP2201/RESET&lt;br /&gt;
| Reset pin for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P47&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P48&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P49&lt;br /&gt;
| CP2201/AD0&lt;br /&gt;
| Ethernet controller address/data bus, bit 0&lt;br /&gt;
|-&lt;br /&gt;
| P50&lt;br /&gt;
| CP2201/AD1&lt;br /&gt;
| Ethernet controller address/data bus, bit 1&lt;br /&gt;
|-&lt;br /&gt;
| P51&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data input from EEPROM for configuration&lt;br /&gt;
|-&lt;br /&gt;
| P52&lt;br /&gt;
| CP2201/AD2&lt;br /&gt;
| Ethernet controller address/data bus, bit 2&lt;br /&gt;
|-&lt;br /&gt;
| P53&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock (signal generated by FPGA at &amp;lt;br&amp;gt;power on to clock the configuration process)&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P54&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Gives configuration status - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P55&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P56&lt;br /&gt;
| CP2201/AD3&lt;br /&gt;
| Ethernet controller address/data bus, bit 3&lt;br /&gt;
|-&lt;br /&gt;
| P57&lt;br /&gt;
| CP2201/AD4&lt;br /&gt;
| Ethernet controller address/data bus, bit 4&lt;br /&gt;
|-&lt;br /&gt;
| P58&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P59&lt;br /&gt;
| CP2201/AD5&lt;br /&gt;
| Ethernet controller address/data bus, bit 5&lt;br /&gt;
|-&lt;br /&gt;
| P60&lt;br /&gt;
| CP2201/AD6&lt;br /&gt;
| Ethernet controller address/date bus, bit 6&lt;br /&gt;
|-&lt;br /&gt;
| P61&lt;br /&gt;
| CP2201/AD7&lt;br /&gt;
| Ethernet controller address/date bus, bit 7&lt;br /&gt;
|-&lt;br /&gt;
| P62&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P63&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P64&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P65&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P66&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P67&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P68&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P69&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P70&lt;br /&gt;
| ID3&lt;br /&gt;
| Backplane location identifier jumper, pins 3 &amp;amp; 4&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P71&lt;br /&gt;
| ID2&lt;br /&gt;
| Backplane location identifier jumper, pins 5 &amp;amp; 6&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P72&lt;br /&gt;
| ID1&lt;br /&gt;
| Backplane location identifier jumper, pins 7 &amp;amp; 8&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P73&lt;br /&gt;
| ID0&lt;br /&gt;
| Backplane location identifier jumper, pins 9 &amp;amp; 10&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P74&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P75&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P76&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P77&lt;br /&gt;
| ID4&lt;br /&gt;
| Backplane location identifier jumper, pins 1 &amp;amp; 2&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P78&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P79&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P80&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P81&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P82&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P83&lt;br /&gt;
| CLK_5MHZ_2&lt;br /&gt;
| 5 MHz clock output for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P84&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P85&lt;br /&gt;
| AD5535/DIN&lt;br /&gt;
| DAC serial data input (FPGA out -&amp;gt; DAC in)&lt;br /&gt;
|-&lt;br /&gt;
| P86&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P87&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P89&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P90&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P91&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P92&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P93&lt;br /&gt;
| AD7314/CE&lt;br /&gt;
| Chip enable for temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| P94&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P95&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P96&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P97&lt;br /&gt;
| AD7928/DOUT&lt;br /&gt;
| '''Erroneously wired ADC SPI bus connection'''&amp;lt;br&amp;gt;Connects to DOUT on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P98&lt;br /&gt;
| AD5535/RESET&lt;br /&gt;
| Reset pin for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P99&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P100&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== EEPROM ==&lt;br /&gt;
To facilitate power-on configuration of the FPGA, the control board includes a Xilinx XCF01S EEPROM. The EEPROM is located to the left of the FPGA, above the JTAG header, and has a 20 pin footprint. The EEPROM is labelled U5.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The EEPROM uses +3.3V exclusively, which it receives from the +3.3V power plane, regulated by VR1.&lt;br /&gt;
&lt;br /&gt;
=== Flashing/Burning/Writing ===&lt;br /&gt;
Whatever you call it, this refers to storing data in the EEPROM so that it can configure the FPGA at power-on. The EEPROM is programmed using a JTAG interface and the Xilinx Platform USB II cable. It is important to note that in digital board's JTAG chain, the EEPROM is the first device in the chain, unlike in the Xilinx documentation where it is shown as the second device. This should not affect the operation of the board, but should be reflected in the Xilinx software when writing the EEPROM via JTAG. &lt;br /&gt;
&lt;br /&gt;
=== FPGA Configuration ===&lt;br /&gt;
The EEPROM and FPGA are hardwired to use a master serial protocol to transfer the program from the EEPROM to the FPGA. This is the protocol recommended in the Xilinx documentation because it minimizes the number of traces necessary to run between the EEPROM and FPGA. All configuration data is sent over a single trace, FPGA/DIN (pin 1 on EEPROM), controlled by the configuration clock signal (FPGA/CCLK) which is automatically generated by the FPGA at power-on. When configuration is complete, FPGA/DONE (pin 10) is pulled high by the FPGA, and the EEPROM and configuration clock are deactivated.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data line&amp;lt;br&amp;gt;Carries data from the EEPROM to the FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock&amp;lt;br&amp;gt;Auto generated by FPGA at power-on, disabled at end of configuration&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| This is the EEPROM's TDI&amp;lt;br&amp;gt;This is the entry point for the onboard JTAG chain&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during configuration&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during configuration - can be used to intiate reconfiguration of FPGA&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Indicates completion of FPGA configuration&amp;lt;br&amp;gt;High when complete&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 12-16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| This is the EEPROM's TDO/FPGA's TDI&lt;br /&gt;
|-&lt;br /&gt;
| 18-20&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== JTAG Header ==&lt;br /&gt;
To write the FPGA's program to the EEPROM, the board employs a JTAG based programming system consistent with Xilinx's recommendations. The system is designed to operate with Xilnx's Platform USB II cable and the flying lead adapter.&lt;br /&gt;
&lt;br /&gt;
===Header Location and Size===&lt;br /&gt;
The header consists of 14 pins, 100 mil pitch, just below the EEPROM (U5). The header is labelled P1. The pitch of the pins in the header was erroneously selected to be 100 mil, which is not compatible with Xilinx's JTAG ribbon cable. Therefore, the Xilinx flying lead adapter must be used.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The JTAG interface is powered by the +3.3V power plane, not by the computer's USB port. Power is supplied through pin 2 of the JTAG header.&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
Note that the header is positioned on the board rotated 180 degrees from the position in which it is shown in the Xilinx documentation. Care must be taken when connecting the flying leads to ensure they are connected to the right pins. Connecting the flying leads to the wrong side of the header will cause all of the leads to short on the digital board's ground plane. This will certainly cause undesired operation, and may or may not cause damage. Improper wiring is most likely to cause damage if one of the flying leads is connected to an odd numbered pin. '''Note from the pinout table below that no flying lead connections should ever be made to the odd numbered pins on the JTAG header.'''&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1, 3, 5, 7, 9, 11, 13 (odd pins)&lt;br /&gt;
| DGND&lt;br /&gt;
| Ground pins for signal integrity&amp;lt;br&amp;gt;'''Never connect a flying lead to these pins'''&amp;lt;br&amp;gt;Doing so will short to ground and may cause permanent damage if the Platform USB II cable does not have protection against this.&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| +3.3V&lt;br /&gt;
| Power source for all JTAG logic&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS - connects to EEPROM and FPGA &lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK - connects to EEPROM and FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| JTAG  boundary scan chain endpoint&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| JTAG boundary scan chain start point&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| No connection&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| No connection&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===JTAG Overview===&lt;br /&gt;
The JTAG interface is clocked by the TCK signal. TCK is generated by the Platform USB II cable, and connects directly from the JTAG header to both the EEPROM and FPGA.&lt;br /&gt;
&lt;br /&gt;
The TMS signal is directly connected to both the EEPROM and FPGA, and is the data line over which JTAG test results (in this case programming results) are sent. TMS is used by only one component at a time.&lt;br /&gt;
&lt;br /&gt;
The TDI/TDO lines form a chain that connects to each JTAG component in series. On the control board, the first point in the chain is the EEPROM's TDI. Next is the EEPROM's TDO, which is the same as the FPGA's TDI. The FPGA's TDO then returns to the JTAG header and the Platform USB II cable.&lt;br /&gt;
&lt;br /&gt;
== DAC ==&lt;br /&gt;
The control board uses the Analog Devices AD5535, 32-channel, 200V max, digital to analog converter. This chip has a modified BC-124 BGA footprint and is located above the Eurocard connector at the bottom of the board. It is labelled U3.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The DAC is primarily powered by the +5V power island, regulated by an off-board power supply and extensively decoupled in the area of the DAC. The DAC also requires -5V, and a high voltage as discussed in [[#Power Requirements | Power Requirements]]. Both of these voltages are supplied by an off-board supply and decoupled near the DAC. In addition to these voltage levels, the DAC requires a precise +2.5V reference, created by the shunt-type voltage reference VR4.&lt;br /&gt;
&lt;br /&gt;
=== Setting the Output Range ===&lt;br /&gt;
The output range of the DAC is set by the 2.5V reference voltage supplied by VR4. The high voltage power supply must supply at a minimum 50 times this voltage, plus 10. Thus, the high voltage power supply should be at least 135V for DAC to operate properly, even though the SiPMs are expected to need only 40V. If it is convenient to use a lower high voltage, VR4 must be replaced to provide lower reference voltage. The high voltage may then be decreased appropriately. To summarize:&lt;br /&gt;
&lt;br /&gt;
* Max output voltage = VREF*50&lt;br /&gt;
* Minimum high voltage supply = VREF*50 + 10&lt;br /&gt;
* Acceptable range for VREF&lt;br /&gt;
** Min: 1V&lt;br /&gt;
** Max: 3.75V (AD5535 datasheet specifies 4V max, but this would require AVCC of 5.25V for the DAC, which is not possible in the current board design)&lt;br /&gt;
&lt;br /&gt;
If relevant, R13 is a 100K resistor.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Diode ===&lt;br /&gt;
The DAC has a built in thermal diode. The diode drop from anode to cathode is typically 0.65V at 25&amp;amp;deg;C. It changes at a rate of -2.20mV/&amp;amp;deg;C. The anode of this diode is connected to the +5V power island, and the cathode is connected to a 270K resistor to ground. The voltage between the cathode and the resistor is connected to VIN1 (pin 15) on the ADC.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
See documentation from Analog Devices.&lt;br /&gt;
&lt;br /&gt;
=== Channel Mapping ===&lt;br /&gt;
Due to the layout of the balls on the footprint of the DAC, the DAC's internal channel numbers (which must be referenced by the FPGA) have no correlation to the channel numbers on the amplifier board. This table summarizes the mapping between various pins that belong to each channel.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''DAC Channel #'''&lt;br /&gt;
| '''DAC Pin #'''&lt;br /&gt;
| '''Digital Board Eurocard Pin #'''&lt;br /&gt;
| '''Amplifier Board Eurocard Pin #'''&lt;br /&gt;
| '''Physical Channel #'''&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| B1&lt;br /&gt;
| B3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| A2&lt;br /&gt;
| C4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| D1&lt;br /&gt;
| B2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| C2&lt;br /&gt;
| C3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| B3&lt;br /&gt;
| B4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| E2&lt;br /&gt;
| C2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| F3&lt;br /&gt;
| B1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| A4&lt;br /&gt;
| B5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| E4&lt;br /&gt;
| C5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| B5&lt;br /&gt;
| C6&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| F5&lt;br /&gt;
| C1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| A6&lt;br /&gt;
| C7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| E6&lt;br /&gt;
| B6&lt;br /&gt;
| &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 13&lt;br /&gt;
| B7&lt;br /&gt;
| B7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| F7&lt;br /&gt;
| C10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 15&lt;br /&gt;
| E8&lt;br /&gt;
| C8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| A8&lt;br /&gt;
| B8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| B9&lt;br /&gt;
| C9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| F9&lt;br /&gt;
| C16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| E10&lt;br /&gt;
| B11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| A10&lt;br /&gt;
| B9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| B11&lt;br /&gt;
| B10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| C12&lt;br /&gt;
| B12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| D13&lt;br /&gt;
| B13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| E12&lt;br /&gt;
| B14&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| A12&lt;br /&gt;
| C11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| B13&lt;br /&gt;
| C12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| H13&lt;br /&gt;
| B16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| G14&lt;br /&gt;
| B15&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 29&lt;br /&gt;
| C14&lt;br /&gt;
| C13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 30&lt;br /&gt;
| F13&lt;br /&gt;
| C15&lt;br /&gt;
|&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 31&lt;br /&gt;
| E14&lt;br /&gt;
| C14&lt;br /&gt;
|&lt;br /&gt;
| DACHEALTH&amp;lt;br&amp;gt;See [[#Channel Descriptions | ADC Channel Descriptions]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==ADC==&lt;br /&gt;
The board includes an Analog Devices AD7928 analog to digital converter. The ADC is located just to the right and slightly below the FPGA. It is labelled U4.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The ADC is powered by the +5V power island, which is regulated by an off-board power supply and decoupled near the ADC. It also requires a precise (&amp;amp;plusmn;1%) 2.5V reference to which it compares voltages when converting from analog to digital. Since the +5V power source is not used for comparison, it is flexible and may vary by &amp;amp;plusmn;0.25V without affecting ADC precision.&lt;br /&gt;
&lt;br /&gt;
===Setting the Measuring Range===&lt;br /&gt;
The measuring range is set programmatically by the FPGA over the SPI bus. The way the ADC is connected on the digital board requires that its measuring range be set to 5V, so the RANGE bit should be set to 1 by the FPGA (see Analog Devices documentation).&lt;br /&gt;
&lt;br /&gt;
===Data Interfacing===&lt;br /&gt;
The ADC uses an SPI bus to communicate with the FPGA. This bus is shared with the temperature sensor. SPI related pins include SCLK, CS, DIN, and DOUT. See the Pinout Table below.&lt;br /&gt;
&lt;br /&gt;
===Channel Descriptions===&lt;br /&gt;
This table shows what signals are monitored by the ADC.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''ADC Channel #'''&lt;br /&gt;
| '''ADC Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| VIN0&lt;br /&gt;
| 16&lt;br /&gt;
| AD7928/VHEALTH&lt;br /&gt;
| This net helps to monitor to overall health of power on the board, but is specifically intended to monitor -5V. It's voltage is the output of a resistor divider between the +5 and -5V power supplies, with resistor values of 33.2K, and 100K. Assuming +5V and -5V are both correct, the output of the divider will be +2.51V. A reading of other than 2.51V indicates a problem with one of the power supplies. Problems with the +5V power supply can be ruled out by reading VIN3. Based on the reading from VIN3, the voltage of the -5V supply can be calculated.&lt;br /&gt;
|-&lt;br /&gt;
| VIN1&lt;br /&gt;
| 15&lt;br /&gt;
| AD5535/CATHODE&lt;br /&gt;
| This is the thermal diode output from the DAC. Should read 4.35V (typical) at 25&amp;amp;deg;C. Drops 2.20mV/&amp;amp;deg;C.&lt;br /&gt;
|-&lt;br /&gt;
| VIN2&lt;br /&gt;
| 14&lt;br /&gt;
| +3.3V&lt;br /&gt;
| This is the +3.3V power plane. A reading of other than +3.3V indicates a problem with VR1.&lt;br /&gt;
|-&lt;br /&gt;
| VIN3&lt;br /&gt;
| 13&lt;br /&gt;
| +5V&lt;br /&gt;
| This is the +5V power island. A reading of other than +5V indicates a problem with the +5V power supply.&lt;br /&gt;
|-&lt;br /&gt;
| VIN4&lt;br /&gt;
| 12&lt;br /&gt;
| ADC_EXT1&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A7. It is intended to measure the output of thermistor on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN5&lt;br /&gt;
| 11&lt;br /&gt;
| +1.2V&lt;br /&gt;
| This is the +1.2V power island. This island powers the internal logic of the FPGA. A reading of other than 1.2V indicates a problem with VR3.&lt;br /&gt;
|-&lt;br /&gt;
| VIN6&lt;br /&gt;
| 10&lt;br /&gt;
| ADC_EXT2&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A8. It is intended to measure one of the transistor base voltages on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN7&lt;br /&gt;
| 9&lt;br /&gt;
| DACHEALTH&lt;br /&gt;
| This channel monitors the output of a resistor divider connected to channel 31 of the DAC. The divider consists of three resistors of 200K, 200K, and 10.2K (in order). The ADC reads out the voltage level between the second 200K and then 10.2K resistor. These resistors were selected so that at 200V, the readout voltage will be 4.973V. Since the divider should be linear, the expected voltage at 20V is 0.4973V. Three resistors were used rather than two to avoid exceeding the resistors' power ratings when the DAC is set to its maximum voltage. Note that since this divider will consume up to 484uA of current at 200V, this DAC channel should not be used for anything that might require more than ~200uA of current (the DAC can source 700uA max). The channel is routed to the backplane nonetheless.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| SPI clock (SCLK), from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| DIN&lt;br /&gt;
| SPI data in, from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&amp;lt;br&amp;gt;''Currently wired wrong''&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| CS&lt;br /&gt;
| SPI chip select&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| AD7928/REF_IN&lt;br /&gt;
| +2.5V reference, set by VR2&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9-16&lt;br /&gt;
| VIN[7:0]&lt;br /&gt;
| See [[#Channel Descriptions | ADC Channel Descriptions]]&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| DOUT&lt;br /&gt;
| SPI data out&amp;lt;br&amp;gt;''Currently wired incorrectly''&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| +3.3V&lt;br /&gt;
| VDRIVE, powers the SPI logic&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Ethernet Controller ==&lt;br /&gt;
The board uses a Silicon Laboratories CP2201, 28-pin, ethernet controller. The CP2201 is located just above the FPGA, and is labelled U2.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The CP2201 uses only +3.3V, which is supplied by the +3.3V power plane and regulated by VR1. Appropriate decoupling capacitors can be found near the CP2201.&lt;br /&gt;
&lt;br /&gt;
=== Ethernet Jack ===&lt;br /&gt;
To the right of the CP2201 is a Pulse J0011D21NL ethernet jack, labelled J1. This jack has a built-in 1:1 inductive coupling. For best results, connect this jack to a nearby ethernet switch. The jack may also be connected directly to a computer using a crossover cable. Though auto-crossover is not supported by the CP2201, if the computer's NIC supports it, a crossover cable is not necessary to connect directly to a computer.&lt;br /&gt;
&lt;br /&gt;
=== Crystal Oscillator ===&lt;br /&gt;
The CP2201 is responsible for driving the 20MHz crystal oscillator. This oscillator clocks both the CP2201 and the FPGA. The crystal oscillator can be found above the right corner of the FPGA. It can be identified by its four surface mount pads and roughly .3&amp;quot; length. It is labelled Y1, though this label is not visible after the oscillator is soldered on. The CP2201 uses an inverting driver to excite the crystal. The output of the crystal is then sent to the CP2201 and the FPGA.&lt;br /&gt;
&lt;br /&gt;
=== Bus Format and Multiplexing ===&lt;br /&gt;
The 28-pin CP2201 used on the board only supports multiplexed operation. This means that both address and data information are passed over the same set of 8 traces. Hence, these traces are referred to as the address/data (AD) bus. A separate address line enable (ALE) trace prevents collisions from occuring on these traces. The communication protocol used is the Intel format. See the CP2201's datasheet for more information about this.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| CP2201/LA&lt;br /&gt;
| Link/activity indicator&amp;lt;br&amp;gt;Routed to backplane but not implemented&amp;lt;br&amp;gt;See CP2201 data sheet for information on how to connect to an LED&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| DGND&lt;br /&gt;
| By the data sheet, this pin should be AGND&amp;lt;br&amp;gt;We deliberately set it to DGND to avoid noise on AGND plane&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| +3.3V&lt;br /&gt;
| AV+ power pin&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| CP2201/RX-&lt;br /&gt;
| Connects to RX- on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| CP2201/RX+&lt;br /&gt;
| Connects to RX+ on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| CP2201/TX+&lt;br /&gt;
| Connects to TX+ on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| CP2201/TX-&lt;br /&gt;
| Connects to TX- on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;quot;VDD&amp;quot; power pin&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;DGND1&amp;quot; per the data sheet&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| CP2201/RESET&lt;br /&gt;
| &amp;quot;RST&amp;quot; per the data sheet&amp;lt;br&amp;gt;Connects to FPGA - should be programmatically triggered upon reset of FPGA by RESET jumper&lt;br /&gt;
|-&lt;br /&gt;
| 11-18&lt;br /&gt;
| CP2201/AD[0:7]&lt;br /&gt;
| Bits 0-7 of the address/data bus&amp;lt;br&amp;gt;Connect to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;quot;VDD&amp;quot; power pin&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;DGND2&amp;quot; per the data sheet&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| CP2201/ALE&lt;br /&gt;
| Address line enable&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| CP2201/RD&lt;br /&gt;
| Read strobe for AD bus&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| CP2201/WR&lt;br /&gt;
| Write strobe for AD bus&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| CP2201/CS&lt;br /&gt;
| Chip select&amp;lt;br&amp;gt;Connects to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| CP2201/INT&lt;br /&gt;
| Interrupt request&amp;lt;br&amp;gt;Connects to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;MOTEN&amp;quot; (Motorola enable) per the datasheet&amp;lt;br&amp;gt;Tied low to disable Motorola bus format (enable Intel format)&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| CP2201/XTAL2&lt;br /&gt;
| Crystal oscillator driver&amp;lt;br&amp;gt;The CP2201 inverts the 20MHz clock signal and feeds it back to the crystal oscillator to encourage larger oscillations&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| FPGA/CLK_IN&lt;br /&gt;
| &amp;quot;XTAL1&amp;quot; per the data sheet&amp;lt;br&amp;gt;This is the 20MHz clock input&amp;lt;br&amp;gt;Also connects to the FPGA's clock input&lt;br /&gt;
|- &lt;br /&gt;
| 29*&lt;br /&gt;
| DGND&lt;br /&gt;
| This is not a pin but rather the base of the CP2201 package.&amp;lt;br&amp;gt;It is connected to the DGND plane for thermal relief&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Eurocard Connector ==&lt;br /&gt;
At the bottom of the control board is the Eurocard connector. The Eurocard connector connects the board to the backplane and also connects the board to its power supplies. The Eurocard has 48 pins arranged in three rows of 16 pins each. Rows B and C are exclusively used to pass SiPM bias voltages to the backplane as described in&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4369</id>
		<title>Digital control board documentation</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4369"/>
		<updated>2009-06-16T18:36:50Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* Bus Format and Multiplexing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This documentation covers the most important things to know while testing the digital control board, including component pinouts, nets, and other information.&lt;br /&gt;
&lt;br /&gt;
== Power Requirements ==&lt;br /&gt;
=== Required Voltages ===&lt;br /&gt;
All components on the digital board '''except the DAC''' can be tested using only a +5V source. The DAC requires +5V, -5V, and a high voltage corresponding to 10V higher than the maximum desired DAC output voltage (see [[#Setting the Output Range | Setting the Output Range]]). Digital and analog grounds must be connected as well before any testing takes place.&lt;br /&gt;
&lt;br /&gt;
=== Power Pins ===&lt;br /&gt;
Power shall be connected to the board as follows:&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Voltage'''&lt;br /&gt;
| '''Eurocard Pin'''&lt;br /&gt;
|-&lt;br /&gt;
| DGND &lt;br /&gt;
| A6&lt;br /&gt;
|-&lt;br /&gt;
| AGND &lt;br /&gt;
| A5&lt;br /&gt;
|-&lt;br /&gt;
| +5V &lt;br /&gt;
| A4&lt;br /&gt;
|-&lt;br /&gt;
| -5V &lt;br /&gt;
| A3&lt;br /&gt;
|-&lt;br /&gt;
| High voltage&amp;lt;br&amp;gt;(DAC max out +10)&lt;br /&gt;
| A2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Power Supply Sequencing ===&lt;br /&gt;
The control board is designed such that voltages may be supplied in any order so long as AGND and DGND are connected properly.  However, for initial testing, the preferred order for powering up the board is as follows:&lt;br /&gt;
&lt;br /&gt;
# Ensure AGND/DGND are connected/grounded&lt;br /&gt;
# +5V&lt;br /&gt;
# -5V&lt;br /&gt;
# High voltage&lt;br /&gt;
&lt;br /&gt;
== FPGA ==&lt;br /&gt;
The control board uses a Xilinx XC3S50A VQ100 FPGA. It has a 100 pin footprint and is located in the center of the control board.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The FPGA is powered by the 3.3V power plane, which is regulated by VR1. The FPGA also obtains 1.2V for its internal logic from a 1.2V power island, regulated by VR3.&lt;br /&gt;
&lt;br /&gt;
=== Logic Standard ===&lt;br /&gt;
The Xilinx XC3S50A supports several different digital logic standards. The control board is hard wired such that the FPGA will use a '''3.3V CMOS''' logic standard.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| P1&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P2&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P3&lt;br /&gt;
| AD7928/CS&lt;br /&gt;
| SPI chip select for ADC&lt;br /&gt;
|-&lt;br /&gt;
| P4&lt;br /&gt;
| SPI&lt;br /&gt;
| '''Erroneously wired SPI bus trace'''&amp;lt;br&amp;gt;Connects to SDO on temp. sensor and DIN on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P5&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| 5 MHz clock output for SPI bus (ADC and temp. sensor)&lt;br /&gt;
|-&lt;br /&gt;
| P6&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P7&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P8&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P9&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P10&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P11&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P12&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P13&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P14&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P15&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P17&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P18&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P19&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P20&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P21&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P22&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P23&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P24&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P25&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P26&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| P27&lt;br /&gt;
| FPGA/CLK_IN&lt;br /&gt;
| 20 MHz clock input from crystal oscillator&lt;br /&gt;
|-&lt;br /&gt;
| P28&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P29&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P30&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P31&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P32&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P33&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P34&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P35&lt;br /&gt;
| CP2201/INT&lt;br /&gt;
| Ethernet controller interrupt&lt;br /&gt;
|-&lt;br /&gt;
| P36&lt;br /&gt;
| MASTER_RESET&lt;br /&gt;
| Connects to RESET jumper in upper left of board (active-low, externally pulled up)&lt;br /&gt;
|-&lt;br /&gt;
| P37&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P38&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P39&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P40&lt;br /&gt;
| CP2201/CS&lt;br /&gt;
| Chip select for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P41&lt;br /&gt;
| CP2201/WR&lt;br /&gt;
| Write enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P42&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P43&lt;br /&gt;
| CP2201/RD&lt;br /&gt;
| Read enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P44&lt;br /&gt;
| CP2201/ALE&lt;br /&gt;
| Address line enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P45&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P46&lt;br /&gt;
| CP2201/RESET&lt;br /&gt;
| Reset pin for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P47&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P48&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P49&lt;br /&gt;
| CP2201/AD0&lt;br /&gt;
| Ethernet controller address/data bus, bit 0&lt;br /&gt;
|-&lt;br /&gt;
| P50&lt;br /&gt;
| CP2201/AD1&lt;br /&gt;
| Ethernet controller address/data bus, bit 1&lt;br /&gt;
|-&lt;br /&gt;
| P51&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data input from EEPROM for configuration&lt;br /&gt;
|-&lt;br /&gt;
| P52&lt;br /&gt;
| CP2201/AD2&lt;br /&gt;
| Ethernet controller address/data bus, bit 2&lt;br /&gt;
|-&lt;br /&gt;
| P53&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock (signal generated by FPGA at &amp;lt;br&amp;gt;power on to clock the configuration process)&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P54&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Gives configuration status - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P55&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P56&lt;br /&gt;
| CP2201/AD3&lt;br /&gt;
| Ethernet controller address/data bus, bit 3&lt;br /&gt;
|-&lt;br /&gt;
| P57&lt;br /&gt;
| CP2201/AD4&lt;br /&gt;
| Ethernet controller address/data bus, bit 4&lt;br /&gt;
|-&lt;br /&gt;
| P58&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P59&lt;br /&gt;
| CP2201/AD5&lt;br /&gt;
| Ethernet controller address/data bus, bit 5&lt;br /&gt;
|-&lt;br /&gt;
| P60&lt;br /&gt;
| CP2201/AD6&lt;br /&gt;
| Ethernet controller address/date bus, bit 6&lt;br /&gt;
|-&lt;br /&gt;
| P61&lt;br /&gt;
| CP2201/AD7&lt;br /&gt;
| Ethernet controller address/date bus, bit 7&lt;br /&gt;
|-&lt;br /&gt;
| P62&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P63&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P64&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P65&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P66&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P67&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P68&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P69&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P70&lt;br /&gt;
| ID3&lt;br /&gt;
| Backplane location identifier jumper, pins 3 &amp;amp; 4&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P71&lt;br /&gt;
| ID2&lt;br /&gt;
| Backplane location identifier jumper, pins 5 &amp;amp; 6&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P72&lt;br /&gt;
| ID1&lt;br /&gt;
| Backplane location identifier jumper, pins 7 &amp;amp; 8&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P73&lt;br /&gt;
| ID0&lt;br /&gt;
| Backplane location identifier jumper, pins 9 &amp;amp; 10&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P74&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P75&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P76&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P77&lt;br /&gt;
| ID4&lt;br /&gt;
| Backplane location identifier jumper, pins 1 &amp;amp; 2&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P78&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P79&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P80&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P81&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P82&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P83&lt;br /&gt;
| CLK_5MHZ_2&lt;br /&gt;
| 5 MHz clock output for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P84&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P85&lt;br /&gt;
| AD5535/DIN&lt;br /&gt;
| DAC serial data input (FPGA out -&amp;gt; DAC in)&lt;br /&gt;
|-&lt;br /&gt;
| P86&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P87&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P89&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P90&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P91&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P92&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P93&lt;br /&gt;
| AD7314/CE&lt;br /&gt;
| Chip enable for temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| P94&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P95&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P96&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P97&lt;br /&gt;
| AD7928/DOUT&lt;br /&gt;
| '''Erroneously wired ADC SPI bus connection'''&amp;lt;br&amp;gt;Connects to DOUT on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P98&lt;br /&gt;
| AD5535/RESET&lt;br /&gt;
| Reset pin for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P99&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P100&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== EEPROM ==&lt;br /&gt;
To facilitate power-on configuration of the FPGA, the control board includes a Xilinx XCF01S EEPROM. The EEPROM is located to the left of the FPGA, above the JTAG header, and has a 20 pin footprint. The EEPROM is labelled U5.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The EEPROM uses +3.3V exclusively, which it receives from the +3.3V power plane, regulated by VR1.&lt;br /&gt;
&lt;br /&gt;
=== Flashing/Burning/Writing ===&lt;br /&gt;
Whatever you call it, this refers to storing data in the EEPROM so that it can configure the FPGA at power-on. The EEPROM is programmed using a JTAG interface and the Xilinx Platform USB II cable. It is important to note that in digital board's JTAG chain, the EEPROM is the first device in the chain, unlike in the Xilinx documentation where it is shown as the second device. This should not affect the operation of the board, but should be reflected in the Xilinx software when writing the EEPROM via JTAG. &lt;br /&gt;
&lt;br /&gt;
=== FPGA Configuration ===&lt;br /&gt;
The EEPROM and FPGA are hardwired to use a master serial protocol to transfer the program from the EEPROM to the FPGA. This is the protocol recommended in the Xilinx documentation because it minimizes the number of traces necessary to run between the EEPROM and FPGA. All configuration data is sent over a single trace, FPGA/DIN (pin 1 on EEPROM), controlled by the configuration clock signal (FPGA/CCLK) which is automatically generated by the FPGA at power-on. When configuration is complete, FPGA/DONE (pin 10) is pulled high by the FPGA, and the EEPROM and configuration clock are deactivated.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data line&amp;lt;br&amp;gt;Carries data from the EEPROM to the FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock&amp;lt;br&amp;gt;Auto generated by FPGA at power-on, disabled at end of configuration&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| This is the EEPROM's TDI&amp;lt;br&amp;gt;This is the entry point for the onboard JTAG chain&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during configuration&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during configuration - can be used to intiate reconfiguration of FPGA&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Indicates completion of FPGA configuration&amp;lt;br&amp;gt;High when complete&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 12-16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| This is the EEPROM's TDO/FPGA's TDI&lt;br /&gt;
|-&lt;br /&gt;
| 18-20&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== JTAG Header ==&lt;br /&gt;
To write the FPGA's program to the EEPROM, the board employs a JTAG based programming system consistent with Xilinx's recommendations. The system is designed to operate with Xilnx's Platform USB II cable and the flying lead adapter.&lt;br /&gt;
&lt;br /&gt;
===Header Location and Size===&lt;br /&gt;
The header consists of 14 pins, 100 mil pitch, just below the EEPROM (U5). The header is labelled P1. The pitch of the pins in the header was erroneously selected to be 100 mil, which is not compatible with Xilinx's JTAG ribbon cable. Therefore, the Xilinx flying lead adapter must be used.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The JTAG interface is powered by the +3.3V power plane, not by the computer's USB port. Power is supplied through pin 2 of the JTAG header.&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
Note that the header is positioned on the board rotated 180 degrees from the position in which it is shown in the Xilinx documentation. Care must be taken when connecting the flying leads to ensure they are connected to the right pins. Connecting the flying leads to the wrong side of the header will cause all of the leads to short on the digital board's ground plane. This will certainly cause undesired operation, and may or may not cause damage. Improper wiring is most likely to cause damage if one of the flying leads is connected to an odd numbered pin. '''Note from the pinout table below that no flying lead connections should ever be made to the odd numbered pins on the JTAG header.'''&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1, 3, 5, 7, 9, 11, 13 (odd pins)&lt;br /&gt;
| DGND&lt;br /&gt;
| Ground pins for signal integrity&amp;lt;br&amp;gt;'''Never connect a flying lead to these pins'''&amp;lt;br&amp;gt;Doing so will short to ground and may cause permanent damage if the Platform USB II cable does not have protection against this.&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| +3.3V&lt;br /&gt;
| Power source for all JTAG logic&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS - connects to EEPROM and FPGA &lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK - connects to EEPROM and FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| JTAG  boundary scan chain endpoint&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| JTAG boundary scan chain start point&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| No connection&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| No connection&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===JTAG Overview===&lt;br /&gt;
The JTAG interface is clocked by the TCK signal. TCK is generated by the Platform USB II cable, and connects directly from the JTAG header to both the EEPROM and FPGA.&lt;br /&gt;
&lt;br /&gt;
The TMS signal is directly connected to both the EEPROM and FPGA, and is the data line over which JTAG test results (in this case programming results) are sent. TMS is used by only one component at a time.&lt;br /&gt;
&lt;br /&gt;
The TDI/TDO lines form a chain that connects to each JTAG component in series. On the control board, the first point in the chain is the EEPROM's TDI. Next is the EEPROM's TDO, which is the same as the FPGA's TDI. The FPGA's TDO then returns to the JTAG header and the Platform USB II cable.&lt;br /&gt;
&lt;br /&gt;
== DAC ==&lt;br /&gt;
The control board uses the Analog Devices AD5535, 32-channel, 200V max, digital to analog converter. This chip has a modified BC-124 BGA footprint and is located above the Eurocard connector at the bottom of the board. It is labelled U3.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The DAC is primarily powered by the +5V power island, regulated by an off-board power supply and extensively decoupled in the area of the DAC. The DAC also requires -5V, and a high voltage as discussed in [[#Power Requirements | Power Requirements]]. Both of these voltages are supplied by an off-board supply and decoupled near the DAC. In addition to these voltage levels, the DAC requires a precise +2.5V reference, created by the shunt-type voltage reference VR4.&lt;br /&gt;
&lt;br /&gt;
=== Setting the Output Range ===&lt;br /&gt;
The output range of the DAC is set by the 2.5V reference voltage supplied by VR4. The high voltage power supply must supply at a minimum 50 times this voltage, plus 10. Thus, the high voltage power supply should be at least 135V for DAC to operate properly, even though the SiPMs are expected to need only 40V. If it is convenient to use a lower high voltage, VR4 must be replaced to provide lower reference voltage. The high voltage may then be decreased appropriately. To summarize:&lt;br /&gt;
&lt;br /&gt;
* Max output voltage = VREF*50&lt;br /&gt;
* Minimum high voltage supply = VREF*50 + 10&lt;br /&gt;
* Acceptable range for VREF&lt;br /&gt;
** Min: 1V&lt;br /&gt;
** Max: 3.75V (AD5535 datasheet specifies 4V max, but this would require AVCC of 5.25V for the DAC, which is not possible in the current board design)&lt;br /&gt;
&lt;br /&gt;
If relevant, R13 is a 100K resistor.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Diode ===&lt;br /&gt;
The DAC has a built in thermal diode. The diode drop from anode to cathode is typically 0.65V at 25&amp;amp;deg;C. It changes at a rate of -2.20mV/&amp;amp;deg;C. The anode of this diode is connected to the +5V power island, and the cathode is connected to a 270K resistor to ground. The voltage between the cathode and the resistor is connected to VIN1 (pin 15) on the ADC.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
See documentation from Analog Devices.&lt;br /&gt;
&lt;br /&gt;
=== Channel Mapping ===&lt;br /&gt;
Due to the layout of the balls on the footprint of the DAC, the DAC's internal channel numbers (which must be referenced by the FPGA) have no correlation to the channel numbers on the amplifier board. This table summarizes the mapping between various pins that belong to each channel.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''DAC Channel #'''&lt;br /&gt;
| '''DAC Pin #'''&lt;br /&gt;
| '''Digital Board Eurocard Pin #'''&lt;br /&gt;
| '''Amplifier Board Eurocard Pin #'''&lt;br /&gt;
| '''Physical Channel #'''&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| B1&lt;br /&gt;
| B3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| A2&lt;br /&gt;
| C4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| D1&lt;br /&gt;
| B2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| C2&lt;br /&gt;
| C3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| B3&lt;br /&gt;
| B4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| E2&lt;br /&gt;
| C2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| F3&lt;br /&gt;
| B1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| A4&lt;br /&gt;
| B5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| E4&lt;br /&gt;
| C5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| B5&lt;br /&gt;
| C6&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| F5&lt;br /&gt;
| C1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| A6&lt;br /&gt;
| C7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| E6&lt;br /&gt;
| B6&lt;br /&gt;
| &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 13&lt;br /&gt;
| B7&lt;br /&gt;
| B7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| F7&lt;br /&gt;
| C10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 15&lt;br /&gt;
| E8&lt;br /&gt;
| C8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| A8&lt;br /&gt;
| B8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| B9&lt;br /&gt;
| C9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| F9&lt;br /&gt;
| C16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| E10&lt;br /&gt;
| B11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| A10&lt;br /&gt;
| B9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| B11&lt;br /&gt;
| B10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| C12&lt;br /&gt;
| B12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| D13&lt;br /&gt;
| B13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| E12&lt;br /&gt;
| B14&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| A12&lt;br /&gt;
| C11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| B13&lt;br /&gt;
| C12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| H13&lt;br /&gt;
| B16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| G14&lt;br /&gt;
| B15&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 29&lt;br /&gt;
| C14&lt;br /&gt;
| C13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 30&lt;br /&gt;
| F13&lt;br /&gt;
| C15&lt;br /&gt;
|&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 31&lt;br /&gt;
| E14&lt;br /&gt;
| C14&lt;br /&gt;
|&lt;br /&gt;
| DACHEALTH&amp;lt;br&amp;gt;See [[#Channel Descriptions | ADC Channel Descriptions]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==ADC==&lt;br /&gt;
The board includes an Analog Devices AD7928 analog to digital converter. The ADC is located just to the right and slightly below the FPGA. It is labelled U4.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The ADC is powered by the +5V power island, which is regulated by an off-board power supply and decoupled near the ADC. It also requires a precise (&amp;amp;plusmn;1%) 2.5V reference to which it compares voltages when converting from analog to digital. Since the +5V power source is not used for comparison, it is flexible and may vary by &amp;amp;plusmn;0.25V without affecting ADC precision.&lt;br /&gt;
&lt;br /&gt;
===Setting the Measuring Range===&lt;br /&gt;
The measuring range is set programmatically by the FPGA over the SPI bus. The way the ADC is connected on the digital board requires that its measuring range be set to 5V, so the RANGE bit should be set to 1 by the FPGA (see Analog Devices documentation).&lt;br /&gt;
&lt;br /&gt;
===Data Interfacing===&lt;br /&gt;
The ADC uses an SPI bus to communicate with the FPGA. This bus is shared with the temperature sensor. SPI related pins include SCLK, CS, DIN, and DOUT. See the Pinout Table below.&lt;br /&gt;
&lt;br /&gt;
===Channel Descriptions===&lt;br /&gt;
This table shows what signals are monitored by the ADC.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''ADC Channel #'''&lt;br /&gt;
| '''ADC Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| VIN0&lt;br /&gt;
| 16&lt;br /&gt;
| AD7928/VHEALTH&lt;br /&gt;
| This net helps to monitor to overall health of power on the board, but is specifically intended to monitor -5V. It's voltage is the output of a resistor divider between the +5 and -5V power supplies, with resistor values of 33.2K, and 100K. Assuming +5V and -5V are both correct, the output of the divider will be +2.51V. A reading of other than 2.51V indicates a problem with one of the power supplies. Problems with the +5V power supply can be ruled out by reading VIN3. Based on the reading from VIN3, the voltage of the -5V supply can be calculated.&lt;br /&gt;
|-&lt;br /&gt;
| VIN1&lt;br /&gt;
| 15&lt;br /&gt;
| AD5535/CATHODE&lt;br /&gt;
| This is the thermal diode output from the DAC. Should read 4.35V (typical) at 25&amp;amp;deg;C. Drops 2.20mV/&amp;amp;deg;C.&lt;br /&gt;
|-&lt;br /&gt;
| VIN2&lt;br /&gt;
| 14&lt;br /&gt;
| +3.3V&lt;br /&gt;
| This is the +3.3V power plane. A reading of other than +3.3V indicates a problem with VR1.&lt;br /&gt;
|-&lt;br /&gt;
| VIN3&lt;br /&gt;
| 13&lt;br /&gt;
| +5V&lt;br /&gt;
| This is the +5V power island. A reading of other than +5V indicates a problem with the +5V power supply.&lt;br /&gt;
|-&lt;br /&gt;
| VIN4&lt;br /&gt;
| 12&lt;br /&gt;
| ADC_EXT1&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A7. It is intended to measure the output of thermistor on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN5&lt;br /&gt;
| 11&lt;br /&gt;
| +1.2V&lt;br /&gt;
| This is the +1.2V power island. This island powers the internal logic of the FPGA. A reading of other than 1.2V indicates a problem with VR3.&lt;br /&gt;
|-&lt;br /&gt;
| VIN6&lt;br /&gt;
| 10&lt;br /&gt;
| ADC_EXT2&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A8. It is intended to measure one of the transistor base voltages on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN7&lt;br /&gt;
| 9&lt;br /&gt;
| DACHEALTH&lt;br /&gt;
| This channel monitors the output of a resistor divider connected to channel 31 of the DAC. The divider consists of three resistors of 200K, 200K, and 10.2K (in order). The ADC reads out the voltage level between the second 200K and then 10.2K resistor. These resistors were selected so that at 200V, the readout voltage will be 4.973V. Since the divider should be linear, the expected voltage at 20V is 0.4973V. Three resistors were used rather than two to avoid exceeding the resistors' power ratings when the DAC is set to its maximum voltage. Note that since this divider will consume up to 484uA of current at 200V, this DAC channel should not be used for anything that might require more than ~200uA of current (the DAC can source 700uA max). The channel is routed to the backplane nonetheless.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| SPI clock (SCLK), from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| DIN&lt;br /&gt;
| SPI data in, from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&amp;lt;br&amp;gt;''Currently wired wrong''&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| CS&lt;br /&gt;
| SPI chip select&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| AD7928/REF_IN&lt;br /&gt;
| +2.5V reference, set by VR2&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9-16&lt;br /&gt;
| VIN[7:0]&lt;br /&gt;
| See [[#Channel Descriptions | ADC Channel Descriptions]]&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| DOUT&lt;br /&gt;
| SPI data out&amp;lt;br&amp;gt;''Currently wired incorrectly''&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| +3.3V&lt;br /&gt;
| VDRIVE, powers the SPI logic&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Ethernet Controller ==&lt;br /&gt;
The board uses a Silicon Laboratories CP2201, 28-pin, ethernet controller. The CP2201 is located just above the FPGA, and is labelled U2.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The CP2201 uses only +3.3V, which is supplied by the +3.3V power plane and regulated by VR1. Appropriate decoupling capacitors can be found near the CP2201.&lt;br /&gt;
&lt;br /&gt;
=== Ethernet Jack ===&lt;br /&gt;
To the right of the CP2201 is a Pulse J0011D21NL ethernet jack, labelled J1. This jack has a built-in 1:1 inductive coupling. For best results, connect this jack to a nearby ethernet switch. The jack may also be connected directly to a computer using a crossover cable. Though auto-crossover is not supported by the CP2201, if the computer's NIC supports it, a crossover cable is not necessary to connect directly to a computer.&lt;br /&gt;
&lt;br /&gt;
=== Crystal Oscillator ===&lt;br /&gt;
The CP2201 is responsible for driving the 20MHz crystal oscillator. This oscillator clocks both the CP2201 and the FPGA. The crystal oscillator can be found above the right corner of the FPGA. It can be identified by its four surface mount pads and roughly .3&amp;quot; length. It is labelled Y1, though this label is not visible after the oscillator is soldered on. The CP2201 uses an inverting driver to excite the crystal. The output of the crystal is then sent to the CP2201 and the FPGA.&lt;br /&gt;
&lt;br /&gt;
=== Bus Format and Multiplexing ===&lt;br /&gt;
The 28-pin CP2201 used on the board only supports multiplexed operation. This means that both address and data information are passed over the same set of 8 traces. Hence, these traces are referred to as the address/data (AD) bus. A separate address line enable (ALE) trace prevents collisions from occuring on these traces. The communication protocol used is the Intel format. See the CP2201's datasheet for more information about this.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| CP2201/LA&lt;br /&gt;
| Link/activity indicator&amp;lt;br&amp;gt;Routed to backplane but not implemented&amp;lt;br&amp;gt;See CP2201 data sheet for information on how to connect to an LED&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| DGND&lt;br /&gt;
| By the data sheet, this pin should be AGND&amp;lt;br&amp;gt;We deliberately set it to DGND to avoid noise on AGND plane&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| +3.3V&lt;br /&gt;
| AV+ power pin&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| CP2201/RX-&lt;br /&gt;
| Connects to RX- on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| CP2201/RX+&lt;br /&gt;
| Connects to RX+ on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| CP2201/TX+&lt;br /&gt;
| Connects to TX+ on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| CP2201/TX-&lt;br /&gt;
| Connects to TX- on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;quot;VDD&amp;quot; power pin&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;DGND1&amp;quot; per the data sheet&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| CP2201/RESET&lt;br /&gt;
| &amp;quot;RST&amp;quot; per the data sheet&amp;lt;br&amp;gt;Connects to FPGA - should be programmatically triggered upon reset of FPGA by RESET jumper&lt;br /&gt;
|-&lt;br /&gt;
| 11-18&lt;br /&gt;
| CP2201/AD[0:7]&lt;br /&gt;
| Bits 0-7 of the address/data bus&amp;lt;br&amp;gt;Connect to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;quot;VDD&amp;quot; power pin&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;DGND2&amp;quot; per the data sheet&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| CP2201/ALE&lt;br /&gt;
| Address line enable&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| CP2201/RD&lt;br /&gt;
| Read strobe for AD bus&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| CP2201/WR&lt;br /&gt;
| Write strobe for AD bus&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| CP2201/CS&lt;br /&gt;
| Chip select&amp;lt;br&amp;gt;Connects to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| CP2201/INT&lt;br /&gt;
| Interrupt request&amp;lt;br&amp;gt;Connects to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;MOTEN&amp;quot; (Motorola enable) per the datasheet&amp;lt;br&amp;gt;Tied low to disable Motorola bus format (enable Intel format)&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| CP2201/XTAL2&lt;br /&gt;
| Crystal oscillator driver&amp;lt;br&amp;gt;The CP2201 inverts the 20MHz clock signal and feeds it back to the crystal oscillator to encourage larger oscillations&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| FPGA/CLK_IN&lt;br /&gt;
| &amp;quot;XTAL1&amp;quot; per the data sheet&amp;lt;br&amp;gt;This is the 20MHz clock input&amp;lt;br&amp;gt;Also connects to the FPGA's clock input&lt;br /&gt;
|- &lt;br /&gt;
| 29*&lt;br /&gt;
| DGND&lt;br /&gt;
| This is not a pin but rather the base of the CP2201 package.&amp;lt;br&amp;gt;It is connected to the DGND plane for thermal relief&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4368</id>
		<title>Digital control board documentation</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4368"/>
		<updated>2009-06-16T18:36:11Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* Pinout Table */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This documentation covers the most important things to know while testing the digital control board, including component pinouts, nets, and other information.&lt;br /&gt;
&lt;br /&gt;
== Power Requirements ==&lt;br /&gt;
=== Required Voltages ===&lt;br /&gt;
All components on the digital board '''except the DAC''' can be tested using only a +5V source. The DAC requires +5V, -5V, and a high voltage corresponding to 10V higher than the maximum desired DAC output voltage (see [[#Setting the Output Range | Setting the Output Range]]). Digital and analog grounds must be connected as well before any testing takes place.&lt;br /&gt;
&lt;br /&gt;
=== Power Pins ===&lt;br /&gt;
Power shall be connected to the board as follows:&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Voltage'''&lt;br /&gt;
| '''Eurocard Pin'''&lt;br /&gt;
|-&lt;br /&gt;
| DGND &lt;br /&gt;
| A6&lt;br /&gt;
|-&lt;br /&gt;
| AGND &lt;br /&gt;
| A5&lt;br /&gt;
|-&lt;br /&gt;
| +5V &lt;br /&gt;
| A4&lt;br /&gt;
|-&lt;br /&gt;
| -5V &lt;br /&gt;
| A3&lt;br /&gt;
|-&lt;br /&gt;
| High voltage&amp;lt;br&amp;gt;(DAC max out +10)&lt;br /&gt;
| A2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Power Supply Sequencing ===&lt;br /&gt;
The control board is designed such that voltages may be supplied in any order so long as AGND and DGND are connected properly.  However, for initial testing, the preferred order for powering up the board is as follows:&lt;br /&gt;
&lt;br /&gt;
# Ensure AGND/DGND are connected/grounded&lt;br /&gt;
# +5V&lt;br /&gt;
# -5V&lt;br /&gt;
# High voltage&lt;br /&gt;
&lt;br /&gt;
== FPGA ==&lt;br /&gt;
The control board uses a Xilinx XC3S50A VQ100 FPGA. It has a 100 pin footprint and is located in the center of the control board.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The FPGA is powered by the 3.3V power plane, which is regulated by VR1. The FPGA also obtains 1.2V for its internal logic from a 1.2V power island, regulated by VR3.&lt;br /&gt;
&lt;br /&gt;
=== Logic Standard ===&lt;br /&gt;
The Xilinx XC3S50A supports several different digital logic standards. The control board is hard wired such that the FPGA will use a '''3.3V CMOS''' logic standard.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| P1&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P2&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P3&lt;br /&gt;
| AD7928/CS&lt;br /&gt;
| SPI chip select for ADC&lt;br /&gt;
|-&lt;br /&gt;
| P4&lt;br /&gt;
| SPI&lt;br /&gt;
| '''Erroneously wired SPI bus trace'''&amp;lt;br&amp;gt;Connects to SDO on temp. sensor and DIN on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P5&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| 5 MHz clock output for SPI bus (ADC and temp. sensor)&lt;br /&gt;
|-&lt;br /&gt;
| P6&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P7&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P8&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P9&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P10&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P11&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P12&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P13&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P14&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P15&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P17&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P18&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P19&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P20&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P21&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P22&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P23&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P24&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P25&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P26&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| P27&lt;br /&gt;
| FPGA/CLK_IN&lt;br /&gt;
| 20 MHz clock input from crystal oscillator&lt;br /&gt;
|-&lt;br /&gt;
| P28&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P29&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P30&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P31&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P32&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P33&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P34&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P35&lt;br /&gt;
| CP2201/INT&lt;br /&gt;
| Ethernet controller interrupt&lt;br /&gt;
|-&lt;br /&gt;
| P36&lt;br /&gt;
| MASTER_RESET&lt;br /&gt;
| Connects to RESET jumper in upper left of board (active-low, externally pulled up)&lt;br /&gt;
|-&lt;br /&gt;
| P37&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P38&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P39&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P40&lt;br /&gt;
| CP2201/CS&lt;br /&gt;
| Chip select for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P41&lt;br /&gt;
| CP2201/WR&lt;br /&gt;
| Write enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P42&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P43&lt;br /&gt;
| CP2201/RD&lt;br /&gt;
| Read enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P44&lt;br /&gt;
| CP2201/ALE&lt;br /&gt;
| Address line enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P45&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P46&lt;br /&gt;
| CP2201/RESET&lt;br /&gt;
| Reset pin for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P47&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P48&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P49&lt;br /&gt;
| CP2201/AD0&lt;br /&gt;
| Ethernet controller address/data bus, bit 0&lt;br /&gt;
|-&lt;br /&gt;
| P50&lt;br /&gt;
| CP2201/AD1&lt;br /&gt;
| Ethernet controller address/data bus, bit 1&lt;br /&gt;
|-&lt;br /&gt;
| P51&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data input from EEPROM for configuration&lt;br /&gt;
|-&lt;br /&gt;
| P52&lt;br /&gt;
| CP2201/AD2&lt;br /&gt;
| Ethernet controller address/data bus, bit 2&lt;br /&gt;
|-&lt;br /&gt;
| P53&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock (signal generated by FPGA at &amp;lt;br&amp;gt;power on to clock the configuration process)&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P54&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Gives configuration status - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P55&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P56&lt;br /&gt;
| CP2201/AD3&lt;br /&gt;
| Ethernet controller address/data bus, bit 3&lt;br /&gt;
|-&lt;br /&gt;
| P57&lt;br /&gt;
| CP2201/AD4&lt;br /&gt;
| Ethernet controller address/data bus, bit 4&lt;br /&gt;
|-&lt;br /&gt;
| P58&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P59&lt;br /&gt;
| CP2201/AD5&lt;br /&gt;
| Ethernet controller address/data bus, bit 5&lt;br /&gt;
|-&lt;br /&gt;
| P60&lt;br /&gt;
| CP2201/AD6&lt;br /&gt;
| Ethernet controller address/date bus, bit 6&lt;br /&gt;
|-&lt;br /&gt;
| P61&lt;br /&gt;
| CP2201/AD7&lt;br /&gt;
| Ethernet controller address/date bus, bit 7&lt;br /&gt;
|-&lt;br /&gt;
| P62&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P63&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P64&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P65&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P66&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P67&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P68&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P69&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P70&lt;br /&gt;
| ID3&lt;br /&gt;
| Backplane location identifier jumper, pins 3 &amp;amp; 4&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P71&lt;br /&gt;
| ID2&lt;br /&gt;
| Backplane location identifier jumper, pins 5 &amp;amp; 6&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P72&lt;br /&gt;
| ID1&lt;br /&gt;
| Backplane location identifier jumper, pins 7 &amp;amp; 8&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P73&lt;br /&gt;
| ID0&lt;br /&gt;
| Backplane location identifier jumper, pins 9 &amp;amp; 10&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P74&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P75&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P76&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P77&lt;br /&gt;
| ID4&lt;br /&gt;
| Backplane location identifier jumper, pins 1 &amp;amp; 2&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P78&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P79&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P80&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P81&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P82&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P83&lt;br /&gt;
| CLK_5MHZ_2&lt;br /&gt;
| 5 MHz clock output for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P84&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P85&lt;br /&gt;
| AD5535/DIN&lt;br /&gt;
| DAC serial data input (FPGA out -&amp;gt; DAC in)&lt;br /&gt;
|-&lt;br /&gt;
| P86&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P87&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P89&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P90&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P91&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P92&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P93&lt;br /&gt;
| AD7314/CE&lt;br /&gt;
| Chip enable for temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| P94&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P95&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P96&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P97&lt;br /&gt;
| AD7928/DOUT&lt;br /&gt;
| '''Erroneously wired ADC SPI bus connection'''&amp;lt;br&amp;gt;Connects to DOUT on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P98&lt;br /&gt;
| AD5535/RESET&lt;br /&gt;
| Reset pin for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P99&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P100&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== EEPROM ==&lt;br /&gt;
To facilitate power-on configuration of the FPGA, the control board includes a Xilinx XCF01S EEPROM. The EEPROM is located to the left of the FPGA, above the JTAG header, and has a 20 pin footprint. The EEPROM is labelled U5.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The EEPROM uses +3.3V exclusively, which it receives from the +3.3V power plane, regulated by VR1.&lt;br /&gt;
&lt;br /&gt;
=== Flashing/Burning/Writing ===&lt;br /&gt;
Whatever you call it, this refers to storing data in the EEPROM so that it can configure the FPGA at power-on. The EEPROM is programmed using a JTAG interface and the Xilinx Platform USB II cable. It is important to note that in digital board's JTAG chain, the EEPROM is the first device in the chain, unlike in the Xilinx documentation where it is shown as the second device. This should not affect the operation of the board, but should be reflected in the Xilinx software when writing the EEPROM via JTAG. &lt;br /&gt;
&lt;br /&gt;
=== FPGA Configuration ===&lt;br /&gt;
The EEPROM and FPGA are hardwired to use a master serial protocol to transfer the program from the EEPROM to the FPGA. This is the protocol recommended in the Xilinx documentation because it minimizes the number of traces necessary to run between the EEPROM and FPGA. All configuration data is sent over a single trace, FPGA/DIN (pin 1 on EEPROM), controlled by the configuration clock signal (FPGA/CCLK) which is automatically generated by the FPGA at power-on. When configuration is complete, FPGA/DONE (pin 10) is pulled high by the FPGA, and the EEPROM and configuration clock are deactivated.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data line&amp;lt;br&amp;gt;Carries data from the EEPROM to the FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock&amp;lt;br&amp;gt;Auto generated by FPGA at power-on, disabled at end of configuration&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| This is the EEPROM's TDI&amp;lt;br&amp;gt;This is the entry point for the onboard JTAG chain&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during configuration&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during configuration - can be used to intiate reconfiguration of FPGA&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Indicates completion of FPGA configuration&amp;lt;br&amp;gt;High when complete&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 12-16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| This is the EEPROM's TDO/FPGA's TDI&lt;br /&gt;
|-&lt;br /&gt;
| 18-20&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== JTAG Header ==&lt;br /&gt;
To write the FPGA's program to the EEPROM, the board employs a JTAG based programming system consistent with Xilinx's recommendations. The system is designed to operate with Xilnx's Platform USB II cable and the flying lead adapter.&lt;br /&gt;
&lt;br /&gt;
===Header Location and Size===&lt;br /&gt;
The header consists of 14 pins, 100 mil pitch, just below the EEPROM (U5). The header is labelled P1. The pitch of the pins in the header was erroneously selected to be 100 mil, which is not compatible with Xilinx's JTAG ribbon cable. Therefore, the Xilinx flying lead adapter must be used.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The JTAG interface is powered by the +3.3V power plane, not by the computer's USB port. Power is supplied through pin 2 of the JTAG header.&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
Note that the header is positioned on the board rotated 180 degrees from the position in which it is shown in the Xilinx documentation. Care must be taken when connecting the flying leads to ensure they are connected to the right pins. Connecting the flying leads to the wrong side of the header will cause all of the leads to short on the digital board's ground plane. This will certainly cause undesired operation, and may or may not cause damage. Improper wiring is most likely to cause damage if one of the flying leads is connected to an odd numbered pin. '''Note from the pinout table below that no flying lead connections should ever be made to the odd numbered pins on the JTAG header.'''&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1, 3, 5, 7, 9, 11, 13 (odd pins)&lt;br /&gt;
| DGND&lt;br /&gt;
| Ground pins for signal integrity&amp;lt;br&amp;gt;'''Never connect a flying lead to these pins'''&amp;lt;br&amp;gt;Doing so will short to ground and may cause permanent damage if the Platform USB II cable does not have protection against this.&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| +3.3V&lt;br /&gt;
| Power source for all JTAG logic&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS - connects to EEPROM and FPGA &lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK - connects to EEPROM and FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| JTAG  boundary scan chain endpoint&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| JTAG boundary scan chain start point&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| No connection&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| No connection&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===JTAG Overview===&lt;br /&gt;
The JTAG interface is clocked by the TCK signal. TCK is generated by the Platform USB II cable, and connects directly from the JTAG header to both the EEPROM and FPGA.&lt;br /&gt;
&lt;br /&gt;
The TMS signal is directly connected to both the EEPROM and FPGA, and is the data line over which JTAG test results (in this case programming results) are sent. TMS is used by only one component at a time.&lt;br /&gt;
&lt;br /&gt;
The TDI/TDO lines form a chain that connects to each JTAG component in series. On the control board, the first point in the chain is the EEPROM's TDI. Next is the EEPROM's TDO, which is the same as the FPGA's TDI. The FPGA's TDO then returns to the JTAG header and the Platform USB II cable.&lt;br /&gt;
&lt;br /&gt;
== DAC ==&lt;br /&gt;
The control board uses the Analog Devices AD5535, 32-channel, 200V max, digital to analog converter. This chip has a modified BC-124 BGA footprint and is located above the Eurocard connector at the bottom of the board. It is labelled U3.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The DAC is primarily powered by the +5V power island, regulated by an off-board power supply and extensively decoupled in the area of the DAC. The DAC also requires -5V, and a high voltage as discussed in [[#Power Requirements | Power Requirements]]. Both of these voltages are supplied by an off-board supply and decoupled near the DAC. In addition to these voltage levels, the DAC requires a precise +2.5V reference, created by the shunt-type voltage reference VR4.&lt;br /&gt;
&lt;br /&gt;
=== Setting the Output Range ===&lt;br /&gt;
The output range of the DAC is set by the 2.5V reference voltage supplied by VR4. The high voltage power supply must supply at a minimum 50 times this voltage, plus 10. Thus, the high voltage power supply should be at least 135V for DAC to operate properly, even though the SiPMs are expected to need only 40V. If it is convenient to use a lower high voltage, VR4 must be replaced to provide lower reference voltage. The high voltage may then be decreased appropriately. To summarize:&lt;br /&gt;
&lt;br /&gt;
* Max output voltage = VREF*50&lt;br /&gt;
* Minimum high voltage supply = VREF*50 + 10&lt;br /&gt;
* Acceptable range for VREF&lt;br /&gt;
** Min: 1V&lt;br /&gt;
** Max: 3.75V (AD5535 datasheet specifies 4V max, but this would require AVCC of 5.25V for the DAC, which is not possible in the current board design)&lt;br /&gt;
&lt;br /&gt;
If relevant, R13 is a 100K resistor.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Diode ===&lt;br /&gt;
The DAC has a built in thermal diode. The diode drop from anode to cathode is typically 0.65V at 25&amp;amp;deg;C. It changes at a rate of -2.20mV/&amp;amp;deg;C. The anode of this diode is connected to the +5V power island, and the cathode is connected to a 270K resistor to ground. The voltage between the cathode and the resistor is connected to VIN1 (pin 15) on the ADC.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
See documentation from Analog Devices.&lt;br /&gt;
&lt;br /&gt;
=== Channel Mapping ===&lt;br /&gt;
Due to the layout of the balls on the footprint of the DAC, the DAC's internal channel numbers (which must be referenced by the FPGA) have no correlation to the channel numbers on the amplifier board. This table summarizes the mapping between various pins that belong to each channel.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''DAC Channel #'''&lt;br /&gt;
| '''DAC Pin #'''&lt;br /&gt;
| '''Digital Board Eurocard Pin #'''&lt;br /&gt;
| '''Amplifier Board Eurocard Pin #'''&lt;br /&gt;
| '''Physical Channel #'''&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| B1&lt;br /&gt;
| B3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| A2&lt;br /&gt;
| C4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| D1&lt;br /&gt;
| B2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| C2&lt;br /&gt;
| C3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| B3&lt;br /&gt;
| B4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| E2&lt;br /&gt;
| C2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| F3&lt;br /&gt;
| B1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| A4&lt;br /&gt;
| B5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| E4&lt;br /&gt;
| C5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| B5&lt;br /&gt;
| C6&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| F5&lt;br /&gt;
| C1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| A6&lt;br /&gt;
| C7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| E6&lt;br /&gt;
| B6&lt;br /&gt;
| &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 13&lt;br /&gt;
| B7&lt;br /&gt;
| B7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| F7&lt;br /&gt;
| C10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 15&lt;br /&gt;
| E8&lt;br /&gt;
| C8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| A8&lt;br /&gt;
| B8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| B9&lt;br /&gt;
| C9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| F9&lt;br /&gt;
| C16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| E10&lt;br /&gt;
| B11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| A10&lt;br /&gt;
| B9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| B11&lt;br /&gt;
| B10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| C12&lt;br /&gt;
| B12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| D13&lt;br /&gt;
| B13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| E12&lt;br /&gt;
| B14&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| A12&lt;br /&gt;
| C11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| B13&lt;br /&gt;
| C12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| H13&lt;br /&gt;
| B16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| G14&lt;br /&gt;
| B15&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 29&lt;br /&gt;
| C14&lt;br /&gt;
| C13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 30&lt;br /&gt;
| F13&lt;br /&gt;
| C15&lt;br /&gt;
|&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 31&lt;br /&gt;
| E14&lt;br /&gt;
| C14&lt;br /&gt;
|&lt;br /&gt;
| DACHEALTH&amp;lt;br&amp;gt;See [[#Channel Descriptions | ADC Channel Descriptions]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==ADC==&lt;br /&gt;
The board includes an Analog Devices AD7928 analog to digital converter. The ADC is located just to the right and slightly below the FPGA. It is labelled U4.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The ADC is powered by the +5V power island, which is regulated by an off-board power supply and decoupled near the ADC. It also requires a precise (&amp;amp;plusmn;1%) 2.5V reference to which it compares voltages when converting from analog to digital. Since the +5V power source is not used for comparison, it is flexible and may vary by &amp;amp;plusmn;0.25V without affecting ADC precision.&lt;br /&gt;
&lt;br /&gt;
===Setting the Measuring Range===&lt;br /&gt;
The measuring range is set programmatically by the FPGA over the SPI bus. The way the ADC is connected on the digital board requires that its measuring range be set to 5V, so the RANGE bit should be set to 1 by the FPGA (see Analog Devices documentation).&lt;br /&gt;
&lt;br /&gt;
===Data Interfacing===&lt;br /&gt;
The ADC uses an SPI bus to communicate with the FPGA. This bus is shared with the temperature sensor. SPI related pins include SCLK, CS, DIN, and DOUT. See the Pinout Table below.&lt;br /&gt;
&lt;br /&gt;
===Channel Descriptions===&lt;br /&gt;
This table shows what signals are monitored by the ADC.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''ADC Channel #'''&lt;br /&gt;
| '''ADC Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| VIN0&lt;br /&gt;
| 16&lt;br /&gt;
| AD7928/VHEALTH&lt;br /&gt;
| This net helps to monitor to overall health of power on the board, but is specifically intended to monitor -5V. It's voltage is the output of a resistor divider between the +5 and -5V power supplies, with resistor values of 33.2K, and 100K. Assuming +5V and -5V are both correct, the output of the divider will be +2.51V. A reading of other than 2.51V indicates a problem with one of the power supplies. Problems with the +5V power supply can be ruled out by reading VIN3. Based on the reading from VIN3, the voltage of the -5V supply can be calculated.&lt;br /&gt;
|-&lt;br /&gt;
| VIN1&lt;br /&gt;
| 15&lt;br /&gt;
| AD5535/CATHODE&lt;br /&gt;
| This is the thermal diode output from the DAC. Should read 4.35V (typical) at 25&amp;amp;deg;C. Drops 2.20mV/&amp;amp;deg;C.&lt;br /&gt;
|-&lt;br /&gt;
| VIN2&lt;br /&gt;
| 14&lt;br /&gt;
| +3.3V&lt;br /&gt;
| This is the +3.3V power plane. A reading of other than +3.3V indicates a problem with VR1.&lt;br /&gt;
|-&lt;br /&gt;
| VIN3&lt;br /&gt;
| 13&lt;br /&gt;
| +5V&lt;br /&gt;
| This is the +5V power island. A reading of other than +5V indicates a problem with the +5V power supply.&lt;br /&gt;
|-&lt;br /&gt;
| VIN4&lt;br /&gt;
| 12&lt;br /&gt;
| ADC_EXT1&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A7. It is intended to measure the output of thermistor on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN5&lt;br /&gt;
| 11&lt;br /&gt;
| +1.2V&lt;br /&gt;
| This is the +1.2V power island. This island powers the internal logic of the FPGA. A reading of other than 1.2V indicates a problem with VR3.&lt;br /&gt;
|-&lt;br /&gt;
| VIN6&lt;br /&gt;
| 10&lt;br /&gt;
| ADC_EXT2&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A8. It is intended to measure one of the transistor base voltages on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN7&lt;br /&gt;
| 9&lt;br /&gt;
| DACHEALTH&lt;br /&gt;
| This channel monitors the output of a resistor divider connected to channel 31 of the DAC. The divider consists of three resistors of 200K, 200K, and 10.2K (in order). The ADC reads out the voltage level between the second 200K and then 10.2K resistor. These resistors were selected so that at 200V, the readout voltage will be 4.973V. Since the divider should be linear, the expected voltage at 20V is 0.4973V. Three resistors were used rather than two to avoid exceeding the resistors' power ratings when the DAC is set to its maximum voltage. Note that since this divider will consume up to 484uA of current at 200V, this DAC channel should not be used for anything that might require more than ~200uA of current (the DAC can source 700uA max). The channel is routed to the backplane nonetheless.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| SPI clock (SCLK), from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| DIN&lt;br /&gt;
| SPI data in, from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&amp;lt;br&amp;gt;''Currently wired wrong''&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| CS&lt;br /&gt;
| SPI chip select&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| AD7928/REF_IN&lt;br /&gt;
| +2.5V reference, set by VR2&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9-16&lt;br /&gt;
| VIN[7:0]&lt;br /&gt;
| See [[#Channel Descriptions | ADC Channel Descriptions]]&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| DOUT&lt;br /&gt;
| SPI data out&amp;lt;br&amp;gt;''Currently wired incorrectly''&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| +3.3V&lt;br /&gt;
| VDRIVE, powers the SPI logic&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Ethernet Controller ==&lt;br /&gt;
The board uses a Silicon Laboratories CP2201, 28-pin, ethernet controller. The CP2201 is located just above the FPGA, and is labelled U2.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The CP2201 uses only +3.3V, which is supplied by the +3.3V power plane and regulated by VR1. Appropriate decoupling capacitors can be found near the CP2201.&lt;br /&gt;
&lt;br /&gt;
=== Ethernet Jack ===&lt;br /&gt;
To the right of the CP2201 is a Pulse J0011D21NL ethernet jack, labelled J1. This jack has a built-in 1:1 inductive coupling. For best results, connect this jack to a nearby ethernet switch. The jack may also be connected directly to a computer using a crossover cable. Though auto-crossover is not supported by the CP2201, if the computer's NIC supports it, a crossover cable is not necessary to connect directly to a computer.&lt;br /&gt;
&lt;br /&gt;
=== Crystal Oscillator ===&lt;br /&gt;
The CP2201 is responsible for driving the 20MHz crystal oscillator. This oscillator clocks both the CP2201 and the FPGA. The crystal oscillator can be found above the right corner of the FPGA. It can be identified by its four surface mount pads and roughly .3&amp;quot; length. It is labelled Y1, though this label is not visible after the oscillator is soldered on. The CP2201 uses an inverting driver to excite the crystal. The output of the crystal is then sent to the CP2201 and the FPGA.&lt;br /&gt;
&lt;br /&gt;
=== Bus Format and Multiplexing ===&lt;br /&gt;
The 28-pin CP2201 used on the board only supports multiplexed operation. This means that both address and data information is passed over the same set of 8 traces. Hence, these traces are referred to as the address/data (AD) bus. A separate address line enable (ALE) trace prevents collisions from occuring on these traces. The communication protocol used is the Intel format. See the CP2201's datasheet for more information about this.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| CP2201/LA&lt;br /&gt;
| Link/activity indicator&amp;lt;br&amp;gt;Routed to backplane but not implemented&amp;lt;br&amp;gt;See CP2201 data sheet for information on how to connect to an LED&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| DGND&lt;br /&gt;
| By the data sheet, this pin should be AGND&amp;lt;br&amp;gt;We deliberately set it to DGND to avoid noise on AGND plane&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| +3.3V&lt;br /&gt;
| AV+ power pin&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| CP2201/RX-&lt;br /&gt;
| Connects to RX- on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| CP2201/RX+&lt;br /&gt;
| Connects to RX+ on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| CP2201/TX+&lt;br /&gt;
| Connects to TX+ on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| CP2201/TX-&lt;br /&gt;
| Connects to TX- on ethernet jack&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;quot;VDD&amp;quot; power pin&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;DGND1&amp;quot; per the data sheet&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| CP2201/RESET&lt;br /&gt;
| &amp;quot;RST&amp;quot; per the data sheet&amp;lt;br&amp;gt;Connects to FPGA - should be programmatically triggered upon reset of FPGA by RESET jumper&lt;br /&gt;
|-&lt;br /&gt;
| 11-18&lt;br /&gt;
| CP2201/AD[0:7]&lt;br /&gt;
| Bits 0-7 of the address/data bus&amp;lt;br&amp;gt;Connect to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &amp;quot;VDD&amp;quot; power pin&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;DGND2&amp;quot; per the data sheet&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| CP2201/ALE&lt;br /&gt;
| Address line enable&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| CP2201/RD&lt;br /&gt;
| Read strobe for AD bus&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| CP2201/WR&lt;br /&gt;
| Write strobe for AD bus&amp;lt;br&amp;gt;Connects to FPGA&amp;lt;br&amp;gt;See CP2201 documentation&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| CP2201/CS&lt;br /&gt;
| Chip select&amp;lt;br&amp;gt;Connects to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| CP2201/INT&lt;br /&gt;
| Interrupt request&amp;lt;br&amp;gt;Connects to FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| DGND&lt;br /&gt;
| &amp;quot;MOTEN&amp;quot; (Motorola enable) per the datasheet&amp;lt;br&amp;gt;Tied low to disable Motorola bus format (enable Intel format)&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| CP2201/XTAL2&lt;br /&gt;
| Crystal oscillator driver&amp;lt;br&amp;gt;The CP2201 inverts the 20MHz clock signal and feeds it back to the crystal oscillator to encourage larger oscillations&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| FPGA/CLK_IN&lt;br /&gt;
| &amp;quot;XTAL1&amp;quot; per the data sheet&amp;lt;br&amp;gt;This is the 20MHz clock input&amp;lt;br&amp;gt;Also connects to the FPGA's clock input&lt;br /&gt;
|- &lt;br /&gt;
| 29*&lt;br /&gt;
| DGND&lt;br /&gt;
| This is not a pin but rather the base of the CP2201 package.&amp;lt;br&amp;gt;It is connected to the DGND plane for thermal relief&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4367</id>
		<title>Digital control board documentation</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4367"/>
		<updated>2009-06-16T17:59:13Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* Crystal Oscillator */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This documentation covers the most important things to know while testing the digital control board, including component pinouts, nets, and other information.&lt;br /&gt;
&lt;br /&gt;
== Power Requirements ==&lt;br /&gt;
=== Required Voltages ===&lt;br /&gt;
All components on the digital board '''except the DAC''' can be tested using only a +5V source. The DAC requires +5V, -5V, and a high voltage corresponding to 10V higher than the maximum desired DAC output voltage (see [[#Setting the Output Range | Setting the Output Range]]). Digital and analog grounds must be connected as well before any testing takes place.&lt;br /&gt;
&lt;br /&gt;
=== Power Pins ===&lt;br /&gt;
Power shall be connected to the board as follows:&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Voltage'''&lt;br /&gt;
| '''Eurocard Pin'''&lt;br /&gt;
|-&lt;br /&gt;
| DGND &lt;br /&gt;
| A6&lt;br /&gt;
|-&lt;br /&gt;
| AGND &lt;br /&gt;
| A5&lt;br /&gt;
|-&lt;br /&gt;
| +5V &lt;br /&gt;
| A4&lt;br /&gt;
|-&lt;br /&gt;
| -5V &lt;br /&gt;
| A3&lt;br /&gt;
|-&lt;br /&gt;
| High voltage&amp;lt;br&amp;gt;(DAC max out +10)&lt;br /&gt;
| A2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Power Supply Sequencing ===&lt;br /&gt;
The control board is designed such that voltages may be supplied in any order so long as AGND and DGND are connected properly.  However, for initial testing, the preferred order for powering up the board is as follows:&lt;br /&gt;
&lt;br /&gt;
# Ensure AGND/DGND are connected/grounded&lt;br /&gt;
# +5V&lt;br /&gt;
# -5V&lt;br /&gt;
# High voltage&lt;br /&gt;
&lt;br /&gt;
== FPGA ==&lt;br /&gt;
The control board uses a Xilinx XC3S50A VQ100 FPGA. It has a 100 pin footprint and is located in the center of the control board.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The FPGA is powered by the 3.3V power plane, which is regulated by VR1. The FPGA also obtains 1.2V for its internal logic from a 1.2V power island, regulated by VR3.&lt;br /&gt;
&lt;br /&gt;
=== Logic Standard ===&lt;br /&gt;
The Xilinx XC3S50A supports several different digital logic standards. The control board is hard wired such that the FPGA will use a '''3.3V CMOS''' logic standard.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| P1&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P2&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P3&lt;br /&gt;
| AD7928/CS&lt;br /&gt;
| SPI chip select for ADC&lt;br /&gt;
|-&lt;br /&gt;
| P4&lt;br /&gt;
| SPI&lt;br /&gt;
| '''Erroneously wired SPI bus trace'''&amp;lt;br&amp;gt;Connects to SDO on temp. sensor and DIN on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P5&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| 5 MHz clock output for SPI bus (ADC and temp. sensor)&lt;br /&gt;
|-&lt;br /&gt;
| P6&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P7&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P8&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P9&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P10&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P11&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P12&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P13&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P14&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P15&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P17&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P18&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P19&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P20&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P21&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P22&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P23&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P24&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P25&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P26&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| P27&lt;br /&gt;
| FPGA/CLK_IN&lt;br /&gt;
| 20 MHz clock input from crystal oscillator&lt;br /&gt;
|-&lt;br /&gt;
| P28&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P29&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P30&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P31&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P32&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P33&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P34&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P35&lt;br /&gt;
| CP2201/INT&lt;br /&gt;
| Ethernet controller interrupt&lt;br /&gt;
|-&lt;br /&gt;
| P36&lt;br /&gt;
| MASTER_RESET&lt;br /&gt;
| Connects to RESET jumper in upper left of board (active-low, externally pulled up)&lt;br /&gt;
|-&lt;br /&gt;
| P37&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P38&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P39&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P40&lt;br /&gt;
| CP2201/CS&lt;br /&gt;
| Chip select for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P41&lt;br /&gt;
| CP2201/WR&lt;br /&gt;
| Write enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P42&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P43&lt;br /&gt;
| CP2201/RD&lt;br /&gt;
| Read enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P44&lt;br /&gt;
| CP2201/ALE&lt;br /&gt;
| Address line enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P45&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P46&lt;br /&gt;
| CP2201/RESET&lt;br /&gt;
| Reset pin for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P47&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P48&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P49&lt;br /&gt;
| CP2201/AD0&lt;br /&gt;
| Ethernet controller address/data bus, bit 0&lt;br /&gt;
|-&lt;br /&gt;
| P50&lt;br /&gt;
| CP2201/AD1&lt;br /&gt;
| Ethernet controller address/data bus, bit 1&lt;br /&gt;
|-&lt;br /&gt;
| P51&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data input from EEPROM for configuration&lt;br /&gt;
|-&lt;br /&gt;
| P52&lt;br /&gt;
| CP2201/AD2&lt;br /&gt;
| Ethernet controller address/data bus, bit 2&lt;br /&gt;
|-&lt;br /&gt;
| P53&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock (signal generated by FPGA at &amp;lt;br&amp;gt;power on to clock the configuration process)&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P54&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Gives configuration status - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P55&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P56&lt;br /&gt;
| CP2201/AD3&lt;br /&gt;
| Ethernet controller address/data bus, bit 3&lt;br /&gt;
|-&lt;br /&gt;
| P57&lt;br /&gt;
| CP2201/AD4&lt;br /&gt;
| Ethernet controller address/data bus, bit 4&lt;br /&gt;
|-&lt;br /&gt;
| P58&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P59&lt;br /&gt;
| CP2201/AD5&lt;br /&gt;
| Ethernet controller address/data bus, bit 5&lt;br /&gt;
|-&lt;br /&gt;
| P60&lt;br /&gt;
| CP2201/AD6&lt;br /&gt;
| Ethernet controller address/date bus, bit 6&lt;br /&gt;
|-&lt;br /&gt;
| P61&lt;br /&gt;
| CP2201/AD7&lt;br /&gt;
| Ethernet controller address/date bus, bit 7&lt;br /&gt;
|-&lt;br /&gt;
| P62&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P63&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P64&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P65&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P66&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P67&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P68&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P69&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P70&lt;br /&gt;
| ID3&lt;br /&gt;
| Backplane location identifier jumper, pins 3 &amp;amp; 4&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P71&lt;br /&gt;
| ID2&lt;br /&gt;
| Backplane location identifier jumper, pins 5 &amp;amp; 6&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P72&lt;br /&gt;
| ID1&lt;br /&gt;
| Backplane location identifier jumper, pins 7 &amp;amp; 8&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P73&lt;br /&gt;
| ID0&lt;br /&gt;
| Backplane location identifier jumper, pins 9 &amp;amp; 10&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P74&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P75&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P76&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P77&lt;br /&gt;
| ID4&lt;br /&gt;
| Backplane location identifier jumper, pins 1 &amp;amp; 2&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P78&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P79&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P80&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P81&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P82&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P83&lt;br /&gt;
| CLK_5MHZ_2&lt;br /&gt;
| 5 MHz clock output for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P84&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P85&lt;br /&gt;
| AD5535/DIN&lt;br /&gt;
| DAC serial data input (FPGA out -&amp;gt; DAC in)&lt;br /&gt;
|-&lt;br /&gt;
| P86&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P87&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P89&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P90&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P91&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P92&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P93&lt;br /&gt;
| AD7314/CE&lt;br /&gt;
| Chip enable for temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| P94&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P95&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P96&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P97&lt;br /&gt;
| AD7928/DOUT&lt;br /&gt;
| '''Erroneously wired ADC SPI bus connection'''&amp;lt;br&amp;gt;Connects to DOUT on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P98&lt;br /&gt;
| AD5535/RESET&lt;br /&gt;
| Reset pin for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P99&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P100&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== EEPROM ==&lt;br /&gt;
To facilitate power-on configuration of the FPGA, the control board includes a Xilinx XCF01S EEPROM. The EEPROM is located to the left of the FPGA, above the JTAG header, and has a 20 pin footprint. The EEPROM is labelled U5.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The EEPROM uses +3.3V exclusively, which it receives from the +3.3V power plane, regulated by VR1.&lt;br /&gt;
&lt;br /&gt;
=== Flashing/Burning/Writing ===&lt;br /&gt;
Whatever you call it, this refers to storing data in the EEPROM so that it can configure the FPGA at power-on. The EEPROM is programmed using a JTAG interface and the Xilinx Platform USB II cable. It is important to note that in digital board's JTAG chain, the EEPROM is the first device in the chain, unlike in the Xilinx documentation where it is shown as the second device. This should not affect the operation of the board, but should be reflected in the Xilinx software when writing the EEPROM via JTAG. &lt;br /&gt;
&lt;br /&gt;
=== FPGA Configuration ===&lt;br /&gt;
The EEPROM and FPGA are hardwired to use a master serial protocol to transfer the program from the EEPROM to the FPGA. This is the protocol recommended in the Xilinx documentation because it minimizes the number of traces necessary to run between the EEPROM and FPGA. All configuration data is sent over a single trace, FPGA/DIN (pin 1 on EEPROM), controlled by the configuration clock signal (FPGA/CCLK) which is automatically generated by the FPGA at power-on. When configuration is complete, FPGA/DONE (pin 10) is pulled high by the FPGA, and the EEPROM and configuration clock are deactivated.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data line&amp;lt;br&amp;gt;Carries data from the EEPROM to the FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock&amp;lt;br&amp;gt;Auto generated by FPGA at power-on, disabled at end of configuration&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| This is the EEPROM's TDI&amp;lt;br&amp;gt;This is the entry point for the onboard JTAG chain&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during configuration&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during configuration - can be used to intiate reconfiguration of FPGA&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Indicates completion of FPGA configuration&amp;lt;br&amp;gt;High when complete&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 12-16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| This is the EEPROM's TDO/FPGA's TDI&lt;br /&gt;
|-&lt;br /&gt;
| 18-20&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== JTAG Header ==&lt;br /&gt;
To write the FPGA's program to the EEPROM, the board employs a JTAG based programming system consistent with Xilinx's recommendations. The system is designed to operate with Xilnx's Platform USB II cable and the flying lead adapter.&lt;br /&gt;
&lt;br /&gt;
===Header Location and Size===&lt;br /&gt;
The header consists of 14 pins, 100 mil pitch, just below the EEPROM (U5). The header is labelled P1. The pitch of the pins in the header was erroneously selected to be 100 mil, which is not compatible with Xilinx's JTAG ribbon cable. Therefore, the Xilinx flying lead adapter must be used.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The JTAG interface is powered by the +3.3V power plane, not by the computer's USB port. Power is supplied through pin 2 of the JTAG header.&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
Note that the header is positioned on the board rotated 180 degrees from the position in which it is shown in the Xilinx documentation. Care must be taken when connecting the flying leads to ensure they are connected to the right pins. Connecting the flying leads to the wrong side of the header will cause all of the leads to short on the digital board's ground plane. This will certainly cause undesired operation, and may or may not cause damage. Improper wiring is most likely to cause damage if one of the flying leads is connected to an odd numbered pin. '''Note from the pinout table below that no flying lead connections should ever be made to the odd numbered pins on the JTAG header.'''&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1, 3, 5, 7, 9, 11, 13 (odd pins)&lt;br /&gt;
| DGND&lt;br /&gt;
| Ground pins for signal integrity&amp;lt;br&amp;gt;'''Never connect a flying lead to these pins'''&amp;lt;br&amp;gt;Doing so will short to ground and may cause permanent damage if the Platform USB II cable does not have protection against this.&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| +3.3V&lt;br /&gt;
| Power source for all JTAG logic&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS - connects to EEPROM and FPGA &lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK - connects to EEPROM and FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| JTAG  boundary scan chain endpoint&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| JTAG boundary scan chain start point&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| No connection&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| No connection&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===JTAG Overview===&lt;br /&gt;
The JTAG interface is clocked by the TCK signal. TCK is generated by the Platform USB II cable, and connects directly from the JTAG header to both the EEPROM and FPGA.&lt;br /&gt;
&lt;br /&gt;
The TMS signal is directly connected to both the EEPROM and FPGA, and is the data line over which JTAG test results (in this case programming results) are sent. TMS is used by only one component at a time.&lt;br /&gt;
&lt;br /&gt;
The TDI/TDO lines form a chain that connects to each JTAG component in series. On the control board, the first point in the chain is the EEPROM's TDI. Next is the EEPROM's TDO, which is the same as the FPGA's TDI. The FPGA's TDO then returns to the JTAG header and the Platform USB II cable.&lt;br /&gt;
&lt;br /&gt;
== DAC ==&lt;br /&gt;
The control board uses the Analog Devices AD5535, 32-channel, 200V max, digital to analog converter. This chip has a modified BC-124 BGA footprint and is located above the Eurocard connector at the bottom of the board. It is labelled U3.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The DAC is primarily powered by the +5V power island, regulated by an off-board power supply and extensively decoupled in the area of the DAC. The DAC also requires -5V, and a high voltage as discussed in [[#Power Requirements | Power Requirements]]. Both of these voltages are supplied by an off-board supply and decoupled near the DAC. In addition to these voltage levels, the DAC requires a precise +2.5V reference, created by the shunt-type voltage reference VR4.&lt;br /&gt;
&lt;br /&gt;
=== Setting the Output Range ===&lt;br /&gt;
The output range of the DAC is set by the 2.5V reference voltage supplied by VR4. The high voltage power supply must supply at a minimum 50 times this voltage, plus 10. Thus, the high voltage power supply should be at least 135V for DAC to operate properly, even though the SiPMs are expected to need only 40V. If it is convenient to use a lower high voltage, VR4 must be replaced to provide lower reference voltage. The high voltage may then be decreased appropriately. To summarize:&lt;br /&gt;
&lt;br /&gt;
* Max output voltage = VREF*50&lt;br /&gt;
* Minimum high voltage supply = VREF*50 + 10&lt;br /&gt;
* Acceptable range for VREF&lt;br /&gt;
** Min: 1V&lt;br /&gt;
** Max: 3.75V (AD5535 datasheet specifies 4V max, but this would require AVCC of 5.25V for the DAC, which is not possible in the current board design)&lt;br /&gt;
&lt;br /&gt;
If relevant, R13 is a 100K resistor.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Diode ===&lt;br /&gt;
The DAC has a built in thermal diode. The diode drop from anode to cathode is typically 0.65V at 25&amp;amp;deg;C. It changes at a rate of -2.20mV/&amp;amp;deg;C. The anode of this diode is connected to the +5V power island, and the cathode is connected to a 270K resistor to ground. The voltage between the cathode and the resistor is connected to VIN1 (pin 15) on the ADC.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
See documentation from Analog Devices.&lt;br /&gt;
&lt;br /&gt;
=== Channel Mapping ===&lt;br /&gt;
Due to the layout of the balls on the footprint of the DAC, the DAC's internal channel numbers (which must be referenced by the FPGA) have no correlation to the channel numbers on the amplifier board. This table summarizes the mapping between various pins that belong to each channel.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''DAC Channel #'''&lt;br /&gt;
| '''DAC Pin #'''&lt;br /&gt;
| '''Digital Board Eurocard Pin #'''&lt;br /&gt;
| '''Amplifier Board Eurocard Pin #'''&lt;br /&gt;
| '''Physical Channel #'''&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| B1&lt;br /&gt;
| B3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| A2&lt;br /&gt;
| C4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| D1&lt;br /&gt;
| B2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| C2&lt;br /&gt;
| C3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| B3&lt;br /&gt;
| B4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| E2&lt;br /&gt;
| C2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| F3&lt;br /&gt;
| B1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| A4&lt;br /&gt;
| B5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| E4&lt;br /&gt;
| C5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| B5&lt;br /&gt;
| C6&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| F5&lt;br /&gt;
| C1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| A6&lt;br /&gt;
| C7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| E6&lt;br /&gt;
| B6&lt;br /&gt;
| &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 13&lt;br /&gt;
| B7&lt;br /&gt;
| B7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| F7&lt;br /&gt;
| C10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 15&lt;br /&gt;
| E8&lt;br /&gt;
| C8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| A8&lt;br /&gt;
| B8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| B9&lt;br /&gt;
| C9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| F9&lt;br /&gt;
| C16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| E10&lt;br /&gt;
| B11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| A10&lt;br /&gt;
| B9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| B11&lt;br /&gt;
| B10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| C12&lt;br /&gt;
| B12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| D13&lt;br /&gt;
| B13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| E12&lt;br /&gt;
| B14&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| A12&lt;br /&gt;
| C11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| B13&lt;br /&gt;
| C12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| H13&lt;br /&gt;
| B16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| G14&lt;br /&gt;
| B15&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 29&lt;br /&gt;
| C14&lt;br /&gt;
| C13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 30&lt;br /&gt;
| F13&lt;br /&gt;
| C15&lt;br /&gt;
|&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 31&lt;br /&gt;
| E14&lt;br /&gt;
| C14&lt;br /&gt;
|&lt;br /&gt;
| DACHEALTH&amp;lt;br&amp;gt;See [[#Channel Descriptions | ADC Channel Descriptions]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==ADC==&lt;br /&gt;
The board includes an Analog Devices AD7928 analog to digital converter. The ADC is located just to the right and slightly below the FPGA. It is labelled U4.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The ADC is powered by the +5V power island, which is regulated by an off-board power supply and decoupled near the ADC. It also requires a precise (&amp;amp;plusmn;1%) 2.5V reference to which it compares voltages when converting from analog to digital. Since the +5V power source is not used for comparison, it is flexible and may vary by &amp;amp;plusmn;0.25V without affecting ADC precision.&lt;br /&gt;
&lt;br /&gt;
===Setting the Measuring Range===&lt;br /&gt;
The measuring range is set programmatically by the FPGA over the SPI bus. The way the ADC is connected on the digital board requires that its measuring range be set to 5V, so the RANGE bit should be set to 1 by the FPGA (see Analog Devices documentation).&lt;br /&gt;
&lt;br /&gt;
===Data Interfacing===&lt;br /&gt;
The ADC uses an SPI bus to communicate with the FPGA. This bus is shared with the temperature sensor. SPI related pins include SCLK, CS, DIN, and DOUT. See the Pinout Table below.&lt;br /&gt;
&lt;br /&gt;
===Channel Descriptions===&lt;br /&gt;
This table shows what signals are monitored by the ADC.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''ADC Channel #'''&lt;br /&gt;
| '''ADC Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| VIN0&lt;br /&gt;
| 16&lt;br /&gt;
| AD7928/VHEALTH&lt;br /&gt;
| This net helps to monitor to overall health of power on the board, but is specifically intended to monitor -5V. It's voltage is the output of a resistor divider between the +5 and -5V power supplies, with resistor values of 33.2K, and 100K. Assuming +5V and -5V are both correct, the output of the divider will be +2.51V. A reading of other than 2.51V indicates a problem with one of the power supplies. Problems with the +5V power supply can be ruled out by reading VIN3. Based on the reading from VIN3, the voltage of the -5V supply can be calculated.&lt;br /&gt;
|-&lt;br /&gt;
| VIN1&lt;br /&gt;
| 15&lt;br /&gt;
| AD5535/CATHODE&lt;br /&gt;
| This is the thermal diode output from the DAC. Should read 4.35V (typical) at 25&amp;amp;deg;C. Drops 2.20mV/&amp;amp;deg;C.&lt;br /&gt;
|-&lt;br /&gt;
| VIN2&lt;br /&gt;
| 14&lt;br /&gt;
| +3.3V&lt;br /&gt;
| This is the +3.3V power plane. A reading of other than +3.3V indicates a problem with VR1.&lt;br /&gt;
|-&lt;br /&gt;
| VIN3&lt;br /&gt;
| 13&lt;br /&gt;
| +5V&lt;br /&gt;
| This is the +5V power island. A reading of other than +5V indicates a problem with the +5V power supply.&lt;br /&gt;
|-&lt;br /&gt;
| VIN4&lt;br /&gt;
| 12&lt;br /&gt;
| ADC_EXT1&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A7. It is intended to measure the output of thermistor on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN5&lt;br /&gt;
| 11&lt;br /&gt;
| +1.2V&lt;br /&gt;
| This is the +1.2V power island. This island powers the internal logic of the FPGA. A reading of other than 1.2V indicates a problem with VR3.&lt;br /&gt;
|-&lt;br /&gt;
| VIN6&lt;br /&gt;
| 10&lt;br /&gt;
| ADC_EXT2&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A8. It is intended to measure one of the transistor base voltages on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN7&lt;br /&gt;
| 9&lt;br /&gt;
| DACHEALTH&lt;br /&gt;
| This channel monitors the output of a resistor divider connected to channel 31 of the DAC. The divider consists of three resistors of 200K, 200K, and 10.2K (in order). The ADC reads out the voltage level between the second 200K and then 10.2K resistor. These resistors were selected so that at 200V, the readout voltage will be 4.973V. Since the divider should be linear, the expected voltage at 20V is 0.4973V. Three resistors were used rather than two to avoid exceeding the resistors' power ratings when the DAC is set to its maximum voltage. Note that since this divider will consume up to 484uA of current at 200V, this DAC channel should not be used for anything that might require more than ~200uA of current (the DAC can source 700uA max). The channel is routed to the backplane nonetheless.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| SPI clock (SCLK), from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| DIN&lt;br /&gt;
| SPI data in, from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&amp;lt;br&amp;gt;''Currently wired wrong''&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| CS&lt;br /&gt;
| SPI chip select&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| AD7928/REF_IN&lt;br /&gt;
| +2.5V reference, set by VR2&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9-16&lt;br /&gt;
| VIN[7:0]&lt;br /&gt;
| See [[#Channel Descriptions | ADC Channel Descriptions]]&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| DOUT&lt;br /&gt;
| SPI data out&amp;lt;br&amp;gt;''Currently wired incorrectly''&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| +3.3V&lt;br /&gt;
| VDRIVE, powers the SPI logic&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Ethernet Controller ==&lt;br /&gt;
The board uses a Silicon Laboratories CP2201, 28-pin, ethernet controller. The CP2201 is located just above the FPGA, and is labelled U2.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The CP2201 uses only +3.3V, which is supplied by the +3.3V power plane and regulated by VR1. Appropriate decoupling capacitors can be found near the CP2201.&lt;br /&gt;
&lt;br /&gt;
=== Ethernet Jack ===&lt;br /&gt;
To the right of the CP2201 is a Pulse J0011D21NL ethernet jack, labelled J1. This jack has a built-in 1:1 inductive coupling. For best results, connect this jack to a nearby ethernet switch. The jack may also be connected directly to a computer using a crossover cable. Though auto-crossover is not supported by the CP2201, if the computer's NIC supports it, a crossover cable is not necessary to connect directly to a computer.&lt;br /&gt;
&lt;br /&gt;
=== Crystal Oscillator ===&lt;br /&gt;
The CP2201 is responsible for driving the 20MHz crystal oscillator. This oscillator clocks both the CP2201 and the FPGA. The crystal oscillator can be found above the right corner of the FPGA. It can be identified by its four surface mount pads and roughly .3&amp;quot; length. It is labelled Y1, though this label is not visible after the oscillator is soldered on. The CP2201 uses an inverting driver to excite the crystal. The output of the crystal is then sent to the CP2201 and the FPGA.&lt;br /&gt;
&lt;br /&gt;
=== Bus Format and Multiplexing ===&lt;br /&gt;
The 28-pin CP2201 used on the board only supports multiplexed operation. This means that both address and data information is passed over the same set of 8 traces. Hence, these traces are referred to as the address/data (AD) bus. A separate address line enable (ALE) trace prevents collisions from occuring on these traces. The communication protocol used is the Intel format. See the CP2201's datasheet for more information about this.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4366</id>
		<title>Digital control board documentation</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4366"/>
		<updated>2009-06-16T17:58:31Z</updated>

		<summary type="html">&lt;p&gt;Underwood: started CP2201&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This documentation covers the most important things to know while testing the digital control board, including component pinouts, nets, and other information.&lt;br /&gt;
&lt;br /&gt;
== Power Requirements ==&lt;br /&gt;
=== Required Voltages ===&lt;br /&gt;
All components on the digital board '''except the DAC''' can be tested using only a +5V source. The DAC requires +5V, -5V, and a high voltage corresponding to 10V higher than the maximum desired DAC output voltage (see [[#Setting the Output Range | Setting the Output Range]]). Digital and analog grounds must be connected as well before any testing takes place.&lt;br /&gt;
&lt;br /&gt;
=== Power Pins ===&lt;br /&gt;
Power shall be connected to the board as follows:&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Voltage'''&lt;br /&gt;
| '''Eurocard Pin'''&lt;br /&gt;
|-&lt;br /&gt;
| DGND &lt;br /&gt;
| A6&lt;br /&gt;
|-&lt;br /&gt;
| AGND &lt;br /&gt;
| A5&lt;br /&gt;
|-&lt;br /&gt;
| +5V &lt;br /&gt;
| A4&lt;br /&gt;
|-&lt;br /&gt;
| -5V &lt;br /&gt;
| A3&lt;br /&gt;
|-&lt;br /&gt;
| High voltage&amp;lt;br&amp;gt;(DAC max out +10)&lt;br /&gt;
| A2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Power Supply Sequencing ===&lt;br /&gt;
The control board is designed such that voltages may be supplied in any order so long as AGND and DGND are connected properly.  However, for initial testing, the preferred order for powering up the board is as follows:&lt;br /&gt;
&lt;br /&gt;
# Ensure AGND/DGND are connected/grounded&lt;br /&gt;
# +5V&lt;br /&gt;
# -5V&lt;br /&gt;
# High voltage&lt;br /&gt;
&lt;br /&gt;
== FPGA ==&lt;br /&gt;
The control board uses a Xilinx XC3S50A VQ100 FPGA. It has a 100 pin footprint and is located in the center of the control board.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The FPGA is powered by the 3.3V power plane, which is regulated by VR1. The FPGA also obtains 1.2V for its internal logic from a 1.2V power island, regulated by VR3.&lt;br /&gt;
&lt;br /&gt;
=== Logic Standard ===&lt;br /&gt;
The Xilinx XC3S50A supports several different digital logic standards. The control board is hard wired such that the FPGA will use a '''3.3V CMOS''' logic standard.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| P1&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P2&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P3&lt;br /&gt;
| AD7928/CS&lt;br /&gt;
| SPI chip select for ADC&lt;br /&gt;
|-&lt;br /&gt;
| P4&lt;br /&gt;
| SPI&lt;br /&gt;
| '''Erroneously wired SPI bus trace'''&amp;lt;br&amp;gt;Connects to SDO on temp. sensor and DIN on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P5&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| 5 MHz clock output for SPI bus (ADC and temp. sensor)&lt;br /&gt;
|-&lt;br /&gt;
| P6&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P7&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P8&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P9&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P10&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P11&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P12&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P13&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P14&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P15&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P17&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P18&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P19&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P20&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P21&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P22&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P23&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P24&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P25&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P26&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| P27&lt;br /&gt;
| FPGA/CLK_IN&lt;br /&gt;
| 20 MHz clock input from crystal oscillator&lt;br /&gt;
|-&lt;br /&gt;
| P28&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P29&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P30&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P31&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P32&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P33&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P34&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P35&lt;br /&gt;
| CP2201/INT&lt;br /&gt;
| Ethernet controller interrupt&lt;br /&gt;
|-&lt;br /&gt;
| P36&lt;br /&gt;
| MASTER_RESET&lt;br /&gt;
| Connects to RESET jumper in upper left of board (active-low, externally pulled up)&lt;br /&gt;
|-&lt;br /&gt;
| P37&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P38&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P39&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P40&lt;br /&gt;
| CP2201/CS&lt;br /&gt;
| Chip select for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P41&lt;br /&gt;
| CP2201/WR&lt;br /&gt;
| Write enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P42&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P43&lt;br /&gt;
| CP2201/RD&lt;br /&gt;
| Read enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P44&lt;br /&gt;
| CP2201/ALE&lt;br /&gt;
| Address line enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P45&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P46&lt;br /&gt;
| CP2201/RESET&lt;br /&gt;
| Reset pin for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P47&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P48&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P49&lt;br /&gt;
| CP2201/AD0&lt;br /&gt;
| Ethernet controller address/data bus, bit 0&lt;br /&gt;
|-&lt;br /&gt;
| P50&lt;br /&gt;
| CP2201/AD1&lt;br /&gt;
| Ethernet controller address/data bus, bit 1&lt;br /&gt;
|-&lt;br /&gt;
| P51&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data input from EEPROM for configuration&lt;br /&gt;
|-&lt;br /&gt;
| P52&lt;br /&gt;
| CP2201/AD2&lt;br /&gt;
| Ethernet controller address/data bus, bit 2&lt;br /&gt;
|-&lt;br /&gt;
| P53&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock (signal generated by FPGA at &amp;lt;br&amp;gt;power on to clock the configuration process)&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P54&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Gives configuration status - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P55&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P56&lt;br /&gt;
| CP2201/AD3&lt;br /&gt;
| Ethernet controller address/data bus, bit 3&lt;br /&gt;
|-&lt;br /&gt;
| P57&lt;br /&gt;
| CP2201/AD4&lt;br /&gt;
| Ethernet controller address/data bus, bit 4&lt;br /&gt;
|-&lt;br /&gt;
| P58&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P59&lt;br /&gt;
| CP2201/AD5&lt;br /&gt;
| Ethernet controller address/data bus, bit 5&lt;br /&gt;
|-&lt;br /&gt;
| P60&lt;br /&gt;
| CP2201/AD6&lt;br /&gt;
| Ethernet controller address/date bus, bit 6&lt;br /&gt;
|-&lt;br /&gt;
| P61&lt;br /&gt;
| CP2201/AD7&lt;br /&gt;
| Ethernet controller address/date bus, bit 7&lt;br /&gt;
|-&lt;br /&gt;
| P62&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P63&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P64&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P65&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P66&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P67&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P68&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P69&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P70&lt;br /&gt;
| ID3&lt;br /&gt;
| Backplane location identifier jumper, pins 3 &amp;amp; 4&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P71&lt;br /&gt;
| ID2&lt;br /&gt;
| Backplane location identifier jumper, pins 5 &amp;amp; 6&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P72&lt;br /&gt;
| ID1&lt;br /&gt;
| Backplane location identifier jumper, pins 7 &amp;amp; 8&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P73&lt;br /&gt;
| ID0&lt;br /&gt;
| Backplane location identifier jumper, pins 9 &amp;amp; 10&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P74&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P75&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P76&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P77&lt;br /&gt;
| ID4&lt;br /&gt;
| Backplane location identifier jumper, pins 1 &amp;amp; 2&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P78&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P79&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P80&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P81&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P82&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P83&lt;br /&gt;
| CLK_5MHZ_2&lt;br /&gt;
| 5 MHz clock output for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P84&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P85&lt;br /&gt;
| AD5535/DIN&lt;br /&gt;
| DAC serial data input (FPGA out -&amp;gt; DAC in)&lt;br /&gt;
|-&lt;br /&gt;
| P86&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P87&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P89&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P90&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P91&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P92&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P93&lt;br /&gt;
| AD7314/CE&lt;br /&gt;
| Chip enable for temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| P94&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P95&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P96&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P97&lt;br /&gt;
| AD7928/DOUT&lt;br /&gt;
| '''Erroneously wired ADC SPI bus connection'''&amp;lt;br&amp;gt;Connects to DOUT on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P98&lt;br /&gt;
| AD5535/RESET&lt;br /&gt;
| Reset pin for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P99&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P100&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== EEPROM ==&lt;br /&gt;
To facilitate power-on configuration of the FPGA, the control board includes a Xilinx XCF01S EEPROM. The EEPROM is located to the left of the FPGA, above the JTAG header, and has a 20 pin footprint. The EEPROM is labelled U5.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The EEPROM uses +3.3V exclusively, which it receives from the +3.3V power plane, regulated by VR1.&lt;br /&gt;
&lt;br /&gt;
=== Flashing/Burning/Writing ===&lt;br /&gt;
Whatever you call it, this refers to storing data in the EEPROM so that it can configure the FPGA at power-on. The EEPROM is programmed using a JTAG interface and the Xilinx Platform USB II cable. It is important to note that in digital board's JTAG chain, the EEPROM is the first device in the chain, unlike in the Xilinx documentation where it is shown as the second device. This should not affect the operation of the board, but should be reflected in the Xilinx software when writing the EEPROM via JTAG. &lt;br /&gt;
&lt;br /&gt;
=== FPGA Configuration ===&lt;br /&gt;
The EEPROM and FPGA are hardwired to use a master serial protocol to transfer the program from the EEPROM to the FPGA. This is the protocol recommended in the Xilinx documentation because it minimizes the number of traces necessary to run between the EEPROM and FPGA. All configuration data is sent over a single trace, FPGA/DIN (pin 1 on EEPROM), controlled by the configuration clock signal (FPGA/CCLK) which is automatically generated by the FPGA at power-on. When configuration is complete, FPGA/DONE (pin 10) is pulled high by the FPGA, and the EEPROM and configuration clock are deactivated.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data line&amp;lt;br&amp;gt;Carries data from the EEPROM to the FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock&amp;lt;br&amp;gt;Auto generated by FPGA at power-on, disabled at end of configuration&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| This is the EEPROM's TDI&amp;lt;br&amp;gt;This is the entry point for the onboard JTAG chain&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during configuration&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during configuration - can be used to intiate reconfiguration of FPGA&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Indicates completion of FPGA configuration&amp;lt;br&amp;gt;High when complete&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 12-16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| This is the EEPROM's TDO/FPGA's TDI&lt;br /&gt;
|-&lt;br /&gt;
| 18-20&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== JTAG Header ==&lt;br /&gt;
To write the FPGA's program to the EEPROM, the board employs a JTAG based programming system consistent with Xilinx's recommendations. The system is designed to operate with Xilnx's Platform USB II cable and the flying lead adapter.&lt;br /&gt;
&lt;br /&gt;
===Header Location and Size===&lt;br /&gt;
The header consists of 14 pins, 100 mil pitch, just below the EEPROM (U5). The header is labelled P1. The pitch of the pins in the header was erroneously selected to be 100 mil, which is not compatible with Xilinx's JTAG ribbon cable. Therefore, the Xilinx flying lead adapter must be used.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The JTAG interface is powered by the +3.3V power plane, not by the computer's USB port. Power is supplied through pin 2 of the JTAG header.&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
Note that the header is positioned on the board rotated 180 degrees from the position in which it is shown in the Xilinx documentation. Care must be taken when connecting the flying leads to ensure they are connected to the right pins. Connecting the flying leads to the wrong side of the header will cause all of the leads to short on the digital board's ground plane. This will certainly cause undesired operation, and may or may not cause damage. Improper wiring is most likely to cause damage if one of the flying leads is connected to an odd numbered pin. '''Note from the pinout table below that no flying lead connections should ever be made to the odd numbered pins on the JTAG header.'''&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1, 3, 5, 7, 9, 11, 13 (odd pins)&lt;br /&gt;
| DGND&lt;br /&gt;
| Ground pins for signal integrity&amp;lt;br&amp;gt;'''Never connect a flying lead to these pins'''&amp;lt;br&amp;gt;Doing so will short to ground and may cause permanent damage if the Platform USB II cable does not have protection against this.&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| +3.3V&lt;br /&gt;
| Power source for all JTAG logic&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS - connects to EEPROM and FPGA &lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK - connects to EEPROM and FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| JTAG  boundary scan chain endpoint&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| JTAG boundary scan chain start point&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| No connection&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| No connection&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===JTAG Overview===&lt;br /&gt;
The JTAG interface is clocked by the TCK signal. TCK is generated by the Platform USB II cable, and connects directly from the JTAG header to both the EEPROM and FPGA.&lt;br /&gt;
&lt;br /&gt;
The TMS signal is directly connected to both the EEPROM and FPGA, and is the data line over which JTAG test results (in this case programming results) are sent. TMS is used by only one component at a time.&lt;br /&gt;
&lt;br /&gt;
The TDI/TDO lines form a chain that connects to each JTAG component in series. On the control board, the first point in the chain is the EEPROM's TDI. Next is the EEPROM's TDO, which is the same as the FPGA's TDI. The FPGA's TDO then returns to the JTAG header and the Platform USB II cable.&lt;br /&gt;
&lt;br /&gt;
== DAC ==&lt;br /&gt;
The control board uses the Analog Devices AD5535, 32-channel, 200V max, digital to analog converter. This chip has a modified BC-124 BGA footprint and is located above the Eurocard connector at the bottom of the board. It is labelled U3.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The DAC is primarily powered by the +5V power island, regulated by an off-board power supply and extensively decoupled in the area of the DAC. The DAC also requires -5V, and a high voltage as discussed in [[#Power Requirements | Power Requirements]]. Both of these voltages are supplied by an off-board supply and decoupled near the DAC. In addition to these voltage levels, the DAC requires a precise +2.5V reference, created by the shunt-type voltage reference VR4.&lt;br /&gt;
&lt;br /&gt;
=== Setting the Output Range ===&lt;br /&gt;
The output range of the DAC is set by the 2.5V reference voltage supplied by VR4. The high voltage power supply must supply at a minimum 50 times this voltage, plus 10. Thus, the high voltage power supply should be at least 135V for DAC to operate properly, even though the SiPMs are expected to need only 40V. If it is convenient to use a lower high voltage, VR4 must be replaced to provide lower reference voltage. The high voltage may then be decreased appropriately. To summarize:&lt;br /&gt;
&lt;br /&gt;
* Max output voltage = VREF*50&lt;br /&gt;
* Minimum high voltage supply = VREF*50 + 10&lt;br /&gt;
* Acceptable range for VREF&lt;br /&gt;
** Min: 1V&lt;br /&gt;
** Max: 3.75V (AD5535 datasheet specifies 4V max, but this would require AVCC of 5.25V for the DAC, which is not possible in the current board design)&lt;br /&gt;
&lt;br /&gt;
If relevant, R13 is a 100K resistor.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Diode ===&lt;br /&gt;
The DAC has a built in thermal diode. The diode drop from anode to cathode is typically 0.65V at 25&amp;amp;deg;C. It changes at a rate of -2.20mV/&amp;amp;deg;C. The anode of this diode is connected to the +5V power island, and the cathode is connected to a 270K resistor to ground. The voltage between the cathode and the resistor is connected to VIN1 (pin 15) on the ADC.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
See documentation from Analog Devices.&lt;br /&gt;
&lt;br /&gt;
=== Channel Mapping ===&lt;br /&gt;
Due to the layout of the balls on the footprint of the DAC, the DAC's internal channel numbers (which must be referenced by the FPGA) have no correlation to the channel numbers on the amplifier board. This table summarizes the mapping between various pins that belong to each channel.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''DAC Channel #'''&lt;br /&gt;
| '''DAC Pin #'''&lt;br /&gt;
| '''Digital Board Eurocard Pin #'''&lt;br /&gt;
| '''Amplifier Board Eurocard Pin #'''&lt;br /&gt;
| '''Physical Channel #'''&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| B1&lt;br /&gt;
| B3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| A2&lt;br /&gt;
| C4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| D1&lt;br /&gt;
| B2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| C2&lt;br /&gt;
| C3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| B3&lt;br /&gt;
| B4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| E2&lt;br /&gt;
| C2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| F3&lt;br /&gt;
| B1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| A4&lt;br /&gt;
| B5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| E4&lt;br /&gt;
| C5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| B5&lt;br /&gt;
| C6&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| F5&lt;br /&gt;
| C1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| A6&lt;br /&gt;
| C7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| E6&lt;br /&gt;
| B6&lt;br /&gt;
| &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 13&lt;br /&gt;
| B7&lt;br /&gt;
| B7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| F7&lt;br /&gt;
| C10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 15&lt;br /&gt;
| E8&lt;br /&gt;
| C8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| A8&lt;br /&gt;
| B8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| B9&lt;br /&gt;
| C9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| F9&lt;br /&gt;
| C16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| E10&lt;br /&gt;
| B11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| A10&lt;br /&gt;
| B9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| B11&lt;br /&gt;
| B10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| C12&lt;br /&gt;
| B12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| D13&lt;br /&gt;
| B13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| E12&lt;br /&gt;
| B14&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| A12&lt;br /&gt;
| C11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| B13&lt;br /&gt;
| C12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| H13&lt;br /&gt;
| B16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| G14&lt;br /&gt;
| B15&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 29&lt;br /&gt;
| C14&lt;br /&gt;
| C13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 30&lt;br /&gt;
| F13&lt;br /&gt;
| C15&lt;br /&gt;
|&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 31&lt;br /&gt;
| E14&lt;br /&gt;
| C14&lt;br /&gt;
|&lt;br /&gt;
| DACHEALTH&amp;lt;br&amp;gt;See [[#Channel Descriptions | ADC Channel Descriptions]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==ADC==&lt;br /&gt;
The board includes an Analog Devices AD7928 analog to digital converter. The ADC is located just to the right and slightly below the FPGA. It is labelled U4.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The ADC is powered by the +5V power island, which is regulated by an off-board power supply and decoupled near the ADC. It also requires a precise (&amp;amp;plusmn;1%) 2.5V reference to which it compares voltages when converting from analog to digital. Since the +5V power source is not used for comparison, it is flexible and may vary by &amp;amp;plusmn;0.25V without affecting ADC precision.&lt;br /&gt;
&lt;br /&gt;
===Setting the Measuring Range===&lt;br /&gt;
The measuring range is set programmatically by the FPGA over the SPI bus. The way the ADC is connected on the digital board requires that its measuring range be set to 5V, so the RANGE bit should be set to 1 by the FPGA (see Analog Devices documentation).&lt;br /&gt;
&lt;br /&gt;
===Data Interfacing===&lt;br /&gt;
The ADC uses an SPI bus to communicate with the FPGA. This bus is shared with the temperature sensor. SPI related pins include SCLK, CS, DIN, and DOUT. See the Pinout Table below.&lt;br /&gt;
&lt;br /&gt;
===Channel Descriptions===&lt;br /&gt;
This table shows what signals are monitored by the ADC.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''ADC Channel #'''&lt;br /&gt;
| '''ADC Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| VIN0&lt;br /&gt;
| 16&lt;br /&gt;
| AD7928/VHEALTH&lt;br /&gt;
| This net helps to monitor to overall health of power on the board, but is specifically intended to monitor -5V. It's voltage is the output of a resistor divider between the +5 and -5V power supplies, with resistor values of 33.2K, and 100K. Assuming +5V and -5V are both correct, the output of the divider will be +2.51V. A reading of other than 2.51V indicates a problem with one of the power supplies. Problems with the +5V power supply can be ruled out by reading VIN3. Based on the reading from VIN3, the voltage of the -5V supply can be calculated.&lt;br /&gt;
|-&lt;br /&gt;
| VIN1&lt;br /&gt;
| 15&lt;br /&gt;
| AD5535/CATHODE&lt;br /&gt;
| This is the thermal diode output from the DAC. Should read 4.35V (typical) at 25&amp;amp;deg;C. Drops 2.20mV/&amp;amp;deg;C.&lt;br /&gt;
|-&lt;br /&gt;
| VIN2&lt;br /&gt;
| 14&lt;br /&gt;
| +3.3V&lt;br /&gt;
| This is the +3.3V power plane. A reading of other than +3.3V indicates a problem with VR1.&lt;br /&gt;
|-&lt;br /&gt;
| VIN3&lt;br /&gt;
| 13&lt;br /&gt;
| +5V&lt;br /&gt;
| This is the +5V power island. A reading of other than +5V indicates a problem with the +5V power supply.&lt;br /&gt;
|-&lt;br /&gt;
| VIN4&lt;br /&gt;
| 12&lt;br /&gt;
| ADC_EXT1&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A7. It is intended to measure the output of thermistor on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN5&lt;br /&gt;
| 11&lt;br /&gt;
| +1.2V&lt;br /&gt;
| This is the +1.2V power island. This island powers the internal logic of the FPGA. A reading of other than 1.2V indicates a problem with VR3.&lt;br /&gt;
|-&lt;br /&gt;
| VIN6&lt;br /&gt;
| 10&lt;br /&gt;
| ADC_EXT2&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A8. It is intended to measure one of the transistor base voltages on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN7&lt;br /&gt;
| 9&lt;br /&gt;
| DACHEALTH&lt;br /&gt;
| This channel monitors the output of a resistor divider connected to channel 31 of the DAC. The divider consists of three resistors of 200K, 200K, and 10.2K (in order). The ADC reads out the voltage level between the second 200K and then 10.2K resistor. These resistors were selected so that at 200V, the readout voltage will be 4.973V. Since the divider should be linear, the expected voltage at 20V is 0.4973V. Three resistors were used rather than two to avoid exceeding the resistors' power ratings when the DAC is set to its maximum voltage. Note that since this divider will consume up to 484uA of current at 200V, this DAC channel should not be used for anything that might require more than ~200uA of current (the DAC can source 700uA max). The channel is routed to the backplane nonetheless.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| SPI clock (SCLK), from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| DIN&lt;br /&gt;
| SPI data in, from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&amp;lt;br&amp;gt;''Currently wired wrong''&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| CS&lt;br /&gt;
| SPI chip select&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| AD7928/REF_IN&lt;br /&gt;
| +2.5V reference, set by VR2&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9-16&lt;br /&gt;
| VIN[7:0]&lt;br /&gt;
| See [[#Channel Descriptions | ADC Channel Descriptions]]&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| DOUT&lt;br /&gt;
| SPI data out&amp;lt;br&amp;gt;''Currently wired incorrectly''&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| +3.3V&lt;br /&gt;
| VDRIVE, powers the SPI logic&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Ethernet Controller ==&lt;br /&gt;
The board uses a Silicon Laboratories CP2201, 28-pin, ethernet controller. The CP2201 is located just above the FPGA, and is labelled U2.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The CP2201 uses only +3.3V, which is supplied by the +3.3V power plane and regulated by VR1. Appropriate decoupling capacitors can be found near the CP2201.&lt;br /&gt;
&lt;br /&gt;
=== Ethernet Jack ===&lt;br /&gt;
To the right of the CP2201 is a Pulse J0011D21NL ethernet jack, labelled J1. This jack has a built-in 1:1 inductive coupling. For best results, connect this jack to a nearby ethernet switch. The jack may also be connected directly to a computer using a crossover cable. Though auto-crossover is not supported by the CP2201, if the computer's NIC supports it, a crossover cable is not necessary to connect directly to a computer.&lt;br /&gt;
&lt;br /&gt;
=== Crystal Oscillator ===&lt;br /&gt;
The CP2201 is responsible for driving the 20MHz crystal oscillator. This oscillator clocks both the CP2201 and the FPGA. The crystal oscillator can be found above the right corner of the FPGA. It can be identified by its four surface mount pads and roughly .3&amp;quot; length. It is labelled Y1, though this label is not visible after the oscillator is soldered on. The CP2201 uses an inverting driver to excite the crystal. The output of hte crystal is then sent to the CP2201 and the FPGA.&lt;br /&gt;
&lt;br /&gt;
=== Bus Format and Multiplexing ===&lt;br /&gt;
The 28-pin CP2201 used on the board only supports multiplexed operation. This means that both address and data information is passed over the same set of 8 traces. Hence, these traces are referred to as the address/data (AD) bus. A separate address line enable (ALE) trace prevents collisions from occuring on these traces. The communication protocol used is the Intel format. See the CP2201's datasheet for more information about this.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4365</id>
		<title>Digital control board documentation</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4365"/>
		<updated>2009-06-16T16:10:11Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* ADC */  added pinout&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This documentation covers the most important things to know while testing the digital control board, including component pinouts, nets, and other information.&lt;br /&gt;
&lt;br /&gt;
== Power Requirements ==&lt;br /&gt;
=== Required Voltages ===&lt;br /&gt;
All components on the digital board '''except the DAC''' can be tested using only a +5V source. The DAC requires +5V, -5V, and a high voltage corresponding to 10V higher than the maximum desired DAC output voltage (see [[#Setting the Output Range | Setting the Output Range]]). Digital and analog grounds must be connected as well before any testing takes place.&lt;br /&gt;
&lt;br /&gt;
=== Power Pins ===&lt;br /&gt;
Power shall be connected to the board as follows:&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Voltage'''&lt;br /&gt;
| '''Eurocard Pin'''&lt;br /&gt;
|-&lt;br /&gt;
| DGND &lt;br /&gt;
| A6&lt;br /&gt;
|-&lt;br /&gt;
| AGND &lt;br /&gt;
| A5&lt;br /&gt;
|-&lt;br /&gt;
| +5V &lt;br /&gt;
| A4&lt;br /&gt;
|-&lt;br /&gt;
| -5V &lt;br /&gt;
| A3&lt;br /&gt;
|-&lt;br /&gt;
| High voltage&amp;lt;br&amp;gt;(DAC max out +10)&lt;br /&gt;
| A2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Power Supply Sequencing ===&lt;br /&gt;
The control board is designed such that voltages may be supplied in any order so long as AGND and DGND are connected properly.  However, for initial testing, the preferred order for powering up the board is as follows:&lt;br /&gt;
&lt;br /&gt;
# Ensure AGND/DGND are connected/grounded&lt;br /&gt;
# +5V&lt;br /&gt;
# -5V&lt;br /&gt;
# High voltage&lt;br /&gt;
&lt;br /&gt;
== FPGA ==&lt;br /&gt;
The control board uses a Xilinx XC3S50A VQ100 FPGA. It has a 100 pin footprint and is located in the center of the control board.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The FPGA is powered by the 3.3V power plane, which is regulated by VR1. The FPGA also obtains 1.2V for its internal logic from a 1.2V power island, regulated by VR3.&lt;br /&gt;
&lt;br /&gt;
=== Logic Standard ===&lt;br /&gt;
The Xilinx XC3S50A supports several different digital logic standards. The control board is hard wired such that the FPGA will use a '''3.3V CMOS''' logic standard.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| P1&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P2&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P3&lt;br /&gt;
| AD7928/CS&lt;br /&gt;
| SPI chip select for ADC&lt;br /&gt;
|-&lt;br /&gt;
| P4&lt;br /&gt;
| SPI&lt;br /&gt;
| '''Erroneously wired SPI bus trace'''&amp;lt;br&amp;gt;Connects to SDO on temp. sensor and DIN on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P5&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| 5 MHz clock output for SPI bus (ADC and temp. sensor)&lt;br /&gt;
|-&lt;br /&gt;
| P6&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P7&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P8&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P9&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P10&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P11&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P12&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P13&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P14&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P15&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P17&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P18&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P19&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P20&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P21&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P22&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P23&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P24&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P25&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P26&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| P27&lt;br /&gt;
| FPGA/CLK_IN&lt;br /&gt;
| 20 MHz clock input from crystal oscillator&lt;br /&gt;
|-&lt;br /&gt;
| P28&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P29&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P30&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P31&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P32&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P33&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P34&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P35&lt;br /&gt;
| CP2201/INT&lt;br /&gt;
| Ethernet controller interrupt&lt;br /&gt;
|-&lt;br /&gt;
| P36&lt;br /&gt;
| MASTER_RESET&lt;br /&gt;
| Connects to RESET jumper in upper left of board (active-low, externally pulled up)&lt;br /&gt;
|-&lt;br /&gt;
| P37&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P38&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P39&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P40&lt;br /&gt;
| CP2201/CS&lt;br /&gt;
| Chip select for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P41&lt;br /&gt;
| CP2201/WR&lt;br /&gt;
| Write enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P42&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P43&lt;br /&gt;
| CP2201/RD&lt;br /&gt;
| Read enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P44&lt;br /&gt;
| CP2201/ALE&lt;br /&gt;
| Address line enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P45&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P46&lt;br /&gt;
| CP2201/RESET&lt;br /&gt;
| Reset pin for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P47&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P48&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P49&lt;br /&gt;
| CP2201/AD0&lt;br /&gt;
| Ethernet controller address/data bus, bit 0&lt;br /&gt;
|-&lt;br /&gt;
| P50&lt;br /&gt;
| CP2201/AD1&lt;br /&gt;
| Ethernet controller address/data bus, bit 1&lt;br /&gt;
|-&lt;br /&gt;
| P51&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data input from EEPROM for configuration&lt;br /&gt;
|-&lt;br /&gt;
| P52&lt;br /&gt;
| CP2201/AD2&lt;br /&gt;
| Ethernet controller address/data bus, bit 2&lt;br /&gt;
|-&lt;br /&gt;
| P53&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock (signal generated by FPGA at &amp;lt;br&amp;gt;power on to clock the configuration process)&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P54&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Gives configuration status - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P55&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P56&lt;br /&gt;
| CP2201/AD3&lt;br /&gt;
| Ethernet controller address/data bus, bit 3&lt;br /&gt;
|-&lt;br /&gt;
| P57&lt;br /&gt;
| CP2201/AD4&lt;br /&gt;
| Ethernet controller address/data bus, bit 4&lt;br /&gt;
|-&lt;br /&gt;
| P58&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P59&lt;br /&gt;
| CP2201/AD5&lt;br /&gt;
| Ethernet controller address/data bus, bit 5&lt;br /&gt;
|-&lt;br /&gt;
| P60&lt;br /&gt;
| CP2201/AD6&lt;br /&gt;
| Ethernet controller address/date bus, bit 6&lt;br /&gt;
|-&lt;br /&gt;
| P61&lt;br /&gt;
| CP2201/AD7&lt;br /&gt;
| Ethernet controller address/date bus, bit 7&lt;br /&gt;
|-&lt;br /&gt;
| P62&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P63&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P64&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P65&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P66&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P67&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P68&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P69&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P70&lt;br /&gt;
| ID3&lt;br /&gt;
| Backplane location identifier jumper, pins 3 &amp;amp; 4&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P71&lt;br /&gt;
| ID2&lt;br /&gt;
| Backplane location identifier jumper, pins 5 &amp;amp; 6&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P72&lt;br /&gt;
| ID1&lt;br /&gt;
| Backplane location identifier jumper, pins 7 &amp;amp; 8&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P73&lt;br /&gt;
| ID0&lt;br /&gt;
| Backplane location identifier jumper, pins 9 &amp;amp; 10&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P74&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P75&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P76&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P77&lt;br /&gt;
| ID4&lt;br /&gt;
| Backplane location identifier jumper, pins 1 &amp;amp; 2&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P78&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P79&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P80&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P81&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P82&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P83&lt;br /&gt;
| CLK_5MHZ_2&lt;br /&gt;
| 5 MHz clock output for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P84&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P85&lt;br /&gt;
| AD5535/DIN&lt;br /&gt;
| DAC serial data input (FPGA out -&amp;gt; DAC in)&lt;br /&gt;
|-&lt;br /&gt;
| P86&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P87&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P89&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P90&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P91&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P92&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P93&lt;br /&gt;
| AD7314/CE&lt;br /&gt;
| Chip enable for temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| P94&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P95&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P96&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P97&lt;br /&gt;
| AD7928/DOUT&lt;br /&gt;
| '''Erroneously wired ADC SPI bus connection'''&amp;lt;br&amp;gt;Connects to DOUT on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P98&lt;br /&gt;
| AD5535/RESET&lt;br /&gt;
| Reset pin for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P99&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P100&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== EEPROM ==&lt;br /&gt;
To facilitate power-on configuration of the FPGA, the control board includes a Xilinx XCF01S EEPROM. The EEPROM is located to the left of the FPGA, above the JTAG header, and has a 20 pin footprint. The EEPROM is labelled U5.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The EEPROM uses +3.3V exclusively, which it receives from the +3.3V power plane, regulated by VR1.&lt;br /&gt;
&lt;br /&gt;
=== Flashing/Burning/Writing ===&lt;br /&gt;
Whatever you call it, this refers to storing data in the EEPROM so that it can configure the FPGA at power-on. The EEPROM is programmed using a JTAG interface and the Xilinx Platform USB II cable. It is important to note that in digital board's JTAG chain, the EEPROM is the first device in the chain, unlike in the Xilinx documentation where it is shown as the second device. This should not affect the operation of the board, but should be reflected in the Xilinx software when writing the EEPROM via JTAG. &lt;br /&gt;
&lt;br /&gt;
=== FPGA Configuration ===&lt;br /&gt;
The EEPROM and FPGA are hardwired to use a master serial protocol to transfer the program from the EEPROM to the FPGA. This is the protocol recommended in the Xilinx documentation because it minimizes the number of traces necessary to run between the EEPROM and FPGA. All configuration data is sent over a single trace, FPGA/DIN (pin 1 on EEPROM), controlled by the configuration clock signal (FPGA/CCLK) which is automatically generated by the FPGA at power-on. When configuration is complete, FPGA/DONE (pin 10) is pulled high by the FPGA, and the EEPROM and configuration clock are deactivated.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data line&amp;lt;br&amp;gt;Carries data from the EEPROM to the FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock&amp;lt;br&amp;gt;Auto generated by FPGA at power-on, disabled at end of configuration&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| This is the EEPROM's TDI&amp;lt;br&amp;gt;This is the entry point for the onboard JTAG chain&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during configuration&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during configuration - can be used to intiate reconfiguration of FPGA&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Indicates completion of FPGA configuration&amp;lt;br&amp;gt;High when complete&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 12-16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| This is the EEPROM's TDO/FPGA's TDI&lt;br /&gt;
|-&lt;br /&gt;
| 18-20&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== JTAG Header ==&lt;br /&gt;
To write the FPGA's program to the EEPROM, the board employs a JTAG based programming system consistent with Xilinx's recommendations. The system is designed to operate with Xilnx's Platform USB II cable and the flying lead adapter.&lt;br /&gt;
&lt;br /&gt;
===Header Location and Size===&lt;br /&gt;
The header consists of 14 pins, 100 mil pitch, just below the EEPROM (U5). The header is labelled P1. The pitch of the pins in the header was erroneously selected to be 100 mil, which is not compatible with Xilinx's JTAG ribbon cable. Therefore, the Xilinx flying lead adapter must be used.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The JTAG interface is powered by the +3.3V power plane, not by the computer's USB port. Power is supplied through pin 2 of the JTAG header.&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
Note that the header is positioned on the board rotated 180 degrees from the position in which it is shown in the Xilinx documentation. Care must be taken when connecting the flying leads to ensure they are connected to the right pins. Connecting the flying leads to the wrong side of the header will cause all of the leads to short on the digital board's ground plane. This will certainly cause undesired operation, and may or may not cause damage. Improper wiring is most likely to cause damage if one of the flying leads is connected to an odd numbered pin. '''Note from the pinout table below that no flying lead connections should ever be made to the odd numbered pins on the JTAG header.'''&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1, 3, 5, 7, 9, 11, 13 (odd pins)&lt;br /&gt;
| DGND&lt;br /&gt;
| Ground pins for signal integrity&amp;lt;br&amp;gt;'''Never connect a flying lead to these pins'''&amp;lt;br&amp;gt;Doing so will short to ground and may cause permanent damage if the Platform USB II cable does not have protection against this.&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| +3.3V&lt;br /&gt;
| Power source for all JTAG logic&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS - connects to EEPROM and FPGA &lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK - connects to EEPROM and FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| JTAG  boundary scan chain endpoint&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| JTAG boundary scan chain start point&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| No connection&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| No connection&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===JTAG Overview===&lt;br /&gt;
The JTAG interface is clocked by the TCK signal. TCK is generated by the Platform USB II cable, and connects directly from the JTAG header to both the EEPROM and FPGA.&lt;br /&gt;
&lt;br /&gt;
The TMS signal is directly connected to both the EEPROM and FPGA, and is the data line over which JTAG test results (in this case programming results) are sent. TMS is used by only one component at a time.&lt;br /&gt;
&lt;br /&gt;
The TDI/TDO lines form a chain that connects to each JTAG component in series. On the control board, the first point in the chain is the EEPROM's TDI. Next is the EEPROM's TDO, which is the same as the FPGA's TDI. The FPGA's TDO then returns to the JTAG header and the Platform USB II cable.&lt;br /&gt;
&lt;br /&gt;
== DAC ==&lt;br /&gt;
The control board uses the Analog Devices AD5535, 32-channel, 200V max, digital to analog converter. This chip has a modified BC-124 BGA footprint and is located above the Eurocard connector at the bottom of the board. It is labelled U3.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The DAC is primarily powered by the +5V power island, regulated by an off-board power supply and extensively decoupled in the area of the DAC. The DAC also requires -5V, and a high voltage as discussed in [[#Power Requirements | Power Requirements]]. Both of these voltages are supplied by an off-board supply and decoupled near the DAC. In addition to these voltage levels, the DAC requires a precise +2.5V reference, created by the shunt-type voltage reference VR4.&lt;br /&gt;
&lt;br /&gt;
=== Setting the Output Range ===&lt;br /&gt;
The output range of the DAC is set by the 2.5V reference voltage supplied by VR4. The high voltage power supply must supply at a minimum 50 times this voltage, plus 10. Thus, the high voltage power supply should be at least 135V for DAC to operate properly, even though the SiPMs are expected to need only 40V. If it is convenient to use a lower high voltage, VR4 must be replaced to provide lower reference voltage. The high voltage may then be decreased appropriately. To summarize:&lt;br /&gt;
&lt;br /&gt;
* Max output voltage = VREF*50&lt;br /&gt;
* Minimum high voltage supply = VREF*50 + 10&lt;br /&gt;
* Acceptable range for VREF&lt;br /&gt;
** Min: 1V&lt;br /&gt;
** Max: 3.75V (AD5535 datasheet specifies 4V max, but this would require AVCC of 5.25V for the DAC, which is not possible in the current board design)&lt;br /&gt;
&lt;br /&gt;
If relevant, R13 is a 100K resistor.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Diode ===&lt;br /&gt;
The DAC has a built in thermal diode. The diode drop from anode to cathode is typically 0.65V at 25&amp;amp;deg;C. It changes at a rate of -2.20mV/&amp;amp;deg;C. The anode of this diode is connected to the +5V power island, and the cathode is connected to a 270K resistor to ground. The voltage between the cathode and the resistor is connected to VIN1 (pin 15) on the ADC.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
See documentation from Analog Devices.&lt;br /&gt;
&lt;br /&gt;
=== Channel Mapping ===&lt;br /&gt;
Due to the layout of the balls on the footprint of the DAC, the DAC's internal channel numbers (which must be referenced by the FPGA) have no correlation to the channel numbers on the amplifier board. This table summarizes the mapping between various pins that belong to each channel.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''DAC Channel #'''&lt;br /&gt;
| '''DAC Pin #'''&lt;br /&gt;
| '''Digital Board Eurocard Pin #'''&lt;br /&gt;
| '''Amplifier Board Eurocard Pin #'''&lt;br /&gt;
| '''Physical Channel #'''&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| B1&lt;br /&gt;
| B3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| A2&lt;br /&gt;
| C4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| D1&lt;br /&gt;
| B2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| C2&lt;br /&gt;
| C3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| B3&lt;br /&gt;
| B4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| E2&lt;br /&gt;
| C2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| F3&lt;br /&gt;
| B1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| A4&lt;br /&gt;
| B5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| E4&lt;br /&gt;
| C5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| B5&lt;br /&gt;
| C6&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| F5&lt;br /&gt;
| C1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| A6&lt;br /&gt;
| C7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| E6&lt;br /&gt;
| B6&lt;br /&gt;
| &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 13&lt;br /&gt;
| B7&lt;br /&gt;
| B7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| F7&lt;br /&gt;
| C10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 15&lt;br /&gt;
| E8&lt;br /&gt;
| C8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| A8&lt;br /&gt;
| B8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| B9&lt;br /&gt;
| C9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| F9&lt;br /&gt;
| C16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| E10&lt;br /&gt;
| B11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| A10&lt;br /&gt;
| B9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| B11&lt;br /&gt;
| B10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| C12&lt;br /&gt;
| B12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| D13&lt;br /&gt;
| B13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| E12&lt;br /&gt;
| B14&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| A12&lt;br /&gt;
| C11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| B13&lt;br /&gt;
| C12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| H13&lt;br /&gt;
| B16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| G14&lt;br /&gt;
| B15&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 29&lt;br /&gt;
| C14&lt;br /&gt;
| C13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 30&lt;br /&gt;
| F13&lt;br /&gt;
| C15&lt;br /&gt;
|&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 31&lt;br /&gt;
| E14&lt;br /&gt;
| C14&lt;br /&gt;
|&lt;br /&gt;
| DACHEALTH&amp;lt;br&amp;gt;See [[#Channel Descriptions | ADC Channel Descriptions]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==ADC==&lt;br /&gt;
The board includes an Analog Devices AD7928 analog to digital converter. The ADC is located just to the right and slightly below the FPGA. It is labelled U4.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The ADC is powered by the +5V power island, which is regulated by an off-board power supply and decoupled near the ADC. It also requires a precise (&amp;amp;plusmn;1%) 2.5V reference to which it compares voltages when converting from analog to digital. Since the +5V power source is not used for comparison, it is flexible and may vary by &amp;amp;plusmn;0.25V without affecting ADC precision.&lt;br /&gt;
&lt;br /&gt;
===Setting the Measuring Range===&lt;br /&gt;
The measuring range is set programmatically by the FPGA over the SPI bus. The way the ADC is connected on the digital board requires that its measuring range be set to 5V, so the RANGE bit should be set to 1 by the FPGA (see Analog Devices documentation).&lt;br /&gt;
&lt;br /&gt;
===Data Interfacing===&lt;br /&gt;
The ADC uses an SPI bus to communicate with the FPGA. This bus is shared with the temperature sensor. SPI related pins include SCLK, CS, DIN, and DOUT. See the Pinout Table below.&lt;br /&gt;
&lt;br /&gt;
===Channel Descriptions===&lt;br /&gt;
This table shows what signals are monitored by the ADC.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''ADC Channel #'''&lt;br /&gt;
| '''ADC Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| VIN0&lt;br /&gt;
| 16&lt;br /&gt;
| AD7928/VHEALTH&lt;br /&gt;
| This net helps to monitor to overall health of power on the board, but is specifically intended to monitor -5V. It's voltage is the output of a resistor divider between the +5 and -5V power supplies, with resistor values of 33.2K, and 100K. Assuming +5V and -5V are both correct, the output of the divider will be +2.51V. A reading of other than 2.51V indicates a problem with one of the power supplies. Problems with the +5V power supply can be ruled out by reading VIN3. Based on the reading from VIN3, the voltage of the -5V supply can be calculated.&lt;br /&gt;
|-&lt;br /&gt;
| VIN1&lt;br /&gt;
| 15&lt;br /&gt;
| AD5535/CATHODE&lt;br /&gt;
| This is the thermal diode output from the DAC. Should read 4.35V (typical) at 25&amp;amp;deg;C. Drops 2.20mV/&amp;amp;deg;C.&lt;br /&gt;
|-&lt;br /&gt;
| VIN2&lt;br /&gt;
| 14&lt;br /&gt;
| +3.3V&lt;br /&gt;
| This is the +3.3V power plane. A reading of other than +3.3V indicates a problem with VR1.&lt;br /&gt;
|-&lt;br /&gt;
| VIN3&lt;br /&gt;
| 13&lt;br /&gt;
| +5V&lt;br /&gt;
| This is the +5V power island. A reading of other than +5V indicates a problem with the +5V power supply.&lt;br /&gt;
|-&lt;br /&gt;
| VIN4&lt;br /&gt;
| 12&lt;br /&gt;
| ADC_EXT1&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A7. It is intended to measure the output of thermistor on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN5&lt;br /&gt;
| 11&lt;br /&gt;
| +1.2V&lt;br /&gt;
| This is the +1.2V power island. This island powers the internal logic of the FPGA. A reading of other than 1.2V indicates a problem with VR3.&lt;br /&gt;
|-&lt;br /&gt;
| VIN6&lt;br /&gt;
| 10&lt;br /&gt;
| ADC_EXT2&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A8. It is intended to measure one of the transistor base voltages on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN7&lt;br /&gt;
| 9&lt;br /&gt;
| DACHEALTH&lt;br /&gt;
| This channel monitors the output of a resistor divider connected to channel 31 of the DAC. The divider consists of three resistors of 200K, 200K, and 10.2K (in order). The ADC reads out the voltage level between the second 200K and then 10.2K resistor. These resistors were selected so that at 200V, the readout voltage will be 4.973V. Since the divider should be linear, the expected voltage at 20V is 0.4973V. Three resistors were used rather than two to avoid exceeding the resistors' power ratings when the DAC is set to its maximum voltage. Note that since this divider will consume up to 484uA of current at 200V, this DAC channel should not be used for anything that might require more than ~200uA of current (the DAC can source 700uA max). The channel is routed to the backplane nonetheless.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| SPI clock (SCLK), from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| DIN&lt;br /&gt;
| SPI data in, from FPGA&amp;lt;br&amp;gt;Shared with temperature sensor&amp;lt;br&amp;gt;''Currently wired wrong''&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| CS&lt;br /&gt;
| SPI chip select&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| +5V&lt;br /&gt;
| Power pin&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| AD7928/REF_IN&lt;br /&gt;
| +2.5V reference, set by VR2&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9-16&lt;br /&gt;
| VIN[7:0]&lt;br /&gt;
| See [[#Channel Descriptions | ADC Channel Descriptions]]&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| DOUT&lt;br /&gt;
| SPI data out&amp;lt;br&amp;gt;''Currently wired incorrectly''&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| +3.3V&lt;br /&gt;
| VDRIVE, powers the SPI logic&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| AGND&lt;br /&gt;
|&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4364</id>
		<title>Digital control board documentation</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4364"/>
		<updated>2009-06-16T15:56:57Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* Channel Mapping */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This documentation covers the most important things to know while testing the digital control board, including component pinouts, nets, and other information.&lt;br /&gt;
&lt;br /&gt;
== Power Requirements ==&lt;br /&gt;
=== Required Voltages ===&lt;br /&gt;
All components on the digital board '''except the DAC''' can be tested using only a +5V source. The DAC requires +5V, -5V, and a high voltage corresponding to 10V higher than the maximum desired DAC output voltage (see [[#Setting the Output Range | Setting the Output Range]]). Digital and analog grounds must be connected as well before any testing takes place.&lt;br /&gt;
&lt;br /&gt;
=== Power Pins ===&lt;br /&gt;
Power shall be connected to the board as follows:&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Voltage'''&lt;br /&gt;
| '''Eurocard Pin'''&lt;br /&gt;
|-&lt;br /&gt;
| DGND &lt;br /&gt;
| A6&lt;br /&gt;
|-&lt;br /&gt;
| AGND &lt;br /&gt;
| A5&lt;br /&gt;
|-&lt;br /&gt;
| +5V &lt;br /&gt;
| A4&lt;br /&gt;
|-&lt;br /&gt;
| -5V &lt;br /&gt;
| A3&lt;br /&gt;
|-&lt;br /&gt;
| High voltage&amp;lt;br&amp;gt;(DAC max out +10)&lt;br /&gt;
| A2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Power Supply Sequencing ===&lt;br /&gt;
The control board is designed such that voltages may be supplied in any order so long as AGND and DGND are connected properly.  However, for initial testing, the preferred order for powering up the board is as follows:&lt;br /&gt;
&lt;br /&gt;
# Ensure AGND/DGND are connected/grounded&lt;br /&gt;
# +5V&lt;br /&gt;
# -5V&lt;br /&gt;
# High voltage&lt;br /&gt;
&lt;br /&gt;
== FPGA ==&lt;br /&gt;
The control board uses a Xilinx XC3S50A VQ100 FPGA. It has a 100 pin footprint and is located in the center of the control board.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The FPGA is powered by the 3.3V power plane, which is regulated by VR1. The FPGA also obtains 1.2V for its internal logic from a 1.2V power island, regulated by VR3.&lt;br /&gt;
&lt;br /&gt;
=== Logic Standard ===&lt;br /&gt;
The Xilinx XC3S50A supports several different digital logic standards. The control board is hard wired such that the FPGA will use a '''3.3V CMOS''' logic standard.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| P1&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P2&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P3&lt;br /&gt;
| AD7928/CS&lt;br /&gt;
| SPI chip select for ADC&lt;br /&gt;
|-&lt;br /&gt;
| P4&lt;br /&gt;
| SPI&lt;br /&gt;
| '''Erroneously wired SPI bus trace'''&amp;lt;br&amp;gt;Connects to SDO on temp. sensor and DIN on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P5&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| 5 MHz clock output for SPI bus (ADC and temp. sensor)&lt;br /&gt;
|-&lt;br /&gt;
| P6&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P7&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P8&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P9&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P10&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P11&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P12&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P13&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P14&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P15&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P17&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P18&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P19&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P20&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P21&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P22&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P23&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P24&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P25&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P26&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| P27&lt;br /&gt;
| FPGA/CLK_IN&lt;br /&gt;
| 20 MHz clock input from crystal oscillator&lt;br /&gt;
|-&lt;br /&gt;
| P28&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P29&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P30&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P31&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P32&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P33&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P34&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P35&lt;br /&gt;
| CP2201/INT&lt;br /&gt;
| Ethernet controller interrupt&lt;br /&gt;
|-&lt;br /&gt;
| P36&lt;br /&gt;
| MASTER_RESET&lt;br /&gt;
| Connects to RESET jumper in upper left of board (active-low, externally pulled up)&lt;br /&gt;
|-&lt;br /&gt;
| P37&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P38&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P39&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P40&lt;br /&gt;
| CP2201/CS&lt;br /&gt;
| Chip select for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P41&lt;br /&gt;
| CP2201/WR&lt;br /&gt;
| Write enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P42&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P43&lt;br /&gt;
| CP2201/RD&lt;br /&gt;
| Read enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P44&lt;br /&gt;
| CP2201/ALE&lt;br /&gt;
| Address line enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P45&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P46&lt;br /&gt;
| CP2201/RESET&lt;br /&gt;
| Reset pin for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P47&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P48&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P49&lt;br /&gt;
| CP2201/AD0&lt;br /&gt;
| Ethernet controller address/data bus, bit 0&lt;br /&gt;
|-&lt;br /&gt;
| P50&lt;br /&gt;
| CP2201/AD1&lt;br /&gt;
| Ethernet controller address/data bus, bit 1&lt;br /&gt;
|-&lt;br /&gt;
| P51&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data input from EEPROM for configuration&lt;br /&gt;
|-&lt;br /&gt;
| P52&lt;br /&gt;
| CP2201/AD2&lt;br /&gt;
| Ethernet controller address/data bus, bit 2&lt;br /&gt;
|-&lt;br /&gt;
| P53&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock (signal generated by FPGA at &amp;lt;br&amp;gt;power on to clock the configuration process)&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P54&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Gives configuration status - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P55&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P56&lt;br /&gt;
| CP2201/AD3&lt;br /&gt;
| Ethernet controller address/data bus, bit 3&lt;br /&gt;
|-&lt;br /&gt;
| P57&lt;br /&gt;
| CP2201/AD4&lt;br /&gt;
| Ethernet controller address/data bus, bit 4&lt;br /&gt;
|-&lt;br /&gt;
| P58&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P59&lt;br /&gt;
| CP2201/AD5&lt;br /&gt;
| Ethernet controller address/data bus, bit 5&lt;br /&gt;
|-&lt;br /&gt;
| P60&lt;br /&gt;
| CP2201/AD6&lt;br /&gt;
| Ethernet controller address/date bus, bit 6&lt;br /&gt;
|-&lt;br /&gt;
| P61&lt;br /&gt;
| CP2201/AD7&lt;br /&gt;
| Ethernet controller address/date bus, bit 7&lt;br /&gt;
|-&lt;br /&gt;
| P62&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P63&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P64&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P65&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P66&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P67&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P68&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P69&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P70&lt;br /&gt;
| ID3&lt;br /&gt;
| Backplane location identifier jumper, pins 3 &amp;amp; 4&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P71&lt;br /&gt;
| ID2&lt;br /&gt;
| Backplane location identifier jumper, pins 5 &amp;amp; 6&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P72&lt;br /&gt;
| ID1&lt;br /&gt;
| Backplane location identifier jumper, pins 7 &amp;amp; 8&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P73&lt;br /&gt;
| ID0&lt;br /&gt;
| Backplane location identifier jumper, pins 9 &amp;amp; 10&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P74&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P75&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P76&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P77&lt;br /&gt;
| ID4&lt;br /&gt;
| Backplane location identifier jumper, pins 1 &amp;amp; 2&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P78&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P79&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P80&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P81&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P82&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P83&lt;br /&gt;
| CLK_5MHZ_2&lt;br /&gt;
| 5 MHz clock output for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P84&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P85&lt;br /&gt;
| AD5535/DIN&lt;br /&gt;
| DAC serial data input (FPGA out -&amp;gt; DAC in)&lt;br /&gt;
|-&lt;br /&gt;
| P86&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P87&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P89&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P90&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P91&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P92&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P93&lt;br /&gt;
| AD7314/CE&lt;br /&gt;
| Chip enable for temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| P94&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P95&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P96&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P97&lt;br /&gt;
| AD7928/DOUT&lt;br /&gt;
| '''Erroneously wired ADC SPI bus connection'''&amp;lt;br&amp;gt;Connects to DOUT on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P98&lt;br /&gt;
| AD5535/RESET&lt;br /&gt;
| Reset pin for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P99&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P100&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== EEPROM ==&lt;br /&gt;
To facilitate power-on configuration of the FPGA, the control board includes a Xilinx XCF01S EEPROM. The EEPROM is located to the left of the FPGA, above the JTAG header, and has a 20 pin footprint. The EEPROM is labelled U5.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The EEPROM uses +3.3V exclusively, which it receives from the +3.3V power plane, regulated by VR1.&lt;br /&gt;
&lt;br /&gt;
=== Flashing/Burning/Writing ===&lt;br /&gt;
Whatever you call it, this refers to storing data in the EEPROM so that it can configure the FPGA at power-on. The EEPROM is programmed using a JTAG interface and the Xilinx Platform USB II cable. It is important to note that in digital board's JTAG chain, the EEPROM is the first device in the chain, unlike in the Xilinx documentation where it is shown as the second device. This should not affect the operation of the board, but should be reflected in the Xilinx software when writing the EEPROM via JTAG. &lt;br /&gt;
&lt;br /&gt;
=== FPGA Configuration ===&lt;br /&gt;
The EEPROM and FPGA are hardwired to use a master serial protocol to transfer the program from the EEPROM to the FPGA. This is the protocol recommended in the Xilinx documentation because it minimizes the number of traces necessary to run between the EEPROM and FPGA. All configuration data is sent over a single trace, FPGA/DIN (pin 1 on EEPROM), controlled by the configuration clock signal (FPGA/CCLK) which is automatically generated by the FPGA at power-on. When configuration is complete, FPGA/DONE (pin 10) is pulled high by the FPGA, and the EEPROM and configuration clock are deactivated.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data line&amp;lt;br&amp;gt;Carries data from the EEPROM to the FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock&amp;lt;br&amp;gt;Auto generated by FPGA at power-on, disabled at end of configuration&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| This is the EEPROM's TDI&amp;lt;br&amp;gt;This is the entry point for the onboard JTAG chain&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during configuration&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during configuration - can be used to intiate reconfiguration of FPGA&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Indicates completion of FPGA configuration&amp;lt;br&amp;gt;High when complete&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 12-16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| This is the EEPROM's TDO/FPGA's TDI&lt;br /&gt;
|-&lt;br /&gt;
| 18-20&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== JTAG Header ==&lt;br /&gt;
To write the FPGA's program to the EEPROM, the board employs a JTAG based programming system consistent with Xilinx's recommendations. The system is designed to operate with Xilnx's Platform USB II cable and the flying lead adapter.&lt;br /&gt;
&lt;br /&gt;
===Header Location and Size===&lt;br /&gt;
The header consists of 14 pins, 100 mil pitch, just below the EEPROM (U5). The header is labelled P1. The pitch of the pins in the header was erroneously selected to be 100 mil, which is not compatible with Xilinx's JTAG ribbon cable. Therefore, the Xilinx flying lead adapter must be used.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The JTAG interface is powered by the +3.3V power plane, not by the computer's USB port. Power is supplied through pin 2 of the JTAG header.&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
Note that the header is positioned on the board rotated 180 degrees from the position in which it is shown in the Xilinx documentation. Care must be taken when connecting the flying leads to ensure they are connected to the right pins. Connecting the flying leads to the wrong side of the header will cause all of the leads to short on the digital board's ground plane. This will certainly cause undesired operation, and may or may not cause damage. Improper wiring is most likely to cause damage if one of the flying leads is connected to an odd numbered pin. '''Note from the pinout table below that no flying lead connections should ever be made to the odd numbered pins on the JTAG header.'''&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1, 3, 5, 7, 9, 11, 13 (odd pins)&lt;br /&gt;
| DGND&lt;br /&gt;
| Ground pins for signal integrity&amp;lt;br&amp;gt;'''Never connect a flying lead to these pins'''&amp;lt;br&amp;gt;Doing so will short to ground and may cause permanent damage if the Platform USB II cable does not have protection against this.&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| +3.3V&lt;br /&gt;
| Power source for all JTAG logic&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS - connects to EEPROM and FPGA &lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK - connects to EEPROM and FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| JTAG  boundary scan chain endpoint&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| JTAG boundary scan chain start point&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| No connection&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| No connection&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===JTAG Overview===&lt;br /&gt;
The JTAG interface is clocked by the TCK signal. TCK is generated by the Platform USB II cable, and connects directly from the JTAG header to both the EEPROM and FPGA.&lt;br /&gt;
&lt;br /&gt;
The TMS signal is directly connected to both the EEPROM and FPGA, and is the data line over which JTAG test results (in this case programming results) are sent. TMS is used by only one component at a time.&lt;br /&gt;
&lt;br /&gt;
The TDI/TDO lines form a chain that connects to each JTAG component in series. On the control board, the first point in the chain is the EEPROM's TDI. Next is the EEPROM's TDO, which is the same as the FPGA's TDI. The FPGA's TDO then returns to the JTAG header and the Platform USB II cable.&lt;br /&gt;
&lt;br /&gt;
== DAC ==&lt;br /&gt;
The control board uses the Analog Devices AD5535, 32-channel, 200V max, digital to analog converter. This chip has a modified BC-124 BGA footprint and is located above the Eurocard connector at the bottom of the board. It is labelled U3.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The DAC is primarily powered by the +5V power island, regulated by an off-board power supply and extensively decoupled in the area of the DAC. The DAC also requires -5V, and a high voltage as discussed in [[#Power Requirements | Power Requirements]]. Both of these voltages are supplied by an off-board supply and decoupled near the DAC. In addition to these voltage levels, the DAC requires a precise +2.5V reference, created by the shunt-type voltage reference VR4.&lt;br /&gt;
&lt;br /&gt;
=== Setting the Output Range ===&lt;br /&gt;
The output range of the DAC is set by the 2.5V reference voltage supplied by VR4. The high voltage power supply must supply at a minimum 50 times this voltage, plus 10. Thus, the high voltage power supply should be at least 135V for DAC to operate properly, even though the SiPMs are expected to need only 40V. If it is convenient to use a lower high voltage, VR4 must be replaced to provide lower reference voltage. The high voltage may then be decreased appropriately. To summarize:&lt;br /&gt;
&lt;br /&gt;
* Max output voltage = VREF*50&lt;br /&gt;
* Minimum high voltage supply = VREF*50 + 10&lt;br /&gt;
* Acceptable range for VREF&lt;br /&gt;
** Min: 1V&lt;br /&gt;
** Max: 3.75V (AD5535 datasheet specifies 4V max, but this would require AVCC of 5.25V for the DAC, which is not possible in the current board design)&lt;br /&gt;
&lt;br /&gt;
If relevant, R13 is a 100K resistor.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Diode ===&lt;br /&gt;
The DAC has a built in thermal diode. The diode drop from anode to cathode is typically 0.65V at 25&amp;amp;deg;C. It changes at a rate of -2.20mV/&amp;amp;deg;C. The anode of this diode is connected to the +5V power island, and the cathode is connected to a 270K resistor to ground. The voltage between the cathode and the resistor is connected to VIN1 (pin 15) on the ADC.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
See documentation from Analog Devices.&lt;br /&gt;
&lt;br /&gt;
=== Channel Mapping ===&lt;br /&gt;
Due to the layout of the balls on the footprint of the DAC, the DAC's internal channel numbers (which must be referenced by the FPGA) have no correlation to the channel numbers on the amplifier board. This table summarizes the mapping between various pins that belong to each channel.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''DAC Channel #'''&lt;br /&gt;
| '''DAC Pin #'''&lt;br /&gt;
| '''Digital Board Eurocard Pin #'''&lt;br /&gt;
| '''Amplifier Board Eurocard Pin #'''&lt;br /&gt;
| '''Physical Channel #'''&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| B1&lt;br /&gt;
| B3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| A2&lt;br /&gt;
| C4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| D1&lt;br /&gt;
| B2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| C2&lt;br /&gt;
| C3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| B3&lt;br /&gt;
| B4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| E2&lt;br /&gt;
| C2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| F3&lt;br /&gt;
| B1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| A4&lt;br /&gt;
| B5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| E4&lt;br /&gt;
| C5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| B5&lt;br /&gt;
| C6&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| F5&lt;br /&gt;
| C1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| A6&lt;br /&gt;
| C7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| E6&lt;br /&gt;
| B6&lt;br /&gt;
| &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 13&lt;br /&gt;
| B7&lt;br /&gt;
| B7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| F7&lt;br /&gt;
| C10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 15&lt;br /&gt;
| E8&lt;br /&gt;
| C8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| A8&lt;br /&gt;
| B8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| B9&lt;br /&gt;
| C9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| F9&lt;br /&gt;
| C16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| E10&lt;br /&gt;
| B11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| A10&lt;br /&gt;
| B9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| B11&lt;br /&gt;
| B10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| C12&lt;br /&gt;
| B12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| D13&lt;br /&gt;
| B13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| E12&lt;br /&gt;
| B14&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| A12&lt;br /&gt;
| C11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| B13&lt;br /&gt;
| C12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| H13&lt;br /&gt;
| B16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| G14&lt;br /&gt;
| B15&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 29&lt;br /&gt;
| C14&lt;br /&gt;
| C13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 30&lt;br /&gt;
| F13&lt;br /&gt;
| C15&lt;br /&gt;
|&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 31&lt;br /&gt;
| E14&lt;br /&gt;
| C14&lt;br /&gt;
|&lt;br /&gt;
| DACHEALTH&amp;lt;br&amp;gt;See [[#Channel Descriptions | ADC Channel Descriptions]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==ADC==&lt;br /&gt;
The board includes an Analog Devices AD7928 analog to digital converter. The ADC is located just to the right and slightly below the FPGA. It is labelled U4.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The ADC is powered by the +5V power island, regulated by an off-board power supply, and decoupled near the ADC. It also requires a precise (&amp;amp;plusmn;1%) 2.5V reference to which it compares voltages when converting from analog to digital. Since the +5V power source is not used for comparison, it is flexible and may vary by &amp;amp;plusmn;0.25V without affecting ADC precision.&lt;br /&gt;
&lt;br /&gt;
===Setting the Measuring Range===&lt;br /&gt;
The measuring range is set programmatically by the FPGA over the SPI bus. The way the ADC is connected on the digital board requires that its measuring range be set to 5V, so the RANGE bit should be set to 1 by the FPGA (see Analog Devices documentation).&lt;br /&gt;
&lt;br /&gt;
===Channel Descriptions===&lt;br /&gt;
This table shows what signals are monitored by the ADC.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''ADC Channel #'''&lt;br /&gt;
| '''ADC Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| VIN0&lt;br /&gt;
| 16&lt;br /&gt;
| AD7928/VHEALTH&lt;br /&gt;
| This net helps to monitor to overall health of power on the board, but is specifically intended to monitor -5V. It's voltage is the output of a resistor divider between the +5 and -5V power supplies, with resistor values of 33.2K, and 100K. Assuming +5V and -5V are both correct, the output of the divider will be +2.51V. A reading of other than 2.51V indicates a problem with one of the power supplies. Problems with the +5V power supply can be ruled out by reading VIN3. Based on the reading from VIN3, the voltage of the -5V supply can be calculated.&lt;br /&gt;
|-&lt;br /&gt;
| VIN1&lt;br /&gt;
| 15&lt;br /&gt;
| AD5535/CATHODE&lt;br /&gt;
| This is the thermal diode output from the DAC. Should read 4.35V (typical) at 25&amp;amp;deg;C. Drops 2.20mV/&amp;amp;deg;C.&lt;br /&gt;
|-&lt;br /&gt;
| VIN2&lt;br /&gt;
| 14&lt;br /&gt;
| +3.3V&lt;br /&gt;
| This is the +3.3V power plane. A reading of other than +3.3V indicates a problem with VR1.&lt;br /&gt;
|-&lt;br /&gt;
| VIN3&lt;br /&gt;
| 13&lt;br /&gt;
| +5V&lt;br /&gt;
| This is the +5V power island. A reading of other than +5V indicates a problem with the +5V power supply.&lt;br /&gt;
|-&lt;br /&gt;
| VIN4&lt;br /&gt;
| 12&lt;br /&gt;
| ADC_EXT1&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A7. It is intended to measure the output of thermistor on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN5&lt;br /&gt;
| 11&lt;br /&gt;
| +1.2V&lt;br /&gt;
| This is the +1.2V power island. This island powers the internal logic of the FPGA. A reading of other than 1.2V indicates a problem with VR3.&lt;br /&gt;
|-&lt;br /&gt;
| VIN6&lt;br /&gt;
| 10&lt;br /&gt;
| ADC_EXT2&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A8. It is intended to measure one of the transistor base voltages on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN7&lt;br /&gt;
| 9&lt;br /&gt;
| DACHEALTH&lt;br /&gt;
| This channel monitors the output of a resistor divider connected to channel 31 of the DAC. The divider consists of three resistors of 200K, 200K, and 10.2K (in order). The ADC reads out the voltage level between the second 200K and then 10.2K resistor. These resistors were selected so that at 200V, the readout voltage will be 4.878V. Since the divider should be linear, the expected voltage at 20V is 0.4878V. Three resistors were used rather than two to avoid exceeding the resistors' power ratings when the DAC is set to its maximum voltage. Note that since this divider will consume up to 484uA of current at 200V, this DAC channel should not be used for anything that might require more than ~200uA of current. The channel is routed to the backplane nonetheless.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4363</id>
		<title>Digital control board documentation</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4363"/>
		<updated>2009-06-16T15:55:52Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* Channel Mapping */  clarified DACHEALTH&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This documentation covers the most important things to know while testing the digital control board, including component pinouts, nets, and other information.&lt;br /&gt;
&lt;br /&gt;
== Power Requirements ==&lt;br /&gt;
=== Required Voltages ===&lt;br /&gt;
All components on the digital board '''except the DAC''' can be tested using only a +5V source. The DAC requires +5V, -5V, and a high voltage corresponding to 10V higher than the maximum desired DAC output voltage (see [[#Setting the Output Range | Setting the Output Range]]). Digital and analog grounds must be connected as well before any testing takes place.&lt;br /&gt;
&lt;br /&gt;
=== Power Pins ===&lt;br /&gt;
Power shall be connected to the board as follows:&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Voltage'''&lt;br /&gt;
| '''Eurocard Pin'''&lt;br /&gt;
|-&lt;br /&gt;
| DGND &lt;br /&gt;
| A6&lt;br /&gt;
|-&lt;br /&gt;
| AGND &lt;br /&gt;
| A5&lt;br /&gt;
|-&lt;br /&gt;
| +5V &lt;br /&gt;
| A4&lt;br /&gt;
|-&lt;br /&gt;
| -5V &lt;br /&gt;
| A3&lt;br /&gt;
|-&lt;br /&gt;
| High voltage&amp;lt;br&amp;gt;(DAC max out +10)&lt;br /&gt;
| A2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Power Supply Sequencing ===&lt;br /&gt;
The control board is designed such that voltages may be supplied in any order so long as AGND and DGND are connected properly.  However, for initial testing, the preferred order for powering up the board is as follows:&lt;br /&gt;
&lt;br /&gt;
# Ensure AGND/DGND are connected/grounded&lt;br /&gt;
# +5V&lt;br /&gt;
# -5V&lt;br /&gt;
# High voltage&lt;br /&gt;
&lt;br /&gt;
== FPGA ==&lt;br /&gt;
The control board uses a Xilinx XC3S50A VQ100 FPGA. It has a 100 pin footprint and is located in the center of the control board.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The FPGA is powered by the 3.3V power plane, which is regulated by VR1. The FPGA also obtains 1.2V for its internal logic from a 1.2V power island, regulated by VR3.&lt;br /&gt;
&lt;br /&gt;
=== Logic Standard ===&lt;br /&gt;
The Xilinx XC3S50A supports several different digital logic standards. The control board is hard wired such that the FPGA will use a '''3.3V CMOS''' logic standard.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| P1&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P2&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P3&lt;br /&gt;
| AD7928/CS&lt;br /&gt;
| SPI chip select for ADC&lt;br /&gt;
|-&lt;br /&gt;
| P4&lt;br /&gt;
| SPI&lt;br /&gt;
| '''Erroneously wired SPI bus trace'''&amp;lt;br&amp;gt;Connects to SDO on temp. sensor and DIN on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P5&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| 5 MHz clock output for SPI bus (ADC and temp. sensor)&lt;br /&gt;
|-&lt;br /&gt;
| P6&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P7&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P8&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P9&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P10&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P11&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P12&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P13&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P14&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P15&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P17&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P18&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P19&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P20&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P21&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P22&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P23&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P24&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P25&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P26&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| P27&lt;br /&gt;
| FPGA/CLK_IN&lt;br /&gt;
| 20 MHz clock input from crystal oscillator&lt;br /&gt;
|-&lt;br /&gt;
| P28&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P29&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P30&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P31&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P32&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P33&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P34&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P35&lt;br /&gt;
| CP2201/INT&lt;br /&gt;
| Ethernet controller interrupt&lt;br /&gt;
|-&lt;br /&gt;
| P36&lt;br /&gt;
| MASTER_RESET&lt;br /&gt;
| Connects to RESET jumper in upper left of board (active-low, externally pulled up)&lt;br /&gt;
|-&lt;br /&gt;
| P37&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P38&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P39&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P40&lt;br /&gt;
| CP2201/CS&lt;br /&gt;
| Chip select for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P41&lt;br /&gt;
| CP2201/WR&lt;br /&gt;
| Write enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P42&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P43&lt;br /&gt;
| CP2201/RD&lt;br /&gt;
| Read enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P44&lt;br /&gt;
| CP2201/ALE&lt;br /&gt;
| Address line enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P45&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P46&lt;br /&gt;
| CP2201/RESET&lt;br /&gt;
| Reset pin for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P47&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P48&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P49&lt;br /&gt;
| CP2201/AD0&lt;br /&gt;
| Ethernet controller address/data bus, bit 0&lt;br /&gt;
|-&lt;br /&gt;
| P50&lt;br /&gt;
| CP2201/AD1&lt;br /&gt;
| Ethernet controller address/data bus, bit 1&lt;br /&gt;
|-&lt;br /&gt;
| P51&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data input from EEPROM for configuration&lt;br /&gt;
|-&lt;br /&gt;
| P52&lt;br /&gt;
| CP2201/AD2&lt;br /&gt;
| Ethernet controller address/data bus, bit 2&lt;br /&gt;
|-&lt;br /&gt;
| P53&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock (signal generated by FPGA at &amp;lt;br&amp;gt;power on to clock the configuration process)&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P54&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Gives configuration status - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P55&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P56&lt;br /&gt;
| CP2201/AD3&lt;br /&gt;
| Ethernet controller address/data bus, bit 3&lt;br /&gt;
|-&lt;br /&gt;
| P57&lt;br /&gt;
| CP2201/AD4&lt;br /&gt;
| Ethernet controller address/data bus, bit 4&lt;br /&gt;
|-&lt;br /&gt;
| P58&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P59&lt;br /&gt;
| CP2201/AD5&lt;br /&gt;
| Ethernet controller address/data bus, bit 5&lt;br /&gt;
|-&lt;br /&gt;
| P60&lt;br /&gt;
| CP2201/AD6&lt;br /&gt;
| Ethernet controller address/date bus, bit 6&lt;br /&gt;
|-&lt;br /&gt;
| P61&lt;br /&gt;
| CP2201/AD7&lt;br /&gt;
| Ethernet controller address/date bus, bit 7&lt;br /&gt;
|-&lt;br /&gt;
| P62&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P63&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P64&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P65&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P66&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P67&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P68&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P69&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P70&lt;br /&gt;
| ID3&lt;br /&gt;
| Backplane location identifier jumper, pins 3 &amp;amp; 4&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P71&lt;br /&gt;
| ID2&lt;br /&gt;
| Backplane location identifier jumper, pins 5 &amp;amp; 6&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P72&lt;br /&gt;
| ID1&lt;br /&gt;
| Backplane location identifier jumper, pins 7 &amp;amp; 8&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P73&lt;br /&gt;
| ID0&lt;br /&gt;
| Backplane location identifier jumper, pins 9 &amp;amp; 10&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P74&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P75&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P76&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P77&lt;br /&gt;
| ID4&lt;br /&gt;
| Backplane location identifier jumper, pins 1 &amp;amp; 2&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P78&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P79&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P80&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P81&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P82&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P83&lt;br /&gt;
| CLK_5MHZ_2&lt;br /&gt;
| 5 MHz clock output for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P84&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P85&lt;br /&gt;
| AD5535/DIN&lt;br /&gt;
| DAC serial data input (FPGA out -&amp;gt; DAC in)&lt;br /&gt;
|-&lt;br /&gt;
| P86&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P87&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P89&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P90&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P91&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P92&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P93&lt;br /&gt;
| AD7314/CE&lt;br /&gt;
| Chip enable for temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| P94&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P95&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P96&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P97&lt;br /&gt;
| AD7928/DOUT&lt;br /&gt;
| '''Erroneously wired ADC SPI bus connection'''&amp;lt;br&amp;gt;Connects to DOUT on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P98&lt;br /&gt;
| AD5535/RESET&lt;br /&gt;
| Reset pin for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P99&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P100&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== EEPROM ==&lt;br /&gt;
To facilitate power-on configuration of the FPGA, the control board includes a Xilinx XCF01S EEPROM. The EEPROM is located to the left of the FPGA, above the JTAG header, and has a 20 pin footprint. The EEPROM is labelled U5.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The EEPROM uses +3.3V exclusively, which it receives from the +3.3V power plane, regulated by VR1.&lt;br /&gt;
&lt;br /&gt;
=== Flashing/Burning/Writing ===&lt;br /&gt;
Whatever you call it, this refers to storing data in the EEPROM so that it can configure the FPGA at power-on. The EEPROM is programmed using a JTAG interface and the Xilinx Platform USB II cable. It is important to note that in digital board's JTAG chain, the EEPROM is the first device in the chain, unlike in the Xilinx documentation where it is shown as the second device. This should not affect the operation of the board, but should be reflected in the Xilinx software when writing the EEPROM via JTAG. &lt;br /&gt;
&lt;br /&gt;
=== FPGA Configuration ===&lt;br /&gt;
The EEPROM and FPGA are hardwired to use a master serial protocol to transfer the program from the EEPROM to the FPGA. This is the protocol recommended in the Xilinx documentation because it minimizes the number of traces necessary to run between the EEPROM and FPGA. All configuration data is sent over a single trace, FPGA/DIN (pin 1 on EEPROM), controlled by the configuration clock signal (FPGA/CCLK) which is automatically generated by the FPGA at power-on. When configuration is complete, FPGA/DONE (pin 10) is pulled high by the FPGA, and the EEPROM and configuration clock are deactivated.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data line&amp;lt;br&amp;gt;Carries data from the EEPROM to the FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock&amp;lt;br&amp;gt;Auto generated by FPGA at power-on, disabled at end of configuration&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| This is the EEPROM's TDI&amp;lt;br&amp;gt;This is the entry point for the onboard JTAG chain&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during configuration&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during configuration - can be used to intiate reconfiguration of FPGA&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Indicates completion of FPGA configuration&amp;lt;br&amp;gt;High when complete&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 12-16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| This is the EEPROM's TDO/FPGA's TDI&lt;br /&gt;
|-&lt;br /&gt;
| 18-20&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== JTAG Header ==&lt;br /&gt;
To write the FPGA's program to the EEPROM, the board employs a JTAG based programming system consistent with Xilinx's recommendations. The system is designed to operate with Xilnx's Platform USB II cable and the flying lead adapter.&lt;br /&gt;
&lt;br /&gt;
===Header Location and Size===&lt;br /&gt;
The header consists of 14 pins, 100 mil pitch, just below the EEPROM (U5). The header is labelled P1. The pitch of the pins in the header was erroneously selected to be 100 mil, which is not compatible with Xilinx's JTAG ribbon cable. Therefore, the Xilinx flying lead adapter must be used.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The JTAG interface is powered by the +3.3V power plane, not by the computer's USB port. Power is supplied through pin 2 of the JTAG header.&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
Note that the header is positioned on the board rotated 180 degrees from the position in which it is shown in the Xilinx documentation. Care must be taken when connecting the flying leads to ensure they are connected to the right pins. Connecting the flying leads to the wrong side of the header will cause all of the leads to short on the digital board's ground plane. This will certainly cause undesired operation, and may or may not cause damage. Improper wiring is most likely to cause damage if one of the flying leads is connected to an odd numbered pin. '''Note from the pinout table below that no flying lead connections should ever be made to the odd numbered pins on the JTAG header.'''&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1, 3, 5, 7, 9, 11, 13 (odd pins)&lt;br /&gt;
| DGND&lt;br /&gt;
| Ground pins for signal integrity&amp;lt;br&amp;gt;'''Never connect a flying lead to these pins'''&amp;lt;br&amp;gt;Doing so will short to ground and may cause permanent damage if the Platform USB II cable does not have protection against this.&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| +3.3V&lt;br /&gt;
| Power source for all JTAG logic&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS - connects to EEPROM and FPGA &lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK - connects to EEPROM and FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| JTAG  boundary scan chain endpoint&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| JTAG boundary scan chain start point&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| No connection&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| No connection&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===JTAG Overview===&lt;br /&gt;
The JTAG interface is clocked by the TCK signal. TCK is generated by the Platform USB II cable, and connects directly from the JTAG header to both the EEPROM and FPGA.&lt;br /&gt;
&lt;br /&gt;
The TMS signal is directly connected to both the EEPROM and FPGA, and is the data line over which JTAG test results (in this case programming results) are sent. TMS is used by only one component at a time.&lt;br /&gt;
&lt;br /&gt;
The TDI/TDO lines form a chain that connects to each JTAG component in series. On the control board, the first point in the chain is the EEPROM's TDI. Next is the EEPROM's TDO, which is the same as the FPGA's TDI. The FPGA's TDO then returns to the JTAG header and the Platform USB II cable.&lt;br /&gt;
&lt;br /&gt;
== DAC ==&lt;br /&gt;
The control board uses the Analog Devices AD5535, 32-channel, 200V max, digital to analog converter. This chip has a modified BC-124 BGA footprint and is located above the Eurocard connector at the bottom of the board. It is labelled U3.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The DAC is primarily powered by the +5V power island, regulated by an off-board power supply and extensively decoupled in the area of the DAC. The DAC also requires -5V, and a high voltage as discussed in [[#Power Requirements | Power Requirements]]. Both of these voltages are supplied by an off-board supply and decoupled near the DAC. In addition to these voltage levels, the DAC requires a precise +2.5V reference, created by the shunt-type voltage reference VR4.&lt;br /&gt;
&lt;br /&gt;
=== Setting the Output Range ===&lt;br /&gt;
The output range of the DAC is set by the 2.5V reference voltage supplied by VR4. The high voltage power supply must supply at a minimum 50 times this voltage, plus 10. Thus, the high voltage power supply should be at least 135V for DAC to operate properly, even though the SiPMs are expected to need only 40V. If it is convenient to use a lower high voltage, VR4 must be replaced to provide lower reference voltage. The high voltage may then be decreased appropriately. To summarize:&lt;br /&gt;
&lt;br /&gt;
* Max output voltage = VREF*50&lt;br /&gt;
* Minimum high voltage supply = VREF*50 + 10&lt;br /&gt;
* Acceptable range for VREF&lt;br /&gt;
** Min: 1V&lt;br /&gt;
** Max: 3.75V (AD5535 datasheet specifies 4V max, but this would require AVCC of 5.25V for the DAC, which is not possible in the current board design)&lt;br /&gt;
&lt;br /&gt;
If relevant, R13 is a 100K resistor.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Diode ===&lt;br /&gt;
The DAC has a built in thermal diode. The diode drop from anode to cathode is typically 0.65V at 25&amp;amp;deg;C. It changes at a rate of -2.20mV/&amp;amp;deg;C. The anode of this diode is connected to the +5V power island, and the cathode is connected to a 270K resistor to ground. The voltage between the cathode and the resistor is connected to VIN1 (pin 15) on the ADC.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
See documentation from Analog Devices.&lt;br /&gt;
&lt;br /&gt;
=== Channel Mapping ===&lt;br /&gt;
Due to the layout of the balls on the footprint of the DAC, the DAC's internal channel numbers (which must be referenced by the FPGA) have no correlation to the channel numbers on the amplifier board. This table summarizes the mapping between various pins that belong to each channel.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''DAC Channel #'''&lt;br /&gt;
| '''DAC Pin #'''&lt;br /&gt;
| '''Digital Board Eurocard Pin #'''&lt;br /&gt;
| '''Amplifier Board Eurocard Pin #'''&lt;br /&gt;
| '''Physical Channel #'''&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| B1&lt;br /&gt;
| B3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| A2&lt;br /&gt;
| C4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| D1&lt;br /&gt;
| B2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| C2&lt;br /&gt;
| C3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| B3&lt;br /&gt;
| B4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| E2&lt;br /&gt;
| C2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| F3&lt;br /&gt;
| B1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| A4&lt;br /&gt;
| B5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| E4&lt;br /&gt;
| C5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| B5&lt;br /&gt;
| C6&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| F5&lt;br /&gt;
| C1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| A6&lt;br /&gt;
| C7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| E6&lt;br /&gt;
| B6&lt;br /&gt;
| &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 13&lt;br /&gt;
| B7&lt;br /&gt;
| B7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| F7&lt;br /&gt;
| C10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 15&lt;br /&gt;
| E8&lt;br /&gt;
| C8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| A8&lt;br /&gt;
| B8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| B9&lt;br /&gt;
| C9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| F9&lt;br /&gt;
| C16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| E10&lt;br /&gt;
| B11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| A10&lt;br /&gt;
| B9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| B11&lt;br /&gt;
| B10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| C12&lt;br /&gt;
| B12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| D13&lt;br /&gt;
| B13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| E12&lt;br /&gt;
| B14&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| A12&lt;br /&gt;
| C11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| B13&lt;br /&gt;
| C12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| H13&lt;br /&gt;
| B16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| G14&lt;br /&gt;
| B15&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 29&lt;br /&gt;
| C14&lt;br /&gt;
| C13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 30&lt;br /&gt;
| F13&lt;br /&gt;
| C15&lt;br /&gt;
|&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 31&lt;br /&gt;
| E14&lt;br /&gt;
| C14&lt;br /&gt;
|&lt;br /&gt;
| DACHEALTH. See [[#ADC | ADC]]. This is routed to the backplane but should only be used for things with low current requirements.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==ADC==&lt;br /&gt;
The board includes an Analog Devices AD7928 analog to digital converter. The ADC is located just to the right and slightly below the FPGA. It is labelled U4.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The ADC is powered by the +5V power island, regulated by an off-board power supply, and decoupled near the ADC. It also requires a precise (&amp;amp;plusmn;1%) 2.5V reference to which it compares voltages when converting from analog to digital. Since the +5V power source is not used for comparison, it is flexible and may vary by &amp;amp;plusmn;0.25V without affecting ADC precision.&lt;br /&gt;
&lt;br /&gt;
===Setting the Measuring Range===&lt;br /&gt;
The measuring range is set programmatically by the FPGA over the SPI bus. The way the ADC is connected on the digital board requires that its measuring range be set to 5V, so the RANGE bit should be set to 1 by the FPGA (see Analog Devices documentation).&lt;br /&gt;
&lt;br /&gt;
===Channel Descriptions===&lt;br /&gt;
This table shows what signals are monitored by the ADC.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''ADC Channel #'''&lt;br /&gt;
| '''ADC Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| VIN0&lt;br /&gt;
| 16&lt;br /&gt;
| AD7928/VHEALTH&lt;br /&gt;
| This net helps to monitor to overall health of power on the board, but is specifically intended to monitor -5V. It's voltage is the output of a resistor divider between the +5 and -5V power supplies, with resistor values of 33.2K, and 100K. Assuming +5V and -5V are both correct, the output of the divider will be +2.51V. A reading of other than 2.51V indicates a problem with one of the power supplies. Problems with the +5V power supply can be ruled out by reading VIN3. Based on the reading from VIN3, the voltage of the -5V supply can be calculated.&lt;br /&gt;
|-&lt;br /&gt;
| VIN1&lt;br /&gt;
| 15&lt;br /&gt;
| AD5535/CATHODE&lt;br /&gt;
| This is the thermal diode output from the DAC. Should read 4.35V (typical) at 25&amp;amp;deg;C. Drops 2.20mV/&amp;amp;deg;C.&lt;br /&gt;
|-&lt;br /&gt;
| VIN2&lt;br /&gt;
| 14&lt;br /&gt;
| +3.3V&lt;br /&gt;
| This is the +3.3V power plane. A reading of other than +3.3V indicates a problem with VR1.&lt;br /&gt;
|-&lt;br /&gt;
| VIN3&lt;br /&gt;
| 13&lt;br /&gt;
| +5V&lt;br /&gt;
| This is the +5V power island. A reading of other than +5V indicates a problem with the +5V power supply.&lt;br /&gt;
|-&lt;br /&gt;
| VIN4&lt;br /&gt;
| 12&lt;br /&gt;
| ADC_EXT1&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A7. It is intended to measure the output of thermistor on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN5&lt;br /&gt;
| 11&lt;br /&gt;
| +1.2V&lt;br /&gt;
| This is the +1.2V power island. This island powers the internal logic of the FPGA. A reading of other than 1.2V indicates a problem with VR3.&lt;br /&gt;
|-&lt;br /&gt;
| VIN6&lt;br /&gt;
| 10&lt;br /&gt;
| ADC_EXT2&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A8. It is intended to measure one of the transistor base voltages on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN7&lt;br /&gt;
| 9&lt;br /&gt;
| DACHEALTH&lt;br /&gt;
| This channel monitors the output of a resistor divider connected to channel 31 of the DAC. The divider consists of three resistors of 200K, 200K, and 10.2K (in order). The ADC reads out the voltage level between the second 200K and then 10.2K resistor. These resistors were selected so that at 200V, the readout voltage will be 4.878V. Since the divider should be linear, the expected voltage at 20V is 0.4878V. Three resistors were used rather than two to avoid exceeding the resistors' power ratings when the DAC is set to its maximum voltage. Note that since this divider will consume up to 484uA of current at 200V, this DAC channel should not be used for anything that might require more than ~200uA of current. The channel is routed to the backplane nonetheless.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4362</id>
		<title>Digital control board documentation</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=Digital_control_board_documentation&amp;diff=4362"/>
		<updated>2009-06-16T15:53:47Z</updated>

		<summary type="html">&lt;p&gt;Underwood: /* Channel Descriptions */  added DACHealth&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This documentation covers the most important things to know while testing the digital control board, including component pinouts, nets, and other information.&lt;br /&gt;
&lt;br /&gt;
== Power Requirements ==&lt;br /&gt;
=== Required Voltages ===&lt;br /&gt;
All components on the digital board '''except the DAC''' can be tested using only a +5V source. The DAC requires +5V, -5V, and a high voltage corresponding to 10V higher than the maximum desired DAC output voltage (see [[#Setting the Output Range | Setting the Output Range]]). Digital and analog grounds must be connected as well before any testing takes place.&lt;br /&gt;
&lt;br /&gt;
=== Power Pins ===&lt;br /&gt;
Power shall be connected to the board as follows:&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Voltage'''&lt;br /&gt;
| '''Eurocard Pin'''&lt;br /&gt;
|-&lt;br /&gt;
| DGND &lt;br /&gt;
| A6&lt;br /&gt;
|-&lt;br /&gt;
| AGND &lt;br /&gt;
| A5&lt;br /&gt;
|-&lt;br /&gt;
| +5V &lt;br /&gt;
| A4&lt;br /&gt;
|-&lt;br /&gt;
| -5V &lt;br /&gt;
| A3&lt;br /&gt;
|-&lt;br /&gt;
| High voltage&amp;lt;br&amp;gt;(DAC max out +10)&lt;br /&gt;
| A2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Power Supply Sequencing ===&lt;br /&gt;
The control board is designed such that voltages may be supplied in any order so long as AGND and DGND are connected properly.  However, for initial testing, the preferred order for powering up the board is as follows:&lt;br /&gt;
&lt;br /&gt;
# Ensure AGND/DGND are connected/grounded&lt;br /&gt;
# +5V&lt;br /&gt;
# -5V&lt;br /&gt;
# High voltage&lt;br /&gt;
&lt;br /&gt;
== FPGA ==&lt;br /&gt;
The control board uses a Xilinx XC3S50A VQ100 FPGA. It has a 100 pin footprint and is located in the center of the control board.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The FPGA is powered by the 3.3V power plane, which is regulated by VR1. The FPGA also obtains 1.2V for its internal logic from a 1.2V power island, regulated by VR3.&lt;br /&gt;
&lt;br /&gt;
=== Logic Standard ===&lt;br /&gt;
The Xilinx XC3S50A supports several different digital logic standards. The control board is hard wired such that the FPGA will use a '''3.3V CMOS''' logic standard.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| P1&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P2&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P3&lt;br /&gt;
| AD7928/CS&lt;br /&gt;
| SPI chip select for ADC&lt;br /&gt;
|-&lt;br /&gt;
| P4&lt;br /&gt;
| SPI&lt;br /&gt;
| '''Erroneously wired SPI bus trace'''&amp;lt;br&amp;gt;Connects to SDO on temp. sensor and DIN on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P5&lt;br /&gt;
| CLK_5MHZ&lt;br /&gt;
| 5 MHz clock output for SPI bus (ADC and temp. sensor)&lt;br /&gt;
|-&lt;br /&gt;
| P6&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P7&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P8&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P9&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P10&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P11&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P12&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P13&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P14&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P15&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P17&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P18&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P19&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P20&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P21&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P22&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P23&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P24&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P25&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P26&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| P27&lt;br /&gt;
| FPGA/CLK_IN&lt;br /&gt;
| 20 MHz clock input from crystal oscillator&lt;br /&gt;
|-&lt;br /&gt;
| P28&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P29&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P30&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P31&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P32&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P33&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P34&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P35&lt;br /&gt;
| CP2201/INT&lt;br /&gt;
| Ethernet controller interrupt&lt;br /&gt;
|-&lt;br /&gt;
| P36&lt;br /&gt;
| MASTER_RESET&lt;br /&gt;
| Connects to RESET jumper in upper left of board (active-low, externally pulled up)&lt;br /&gt;
|-&lt;br /&gt;
| P37&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P38&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P39&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P40&lt;br /&gt;
| CP2201/CS&lt;br /&gt;
| Chip select for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P41&lt;br /&gt;
| CP2201/WR&lt;br /&gt;
| Write enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P42&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P43&lt;br /&gt;
| CP2201/RD&lt;br /&gt;
| Read enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P44&lt;br /&gt;
| CP2201/ALE&lt;br /&gt;
| Address line enable for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P45&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P46&lt;br /&gt;
| CP2201/RESET&lt;br /&gt;
| Reset pin for ethernet controller&lt;br /&gt;
|-&lt;br /&gt;
| P47&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P48&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P49&lt;br /&gt;
| CP2201/AD0&lt;br /&gt;
| Ethernet controller address/data bus, bit 0&lt;br /&gt;
|-&lt;br /&gt;
| P50&lt;br /&gt;
| CP2201/AD1&lt;br /&gt;
| Ethernet controller address/data bus, bit 1&lt;br /&gt;
|-&lt;br /&gt;
| P51&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data input from EEPROM for configuration&lt;br /&gt;
|-&lt;br /&gt;
| P52&lt;br /&gt;
| CP2201/AD2&lt;br /&gt;
| Ethernet controller address/data bus, bit 2&lt;br /&gt;
|-&lt;br /&gt;
| P53&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock (signal generated by FPGA at &amp;lt;br&amp;gt;power on to clock the configuration process)&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P54&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Gives configuration status - see Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| P55&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P56&lt;br /&gt;
| CP2201/AD3&lt;br /&gt;
| Ethernet controller address/data bus, bit 3&lt;br /&gt;
|-&lt;br /&gt;
| P57&lt;br /&gt;
| CP2201/AD4&lt;br /&gt;
| Ethernet controller address/data bus, bit 4&lt;br /&gt;
|-&lt;br /&gt;
| P58&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P59&lt;br /&gt;
| CP2201/AD5&lt;br /&gt;
| Ethernet controller address/data bus, bit 5&lt;br /&gt;
|-&lt;br /&gt;
| P60&lt;br /&gt;
| CP2201/AD6&lt;br /&gt;
| Ethernet controller address/date bus, bit 6&lt;br /&gt;
|-&lt;br /&gt;
| P61&lt;br /&gt;
| CP2201/AD7&lt;br /&gt;
| Ethernet controller address/date bus, bit 7&lt;br /&gt;
|-&lt;br /&gt;
| P62&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P63&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P64&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P65&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P66&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P67&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P68&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P69&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P70&lt;br /&gt;
| ID3&lt;br /&gt;
| Backplane location identifier jumper, pins 3 &amp;amp; 4&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P71&lt;br /&gt;
| ID2&lt;br /&gt;
| Backplane location identifier jumper, pins 5 &amp;amp; 6&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P72&lt;br /&gt;
| ID1&lt;br /&gt;
| Backplane location identifier jumper, pins 7 &amp;amp; 8&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P73&lt;br /&gt;
| ID0&lt;br /&gt;
| Backplane location identifier jumper, pins 9 &amp;amp; 10&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P74&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P75&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P76&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG&lt;br /&gt;
|-&lt;br /&gt;
| P77&lt;br /&gt;
| ID4&lt;br /&gt;
| Backplane location identifier jumper, pins 1 &amp;amp; 2&amp;lt;br&amp;gt;Active-low, FPGA should pull high&lt;br /&gt;
|-&lt;br /&gt;
| P78&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P79&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P80&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P81&lt;br /&gt;
| +1.2V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P82&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P83&lt;br /&gt;
| CLK_5MHZ_2&lt;br /&gt;
| 5 MHz clock output for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P84&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P85&lt;br /&gt;
| AD5535/DIN&lt;br /&gt;
| DAC serial data input (FPGA out -&amp;gt; DAC in)&lt;br /&gt;
|-&lt;br /&gt;
| P86&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P87&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P89&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P90&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P91&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P92&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P93&lt;br /&gt;
| AD7314/CE&lt;br /&gt;
| Chip enable for temperature sensor&lt;br /&gt;
|-&lt;br /&gt;
| P94&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P95&lt;br /&gt;
| DGND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| P96&lt;br /&gt;
| +3.3V&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P97&lt;br /&gt;
| AD7928/DOUT&lt;br /&gt;
| '''Erroneously wired ADC SPI bus connection'''&amp;lt;br&amp;gt;Connects to DOUT on ADC&lt;br /&gt;
|-&lt;br /&gt;
| P98&lt;br /&gt;
| AD5535/RESET&lt;br /&gt;
| Reset pin for DAC&lt;br /&gt;
|-&lt;br /&gt;
| P99&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P100&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during FPGA configuration - see Xilinx documentation&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== EEPROM ==&lt;br /&gt;
To facilitate power-on configuration of the FPGA, the control board includes a Xilinx XCF01S EEPROM. The EEPROM is located to the left of the FPGA, above the JTAG header, and has a 20 pin footprint. The EEPROM is labelled U5.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The EEPROM uses +3.3V exclusively, which it receives from the +3.3V power plane, regulated by VR1.&lt;br /&gt;
&lt;br /&gt;
=== Flashing/Burning/Writing ===&lt;br /&gt;
Whatever you call it, this refers to storing data in the EEPROM so that it can configure the FPGA at power-on. The EEPROM is programmed using a JTAG interface and the Xilinx Platform USB II cable. It is important to note that in digital board's JTAG chain, the EEPROM is the first device in the chain, unlike in the Xilinx documentation where it is shown as the second device. This should not affect the operation of the board, but should be reflected in the Xilinx software when writing the EEPROM via JTAG. &lt;br /&gt;
&lt;br /&gt;
=== FPGA Configuration ===&lt;br /&gt;
The EEPROM and FPGA are hardwired to use a master serial protocol to transfer the program from the EEPROM to the FPGA. This is the protocol recommended in the Xilinx documentation because it minimizes the number of traces necessary to run between the EEPROM and FPGA. All configuration data is sent over a single trace, FPGA/DIN (pin 1 on EEPROM), controlled by the configuration clock signal (FPGA/CCLK) which is automatically generated by the FPGA at power-on. When configuration is complete, FPGA/DONE (pin 10) is pulled high by the FPGA, and the EEPROM and configuration clock are deactivated.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| FPGA/DIN&lt;br /&gt;
| Serial data line&amp;lt;br&amp;gt;Carries data from the EEPROM to the FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| FPGA/CCLK&lt;br /&gt;
| Configuration clock&amp;lt;br&amp;gt;Auto generated by FPGA at power-on, disabled at end of configuration&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| This is the EEPROM's TDI&amp;lt;br&amp;gt;This is the entry point for the onboard JTAG chain&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK&amp;lt;br&amp;gt;Connects to both FPGA and EEPROM&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| FPGA/PROG_B&lt;br /&gt;
| Used during configuration&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/INIT_B&lt;br /&gt;
| Used during configuration - can be used to intiate reconfiguration of FPGA&amp;lt;br&amp;gt;See Xilinx documentation&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| No connection&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| FPGA/DONE&lt;br /&gt;
| Indicates completion of FPGA configuration&amp;lt;br&amp;gt;High when complete&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| DGND&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 12-16&lt;br /&gt;
| No connection&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| FPGA/TDI&lt;br /&gt;
| This is the EEPROM's TDO/FPGA's TDI&lt;br /&gt;
|-&lt;br /&gt;
| 18-20&lt;br /&gt;
| +3.3V&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== JTAG Header ==&lt;br /&gt;
To write the FPGA's program to the EEPROM, the board employs a JTAG based programming system consistent with Xilinx's recommendations. The system is designed to operate with Xilnx's Platform USB II cable and the flying lead adapter.&lt;br /&gt;
&lt;br /&gt;
===Header Location and Size===&lt;br /&gt;
The header consists of 14 pins, 100 mil pitch, just below the EEPROM (U5). The header is labelled P1. The pitch of the pins in the header was erroneously selected to be 100 mil, which is not compatible with Xilinx's JTAG ribbon cable. Therefore, the Xilinx flying lead adapter must be used.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The JTAG interface is powered by the +3.3V power plane, not by the computer's USB port. Power is supplied through pin 2 of the JTAG header.&lt;br /&gt;
&lt;br /&gt;
===Pinout Table===&lt;br /&gt;
Note that the header is positioned on the board rotated 180 degrees from the position in which it is shown in the Xilinx documentation. Care must be taken when connecting the flying leads to ensure they are connected to the right pins. Connecting the flying leads to the wrong side of the header will cause all of the leads to short on the digital board's ground plane. This will certainly cause undesired operation, and may or may not cause damage. Improper wiring is most likely to cause damage if one of the flying leads is connected to an odd numbered pin. '''Note from the pinout table below that no flying lead connections should ever be made to the odd numbered pins on the JTAG header.'''&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1, 3, 5, 7, 9, 11, 13 (odd pins)&lt;br /&gt;
| DGND&lt;br /&gt;
| Ground pins for signal integrity&amp;lt;br&amp;gt;'''Never connect a flying lead to these pins'''&amp;lt;br&amp;gt;Doing so will short to ground and may cause permanent damage if the Platform USB II cable does not have protection against this.&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| +3.3V&lt;br /&gt;
| Power source for all JTAG logic&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| FPGA/TMS&lt;br /&gt;
| JTAG TMS - connects to EEPROM and FPGA &lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| FPGA/TCK&lt;br /&gt;
| JTAG TCK - connects to EEPROM and FPGA&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| FPGA/TDO&lt;br /&gt;
| JTAG  boundary scan chain endpoint&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| EEPROM/TDI&lt;br /&gt;
| JTAG boundary scan chain start point&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| No connection&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| No connection&lt;br /&gt;
| Pin is floating&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===JTAG Overview===&lt;br /&gt;
The JTAG interface is clocked by the TCK signal. TCK is generated by the Platform USB II cable, and connects directly from the JTAG header to both the EEPROM and FPGA.&lt;br /&gt;
&lt;br /&gt;
The TMS signal is directly connected to both the EEPROM and FPGA, and is the data line over which JTAG test results (in this case programming results) are sent. TMS is used by only one component at a time.&lt;br /&gt;
&lt;br /&gt;
The TDI/TDO lines form a chain that connects to each JTAG component in series. On the control board, the first point in the chain is the EEPROM's TDI. Next is the EEPROM's TDO, which is the same as the FPGA's TDI. The FPGA's TDO then returns to the JTAG header and the Platform USB II cable.&lt;br /&gt;
&lt;br /&gt;
== DAC ==&lt;br /&gt;
The control board uses the Analog Devices AD5535, 32-channel, 200V max, digital to analog converter. This chip has a modified BC-124 BGA footprint and is located above the Eurocard connector at the bottom of the board. It is labelled U3.&lt;br /&gt;
&lt;br /&gt;
=== Power Details ===&lt;br /&gt;
The DAC is primarily powered by the +5V power island, regulated by an off-board power supply and extensively decoupled in the area of the DAC. The DAC also requires -5V, and a high voltage as discussed in [[#Power Requirements | Power Requirements]]. Both of these voltages are supplied by an off-board supply and decoupled near the DAC. In addition to these voltage levels, the DAC requires a precise +2.5V reference, created by the shunt-type voltage reference VR4.&lt;br /&gt;
&lt;br /&gt;
=== Setting the Output Range ===&lt;br /&gt;
The output range of the DAC is set by the 2.5V reference voltage supplied by VR4. The high voltage power supply must supply at a minimum 50 times this voltage, plus 10. Thus, the high voltage power supply should be at least 135V for DAC to operate properly, even though the SiPMs are expected to need only 40V. If it is convenient to use a lower high voltage, VR4 must be replaced to provide lower reference voltage. The high voltage may then be decreased appropriately. To summarize:&lt;br /&gt;
&lt;br /&gt;
* Max output voltage = VREF*50&lt;br /&gt;
* Minimum high voltage supply = VREF*50 + 10&lt;br /&gt;
* Acceptable range for VREF&lt;br /&gt;
** Min: 1V&lt;br /&gt;
** Max: 3.75V (AD5535 datasheet specifies 4V max, but this would require AVCC of 5.25V for the DAC, which is not possible in the current board design)&lt;br /&gt;
&lt;br /&gt;
If relevant, R13 is a 100K resistor.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Diode ===&lt;br /&gt;
The DAC has a built in thermal diode. The diode drop from anode to cathode is typically 0.65V at 25&amp;amp;deg;C. It changes at a rate of -2.20mV/&amp;amp;deg;C. The anode of this diode is connected to the +5V power island, and the cathode is connected to a 270K resistor to ground. The voltage between the cathode and the resistor is connected to VIN1 (pin 15) on the ADC.&lt;br /&gt;
&lt;br /&gt;
=== Pinout Table ===&lt;br /&gt;
See documentation from Analog Devices.&lt;br /&gt;
&lt;br /&gt;
=== Channel Mapping ===&lt;br /&gt;
Due to the layout of the balls on the footprint of the DAC, the DAC's internal channel numbers (which must be referenced by the FPGA) have no correlation to the channel numbers on the amplifier board. This table summarizes the mapping between various pins that belong to each channel.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''DAC Channel #'''&lt;br /&gt;
| '''DAC Pin #'''&lt;br /&gt;
| '''Digital Board Eurocard Pin #'''&lt;br /&gt;
| '''Amplifier Board Eurocard Pin #'''&lt;br /&gt;
| '''Physical Channel #'''&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| B1&lt;br /&gt;
| B3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| A2&lt;br /&gt;
| C4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| D1&lt;br /&gt;
| B2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| C2&lt;br /&gt;
| C3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| B3&lt;br /&gt;
| B4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| E2&lt;br /&gt;
| C2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| F3&lt;br /&gt;
| B1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| A4&lt;br /&gt;
| B5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| E4&lt;br /&gt;
| C5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| B5&lt;br /&gt;
| C6&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| F5&lt;br /&gt;
| C1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| A6&lt;br /&gt;
| C7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| E6&lt;br /&gt;
| B6&lt;br /&gt;
| &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 13&lt;br /&gt;
| B7&lt;br /&gt;
| B7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| F7&lt;br /&gt;
| C10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 15&lt;br /&gt;
| E8&lt;br /&gt;
| C8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| A8&lt;br /&gt;
| B8&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 17&lt;br /&gt;
| B9&lt;br /&gt;
| C9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 18&lt;br /&gt;
| F9&lt;br /&gt;
| C16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 19&lt;br /&gt;
| E10&lt;br /&gt;
| B11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| A10&lt;br /&gt;
| B9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 21&lt;br /&gt;
| B11&lt;br /&gt;
| B10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 22&lt;br /&gt;
| C12&lt;br /&gt;
| B12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 23&lt;br /&gt;
| D13&lt;br /&gt;
| B13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| E12&lt;br /&gt;
| B14&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 25&lt;br /&gt;
| A12&lt;br /&gt;
| C11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 26&lt;br /&gt;
| B13&lt;br /&gt;
| C12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 27&lt;br /&gt;
| H13&lt;br /&gt;
| B16&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 28&lt;br /&gt;
| G14&lt;br /&gt;
| B15&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 29&lt;br /&gt;
| C14&lt;br /&gt;
| C13&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 30&lt;br /&gt;
| F13&lt;br /&gt;
| C15&lt;br /&gt;
|&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| 31&lt;br /&gt;
| E14&lt;br /&gt;
| C14&lt;br /&gt;
|&lt;br /&gt;
| DACHEALTH... anything else??&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==ADC==&lt;br /&gt;
The board includes an Analog Devices AD7928 analog to digital converter. The ADC is located just to the right and slightly below the FPGA. It is labelled U4.&lt;br /&gt;
&lt;br /&gt;
===Power Details===&lt;br /&gt;
The ADC is powered by the +5V power island, regulated by an off-board power supply, and decoupled near the ADC. It also requires a precise (&amp;amp;plusmn;1%) 2.5V reference to which it compares voltages when converting from analog to digital. Since the +5V power source is not used for comparison, it is flexible and may vary by &amp;amp;plusmn;0.25V without affecting ADC precision.&lt;br /&gt;
&lt;br /&gt;
===Setting the Measuring Range===&lt;br /&gt;
The measuring range is set programmatically by the FPGA over the SPI bus. The way the ADC is connected on the digital board requires that its measuring range be set to 5V, so the RANGE bit should be set to 1 by the FPGA (see Analog Devices documentation).&lt;br /&gt;
&lt;br /&gt;
===Channel Descriptions===&lt;br /&gt;
This table shows what signals are monitored by the ADC.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=3 border=1 |&lt;br /&gt;
| '''ADC Channel #'''&lt;br /&gt;
| '''ADC Pin #'''&lt;br /&gt;
| '''Net Name'''&lt;br /&gt;
| '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| VIN0&lt;br /&gt;
| 16&lt;br /&gt;
| AD7928/VHEALTH&lt;br /&gt;
| This net helps to monitor to overall health of power on the board, but is specifically intended to monitor -5V. It's voltage is the output of a resistor divider between the +5 and -5V power supplies, with resistor values of 33.2K, and 100K. Assuming +5V and -5V are both correct, the output of the divider will be +2.51V. A reading of other than 2.51V indicates a problem with one of the power supplies. Problems with the +5V power supply can be ruled out by reading VIN3. Based on the reading from VIN3, the voltage of the -5V supply can be calculated.&lt;br /&gt;
|-&lt;br /&gt;
| VIN1&lt;br /&gt;
| 15&lt;br /&gt;
| AD5535/CATHODE&lt;br /&gt;
| This is the thermal diode output from the DAC. Should read 4.35V (typical) at 25&amp;amp;deg;C. Drops 2.20mV/&amp;amp;deg;C.&lt;br /&gt;
|-&lt;br /&gt;
| VIN2&lt;br /&gt;
| 14&lt;br /&gt;
| +3.3V&lt;br /&gt;
| This is the +3.3V power plane. A reading of other than +3.3V indicates a problem with VR1.&lt;br /&gt;
|-&lt;br /&gt;
| VIN3&lt;br /&gt;
| 13&lt;br /&gt;
| +5V&lt;br /&gt;
| This is the +5V power island. A reading of other than +5V indicates a problem with the +5V power supply.&lt;br /&gt;
|-&lt;br /&gt;
| VIN4&lt;br /&gt;
| 12&lt;br /&gt;
| ADC_EXT1&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A7. It is intended to measure the output of thermistor on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN5&lt;br /&gt;
| 11&lt;br /&gt;
| +1.2V&lt;br /&gt;
| This is the +1.2V power island. This island powers the internal logic of the FPGA. A reading of other than 1.2V indicates a problem with VR3.&lt;br /&gt;
|-&lt;br /&gt;
| VIN6&lt;br /&gt;
| 10&lt;br /&gt;
| ADC_EXT2&lt;br /&gt;
| This trace routes to the backplane via Eurocard pin A8. It is intended to measure one of the transistor base voltages on the amplifier board.&lt;br /&gt;
|-&lt;br /&gt;
| VIN7&lt;br /&gt;
| 9&lt;br /&gt;
| DACHEALTH&lt;br /&gt;
| This channel monitors the output of a resistor divider connected to channel 31 of the DAC. The divider consists of three resistors of 200K, 200K, and 10.2K (in order). The ADC reads out the voltage level between the second 200K and then 10.2K resistor. These resistors were selected so that at 200V, the readout voltage will be 4.878V. Since the divider should be linear, the expected voltage at 20V is 0.4878V. Three resistors were used rather than two to avoid exceeding the resistors' power ratings when the DAC is set to its maximum voltage. Note that since this divider will consume up to 484uA of current at 200V, this DAC channel should not be used for anything that might require more than ~200uA of current. The channel is routed to the backplane nonetheless.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Underwood</name></author>
	</entry>
</feed>