This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| phase1:phase1:mtcafull [2016/07/12 14:38] – [Hardware configuration] leac | phase1:phase1:mtcafull [2017/02/15 15:36] (current) – [Hardware configuration] leac | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ==== Hardware configuration ==== | ==== Hardware configuration ==== | ||
| - | + | TKFEC 0, ring 0x0, CCU 0x7c | |
| - | | + | |
| - | | + | |
| - | | + | |
| Line 31: | Line 31: | ||
| | | ||
| ==== Configure AMC13 ==== | ==== Configure AMC13 ==== | ||
| - | cd FEDTools | + | cd FEDtool |
| amc13test settings/ | amc13test settings/ | ||
| | | ||
| ==== Initialize ST electronics ==== | ==== Initialize ST electronics ==== | ||
| - | cd FEDTools | + | cd TriDAS/ |
| - | | + | |
| + | > reset | ||
| + | > piareset all | ||
| + | > scanccu | ||
| + | > ccu 0x7c | ||
| + | > channel 0x11 | ||
| + | > delay25 init | ||
| + | > delay25 set d0 0 | ||
| + | > delay25 set d1 39 | ||
| + | > delay25 set d2 10 | ||
| + | > delay25 set d3 0 | ||
| + | > pll reset | ||
| + | > pll init | ||
| + | > doh init | ||
| + | > i2c 0x11 0x8 30 | ||
| + | > i2c 0x11 0xb 63 | ||
| + | |||
| + | The commands above are also implemented in a script: | ||
| + | cd TriDAS/ | ||
| + | python init.py | ||
| + | |||
| + | |||
| + | ==== Initialize the module ==== | ||
| + | |||
| + | cd TriDAS/ | ||
| + | ./run.bsh | ||
| + | > exec data/ | ||
| + | |||
| + | |||