Forum: Mikrocontroller und Digitale Elektronik STK500 + ext. Qaurz [Mega88]


von Anfänger (Gast)


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 :-/

von Anonymous (Gast)


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.

von Anfänger (Gast)


Lesenswert?

Also Ext. Clock wählen und die Jumper so setzen wie oben beschrieben?

von Anonymous (Gast)


Lesenswert?

Yes.

von Anfänger (Gast)


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

von Anonymous (Gast)


Angehängte Dateien:

Lesenswert?

Yes, external clock. See attached picture.

von Anfänger (Gast)


Lesenswert?

Ok hab ich gemacht, wenn ich den Quartz aber rausnehme und das STK 
wieder einschalte funktionierts trotzdem?

von Anfänger (Gast)


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

von Anonymous (Gast)


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?

von Anfänger (Gast)


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.

von Anonymous (Gast)


Lesenswert?

Does it work with the jumper XTAL1 removed?

If yes, then you are using the internal RC
oscillator of the chip.

von Anfänger (Gast)


Lesenswert?

No, it don't work without XTAL1 Jumper.

von Anonymous (Gast)


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.

von Anfänger (Gast)


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.

von Anonymous (Gast)


Lesenswert?

Yes, Ja, Oui, Si!

von Anfänger (Gast)


Lesenswert?

Thx, Danke, Merci, Grazie!

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.