DRS4 Forum
  DRS4 Discussion Forum  Not logged in ELOG logo
Entry  Mon Aug 18 06:52:51 2025, Jonathan Bradshaw, Unexpected behaviour following RSRLOAD 
    Reply  Tue Aug 19 02:40:58 2025, Jonathan Bradshaw, Unexpected behaviour following RSRLOAD 6x
Message ID: 928     Entry time: Tue Aug 19 02:40:58 2025     In reply to: 927
Author: Jonathan Bradshaw 
Subject: Unexpected behaviour following RSRLOAD 

Some images

Notes:

  • top of the puicture shows the logic channels
  • Red: SRCLK
  • Blue: SRIN
  • Green: SROUT
  • Orange: normally WSROUT, but swapped to RSRLOAD for last picture

 

 

Jonathan Bradshaw wrote:

Hello

I'm working to bring up a new capture board using a DRS4 and I'm having a minor problem and a major problem.

Minor problem: if I send a reset signal into the DRS4, the PLL doesn't work right.  If I leave NRSESET pin with a wek pullup (and never 'manually' reset the DRS4) it runs OK.  Is there some minimum time I need to observe between sending a NRESET pulse and setting DENABLE high to start the PLL?

Major problem: I can't get the stop position.

What am I doing?

  • Set DENABLE high
  • Wait until DRS capture is requested (seconds to minutes)
  • Configure Write Shift Register with 0b01010101
  • Configure Write Control Register with 0b11111111
  • Fill the Read Shift Register with 1024x '0's
  • Set DWRITE high
  • Await trigger (some milliseconds). During this phase address = 0b1011
  • Set DWRITE low
  • Wait ~ 40 ns
  • Set address = 0b1101
  • Wait ~ 150 us
  • Pulse RSRLOAD high for 30 ns
  • Wait 30 ns
  • Sample SROUT to get top bit of Write Shift Register
  • Set address = 0b0000
  • Wait ~ 350 ns
  • Begin clocking out analog samples

What's going wrong?

  • When I look at the first 10 bits out of SROUT, I should see stop positions.  However, these bits are almost always zero (I get 7 bits which are always 0 followed by 3 bits which are sometimes ones)
  • When I probe the WSROUT pin (and remembering that DWRITE is low at this point), I expected to see a single one bit coming out of the read shift register as I apply 1024 pulses to SRCLK.  Instead, I am seeing two set bits coming out of the read shift register
  • When I plot the captured analog waveform it's a mess - it seems like 2 analog output buffers are enabling at once and fighting over the output voltage

Do you have any suggestions or warnings about proper deployment of the RSRLOAD pin?

I left this a bit late in my day for posting, so I'll need to follow up with some 'scope captures tomorrow.

 

Attachment 1: Overview.png  97 kB  Uploaded Tue Aug 19 03:54:15 2025  | Hide | Hide all | Show all
Overview.png
Attachment 2: config.png  116 kB  Uploaded Tue Aug 19 03:54:33 2025  | Show | Hide all | Show all
Attachment 3: config2.png  86 kB  Uploaded Tue Aug 19 03:54:46 2025  | Hide | Hide all | Show all
config2.png
Attachment 4: readout_overview.png  88 kB  Uploaded Tue Aug 19 03:55:03 2025  | Hide | Hide all | Show all
readout_overview.png
Attachment 5: readout_problem.png  96 kB  Uploaded Tue Aug 19 03:55:14 2025  | Show | Hide all | Show all
Attachment 6: RSRLOAD.png  108 kB  Uploaded Tue Aug 19 03:55:27 2025  | Hide | Hide all | Show all
RSRLOAD.png
ELOG V3.1.5-3fb85fa6