--- /dev/null
+
+Programming the DAC for threshold generation is simple: A standard SPI interface takes 32 Bit of data, the device is chainable. A Perl software module cares about the data content, a simple VHDL core outputs the data and controls the CS signal.
+
+The slow-control interface:
+\begin{itemize}
+ \item 32 Bit Data Memory: 0xd800 - 0xd80f, Length register 0xd810
+ \item Transfer is started when length register (counting 32 Bit words) is written.
+ \item While busy, the writing to the length register will be ignored and gives back a no-more-data flag.
+ \item Doing a memory write with 17 words will do the job, should be faster than two individual accesses
+ \item All data is sent MSB first (Bit 31), Bits 7-0 are the don't-care-Bits of the DAC.
+ \item Interface speed: e.g. 12.5 MHz -> max. 40us for 16 chips
+\end{itemize}
+
+The software takes a text file as input (format to be defined) and generates the correct SPI sequence to load and activate the DAC.
+
+
+
\ No newline at end of file
\input{TdcDataFormat}
\subsection{Slow Control Registers}
\input{TdcSlowControl}
+ \subsection{DAC Programming}
+ \input{DacProgramming}
\clearpage
\section{GbE Data Read-out}
\subsection{Building Blocks}
\subsection{Slow Control Registers}
+
\clearpage
\section{uCTS}
\subsection{Features}
img_extensions=.eps .jpg .jpeg .png .pdf .ps .fig .gif
kileprversion=2
kileversion=2.1.0
-lastDocument=Trb3GeneralRemarks.tex
+lastDocument=main.tex
masterDocument=
name=trb3
pkg_extIsRegExp=false
Mode=LaTeX
ReadWrite=true
+[document-settings,item:DacProgramming.tex]
+Bookmarks=
+Encoding=UTF-8
+Highlighting=LaTeX
+Indentation Mode=
+Mode=LaTeX
+ReadWrite=true
+
[document-settings,item:MultiTestAddOn.tex]
Bookmarks=
Encoding=UTF-8
open=true
order=7
+[item:DacProgramming.tex]
+archive=true
+column=0
+encoding=UTF-8
+highlight=LaTeX
+line=0
+mode=LaTeX
+open=true
+order=9
+
[item:MultiTestAddOn.tex]
archive=true
column=0
[item:Trb3GeneralRemarks.tex]
archive=true
-column=13
+column=0
encoding=UTF-8
highlight=LaTeX
-line=5
+line=30
mode=LaTeX
open=true
order=8
[item:main.tex]
archive=true
-column=21
+column=16
encoding=UTF-8
highlight=LaTeX
-line=74
+line=140
mode=LaTeX
open=true
order=0
CursorColumn=0
CursorLine=0
+[view-settings,view=0,item:DacProgramming.tex]
+CursorColumn=0
+CursorLine=0
+
[view-settings,view=0,item:MultiTestAddOn.tex]
CursorColumn=0
CursorLine=1
CursorLine=7
[view-settings,view=0,item:Trb3GeneralRemarks.tex]
-CursorColumn=13
-CursorLine=5
+CursorColumn=0
+CursorLine=30
[view-settings,view=0,item:Trb3KnownBugs.tex]
CursorColumn=0
CursorLine=13
[view-settings,view=0,item:main.tex]
-CursorColumn=21
-CursorLine=74
+CursorColumn=16
+CursorLine=140