If you are seeing this message either you are a guru who has a custom browser setting, or your browser is out of date and cannot handle some of the more recent Web standards. In our opinion this site would look much better with the standard setup of a modern browser. However we intend it to be accessible to any browser or Internet device.

  shopping cart and checkout  

   home   |   cortino   |   x34   |   specials  |   support   |   FAQ   |   contact  

you are here: home  > FAQ  > technical FAQ

This is the technical FAQ. Click here for the FAQ on buying.

Questions

Logic Analyzer FAQs

Q1. What is a Logic Analyzer?

Q2. Why not use an Oscilloscope?

Q3. Triggering?

Q4. What is Complex Triggering?

Q5. How many channels do I need?

Q6. How fast should the sampling be?

Q7. What is Sample Compression?

Q8. Isolation?

Q9. Probing?

USB FAQs

Q10. Can my computer use USB devices?

Q11. What is Hot-Swapping?

Q12. What is Plug and Play?

Q13. Hubs?

Q14. Self-powered and powered hubs?

Q15. How fast is USB?

Q16. How long can USB cables be?

Miscellaneous FAQs

Q17. How do you spell Logic Analyzer?

Answers

Logic Analyzer FAQs

A1. What is a Logic Analyzer?

A Logic Analyzer is essentially a multi-channel version of a digital oscilloscope. One difference is that the logic analyzer only recognises two logic levels - 0 and 1. Also logic analyzers usually implement much more complex triggering than oscilloscopes.  (top)

A2. Why not use an Oscilloscope?

An oscilloscope can look at the same digital signals as a logic analyzer, but its essential role for most users is analog measurements such as rise-times, fall-times, and peak amplitudes. You use an oscilloscope when you need to see small voltage changes and when you need very accurate time interval measurements.

You use a logic analyzer when you need to see signals the same way your digital circuit sees them, when you need more complex triggering, and when you need more channels.  (top)

A3. Triggering?

When a logic analyzer is running it continuously samples the input signals and writes the values to its memory buffer, looping round and round from the start to the end of memory. It stops this process when it triggers, the trigger moment being the point at which a desired event occurs. The event could be a rising or falling edge or a pattern of zeroes and ones across the signal wires.

Edge triggering is usually set by the logical OR of various signal edges. For instance, trigger when the write strobe falls or the read strobe rises. In practice logic analyzers spend the majority of their lives responding to edge triggers on a single channel.

Pattern triggering is set by the logical AND of various signals. For instance, trigger when chip select is high, the write strobe is low, and the other signals are in any state.  (top)

A4. What is Complex Triggering?

This is the next stage beyond pattern triggering. The same events are defined as in the previous answer - ORs of various edges, ANDs of various levels. But these events are used to drive a state machine within the logic analyzer. The state machine moves between states and eventually arrives at the trigger state.

An example may clarify this:

Notice that complex triggering introduces one more feature - a counter. This example illustrates all the essentials of a complex triggering capability - a few states, a few pattern or edge recognisers, and at least one counter.

The X34 has a four-state architecture, with two edge/pattern recognisers, and a time/event counter which can range up to 1023.

Note that complex triggering state machines cannot usually run at the highest acquisition speeds. The X34 state machines run at a maximum of 125MHz. At 250MHz they respond to every second input sample, and at 500MHz they respond to every fourth input sample.  (top)

A5. How many channels do I need?

For some applications, you can never have too many channels, and logic analyzers are available with several hundred channels. Typically these systems are used to debug complex microprocessor buses and it is lots of work to connect the myriad probes involved.

The X34 is aimed the most common debugging scenarios. The first scenario is when you want to see exactly what is happening on a few signals - most debugging is done this way. In this case an X34 is hooked up to a few signals to give a trigger source, and to one or two signals which are being debugged.

For instance, when debugging a first-in/first-out (FIFO) memory an X34 could look at full and empty indicators, read and write strobes, and a few other signals for reference.

The second scenario is when you want to look at, say, a 16-bit data bus and up to 16 control signals. Connecting up 32 channels can be irritatingly time consuming, but the X34 makes it possible. And all 32 channels can be sampled simultaneously at 500MHz.  (top)

A6. How fast should the sampling be?

As you would expect, the maximum sampling rate can never be too fast. The X34 samples at up to 500MHz, which gives a timing resolution down to 2ns. This doesn't mean that the X34 can sample 500MHz, but it does mean accurately sampling of incoming signals which are over 100MHz.

Of course, the sample buffer fills up quite quickly at these speeds, so for slower signals the sampling speed can be stepped down in stages to a minimum of 100Hz, which gives a timing resolution of 10ms.

When sampling fast signals, you need short probe leads to give an accurate result.  (top)

A7. What is Sample Compression?

The X34 implements run length sample compression.

The standard scheme for logic analyzers is to store samples in a circular buffer. Even if consecutive samples are identical, they are still stored in the buffer. For systems with continuous activity on the input signals, this makes sense. But for systems which exhibit intermittent bursts of activity, the standard scheme can result in very inefficient use of storage.

With sample compression, the analyzer stores a count along with each sample. During bursts of activity, just about every sample will be stored, along with a count value which will typically be 1. In the gaps between bursts, a single sample will be stored, along with a count value. This sample compression scheme is implemented in the first release of the X34 firmware.

