Sie sind auf Seite 1von 24

Feeling Comfortable

with Logic Analyzers


Application Note 1337
Contents Oscilloscope or Logic Analyzer? . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
What Is a Logic Analyzer? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
Timing analyzer basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
State analyzer basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12
Using Digital Tools Efficiently . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
How to Connect to Your Target System . . . . . . . . . . . . . . . . . . . . . .20
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23

Introduction If you use the right tools for the job, your attempts to conquer your digital
debug challenges will be more rewarding and less time consuming.
Before you can choose the right tool, it is important to understand the
tools at your disposal and what they do best.

This application note gives you a quick overview of logic analyzer


basics. It doesn't cover many detailed measurements, but it does give
you a good idea of what a logic analyzer can do. We explore questions
like "Why should I use a logic analyzer?" and "What will a logic analyzer
do for me?"

www.agilent.com/find/logic
2
When given the choice between
Oscilloscope or using a scope or a logic analyzer,
When to use a scope

Logic Analyzer? many engineers will choose an


oscilloscope. Why? Because a scope
• When you need to see small
voltage excursions on your signal
is more familiar to most users. • When you need high time-interval
However, scopes have limited accuracy
usefulness in some applications.
Generally, an oscilloscope is the
Depending on what you are trying
instrument to use when you need
to accomplish, a logic analyzer may high vertical or voltage resolution.
yield more useful information. To say it another way, if you need
Because of overlapping capabilities to see every voltage excursion, like
between scopes and logic analyz- those shown in Figure 1, you should
ers, either may be used in some use a scope.
cases. How do you determine
which is better for your applica- Many scopes, including the new-
tion? Let's review some basic generation digitizing ones, can also
provide very high time-interval
guidelines.
resolution. That is, they can measure
the time interval between two events
with very high accuracy. Overall, use
an oscilloscope when you need
parametric information.

Figure 1. Oscilloscope waveform

3
When to use a It can also trigger on patterns of
logic analyzer highs and lows in these signals.

• When you need to see many In general, use a logic analyzer


signals at once when you need to look at more
• When you need to look at lines than your oscilloscope can
signals in your system the show you, provided you do not
same way your hardware does need precise time-interval infor-
• When you need to trigger on a mation. If you need to look at
pattern of highs and lows on parametric information such as
several lines and see the result rise time and fall time, a logic
analyzer is not a good choice (see
Logic analyzers grew out of Figure 2). Logic analyzers are
oscilloscopes. They present data particularly useful for looking
in the same general way that a at time relationships or data on
scope does: the horizontal axis is a bus – for example, a micro-
time, the vertical axis is voltage processor address, data, or
amplitude. But, rather than pro- control bus. They can decode the
viding high voltage resolution information on microprocessor
or time-interval accuracy like a buses and presents it in a
scope, a logic analyzer can capture meaningful form.
and display hundreds of signals at
once, something that a scope Generally, when you are past the
cannot do. A logic analyzer parametric stage of design, and
reacts the same way as your are interested in timing relation-
logic circuit does when a single ships among many signals and
threshold is crossed by a signal need to trigger on patterns of
in your system. It recognizes the logic highs and lows, a logic
signal to be either low or high. analyzer is the right tool.

Figure 2. Oscilloscope and timing waveforms

www.agilent.com/find/logic
4
What Is a Now that we have talked about
when to use a logic analyzer, let's
Choosing the right
sampling method
Logic Analyzer? look in a bit more detail at what
a logic analyzer is. Up to now, we A timing analyzer works by sam-
have used the term "logic analyz- pling the input waveforms to
er" rather loosely. In fact, most determine whether they are high
logic analyzers are really two or low. It cares about only one
analyzers in one. The first part is user-defined voltage-threshold. If
a timing analyzer, and the sec- the signal is above the threshold
ond part is a state analyzer. when it samples, it will be dis-
Each has specific functions that played as a high or 1 by the ana-
we will talk about in the follow- lyzer. Any signal sampled that is
ing sections. below the threshold is displayed
as a 0 or low. From these sample
Timing analyzer basics points, a list of ones and zeros is
generated that represents a one-
A timing analyzer is the part of a bit picture of the input wave-
logic analyzer that is analogous form. As far as the analyzer is
to an oscilloscope. As a matter of concerned, the waveform is
fact, you can think of them as either high or low – it does not
close cousins. recognize intermediate steps.
The timing analyzer displays This list is stored in memory and
information in the same general is also used to reconstruct a one-
form as a scope, with the hori- bit picture of the input wave-
zontal axis representing time form, as shown in Figure 3.
and the vertical axis as voltage
amplitude. Because the wave-
forms on both instruments are
time-dependent, the display is
said to be in the time domain.

