avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [bug #25131] Incorrect definition of default lfuse bits f


From: Victorien Villard
Subject: [avr-libc-dev] [bug #25131] Incorrect definition of default lfuse bits for ATTiny2313
Date: Sat, 20 Dec 2008 02:22:31 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5

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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]