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.

avr atmega8 with external oscillator

Status
Not open for further replies.

tofigg

Junior Member level 1
Joined
Jul 10, 2010
Messages
15
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,283
Location
malaysia
Activity points
1,373
hey guys
i don't have experience with avr and i need to connect a crystal oscillator to it and i don't know what that required i mean in the code to active external oscillator ..can anyone answer my question :???:
 

The external crystal oscillator can be enabled with setting fuse bit in atmega8

BE CAREFUL WHILE CHANGING FUSEBITS

Best of luck
 

There is no code needed all is done using fuses setting during programming,

You can calculate the fuses needed for the crystal with this online calculator (or the datasheet of course)
AVR8 Burn-O-Mat avrdude GUI

or you can use the program as a front end to avrdude and program the chip directly with the selected setting.

You have to select your mcu model, open the oscillator tab, and select the clock source and speed you want.

Alex
 
  • Like
Reactions: tofigg

    tofigg

    Points: 2
    Helpful Answer Positive Rating
Thank u guys i will try that thank u for everything
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top