Figure 3. Timing analyzer sample points

5
Take a look at the display shown For example, imagine that we
in Figure 4, These waveform dis- have a dynamic RAM in a system
plays are actually the same sig- that must be refreshed every 2
nal (a sine wave) displayed by a ms. To ensure that everything in
digitizing scope and a timing memory is refreshed within that
analyzer. The timing analyzer 2 ms, a counter is used to count
tends to square everything up, up sequentially through all rows
which would seem to limit its of the RAMs and refresh each. If
usefulness. We should remember, we want to make certain that the
however, that the timing analyzer counter does indeed count up
is not intended to be a paramet- through all rows before starting
ric instrument. If you want to over, a timing analyzer can be set
check the rise time of a signal to trigger when the counter
with an analyzer, you should use starts and display all of the
a scope. But if you need to verify counts. Parametrics are not of
timing relationships among sev- great concern here – we merely
eral or hundreds of lines by see- want to check that the counter
ing them all together, a timing counts from 1 to N and then
analyzer is the right choice. starts over.

Figure 4. The same signal displayed by an oscilloscope and a timing analyzer

www.agilent.com/find/logic
6
When the timing analyzer sam- The worst case for this ambiguity
ples an input line, it is either is one sample period, assuming
high or low. If the line is at one that the transition occurred
state (high or low) on one sam- immediately after the previous
ple and the opposite state on the sample point.
next sample, the analyzer
"knows" that the input signal With this technique, however,
transitioned sometime in there is a trade-off between reso-
between the two samples. It lution and total acquisition time.
doesn’t know when, so it places Remember that every sampling
the transition point at the next point uses one memory location.
sample, as shown in Figure 5. Thus, the higher the resolution
This causes some ambiguity as to (faster sampling rate), the short-
when the transition actually er the acquisition window.
occurred and when it is dis-
played by the analyzer.

Figure 5. Timing analyzer sampling an input line

7
Transitional sampling at the input of the timing analyzer
along with a counter. The timing
When we capture data on an analyzer will now store only
input line with data bursts, as those samples that are preceded
illustrated in Figure 6, we have to by a transition, together with the
adjust the sampling rate to high elapsed time from the last transi-
resolution (for example, 4 ns) to tion. With this approach, we use
capture the fast pulses at the only two memory locations per
beginning. This means that a transition and no memory at all
timing analyzer with 4K (4096 if there is no activity at the
samples) memory would stop input. This transitional timing
acquiring data after 16.4 µs, and technique is used in Agilent
you would not be able to capture 16800/900 Series logic analyzers.
the second data burst.
In our example, we can capture
Note that in our usual debugging the second burst, and also the
work we sample and store data third, fourth and fifth bursts,
for a long time where there is no depending on how many pulses
activity. This uses up logic ana- per burst are present. At the same
lyzer memory without providing time, we can keep the timing res-
additional information. We can olutions as high as 4 ns (Figure 7).
solve this problem if we know
when transitions occur and if We can now talk about ‘effective
they are positive or negative. memory depth’, which equals the
This information is the basis for total time data is captured divided
transitional timing, which uses by the sampling period (4ns).
memory efficiently.
Note: This is a conceptual
To implement transitional timing, description of the transitional
we could use a “transition detector” timing technique.

Figure 6. Sampling with a transition detector

Figure 7. Sampling at high resolution

