ATmega8 clock selection fuse settings

Publisher:码字探险Latest update time:2016-08-25 Source: eefocusKeywords:ATmega8 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
The following content is translated from the English manual of mega8. I hope it will be helpful to everyone. If you find any errors, please correct them.
mega8 fuses:
1: Not programmed (not selected)
0: Programmed (selected)
********************************
Fuse Description Default Setting
**************************************
RSTDISBL: Reset or I/O function selection 1 1: Reset function; 0: I/O function (PC6)
WDTON: Watchdog switch 1 1: Watchdog on (enabled by WDTCR); 0: Watchdog disabled
SPIEN: SPI download enabled 0 1: ISP download disabled; 0: ISP download enabled (Note: This item is not available when using SPI programming)
EEAVE: EEPROM data retention during programming 1 1: Not retained; 0: Retained
BODEN: BOD function control 1 1: BOD function disabled; 0: BOD function enabled
BODLEVEL: BOD level selection 1 1: 2.7V level; 0: 4.0V level
BOOTRST: Reset entry selection 1 1: The program starts to execute from the address 0x0000; 0: The program starts to execute from the entry address determined by the boot area
**********************************
BOOTSZ1/0: Boot area program size and entry 00        
00: 1024Word/0xc00;
01: 512Word/0xe00;
10: 256Word/0xf00;
11: 128Word/0xf80
********************************
BLB02/01: Program area instruction bit selection 11
11: Both SPM and LPM instructions are allowed to execute
10: SPM instruction prohibits writing to the program area
01: Boot area LPM instruction prohibits reading the program area content; if the interrupt vector is defined in the boot area, the interrupt is prohibited from executing in the program area.
00: SPM instruction prohibits writing to the program area; Boot area LPM instruction prohibits reading the program area content; if the interrupt vector is defined in the boot area, the interrupt is prohibited from executing in the program area.
********************************
BLB12/11: Boot sector instruction bit selection 11
11: Both SPM and LPM instructions are allowed to execute
10: SPM instruction prohibits writing boot sector
01: Program area LPM instruction prohibits reading boot sector content; if the interrupt vector is defined in the program area, the interrupt is prohibited from executing in the boot sector.
00: SPM instruction prohibits writing boot sector; program area LPM instruction prohibits reading boot sector content; if the interrupt vector is defined in the program area, the interrupt is prohibited from executing in the boot sector.
********************************
LB2/1: Program area encryption bit selection 11        
11: Unencrypted
10: Program and EEPROM programming function disabled, fuse bit locked
00: Program and EEPROM programming and verification function disabled, fuse bit locked
(Note: program other fuse bits first, then program the encryption bit)
********************************
CKSEL3/0: Clock source selection 0001
CKOPT: Crystal oscillator selection 1
SUT1/0: Reset start time selection 10
********************************
CKSEL3/0=0000: External clock, CKOPT=0: Allow the chip's internal XTAL1 pin to connect a 36PF capacitor to GND; CKOPT=1: Disable the capacitor
----------------
CKSEL3/0=0001-0100: Calibrated internal RC oscillator, CKOPT is always 1
0001: 1.0M
0010: 2.0M
0011: 4.0M
0100: 8.0M
----------------
CKSEL3/0=0101-1000: External RC oscillation, CKOPT=0: Allow the chip's internal XTAL1 pin to connect a 36PF capacitor to GND; CKOPT=1: Disable this capacitor
0101: <0.9M
0110: 0.9-3.0M
0111: 3.0-8.0M
1000: 8.0-12.0M
----------------
CKSEL3/0=1001: External low-frequency crystal oscillator, CKOPT=0: Allow the chip's internal XTAL1/XTAL2 pins to connect a 36PF capacitor to GND; CKOPT=1: Disable this capacitor
----------------
CKSEL3/0=1010-1111: External crystal oscillator, ceramic resonator, CKOPT=0: High amplitude oscillation output; CKOPT=1: Low amplitude oscillation output
101X: 0.4-0.9M
110X: 0.9-3.0M
111X: 3.0-8.0M
********************************
SUT1/0: Reset start time selection
When different crystal oscillators are selected, the SUT is different.
Keywords:ATmega8 Reference address:ATmega8 clock selection fuse settings

Previous article:CH451 drives LED digital tube microcontroller C language example program
Next article:AVR TWI Read and Write Example

Recommended ReadingLatest update time:2024-11-16 12:24

Design of digital controlled DC regulated power supply based on VUSB
Introduction: This paper introduces a digitally controlled DC voltage-stabilized power supply with high regulation accuracy and easy operation. The AVR series single-chip microcomputer Atmega8 is used as the main control unit, and the output voltage of the D/A conversion chip MAX522 is set through different digital in
[Microcontroller]
Design of digital controlled DC regulated power supply based on VUSB
ATmega88 ALU
ALU (Arithmetic Logic Unit) - Arithmetic Logic Unit. The ATmega88's ALU, like other AVR ALUs, is directly connected to 32 general-purpose working registers. ALU operations between registers and between registers and immediate values ​​only take one clock cycle. ALU operations are divided into three categories: arithme
[Microcontroller]
atmega8 example: key input detection
/***********************************************************  * Function library description: ATMEGE8 key detection program                          * Version: v1.0                                                                                            *                                                              
[Microcontroller]
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号