URL:
<http://savannah.nongnu.org/bugs/?25131>
Summary: Incorrect definition of default lfuse bits for
ATTiny2313
Project: AVR C Runtime Library
Submitted by: vivi
Submitted on: Sat 20 Dec 2008 02:22:29 AM GMT
Category: Header
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Header files
Status: None
Percent Complete: 0%
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Release: Any
Fixed Release: None
_______________________________________________________
Details:
The definition of lfuse byte in iotn2313.h is :
#define LFUSE_DEFAULT (FUSE_CKSEL0 & FUSE_CKSEL2 & FUSE_CKSEL3 & FUSE_SUT0 &
FUSE_CKDIV8)
According to the datasheet, this should be :
#define LFUSE_DEFAULT (FUSE_CKSEL0 & FUSE_CKSEL1 & FUSE_CKSEL3 & FUSE_SUT0 &
FUSE_CKDIV8)
This has the effect of setting the default oscillator speed to 4MHz instead
of 8MHz.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?25131>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev