Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How i configure ATmega162 to run with external crystal osci.

Status
Not open for further replies.

drbizzarow

Advanced Member level 1
Joined
May 24, 2006
Messages
414
Helped
25
Reputation
50
Reaction score
15
Trophy points
1,298
Activity points
3,662
can any body tell me the fuses and their values
 

I don't know why you are confused about that, if you take a look at page 36-37 of the datasheet

Code:
Device Clocking Option                      CKSEL3..0
External Crystal/Ceramic Resonator          1111 - 1000
External Low-frequency Crystal              0111 - 0100

And then table 7 in the next page the setting for each crystal range

Code:
CKSEL3:1              Frequency Range (MHz)
100(1)                         0.4 - 0.9
101                            0.9 - 3.0
110                            3.0 - 8.0
111                            8.0 -

for example for crystal of 8MHz or more you have to set CKSEL3,CKSEL2,CKSEL1,CKSEL0 to 1111 (all unprogrammed)

Alex
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top