
Z8 GP™ ZGP323 In-Circuit Emulator
User Manual
UM019606-0408
Sample Project
33
– Pin 3 provides a HIGH external trigger out for use in triggering
a device such as a logic analyzer or oscilloscope. Pin 3 is under
software control, and can be activated through the ZDS II Trace
and Event system. The trigger can be set to toggle or pulse.
– Pin 1 provides an input for an external HIGH or LOW trigger in,
allowing use of an external trigger as an event for the ZDS II
Trace and Event system.
Using J5 Pin 3, External Trigger Out
The ZGP323 ICE external trigger out feature is always enabled. Set the
Trace and Event system parameters, before executing the code. When the
set up event occurs, pin 3 of connector J5 goes HIGH and stays HIGH as
long as the event is active. Longer the event window, longer the trigger
out stays HIGH.
Using J5 Pin 1, External Trigger In
The ZGP323 ICE external trigger in feature can be enabled as follows:
•
With the
ledblink_c.zdsproj
project open in ZDS II as
described in
on page 18, select
Tools
––>
Trace
and Event System
.
•
In the
Trace and Event System
window, select an
Event
entry. In
the
When
section, check
Trigger In
checkbox.
•
Select either 0 or 1 to trigger on LOW or HIGH, respectively
(edge-triggering not supported).
•
Click OK to set the Trace and Event System parameters. If you set
trigger=1 in the Trace and Event System window, then a HIGH on
pin 1 of connector J5 generates an event in the ZDS II Trace and
Event System. If you set trigger=0, then a LOW on pin 1 of con-
nector J5 generates an event.