WaveForms Tools with the AD2 and EEBoard: The Pattern Generator

0

A pattern generator is used to generate a user defined pattern of digital logic high/low signals or pulses. With the Analog Discovery 2‘s 16 digital channels (32 channels for the Electronics Explorer Board), you have multiple options for generating whatever digital pattern you choose, from a single signal to a full 32-bit bus.

What would you do with a 32-bit bus?

What would you do with a 32-bit bus?

Defining the pattern on each channel couldn’t be simpler.┬áThere are a number of preset patterns you can use, like a Johnson counter or a constant value. You can also custom define each channel with a user-defined pattern.

A user-defined channel for use with a 7-segment numerical LED display.

A user-defined channel for use with a 7-segment numerical LED display.

You can also define a logic truth table and use the digital channels as the inputs or outputs for said table. Simply map the input/output pins using the property tab…

First define your logic inputs/outputs.

First define your logic inputs/outputs to the desired digital pins.

…and then define the truth table under the truth table tab.

The second step is to define the truth table as needed.

The second step is to define the truth table as needed.

For a more complete tutorial, check out my Instructable.

Share on FacebookTweet about this on TwitterShare on Google+Pin on PinterestShare on RedditShare on TumblrShare on LinkedInShare on StumbleUponEmail this to someone
Share.

About Author

Leave A Reply