Jump to content
  • 0

Bad timing on multiple Digital Discovery devices?


Guest

Question

Hi all,

I am seeing an issue on multiple Digital Discovery devices, where the timing precision is off by over a percent (where I'd expect 10—100ppm, at least 2 orders of magnitude better).

The problem can be seen most easily by having the device generate a simple 50% duty cycle clock on one of its output pins, e.g. 1 kHz. On two different Digital Discovery devices I tested, the scope reports a frequency of below 990 Hz. The signals otherwise look as expected (good level, stable, good edges) apart from the bad frequency behavior.

I confirmed the measurement with a high-quality Keysight 53230A frequency counter. Also, repeating the same measurement using an Analog Discover 2 shows the expected performance (1 kHz accurate to about 10 ppm, which is pretty good for a non oven-controlled crystal oscillator).

I have attached screenshots of what I'm seeing for one of the Digital Discovery devices below. The other one is similar (showing about 987 Hz instead of 984.5 Hz). You can already see on the scope that the signal isn't a nice 1 kHz, and the Keysight measurement confirms that quite unambiguously. It should also be noted that the Keysight measurement shows that the signal not only has an unexpected frequency, but also that it isn't as stable as one would expect.

I can provide serial numbers of the devices I tested and perform measurements if this helps to pinpoint what's going on here.

Any help would be appreciated. Given my very positive experiences with the AD2, I can't believe that what I'm seeing is within spec. On the other hand, I verified this with two different DD devices purchased over 6 months apart, so it looks like I'm not just looking at a single faulty device.

As a side node, it seems I'm seeing the same thing on the inputs; if I sample a high-quality externally generated 1 kHz clock (coming from an SRS FS740), the timing seems noticeably off. However, Waveforms doesn't provide an easy way to display the trigger rate counts as far as I am aware, so I want to focus on the clock generation problem first, because that's much easier to verify and reproduce.

If anyone else can repeat this simple measurement and share their findings that would be great!

Best regards, Sidney

 

signal-2020-07-08-211851.thumb.jpeg.f5dbda040477c88082eaaffdc1ba57dd.jpeg

 

signal-2020-07-08-211943.jpeg

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Ok, found the problem after reading this post, which described sort-of similar problems:

https://forum.digilentinc.com/topic/19306-digital-discovery-spi-repeating-trigger-problem/

If I install the latest beta version (3.13.22 beta) the DD devices work as expected (generated frequency within ~ 10 ppm).

Also, the input side (sampling an externally generated clock) is much more stable.

 

So it seems to be a firmware bug in the current 'official' release which is fixed in the beta. Hopefully a new official release will be out soon.

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...