Datasheet

Table Of Contents
The figure below shows how each Oscillator with external connection is supported in the scan chain. The
Enable signal is supported with a general boundary-scan cell, while the Oscillator/Clock output is
attached to an observe-only cell. In addition to the main clock, the Timer Oscillator is scanned in the same
way. The output from the internal RC Oscillator is not scanned, as this Oscillator does not have external
connections.
Figure 27-9. Boundary-scan Cells for Oscillators and Clock Options
0
1
D Q
From
Previous
Cell
ClockDR
ShiftDR
To
next
cell
To S ys tem Logic
FF1
0
1
D Q D Q
G
0
1
From
Previous
Cell
ClockDR Upda te DR
ShiftDR
To
Next
Cell EXTES T
From Digital Logic
XTAL1/TOSC1 XTAL2/TOSC2
Oscilla tor
ENABLE
OUTP UT
The following table summaries the scan registers for the external clock pin XTAL1, oscillators with XTAL1/
XTAL2 connections as well as 32kHz Timer Oscillator.
Table 27-3. Scan Signals for the Oscillators
(1)(2)(3)
Enable signal Scanned Clock Line Clock Option Scanned Clock Line when not
Used
EXTCLKEN EXTCLK (XTAL1) External Clock 0
OSCON OSCCK External Crystal
External Ceramic Resonator
0
RCOSCEN RCCK External RC 1
OSC32EN OSC32CK Low Freq. External Crystal 0
TOSKON TOSCK 32kHz Timer Oscillator 0
Note: 
1. Do not enable more than one clock source as main clock at a time.
2. Scanning an Oscillator output gives unpredictable results as there is a frequency drift between the
Internal Oscillator and the JTAG TCK clock. If possible, scanning an external clock is preferred.
3. The clock configuration is programmed by fuses. As a fuse does not change run-time, the clock
configuration is considered fixed for a given application. The user is advised to scan the same clock
option as to be used in the final system. The enable signals are supported in the scan chain
because the system logic can disable clock options in sleep modes, thereby disconnecting the
Oscillator pins from the scan path if not provided. The INTCAP fuses are not supported in the scan-
Atmel ATmega32A [DATASHEET]
Atmel-8155I-ATmega32A_Datasheet_Complete-08/2016
295