Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

RE: [AVR-Chat] Problem reading PIND.0 on Mega16 with 16MHz Crystal

2006-02-06 by Lasse Madsen

> I have a very weird problem with my Mega16 (DIP40) running a 16MHz
> crystal (22pF loading caps).

Try adding (if possible) a 10R resistor in series with the pin and a 18pF
capacitor to grund as close to the pin as possible.

>22pf is a little low for most HC49 crystals, more common is 27 or 33pf
>(30pf is the ideal)

I've always used 15pF without problems on all boards.

Best regards
Lasse Madsen

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.