From dfe8529d5489850cdc02f8023cf519b22f9cba53 Mon Sep 17 00:00:00 2001 From: hadeshyp Date: Tue, 29 May 2012 16:33:58 +0000 Subject: [PATCH] *** empty log message *** --- trb3/DacProgramming.tex | 17 +++++++++++++++++ trb3/main.tex | 3 +++ trb3/trb3.kilepr | 40 +++++++++++++++++++++++++++++++--------- 3 files changed, 51 insertions(+), 9 deletions(-) create mode 100644 trb3/DacProgramming.tex diff --git a/trb3/DacProgramming.tex b/trb3/DacProgramming.tex new file mode 100644 index 0000000..a603b8b --- /dev/null +++ b/trb3/DacProgramming.tex @@ -0,0 +1,17 @@ + +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 diff --git a/trb3/main.tex b/trb3/main.tex index 70382e0..bf6c365 100755 --- a/trb3/main.tex +++ b/trb3/main.tex @@ -137,6 +137,8 @@ \input{TdcDataFormat} \subsection{Slow Control Registers} \input{TdcSlowControl} + \subsection{DAC Programming} + \input{DacProgramming} \clearpage \section{GbE Data Read-out} @@ -148,6 +150,7 @@ \subsection{Building Blocks} \subsection{Slow Control Registers} + \clearpage \section{uCTS} \subsection{Features} diff --git a/trb3/trb3.kilepr b/trb3/trb3.kilepr index b102eeb..548f002 100644 --- a/trb3/trb3.kilepr +++ b/trb3/trb3.kilepr @@ -4,7 +4,7 @@ img_extIsRegExp=false 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 @@ -24,6 +24,14 @@ Indentation Mode= 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 @@ -98,6 +106,16 @@ mode=LaTeX 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 @@ -150,10 +168,10 @@ order=2 [item:Trb3GeneralRemarks.tex] archive=true -column=13 +column=0 encoding=UTF-8 highlight=LaTeX -line=5 +line=30 mode=LaTeX open=true order=8 @@ -170,10 +188,10 @@ order=1 [item:main.tex] archive=true -column=21 +column=16 encoding=UTF-8 highlight=LaTeX -line=74 +line=140 mode=LaTeX open=true order=0 @@ -192,6 +210,10 @@ order=-1 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 @@ -213,13 +235,13 @@ CursorColumn=0 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 -- 2.43.0