Jump to content
  • 0

Is Waveforms buggy or am i doing something wrong?


hsiboy

Question

Hi,

I'm trying to capture the data on a ATA/ATAPI interface using a digital discovery. Repeat mode and shift mode seem to work ok, but record mode is just a bit, sketchy. Sometimes it triggers, sometimes it doesn't. Sometimes it makes the led on the digital discovery turn white (what does that even mean).

Despite me setting the granularity of the sampling, it seems to do its own thing, so that once my capture is over and i try and zoom in on the black blob it produces (i need to read pulses of 80ns) , despite being say 5 seconds into the capture, the time is set as -445ns, what?

If i manage to find the event in the data pane, double clicking the row does nothing, but right click and select centre, takes me to the event, sort of.

This feels very much like all the love is being given to analogue discovery, i'm getting buyers remorse. Please tell me its me and that i'm suffering from PEBCAK.

On a slightly different note, i set 8 data lines up as a bus, hoping for some decode, but it cant handle the fact that the lines might be active low, which is a bit of an oversight. So how can i script a decode in javascript i cant find any exmples for decoding using the digital discovery.

 

Cheers,

 

HSIBOY

 

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Hi @hsiboy

The record mode should trigger just like the Repeated mode. The scan Shift/Screen modes started with the Run button do not use trigger.

Which software version are you using? I recommend the latest beta version:

https://forum.digilentinc.com/topic/8908-waveforms-beta-download/

In the next version: the Data view navigation will be improved and navigation added to Event view.

The double click in Data view adjusts the position only if the selected item is currently out of the view.

With high zoom notice the +/- ~5s indication beside the ns marks. Without this method the marks would be hard to read like 4999999800ns, 4999999900ns...

image.png.d8269d9ffd71babb6dd2a8cb598df233.png

Regarding the LED functions see the application Help tab, Help menu/ browse or press F1.

image.png.3d38d3b987668da17af5af250411964a.png

For Bus the Clock active edge, Enable polarity can be configured and in the next version the data can also be Inverted.

image.png.9f320c7e8d9f814bcfc55e18873b0c4b.png

See the example scripts in the editor Example menu. Note that this can be slow with large amount of data.

image.png.03a021209d704e2f4aa470b640fb0564.png

Link to comment
Share on other sites

  • 0

Thank you @attila

 

If i start in shift mode, and zoom in by adjusting the time base, at some point, the drop down changes to "repeated", i do not set this, it changes alone.

The trigger is odd. I get best result from edge, when i should really trigger on falling edge. When i set for falling edge, it doesnt trigger.

I am using version 3.18.1_64 on Windows 11. With an Intel I7, Samsung SSD, and 16GB RAM. I try the beta.

The IDE/ATA bus does not have a clock, it is asynchronous. At the point the Device IO Read line is asserted (active negative) i need to read the 8 data lines. I saw the example within the script window, and while the serial modes have good examples, i'm really not sure what the BUS example is trying to show me. I cant find any other examples. In the screenshot below, you can see /DIOR is asserted, and the bus (D0-D7) has the data i want to decode.

1120702179_Screenshot2022-02-16224125.png.54d2375f3f671cf226214f0b3dbd55bd.png

 

Thank you for the explanation on the +/- 5. When zoomed in then, how should i best navigate along a time line of maybe 5 seconds, when i'm looking at events of 80ns width? When i try and scroll it gets very messy. It's easy to get lost.

 

Many thanks for your help,

 

HSIBOY

Link to comment
Share on other sites

  • 0

Hi @hsiboy

The scan modes are only available (meaningful) with high time base so if you zoom in and the time base gets below 100ms/div it switches to repeated.

You could add multiple Buses with different meanings, like BusRD having clock the RD rise (if you want enable with CS0), BusWR with WR as clock...

For navigation you could use the navigation buttons on signals, bus, interpreter...

image.thumb.png.5dbf3fffc2cb8a9d4b172ee4982ba283.png

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