how can i define the fusebit of atmega16 for working with external 16M crystal?
every time that i define the fusebits for working with external crystal my programmer doesn`t recognize atmega 16 any more .
should i place first the crystal and then program the fusebits or first program the fusebits and then place the crystal . also i should say that for using the atmega16 with external crystal i program the cksel0-3=1111
please guide me in this problem.
i should say that i do this but sometimes it will program and another it cant be programmed and it will be unrecognized for all time .
can you tell me the exact value for capacitor that i should use ?
Hi
u must take care that 1 means unprogramed bit,in pony prog if if i get a sequence 1111 to define an external crystal with 16mhz,i will keep all bits check boxes umarkded,meaning unprogramed,as a marked chek box in pony prog means programed i.e bit is 0.u may look about this for your particular programmar.
shakeel
You can always restore the atmega if the CLSEL fuse is corrupt by hooking up an oscillator (not a crystal) to the XTAL1 pin. Then reprogramming the fuse. Frequency does not matter.