Jump to content
  • 0

Corrupted output when using Play mode and logic capture


AlanB

Question

As hinted at in: 

I am seeing an issue where a pattern that is sent to a Digital Discovery for use with Play mode occasionally ends up being corrupted, with a short section of it being repeated over and over.  I think this only occurs when also capturing digital signals at higher sampling rates.  The attached code is loosely based on DigitalDiscovery_PlayRecord.py, but reordered slightly and switched to use acqmodeSingle1.  Viewing the output on an external logic analyser, I can see that it outputs the expected pattern.  However, when I increase hzRecord to 400e6, I occasionally get the partial-repeat case - although the total length of the playback is the same as expected.  Is anyone seen this before, and able to suggest what I might be doing wrong?

test_play_2.py

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi @AlanB

With this setup you are reaching the DDRam bandwidth limit which is a bit above 800MBps.
In the test script the input would need 800MBps and the output additional 40MBps.

The normal digital-out/Patterns custom mode each DIO has 32Ki sample buffer.
If you only need up to this number of samples you don't have to use play.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...