Section 11
External Triggers
The AVR AT90ICEPRO has five external trigger inputs and five trigger outputs, all
located on the AUX connector next to the pod connector.
s The trigger inputs can act as break signals to the emulator, and/or they can be logged
in the trace buffer. If an input is enabled for breaking the emulator, a rising edge on
that input is required to break the emulator.
s
The trigger outputs may be set as trigger points on any instruction in the code window
in AVR Studio. If enabled on an instruction, the output(s) will remain high for one AVR
clock cycle when the marked instruction is executed. This can be used to trigger a
logic analyzer or an oscilloscope.
The details on how to enable and setup triggers and mask registers are presented in the
AVR Studio User Guide.
There are three global mask registers that are used to control the behavior of the trig-
gers:
s The Trigger Output Global Mask Register controls which of the output pins are
allowed to be controlled by the trigger settings in the code. An output pin which is
disabled will remain low even if a trig point for that particular pin is set in the code.
s
s
The Trigger Input Global Mask Register controls which of the input pins are allowed to
break the emulator. If more than one line is enabled, the emulator will break on either
one, but will not store any information about which input caused the event unless you
trace the trigger inputs. Unused lines must either be pulled low or disabled in the
Trigger Input Global Mask Register. Otherwise, the emulator will break on the first line
(on start up, all lines are disabled, so this only applies if input triggers are enabled by
the user).
The External Trace Mask Register controls which of the input pins will be stored in the
trace memory. Input pins that are not enabled in this register will be stored as zero in
the trace memory. To be traced, input signals must be valid and stable at the rising
edge of the AVR clock and for 50 ns thereafter. It is also necessary that the trace
buffer is enabled and turned on.
The trigger input and the external trace are two independent functions acting on the
same input pins. Note that the trigger logic is asynchronous and edge driven, whereas
AT90ICEPRO User Guide
11-1
相关PDF资料
AT90USBKEY2 KIT DEMO FOR AT90USB
AT9206 USBPLUGINCARD KIT EVAL USB QTOUCH PLUGIN/CARD
AT9946 BATTERY BOX FOR DEM KITS
ATA6662-EK BOARD EVALUATION FOR ATA6662
ATADAPCAN01 EXTENSION CAN ADD-ON TO STK500/1
ATAVRBC100 REF DESIGN KIT BATTERY CHARGER
ATAVRDB101 MODULE DISPLAY LCD/RGB BACKLIGHT
ATAVRMC100 KIT EVALUATION FOR AT90PWM3
相关代理商/技术参数
AT90L2323-4PC 制造商:未知厂家 制造商全称:未知厂家 功能描述:Microcontroller
AT90L2323-4PI 制造商:未知厂家 制造商全称:未知厂家 功能描述:Microcontroller
AT90L2323-4SC 制造商:未知厂家 制造商全称:未知厂家 功能描述:Microcontroller
AT90L2323-4SI 制造商:未知厂家 制造商全称:未知厂家 功能描述:Microcontroller
AT90L2343-4PC 制造商:未知厂家 制造商全称:未知厂家 功能描述:Microcontroller
AT90L2343-4PI 制造商:未知厂家 制造商全称:未知厂家 功能描述:Microcontroller
AT90L2343-4SC 制造商:未知厂家 制造商全称:未知厂家 功能描述:Microcontroller
AT90L2343-4SI 制造商:未知厂家 制造商全称:未知厂家 功能描述:Microcontroller