www.agilent.com/find/logic
8
Glitch capture While displaying glitches is a
useful capability, it can also be
Glitches in digital systems can helpful to have the ability to
be problematic. Glitches have a trigger on a glitch and display
nasty habit of showing up at the data that occurred before it. This
most inopportune times with the can help us to determine what
most disastrous results. How do caused the glitch. This capability
you capture a glitch that occurs also enables the analyzer to cap-
once every 36 hours and sends ture data only when we want it –
your system into the weeds? when the glitch occurred.
Once again the timing analyzer
comes to the rescue. Agilent logic Think about the example we
analyzers have glitch capture and mentioned in the beginning para-
trigger capability that makes it graph of this section. We have a
easy to track down elusive system that crashes periodically
glitch problems. because a glitch appears on one
of the lines. Since it occurs
A glitch can be caused by the infrequently, to store data all the
capacitive coupling between time (assuming we had enough
traces, power supply ripples, storage capability) would result
high instantaneous current in an incredible amount of infor-
demands by several devices, or mation to sort through. Another
any number of other events. alternative is to use an analyzer
A timing analyzer samples the without glitch trigger capability
incoming data and keeps track and sit in front of the machine
of any transitions that occur pressing the Run button and
between samples, it can readily waiting until you see the glitch.
recognize a glitch. In the case of
an analyzer, a glitch is defined as Unfortunately, neither of the
any transition that crosses logic above approaches are practical
threshold more than once alternatives. If we can tell the
between samples. (Figure 8.) analyzer to trigger on a glitch, it
can stop when it finds one, cap-
The analyzer already keeps track turing all the data that happened
of all single transitions that occur before it. We let the analyzer be
between samples, as we discussed the babysitter, and when the
before. To recognize a glitch, we system crashes, we have a record
“teach” the analyzer to keep of what led up to the error.
track of all multiple transitions
and display them as glitches.

Figure 8. A glitch

9
Triggering the timing analyzer Notice the menu in Figure 9. We
have told the analyzer to start
Another term that should be capturing data when channels 0,
familiar to oscilloscope users is 2, 4 and 6 of ‘INT4’ are high
“triggering.” It is also used in (logical 1) and when channels
logic analyzers, but is often 1,3,5 and 7 are low (logical 0).
called “trace point.” Unlike an Figure 10 shows the resulting
oscilloscope that starts the trace display with the line in the middle
right after the trigger, a logic indicating the trace point. At the
analyzer continuously captures trace point channels 0, 2, 4 and 6
data and stops the acquisition are all high while channels 1, 3,
after the trace point is found. 5, and 7 are low.
Thus a logic analyzer can show
information prior to the trace To make things easier for some
point, which is known as nega- users, the trigger point on most
tive time, as well as information analyzers can be set in binary
after the trace point. (1's and 0's) hex, octal, ASCII, or
decimal numbering. For instance,
to set the previous example in
Pattern trigger
Setting trace specifications on a hex, the trigger specification
timing analyzer is a bit different would be 55 instead of 0101
from setting trigger level and 0101. Using hex for the trigger
slope on an oscilloscope. Many point is particularly helpful
analyzers trigger on a pattern of when looking at buses that are
highs and lows across input lines. 4, 8, 16, 24, or 32 bits wide.
Imagine how cumbersome it
would be to set a specification
for a 24-bit bus in binary.

Figure 9. INT4 set to trigger on a pattern of highs and lows

www.agilent.com/find/logic
10
Figure 10. Waveform with the trace point

Edge trigger As a simple example, take the


Edge triggering is a familiar con- case of an edge-triggered shift
cept to those accustomed to register that is not shifting data
using an oscilloscope. When you correctly. Is the problem with
adjust the trigger level knob on a the data or the clock edge? In
scope, you could think of it as order to check the device, we
setting the level of a voltage com- need to verify the data when it
parator that tells the scope to is clocked – on the clock edge
trigger when the input voltage (Figure 11).
crosses that level. A timing ana-
lyzer works essentially the same You can tell the analyzer to cap-
on edge triggering except that ture data when the clock edge
the trigger level is preset to logic occurs (rising or falling) and
threshold. catch all of the outputs of the
shift register. Of course, in this
Why include edge triggering in a case we would have to delay the
timing analyzer? While many trace point to take care of the
logic devices are level-dependent, propagation delay through the
clock and control signals of these shift register.
devices are often edge-sensitive.
Edge triggering allows you to
start capturing data as the
device is clocked.

Figure 11. Edge-triggered shift register

