Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

ATMEGA406_0607 Datasheet(PDF) 30 Page - ATMEL Corporation

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

ATMEGA406_0607 Datasheet(HTML) 30 Page - ATMEL Corporation

Back Button ATMEGA406_0607 Datasheet HTML 26Page - ATMEL Corporation ATMEGA406_0607 Datasheet HTML 27Page - ATMEL Corporation ATMEGA406_0607 Datasheet HTML 28Page - ATMEL Corporation ATMEGA406_0607 Datasheet HTML 29Page - ATMEL Corporation ATMEGA406_0607 Datasheet HTML 30Page - ATMEL Corporation ATMEGA406_0607 Datasheet HTML 31Page - ATMEL Corporation ATMEGA406_0607 Datasheet HTML 32Page - ATMEL Corporation ATMEGA406_0607 Datasheet HTML 33Page - ATMEL Corporation ATMEGA406_0607 Datasheet HTML 34Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 30 / 263 page
background image
30
2548E–AVR–07/06
ATmega406
• Bit 0 - ACS: Asynchronous Clock Select
The ACS bit is used to selected the source of the asynchronous clock for the Coulomb Counter
ADC and Wake-up Timer. The Slow RC Oscillator is selected when this bit is cleared (zero). The
32 kHz Crystal Oscillator is selected when this bit is set (one).
The selected clock source and oscillator enable conditions are illustrated in Table 7-4.
Recommended algorithm for switching from the RC Oscillator to the Crystal Oscillator as the
asynchronous clock for the Coulomb Counter ADC and Wake-up Timer:
1.
Enable the Crystal Oscillator by setting the XOE bit (one).
2.
Enable the Wake-up Timer, select a two second timeout, and reset the Wake-up Timer
(”Wake-up Timer” on page 49 for details).
3.
Wait for the Wake-up Timer time-out.
4.
Switch to the Crystal Oscillator by setting the ACS bit (one) while keeping the XOE bit set
(one).
5.
Optional: Wait for another Wake-up Timer time-out, to ensure the Crystal Oscillator is
operating correctly. This can be done by enabling another timer interrupt with significantly
longer time-out, and checking that the Wake-up Timer time-out occurs first.
Recommended algorithm for switching from the Crystal Oscillator to the RC Oscillator as the
asynchronous clock for the Coulomb Counter ADC and Wake-up Timer:
1.
Switch to the RC Oscillator by clearing the ACS bit (zero) while keeping the XOE bit set
(one).
2.
Disable the Crystal Oscillator by clearing the XOE bit (zero) while keeping the ACS bit
cleared (zero).
Table 7-4.
Asynchronous Clock Source and Oscillator Enable Conditions
Sleep Mode
32 kHz Crystal
Oscillator Enable
Slow RC
Oscillator Enable
Power-off or Power-down
0
0
Other Sleep Modes
XOE
ACS & (CADEN | WUTEN)
Active Mode
XOE
1



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