[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-chat] ATMega 645 USART problem.
From: |
Marc Moreau |
Subject: |
Re: [avr-chat] ATMega 645 USART problem. |
Date: |
Tue, 17 Apr 2007 16:11:54 -0600 |
After much trial and frustration I found the problem. The clk/8 fuse is
programmed by default in 325/645. After reading the documentation in that
section multiple times I discovered the odd default.
All is well now.
Thanks for the verification.
-Marc
On Tue, 17 Apr 2007 23:42:41 +0200 (MET DST)
address@hidden (Joerg Wunsch) wrote:
> Marc Moreau <address@hidden> wrote:
>
> > I'd like a verification that this doesn't work with the atmega645.
>
> Don't have an ATmega645 around but only an ATmega6490, but they should
> have the same register structure (minus the LCD controller which the
> '645 obviously lacks). As I didn't have a reliable 14.xx MHz clock
> source around on my STK504, I used the internal clock of 8 MHz, and
> thus had to decrease the baud rate to 38400 Bd in order to maintain a
> tolerable baud rate error.
>
> Given that, everything works as you wrote it though. Well, your test
> program lacks the initialization of port B for output to drive the
> LEDs (or whatever).
>
> --
> cheers, J"org .-.-. --... ...-- -.. . DL8DTL
>
> http://www.sax.de/~joerg/ NIC: JW11-RIPE
> Never trust an operating system you don't have sources for. ;-)
>
>
> _______________________________________________
> AVR-chat mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/avr-chat