LogicAnalyzer
LogicAnalyzer
Voltage levels for a digital IO device are what defines how a device
determines a valid logic state (logic high level or logic low level).
Configure the digital device such that the following conditions are
met:
· Generation Voltage High Level ≥ DUT VIH
· Generation Voltage Low Level ≤ DUT VIL
· Acquisition Voltage High Level ≤ DUT VOH
· Acquisition Voltage Low Level ≥ DUT VOL
· Acquisition Voltage High Level > Acquisition Voltage Low Level
The extra margin between the voltage level being driven by the
source and the voltage level required at the destination is known as
the noise immunity margin (NIM).
Fig. 1-2
Fig. 1-2
Allow much smaller signal swings, which let you transmit data
much farther
All circuits within a logic family are compatible with other circuits
within that family, since they share the same characteristics.
CMOS 0 – 5V
TTL 0 – 5V
LVTTL 0 – 3.3V
LVCMOS 0 – 3.3V
output pin
the state where the driver is not driving any value at all
The Idle state configures the state of the data generation channels
after the waveform generation has begun and the generation has
paused or stopped.
The Initial state and Idle state are per channel selectable from
1— Drive the channel to a high level.
0— Drive the channel to a low level.
X— Hold last value/Leave the channel at its current state.
Z— Put the channel in a high-impedance state.
Fig. 1-7(a) Properly Terminated Digital Channel (b) Improperly Terminated Digital Channel
Signals that have reduced operating margins (degraded eye diagram caused by
inter-symbol interference)
Consider the following key areas when designing your test system:
ZS—The impedance at the source of the transmission line
Electrical length (l) is defined as the distance that a signal can travel
in an electrical medium during the time that it takes for one rise or
fall time, whichever is longer
l(m) = trise(ns)/tpd(ns/m)
where trise is the rise/fall time of the digital edge, and tpd is the
propagation delay of the edge in the transmission line.
Fig. 1-8
Electronic Instrumentation and Measurements Chia-Ling Wei No. 36
EE NCKU
1.4.4 Types of Termination
Parallel termination
Differential termination
Series termination
Fig. 7-9
RD=100Ω
Fig. 7-10
Electronic Instrumentation and Measurements Chia-Ling Wei No. 39
EE NCKU
Series Termination
Zs=Zo
Fig. 7-11
Electronic Instrumentation and Measurements Chia-Ling Wei No. 40
EE NCKU
Common Terminology for
Digital I/O and Logic Analyzers
Digital transmitters drive new data samples on each “assertion” edge of the
clock also called active clock edge. For some devices, the assertion edge is
the rising edge; for others it is the falling edge
In fact, the data is transmitted after a small delay from the assertion edge of
the clock; this delay is called the clock-to-out time or tCO
Receivers sample data on each active clock edge. However, the signals are
distorted at transmission. Hence, the received clock/data edges are usually
skewed and jittered.
Setup time (tSU) is the amount of time that the data signals must be
stable before the assertion edge of the receiver’s clock
Hold time (tH) is the amount of time that the data signals must be
stable after the assertion edge of the receiver’s clock
The set-up time and the hold time serve to require a stable window
around the assertion edge of the receiver’s clock for the receiver to
reliably sample the data
After many clock cycles, the difference between the two periods
becomes noticeable and may cause loss of synchronization and
other errors.
Fig. 2-3
The Eye Diagram is a timing analysis tool providing the user with a
good visual of timing and level errors, e.g., maximum Jitter and
voltage level errors
Fig. 2-4 Jitter and Voltage Noise View from an Eye Diagram
Eye width is the width of the white space of the final eye diagram
Fig. 2-5
Eye height is the height of the white space of the final eye diagram
For the better quality of the digital signal transmission, the eye
width and eye height should be as large as possible
The assertion edges of the receiver’s clock, shown in Fig. 2-6 on the
next page, is the vertical, solid, lines
The receiver’s VIH and VIL shown in Fig. 2-6 are represented by the
horizontal dashed lines
Fig. 2-6
1. Point where the overlaid data transitions cross the VIH of the
receiver. This is the earliest time that the clock could occur to
guarantee reliable data sampling. If the clock were any earlier, the
data lines could still be changing during the required set-up time
period. In this system the VIH voltage level is the limiting level.
2. This intersection marks the valid point for the clock assertion time +
the clock hold time.
3. Receiver’s setup time
4. Receiver’s hold time
5. Low percentage of the overlaid transitions
6. Very high percentage of the transitions
Double Data Rate (DDR) means to latch data on both the rising and
falling edges of the sample clock
Increase the rate of data being sent into and out of digital devices
Effectively double the data transfer rate without increasing the clock
speed
NI 6551: up to 50 MHz
capable of initiating the acquisition of one sample per channel for every
period of the sample clock
the sample clock can be generated from dividing the on board clock
source by any integer from 2 to 4,194,304 for the NI 6552, and from
4 to 4,194,304 for the NI 6551
The most common source is the 10 MHz reference clock available from
the PXI backplane.
A reference clock for the PLL can also be provided through an SMB jack
connector on the NI 655x front panel.
Sample clock
fin
Phase- Voltage- f
Reference Charge Loop Vc o
Frequency
Detector
Pump Filter
Controlled
Oscillator
1/N
clock
PLL On board
clock source
1/N
Fig. 3-2
If a reference clock for the PLL has been configured, it can also be
exported to an SMB jack connector on the NI 655x front panel.
The NI 655x also supports various actions that a trigger can initiate
A reference trigger establishes the reference point that separates
pretrigger and posttrigger samples.
A start trigger simply starts the process of sampling and storing data.
The supported types for a reference trigger and a start trigger are
edge, pattern match, and software.
The supported types for a pause trigger are level and pattern match.
Fig. 3-4 Digital Waveform Graph displaying two buses of hexadecimal digital data
NI Tutorials
http://www.ni.com/