11
State analyzer basics to know first what a “state” is.
A “state” for a logic circuit is a
In the first part of this application sample of a bus or line when its
note we talked about one of the data is valid.
two major parts of a logic analyzer
– the timing analyzer. Next we For example, take a simple “D”
will talk about the other major flip-flop, like the one shown in
part of a logic analyzer – the Figure 12. Data at the “D” input
state analyzer. will not be valid until a positive-
going clock edge comes along.
If you’ve never used a state Thus, a state for the flip-flop is
analyzer, you may think it’s an when the positive clock edge occurs.
incredibly complex instrument
that would take a large time Now imagine that we have eight
investment to master. You might of these flip-flops in parallel. All
say to yourself, “What use could eight are connected to the same
I have for a state analyzer? I clock signal (Figure 13).
design hardware.”
When a positive transition
The truth is many hardware occurs on the clock line, all eight
designers find a state analyzer will capture data at their “D”
to be a very valuable tool, espe- inputs. Again, a state occurs
cially when tracking down bugs each time there is a positive
in software and hardware. A transition on the clock line.
state analyzer can eliminate These eight lines are analogous
“finger-pointing” between hard- to a microprocessor bus.
ware and software teams when
a problem comes up. Plus the If we connected a state analyzer
state analyzer is not any more to these eight lines and told it
difficult to understand than the to collect data when there is a
timing analyzer. positive transition on the clock
line, the analyzer would do just
that. Any activity on the inputs
When to use a state analyzer
If we want to understand when will not be captured by the state
to use a state analyzer, we need analyzer unless the clock is
going high.

Figure 12. D flip-flop

Figure 13. Eight D flip-flops in parallel connected to the same clock signal

www.agilent.com/find/logic
12
This points up the major differ- Suppose for a moment that we
ence between timing and state want to trigger on a specific
analyzers. The timing analyzer address in RAM and see what
has an internal clock to control data is stored there. Further,
sampling, so it asynchronously we'll assume that the system uses
samples the system under test. a Zilog Z80.
A state analyzer synchronously
samples the system since it gets its In order to capture addresses
sampling clock from the system. from the Z80 with our state ana-
lyzer, we will want to capture
As a rule of thumb, you might when the MREQ line goes low.
remember to use a state analyzer But to capture data, we will want
to check “what” happened on a the analyzer to sample when the
bus and a timing analyzer to see WR line goes low (write cycle) or
“when” it happened. A state when RD goes low (read cycle).
analyzer generally displays data Some microprocessors multiplex
in a listing format and a timing data and address on the same
analyzer displays data as a lines. The analyzer must be able
waveform diagram. We have to to clock in information from the
be extremely careful not to mis- same lines but different clocks.
interpret the data when the logic
analyzer is capable of displaying During a read or write cycle,
state data as a waveform diagram the Z80 first puts an address on
and timing data as a listing. the address bus. Next it asserts
MREQ, showing that the address
Understanding clocks is valid for a memory read or
write. Last, the RD or WR line is
In the timing analyzer, sampling asserted, depending on whether
is under direction of a single we are doing a read or write. The
internal clock. That makes things WR line is asserted only after the
very simple. However, in the world data on the bus is valid.
of microprocessors, a system
may have several “clocks.” Let's Thus, a timing analyzer acts as
look at a brief example. a demultiplexer to capture an
address at the proper time and
then catch data that occurs on
the same lines.

Figure 14. RAM timing waveform

13
Triggering the state analyzer This tells the analyzer to trigger
on address FFF03187 regardless
Like a timing analyzer, a state of what the data is at that point.
analyzer has the capability to
qualify the data we want to store. The analyzer captured address
If we are looking for a specific FFF03187 and all following states.
pattern of highs and lows on Notice that data is 554103E7 at
the address bus, we can tell the address FFF03187 (Figure 16),
analyzer to start storing when it and that all of the information is
finds the pattern and to continue displayed in hexadecimal format.
storing until the analyzer’s We could display it in binary, if
memory is full. In the following that is helpful. However, it may
example, we have set the trigger be more helpful to have the hex
point as FFF03187 (hexadecimal) decoded into assembly code.
(Figure 15). In this case, we want
to find out what is in location If you specify that all information
FFF03187, so we set the data on the buses is to be displayed in
trigger as don’t cares (XXXX). hex, you will get a display that
resembles the one in Figure 16.

Figure 15. Trigger setup for the state analyzer

