STK500 + ext. Qaurz [Mega88]

Gast #813777
Lesenswert?

Hallo,

kann mir mal jemand erklären wie die Fuses gesetzt werden müssen bei nem 
Mega88 und die Jumper beim STK500 damit ich den Quarz benutzen kann, den 
man ins STK in den HC18 Sockel steckt.

Ich dachte so:

XTAL1: [1-2]
OSCSEL: 1 [2-3]

und beim Controller:

Ext. Low. Frequ. Crystal 32K CK/14 CK + 65ms

So komm ich aber leider nicht mehr auf mein Controller :-/
Gast #813852
Lesenswert?

Use "Ext. Clock; Start-up time: 6 CK + 64 ms;".

While using the STK500 you must use "Ext. Clock"
or "Int. RC Osc.". While using the internal RC
oscillator, as a precaution, remove the jumper XTAL1.
Gast #813931
Lesenswert?

Also ich hab jetzt in mehreren Threads anderes gelesen.

Stimmt Ext. Clock wirklich?

Muss es nicht ein Ext. Low Frequ. Crystal oder ein Ext. Full-Swing 
Crystal sein?

Ist übrigens ein 7.3728MHz Quarz

Danke
Gast #814278
Lesenswert?

Kann mir den keiner sagen wie die Einstellungen dafür sein müssen?

Laut Dautenblatt sollte es doch so funktionieren:

XTAL1 gesetzt und OSCSEL auf 2-3 gejumpert

Dazu die Fuses im Mega88 auf

Ext. Clock

Wenn ich aber den Quarz aus dem STK rausnehme kann ich immernoch auf den 
Controller zugreifen.

Danke
Gast #814317
Lesenswert?

If the ATmega88 works with the jumper XTAL1 removed,
then it is 100% sure that your are using the internal
RC oscillator of the chip. Note that when you buy a
chip, the internal RC oscillator is enabled by default.
Did you try to READ the fuse bytes with AVR Studio?
Gast #814331
Lesenswert?

Yes, i use AVR Studio. I tried to read the FuseBits with XTAL1 Jumper 
and OSCSEL Jumper at 1 [2-3]. It worked! If these are the settings for 
external crystal use => without crystal it should not work..but worked 
too.
Gast #814377
Lesenswert?

The oscillator circuit where the crystal is connected
oscillates also without a crystal. (See the picture in
one of my previous posts where you can see the block
schematic diagram).

Without crystal, the output frequency is about 270kHz
on my STK500.

Just leave a crystal in the socket and this will fix
the problem.
Gast #814388
Lesenswert?

Ok, just for sure:

XTAL1 Jumper: [1-2]
OSCSEL Jumper: 1 [2-3]

7.3728MHz Crystal in HC18 Crystal Socket on STK500 Board

ATMega88 Fuses: Ext. Clock

If this settings are activated the uC will use the Clock from my 7MHz 
Crystal.

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren