• 0
AlexRiga

Help with pattern generator

Question

Hello!

Is there are any possibility to set pulse width for pattern?

For example, i need to simulate 1kHz bus with 1us pulse width. See picture attached. Any tutorial about that? Sorry, i'm newbie here.

Thanks in advance!

wiegand.JPG

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Hi @AlexRiga

You can use clock with 99.99% duty or configure pulse signal or custom pattern.
To have more buffer for custom on Analog Discovery under Settings/ Device Manager select the 4th configuration.

image.png.8a51f9cf0a81b74129261233e291d507.png

Share this post


Link to post
Share on other sites
  • 0

Hello @attila, many thanks for you reply! Spent half day figure out how to do that, without success :(

I clearly understand, how to make sequental pulses (clock) with predefined pulsewidth. But how exactly to make custom pulse sequence/pattern (see pict attached) with predefined timing like captured?

Maybe it is not even possible?

Or maybe somehow i can use logic capture to preconfigure pattern generator? (probably in my dreams, huh :) )

1789077057_Screenshot2019-02-1213_09_58.thumb.png.18cc4bf1d3ee6da78e1d0bf222365330.png

Using Digital Discovery, not Analog Discovery...

Share this post


Link to post
Share on other sites
  • 0

Hi @AlexRiga

Settings/ Device Manager/ 4th config

image.png.29a2f58a5816686c1953afba4aa77377.png

Perform a capture with Logic Analyzer

image.thumb.png.4db88f3067a52b40975b0e9b6f21bbe5.png

Export data

image.thumb.png.748f6b3b08c2bbe6a6a2c9ac27769cdf.png

Open Patterns, add signals, edit

image.thumb.png.91111607281843db7777f32d58ad05aa.png

Import

image.png.818a449f8e6e129a00e4a7c710e94691.png

Select file, check column for signal adjust frequency as it was in Logic Analyzer.
You may want to limit the imported signal to be periodic, like to 10k samples

image.png.e7be9e7e6e7480b23dd91b86d8e7e57d.png

Do the same for the other signal.

Select Auto Run and Repeat 1, or leave it with continuous if you need this way.

image.thumb.png.5403f0f88aa33c5e353c9c2a371c7144.png

 

Share this post


Link to post
Share on other sites
  • 0

Hi @attila

Yes, it works! Export-Import super useful feature missed somehow :) !

But my question remains, how it possible to setup manually custom pattern with specific timings?

Share this post


Link to post
Share on other sites
  • 0

Hi @AlexRiga

The custom pattern can be edited in the interface, with mouse on the signal, prefill generated (pulse, random or counter fur bus), edited in the table on the right side, signal imported from csv, txt files.

Here 1MHz sample rate, with prefill of pulse 1 low and 999 high will generate 1us low, 1kHz signal

image.png.1cc978f2007305946e787c92016dca87.png

image.png.c15083bb643fe6fe3a4a33e2e6498339.png

image.png.569e4308b4614d9c33767a961c012d62.png

Share this post


Link to post
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