www.agilent.com/find/logic
14
Figure 16. Data captured by the state analyzer

What do these hex codes mean? For example, Figure 16 shows


In the case of a processor, specific 0000 41B0 and 0000 41B1. If
hex characters comprise an we look those codes up in the
instruction. If you are very famil- Motorola PowerQUICC manual,
iar with the hex codes, you may be we find that they represent mem
able to look at a hex listing like write 0x00 instructions. Rather
the one in Figure 16 and know than having to look up each code,
what instruction it represents. the inverse assembler does it for
Most of us, however, can't do that. us. Look at Figure 17 and notice
For that reason, most analyzer the difference.
makers have designed software
packages called disassemblers or
inverse assemblers. The job of
these packages is to translate the
hex codes into assembly code to
make them easier to read.

Figure 17. Hex codes translated into assembly code

15
Understanding sequence Selective storage saves memory
and time
levels
Sequence levels make possible
what we call selective storage.
State analyzers have “sequence Selective storage simply means
levels” that aid triggering and storing only a portion out of a
storage. Sequence levels allow larger whole. For instance, sup-
you to qualify data storage more pose we have an assembly routine
accurately than a single trigger that calculates the square of a
point. This means that you can given number. If the routine is not
accurately window in on the data calculating the square correctly,
without storing information you we can tell the state analyzer to
don’t need. Sequence levels usu- capture that routine. We do this
ally look something like this: by first telling the analyzer to
find the start of the routine.
1 find xxxx When it does find the start
else on xxxx go to level x 2 address, we then tell it to look
then find xxxx for the ending address while
else on xxxx go to level x 3 storing everything in-between.
trigger on xxxx When the end of the routine is
found, we tell the analyzer to
Sequence levels are especially stop storing (store no states).
useful for getting into a subrou- Figure 18 shows how selective
tine from a specific point in the storage works.
program.

Figure 18. Selective storage

Using trigger functions You also can use pre-defined


Rather than defining each trigger functions as a starting
sequence level from scratch, point for creating custom func-
you can use pre-defined trigger tions. When you break down a
functions. A library of common function, you gain access to all
trigger functions, such as “Find the resource assignment fields
Nth occurrence of an edge” and and branching options. You can
“Find event ‘n’ times,” provide a change these fields to change the
simple way to set up the analyzer trigger structure.
to trigger on common events and
conditions. Functions are available You might need to do this to cre-
for both the state and timing ate a custom trigger specification
acquisition modes. or to create loops and jumps in
your trigger sequence.

www.agilent.com/find/logic
16
Using Digital Tools So far we have talked about oscil-
loscopes and state and timing
need to find the cause to fix the
problem. Many times, causes
Efficiently analyzers and their applications. and symptoms are in different
If you are designing or servicing domains. For example, a glitch
digital hardware, you probably on a memory control line can
have applications for each one of cause wrong data to be read from
the tools in your area. In this or written to memory. The symp-
section we’ll talk about how to tom (wrong data) can be found
use these tools together to isolate in the data domain by using a
the faults in your system faster state analyzer and triggering on
and more efficiently. the suspect memory address.
The cause, however, cannot be
Symptoms and their causes identified in the data domain. It
is also possible that the symptom
If you troubleshoot digital circuitry is in the time domain (for example,
you often have to ask yourself, a bad handshake signal on I/O
“What causes this symptom?” It lines), and the cause is in the
might be quite easy to identify data domain (for example, wrong
the symptom of a fault, but you software I/O routine).

Figure 19. Example of symptoms and cause in different domains

17
Intermodule measurements Cross-domain triggering

A measurement that involves more In our examples we talked about


than one measurement instru- triggering a module (state, timing
ment is called an “intermodule analyzer or scope) on the symptom
measurement.” An intermodule of the problem. Once the symptom
measurement requires that all occurs and the appropriate ana-
measurement tools are integrated lyzer triggers, the module that
in a single instrument and are able monitors the cause has to start
to capture data simultaneously. capturing data. This is achieved
Figure 20 shows the system by arming one module from the
configuration menu from a 16800 trigger of the other module. For
Series logic analyzer with an full functionality it is necessary
integrated oscilloscope display. that each module can receive and
This setup provides the ability to send trigger signals. The bus, on
trace down a glitch in the oscillo- which these trigger signals are
scope domain from a bad data in transmitted, is called the "inter-
the state analysis. module bus" or IMB (Figure 20).

