Jump to content
  • 0

Logic Analyzer and WaveForms: How does bus and clock work?


LarsB

Question

Before buying a Digital Discovery, I decided to try out WaveForms first.  But as WaveForms doesn't provide any mock data, I cannot really confirm that my main use case is covered.

Suppose I define an 8-bit Bus DIO 0 to DIO 7 and set one of its signals DIO 0 as clock with rising trigger.  Does the clock signal become part of the bus value?  In other words, if DIO 1 through DIO 7 are constant HIGH and DIO 0 pulses, are the values shown in the data tab hFF or hFE?

If the clock signal is included in the bus value (hFF), is there any way to separate the clock signal from the bus?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Hi @LarsB

You could use the Sync capture. In this mode the sampling condition is executed in the device.

image.png.4af15639aba8647f57ec85ecc925d323.png

 

You could also sample all signals (including clock) and decode it in the software using the Bus clock, delay, enable...
Regarding the MSB/LSB indices, by changing these you could decode to fractional numbers.

image.png.9f3e7c7dbdf7fa8c4d60dde4d0b02441.png

 

Link to comment
Share on other sites

  • 0

Also, why are there Bus options to set the MSB and LSB if I cannot choose a smaller range that doesn't encompass all the signals?  What's the point?

If I could exclude a signal by narrowing the LSB/MSB range then that would solve my Bus and Clock problem described before.

What I understand by now is that I need to define a Custom "signal" that removes the Clock signal from the Bus value, but couldn't that be easier to begin with?

Link to comment
Share on other sites

  • 0

Thanks, Attila, those are excellent suggestions!  In fact, I didn't realize that the clock of a bus could be an extra signal not belonging to the bus! *duh*

But I have a silly question: Is is actually possible to use/generate mock data in demo mode, e.g., like the counter in your example?  This would allow me to really test those features.  Whenever I press Record or Run in demo mode, I only get 0s for data ...

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...