Emulating ATmega163/ATmega83
4-2 AVR
®
ATICE30 User Guide
4.2.1 AVR Clock Source ■ Internal Oscillator: If a clock is not available in the target application, select internal
oscillator. The internal frequency is selectable in the range 400 kHz to 8 MHz. Note
that this option is not available in an actual device. If the internal RC oscillator in
ATmega163/83 is used, the frequency will be fixed to 1 MHz.
■ External Oscillator: If the target application supplies its own clock, select external
oscillator as clock source.
■ External XTAL: If a crystal in the target application or in the socket on the pod card is
used, select external XTAL as clock source. A crystal should not be mounted in the
socket on the pod card if there are any connections on the XTAL pins in the target
application.
If internal oscillator is selected, any signals on XTAL pins are overridden.
4.2.2 AVR Clock
External Range
If an external clock source or a crystal is selected, the clock range must be specified.
Please select from the four ranges available.
Note: Note that the selected frequency range may not correspond to the crystal
frequency due to load capacitor and/or stray capacitors in the system.
This selection is not available if internal oscillator is selected.
4.2.3 AVR Clock Output If internal oscillator is selected, this box can be checked to output the AVR clock on the
XTAL2 pin.
4.2.4 AVR Clock Load
Capacitors
If a crystal is mounted in the socket on the pod card it may be desirable to connect the
load capacitors on the XTAL lines. The load capacitors have the value 22 pF and can be
enabled or disabled here.
4.2.5 Timer Oscillator
Source
The timer oscillator can have one of three different clock sources:
■ External Oscillator: If the target application uses an external oscillator.
■ External XTAL: If the target application uses a crystal or the crystal socket on the
pod card is used.
■ No Clock: If the timer oscillator is not used, a clock source does not have to be
supplied.
4.2.6 Timer Oscillator
Range
The emulator needs to know the clock speed of the timer oscillator clock. Please select
from the two ranges available.
4.2.7 Timer Oscillator
Load Capacitors
If a crystal is mounted in the socket on the pod card, load capacitors may be connected
to the TOSC lines. The load capacitors have the value 22 pF and can be enabled or dis-
abled here.
Note: The timer oscillator settings are only active when the timer oscillator is used.
4.2.8 Internal Frequency Selects the frequency of the AVR clock. This setting is available only if internal oscillator
is selected as AVR clock source. The internal frequency is selectable in the range
400 kHz to 8 MHz.
4.3 Connecting to
the System
The pod card is connected to the bottom pod connector of ICE30 using the pod cable
(the wide cable). The 40-pin probe cable (DIL) should be connected to the probe con-
nector and to the target application.
Note: It is important that the probe cable is correctly connected to the user application.
The colored wire of the probe cable indicates pin 1 of the AVR device.