Figure 20. System configuration menu and intermodule bus

www.agilent.com/find/logic
18
Figure 21. Setting up an intermodule measurement

Cross-domain time correlation time between the external state


Once we have successfully trig- samples, we have enough time
gered all our measurement mod- information to correlate from
ules and finished data capture, any point of the timing analyzer
we need to look at the captured waveform to the appropriate
data. We are all familiar with the location of the state analyzer
waveform display of a scope, and listing.
we discussed how to present the
data captured by a state or tim- Application example
ing analyzer earlier. In order to In Figure 22 you see the state
correlate from one domain to analyzer is used to trigger on a
another, it is convenient to dis- certain memory access. Both the
play data from both domains on timing analyzer and scope are
one screen. But how can we cor- triggered by the state analyzer to
relate between state and timing provide timing information over
other than the trace point? multiple channels as well as
Remember, the timing analyzer parametric information on fewer
uses an internal sampling clock channels. Note that the cursors
that is asynchronous to the sys- are used to correlate between
tem, while the state analyzer time domain (scope and timing
samples synchronously to the analyzer) and data domain
target system. If we count the (state analyzer).

Figure 22. Cross-domain measurements

19
So far we’ve talked about some of connection of a large number of
How to Connect to the differences between scopes channels to the target system
Your Target System and timing and state analyzers.
Before we’re ready to apply
easily by trading off amplitude
accuracy of the signal under test.
these new tools, we should talk Remember that a logic analyzer
about one more subject – the only distinguishes between two
probing system. voltage levels! Traditionally, logic
analyzers used active probe pods
From using an oscilloscope, that had an integrated signal
you're probably familiar with detection circuitry for eight
passive probes. A scope probe is channels capacitance, giving a
designed to gain easy access to the total of 16 pF per channel.
target system while minimizing
the signal distortion. Since we Resistive versus
want to look at parametric infor-
capacitive loading
mation like voltage levels and
rise times, it is important that
the probe doesn't load the circuit How does the probe impedance
under test significantly. A typical affect my measurement?
scope probe has 1 MΩ impedance Resistive and capacitive loading
shunted by 10 pF, depending on are the two main cause of signal
the bandwidth required. distortion. Resistive loading
affects the amplitude of the
On the other hand, a logic ana- output through a resistive
lyzer probe is designed to allow divider effect.

Figure 23. Resistor and capacitive loading error plot

www.agilent.com/find/logic
20
Capacitive loading affects the The capacitive loading of probes
timing of the signal under test by becomes more important as clock
rounding and slewing the edges. rates continue to increase in new
Amplitude errors from resistive designs. Because of this new
loading are not significant increase of clock rates, circuits
enough to affect the performance are more sensitive to timing
of most circuits, even when you errors of even a few nanosec-
are probing with 1-GHz scope onds. The basic timing-error
probes with 10-kΩ resistance. In immunity, on the other hand, is
fact, most logic families can oper- limited by a circuit’s clock rate.
ate correctly with as much as A CMOS circuit that drives a
10% error in amplitude. Because given load may operate correctly
most of these digital ICs exhibit even with a higher clock rate, but
typical output impedance in the the extra capacitive loading of a
low hundreds of ohms or less, probe on that circuit can produce
you can use a probe tip resist- unexpected timing problems.
ance measuring a few kΩ.

Table 1. Increases in CMOS gate delay due to probe capacitance

Capacitance Standard CMOS delta T High-speed CMOS delta T


15 pF 25 ns 2.5 ns
8 pF 13 ns 1.3 ns
2 pF 3 ns 0.3 ns

