Stránka 2 z 2

Napsal: 01 dub 2016, 20:45
od Cowley
Divím se, že to ta stavebnice neobsahuje rovnou. Ale jak se psalo u diskuse k stavebnici od TIPA, kde byl taky problém kolem krystalu, je to asi cílená léčka na nováčky. :)

Napsal: 02 dub 2016, 01:31
od Hydrawerk
Podle datasheetu ATmega8 tam ty kondenzátory teoreticky nemusí být. Viz strana 28 dole. http://www.atmel.com/images/atmel-2486- ... asheet.pdf
To use a 32.768kHz watch crystal as the clock source for the device, the Low-frequency Crystal
Oscillator must be selected by setting the CKSEL Fuses to “1001”. The crystal should be connected
as shown in Figure 11 on page 27. By programming the CKOPT Fuse, the user can
enable internal capacitors on XTAL1 and XTAL2, thereby removing the need for external capacitors.
The internal capacitors have a nominal value of 36pF.

Ale stejně bych je tam vždycky dal.

Napsal: 02 dub 2016, 07:40
od lesana87
Není od věci si občas přečíst v tom datašítu i sekci Erratas:

ATmega8 Rev. D to I
• CKOPT Does not Enable Internal Capacitors on XTALn/TOSCn Pins when 32 KHz Oscillator is Used to Clock the Asynchronous Timer/Counter2

P.S.: Kdysi tam psali, že od Rev. G to bude opravený, no asi někde udělali soudruzi chybku. :)

Napsal: 02 dub 2016, 17:47
od Hydrawerk
Zajímavé, děkuji.