We can compress even more. If only a few signals are changing, and particularly if we have runs of less than a few hundred identical samples, we can implement per-byte run length compression, with a variable-length count. This sample compression scheme, which increases the effective buffer depth of the X34 when sampling bursty signals to a million or more samples, is implemented in the second release of the X34 firmware.  (top)

A8. Isolation?

The X34 is not galvanically isolated. It is connected to the host PC via the power, ground, and signal wires in the USB lead. A degree of isolation could be achieved by running the X34 from an isolated laptop computer, or by using an optical USB extender. But fundamentally the X34 is not suitable for applications which indicate a need for galvanic isolation.  (top)

A9. Probing?

There are myriad solutions for connecting logic analyzers to the target circuit. The simplest is to use a ribbon cable terminated in a socket which connects to a plug on the target circuit board. But this needs planning. Even if the plug on the target circuit is designed in, it may be wired up to the wrong signals. The fallback is to use grabber clips. In modern designs, you often have to hook the grabbers to tiny wires soldered onto surface mount devices or soldered into vias in the circuit board. The main requirement for high-performance logic analysis is that the probing wires be very short. You have to minimise the loading on the circuit.

Probes are not included as standard with the Bugblat modules, though we do offer low-cost probe solutions. One option is a ribbon cable terminated in a socket to which you can attach high performance E-Z-Hook logic grabbers. E-Z-Hook grabbers are available direct from the manufacturer, from DigiKey, and possibly from your distributor.

Your local distributor may offer other probing solutions.  (top)

USB FAQs

A10. Can my computer use USB devices?

Hardware: You need a USB port in your computer. Most computers build since 1998 have at least two built in USB connectors. You can also get PCI and CardBus USB adapters for older computers.

Software: For Wintel computers, you need Windows98, WindowsME, Windows2000, WindowsXP, or a recent version of Linux. There is limited USB support on Windows95 OSR 2.1, and none on WindowsNT.

For USB support on Apple Macintosh computers you need MacOS 8.1 or later. Note that our products do not have application software running on a Mac.

Our products are developed and tested on various versions of Windows and the software we supply runs over Windows.  (top)

A11. What is Hot-Swapping?

USB is hot swappable. This means you can walk up to a computer, plug in a new device using USB, and use it right away. Like plugging into a serial port or an Ethernet port.

Bugblat instruments are hot-swappable.  (top)

A12. What is Plug and Play?

Plug and play (PnP) refers to the ability to use a new peripheral without going through an elaborate configuration process. Plug and play depends on the operating system used on your computer, Windows 98, WindowsXP, and MacOS have a set of basic USB drivers built in that gives them true plug and play for a wide class of USB peripherals.

Even so, newer types of USB devices may need additional drivers installed. Bugblat instruments are definitely not standard peripherals, so they needs special drivers. However, driver installation should be relatively painless. When a Bugblat module is plugged in, the computer reads the vendor ID (VID) and product ID (PID) from the module, then searches in the computer's database for a matching driver. First time round, there will be no matching driver and the user is prompted for the driver disk. Next time the device is plugged in, the driver will be loaded automatically in seconds.  (top)

A13. Hubs?

Most computers have two or four USB ports. If you need to plug in more USB devices you do so by using a USB hub. A hub plugs into your USB port and usually provides either four or seven ports. Many USB devices have built-in hubs - most USB keyboards have another USB port in them for daisy-chaining a mouse, joystick, or other USB device.  (top)

A14. Self-powered and powered hubs?

USB cables distribute power as well as data - up to 500mA at 5V on each cable. This is enough for low-power devices, which do not need separate power supplies.

An unpowered hub, or a self-powered hub, uses some of the power coming to it for it's own operation, and passes the remainder along to devices plugged in. This is OK for small hubs with low power devices plugged into it. A good example is this is a keyboard with an unpowered hub built in. This has plenty of spare power for plugging in a mouse or a track pad.

Powered hubs have their own power supplies and can supply full power to all the devices that can physically plugged into them. Of course, they do have an extra wire and power block plugged into the wall.

Some hubs can operate powered or unpowered. If they don't have their power supply plugged-in, they operate as an unpowered hub - with a limited ability to power additional USB devices. When you plug-in their power supplied, they function as powered hubs.

Bugblat instruments uses several hundred milliamps, particularly when running at high speed. So they need either a direct connection to a computer or a connection via a powered hub.  (top)

A15. How fast is USB?

The USB 1.1 standard specifies a low speed mode operating at 1.5 Mbit/s, and a full speed mode operating at 12 Mbit/s. The USB 2.0 specification adds a hi-speed mode operating at 480 Mbit/s.

Bugblat instruments are compatible with USB 1.1 and with USB 2.0. They make bursty use of the full speed mode and place a very low average load on the USB bus.  (top)

A16. How long can USB cables be?

Five meters is the maximum cable length allowed by USB. For a longer run you need to insert a hub every five metres, or use one of the specialist extender solutions which reach up to 300 metres! The cable supplied with Bugblat instruments is a little over one metre.  (top)

Miscellaneous FAQs

A17. How do you spell Logic Analyzer?

This is Logic Analyzer in the US. In most of the rest of the world it is Logic Analyser. We use Logic Analyzer because that is what HP/Agilent and Tektronix use.  (top)