| Total: | 16,480 |
| Latest: | nang |
| Onlines: | 0 |
| ؤŷ: | 25 |

Category |
ʹءѺ AVR : Set Fuse Bit ͡˹Դͧ Oscillator 㹵 AVR ԵԹѹ
All Articles >> C for Microcontroller >> - ʹءѺ AVR : Set Fuse Bit ͡˹Դͧ Oscillator 㹵 AVR ԵԹѹ
ӹ
·ҹҹ AVR ԴѺʹ Ҩ Set Fuse Bit ˹ Oscillator Type ҧ١ͧ ҡ Set ԴҨз AVR Lock (ѧ¹ФѺ) ӧҹͧ ػԸա Set Fuse ҹҹ йҹҧ١ͧ
Һ
AVR Fuse Bit ˹ҷ˹ Oscillator Type С˹ҷǢͧ մ¡ѹ 7 Bit
CKOPT
Է͡ǧ Internal Capacitor ǧ Oscillator ¨е͢ XTAL1
XTAL2 ŧ GND
CKSEL3, CKSEL2, CKSEL1, CKSEL0
4 Է͡Դ Ъǧ ͧ Oscillator Դҧ · CKSEL0
ѹѺ SUT
SUT1, SUT0
2 Է˹ҷ˹ Start-Up Time
ҷӤ㨤ѾѹѡԴ
Start UP Time (SUT)
ǧҺҵ §ǧ MCU ֧ MCU зӧҹá ҡҵͧ MCU ʶҾ÷ӧҹ蹤 Ҥá˹ժǧ SUT ҹҹ ǧ Oscillator Ҿͷ зӧҹ餧 MCU зӧҹ AVR ö͡ Hardware MCU繵ǡ˹Start UP Time ¤ҷʴ㹵ҧ繨ӹǹ١ͧ System Clock к͡ ¡͡ AVR Fusebit ժ SUT1 SUT0 ´СǶ֧㹪ǧ
Additional Dealy from Reset ( RS-Delay)
ǧҺҷ鹵 MCU ١ Reset ֧ӧҹá AVR ö͡ Hardware MCU繵ǡ˹ ͡ 2 ҪǧҤ 4.1 mS 65 mS ҡ͡ Fuse Bit SUT1, SUT0
ҵŧѹ ֧Է Է ҧ çҨšԴ ػẺФѺ
Է (Programmed ) = 0
Է (Unprogrammed) = 1
AVR ͡ҡçҹԵ ҫ
Fuse Bit ж١ SET CKOPT=1 CKSEL=0001 SUT=10
蹤 ж١ SET internal RC 1MHz SUT = 6 clock RS-Delay = 65 mS ![]()
ӺԷ 7 ¹ػҧѹ ѧѺ
1)Crystal (High Frequency)

2)Crystal Oscillator (Low Frequency)
3)Extenal RC Oscillator

4) Internal RC Oscillator
5)External Clock
Ҵٵҧ SET ¡˹ҵҧ Configuration and Security bits ͧ Ponyprog2000 繵ҧ set ФԴѺ AVR 㹻¹ФѺ ͺᴧ Է 7 Ǣͧ

ҧ Set Fuse Bit
Ex1 XTAL 12 MHz, SUT = 16K, RS-Delay = 65 mS 
٤Ҩҡҧҹ![]()
Ҩеͧ SET Fuse Bit (¶֧ǹ OSC ) ͧ Ponyprog 2000 ѧ :
Ex2 XTAL 3.579 MHz, SUT = 1K, RS-Delay = 65 
٤Ҩҡҧҹ![]()
Ҩеͧ SET Fuse Bit (¶֧ǹ OSC ) ͧ Ponyprog 2000 ѧ :
Ex3 Ext. RC = 10 MHz, SUT = 8, RS-Delay = 65 mS
ͧ C1 = 20 pF
ҤӹdzҤҢͧ R1= 1,600 Ohm ͡ҷբ¤ 1.5 KOhm
٤Ҩҡҧҹ ![]()
Ҩеͧ SET Fuse Bit (¶֧ǹ OSC ) ͧ Ponyprog 2000 ѧ :
ػ
Ҷ֧÷Ѵ ѧҷҹҹö Set OSC Fuse Bit ҧ١ͧѹǹФѺ 㹵仼¹֧ѭ óշ AVR Lock set fuse Դ зҧ AVR ǹ鹡Ѻҹ