21
Probing solutions Analysis probe and other
accessories
Physical connections to digital Connecting a state analyzer to a
systems for debugging must be microprocessor system requires
reliable and convenient to deliver some effort in terms of mechanical
accurate data to the logic analyzer connection and clock selection.
with minimum intrusion to the Remember, we have to clock the
target system being debugged. state analyzer whenever data or
Agilent offers a broad selection addresses on the bus are valid.
of probes and accessories for With some microprocessors it
connection to target systems. might be necessary to use external
circuitry to decode several signals
A common probing solution is to derive the clock for the state
the passive probe with sixteen analyzer. An analysis probe pro-
channels per cable. Each channel vides not only fast, reliable and
is terminated at both ends with correct mechanical connection to
100 kΩ and 8 pF. You can best your target system, but also the
compare the passive probe elec- necessary electrical adaptation
trically with the scope probe. The like clocking and demultiplexing
advantage of the passive probing to capture your system’s
system, besides small size and operation correctly.
high reliability, is that you can
terminate the probe right at the Some microprocessors prefetch
point of connection to the target information from memory that
system. This avoids additional may never get executed. Analysis
stray capacitance due to the probes can also distinguish
wires from the larger active pods prefetched information from exe-
to the circuit under test. As a cuted information. Furthermore,
result, your circuit under test an analysis probe typically comes
only "sees" 8 pF load capacitance together with a disassembler
instead of 16 pF with previous to decode the hexadecimal infor-
probing systems. mation into microprocessor
mnemonics, as discussed earlier.

Figure 24. An analysis probe

www.agilent.com/find/logic
22
This application note has
Summary explained what a logic analyzer
Related Agilent literature

is and does. Since most analyzers • Agilent 16800 Series Portable


are made up of two major parts, Logic Analyzers
timing and state analyzers, we Data sheet, 5989-5063EN
have covered them separately. But • Agilent 16900 Series Logic
together, they make up a powerful Analysis System Mainframes
tool for the digital designer. Data sheet, 5989-0421EN
The timing analyzer is closely akin For copies of this literature,
to the oscilloscope, but is better contact your Agilent representative
suited to bus-type structures or or visit
applications where you are deal- www.agilent.com/find/logic
ing with many lines. It also has
the ability to trigger on patterns
among the lines, or on glitches.

A state analyzer is most often


viewed as a software tool. In
reality, it also has many uses in
the hardware domain. Because
it gets its clock from the system
under test, it can be used to catch
data when the system sees it –
on the system's clock.

Armed with this fundamental


knowledge, you can now use a
logic analyzer with confidence
to debug your digital designs.

23
Remove all doubt www.agilent.com
www.agilent.com/find/emailupdates Our repair and calibration services will get For more information on Agilent
Get the latest information on the products your equipment back to you, performing Technologies’ products, applications
and applications you select. like new, when promised. You will get or services, please contact your local
full value out of your Agilent equipment Agilent office. The complete list is
throughout its lifetime. Your equipment available at:
will be serviced by Agilent-trained techni-
cians using the latest factory calibration www.agilent.com/find/contactus
www.agilent.com/find/agilentdirect
procedures, automated repair diagnostics
Quickly choose and use your test
and genuine parts. You will always have the Phone or Fax
equipment solutions with confidence.
utmost confidence in your measurements.
United States:
(tel) 800 829 4444
Agilent offers a wide range of additional
(fax) 800 829 4433
expert test and measurement services for
www.agilent.com/find/open your equipment, including initial start-up Canada:
Agilent Open simplifies the process of assistance onsite education and training, (tel) 877 894 4414
connecting and programming test systems as well as design, system integration, (fax) 800 746 4866
to help engineers design, validate and and project management.
China:
manufacture electronic products. Agilent (tel) 800 810 0189
offers open connectivity for a broad range For more information on repair and (fax) 800 820 2816
of system-ready instruments, open industry calibration services, go to
software, PC-standard I/O and global Europe:
www.agilent.com/find/removealldoubt (tel) 31 20 547 2111
support, which are combined to more
easily integrate test system development. Japan:
(tel) (81) 426 56 7832
(fax) (81) 426 56 7840
is the US registered trademark of
the LXI Consortium. Korea:
(tel) (080) 769 0800
(fax) (080) 769 0900

Latin America:
(tel) (305) 269 7500

Taiwan:
(tel) 0800 047 866
(fax) 0800 286 331

Other Asia Pacific Countries:


(tel) (65) 6375 8100
(fax) (65) 6755 0042
Email: tm_ap@agilent.com
Revised: 11/08/06

Product specifications and descriptions


in this document subject to change
without notice.

© Agilent Technologies, Inc. 2006


Printed in USA, December 1, 2006
5968-8291E

Das könnte Ihnen auch gefallen