• 0
MattB

Counter triggering with AD2

Question

I seem to be having trouble getting the AD2 to trigger on a repeated pulse.

If I trigger on the edge of DIO 7 then it triggers OK (see logic_trigger_simple), problem is that power up sends spurious signals sometimes and so I'm tring to pulse on the counter.

I have the counter set up as the other screenshot but it just will not trigger like that.  There is no reset so I've set reset to DIO 15 which is unused and tied to ground.

How can I get this to trigger on the number of pulses.

 

Also, in the protocol triggeringl, is there any way to trigger on a sequence of hex values, rather than just one - if not in the main software - can this be done with the SDK?

Thanks,

 

Matt

logic_trigger_counter.png

logic_trigger_simple.png

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Hi @MattB

The counter waits for reset condition before starting to count.
You have in private message a newer software version which allows setting counter reset to none.

For which protocol do you need trigger on sequence?

Share this post


Link to post
Share on other sites
  • 0
5 hours ago, attila said:

 

Thanks @attila !  I will give the new software a try later.

The protocol I'm trying to analyse is the LCD commands sent to/from a Hitachi HD44780 compliant module, it doesn't seem to fall directly into one of the predeined protocals.  You can probably see what I;m doing now in the screenshot above (4 data pins & RW, RS, Enable (Clock).  I would like to be able to trigger when a certain sequence has been sent/recieved.

If there's a better way to do this in Waveforms I'd be glad to learn it!

Matt

Share this post


Link to post
Share on other sites
  • 0

Hi @MattB

Sequence is only supported as deserializer for a single line, like: SPI MOSI, UART

The parallel bus can be triggered only on one value or using a pattern/mask.
i2.png.be0b7f158d7efa11d817c12db582dca4.png

Trigger on Clk falling edge when RS ==0 and RW == 0 and MSB == 1 :

i1.png.0d28fb5b65027d36788afcdf936c5b20.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