Electronic Components Datasheet Search
  English  ▼

X  

ATmega165 Datasheet(PDF) 224 Page - ATMEL Corporation

Part # ATmega165
Description  8-bit Microcontroller with 16K Bytes In-System Programmable Flash
PDF  336 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATmega165 Datasheet(HTML) 224 Page - ATMEL Corporation

Back Button ATmega165 Datasheet HTML 220Page - ATMEL Corporation ATmega165 Datasheet HTML 221Page - ATMEL Corporation ATmega165 Datasheet HTML 222Page - ATMEL Corporation ATmega165 Datasheet HTML 223Page - ATMEL Corporation ATmega165 Datasheet HTML 224Page - ATMEL Corporation ATmega165 Datasheet HTML 225Page - ATMEL Corporation ATmega165 Datasheet HTML 226Page - ATMEL Corporation ATmega165 Datasheet HTML 227Page - ATMEL Corporation ATmega165 Datasheet HTML 228Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 224 / 336 page
background image
224
ATmega165/V
2573G–AVR–07/09
Note:
1. Incorrect setting of the switches in Figure 107 will make signal contention and may
damage the part. There are several input choices to the S&H circuitry on the negative
input of the output comparator in Figure 107. Make sure only one path is selected
from either one ADC pin, Bandgap reference source, or Ground.
If the ADC is not to be used during scan, the recommended input values from Table 88
should be used. The user is recommended not to use the Differential Amplifier during
scan. Switch-Cap based differential amplifier require fast operation and accurate timing
which is difficult to obtain when used in a scan chain. Details concerning operations of
the differential amplifier is therefore not provided.
The AVR ADC is based on the analog circuitry shown in Figure 107 with a successive
approximation algorithm implemented in the digital logic. When used in Boundary-scan,
the problem is usually to ensure that an applied analog voltage is measured within some
limits. This can easily be done without running a successive approximation algorithm:
apply the lower limit on the digital DAC[9:0] lines, make sure the output from the com-
parator is low, then apply the upper limit on the digital DAC[9:0] lines, and verify the
output from the comparator to be high.
The ADC need not be used for pure connectivity testing, since all analog inputs are
shared with a digital port pin as well.
When using the ADC, remember the following
•
The port pin for the ADC channel in use must be configured to be an input with pull-
up disabled to avoid signal contention.
•
In Normal mode, a dummy conversion (consisting of 10 comparisons) is performed
when enabling the ADC. The user is advised to wait at least 200ns after enabling the
ADC before controlling/observing any ADC signal, or perform a dummy conversion
before using the first result.
•
The DAC values must be stable at the midpoint value 0x200 when having the HOLD
signal low (Sample mode).
SCTEST
Input
Switch-cap TEST
enable. Output from
differential amplifier t
to Port Pin having
ADC_4
00
ST
Input
Output of differential
amplifier will settle
faster if this signal is
high first two ACLK
periods after AMPEN
goes high.
00
VCCREN
Input
Selects Vcc as the
ACC reference
voltage.
00
Table 88. Boundary-scan Signals for the ADC
(1) (Continued)
Signal
Name
Direction
as Seen
from the
ADC
Description
Recommen-
ded Input
when not
in Use
Output Values when
Recommended Inputs
are Used, and CPU is
not Using the ADC



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com