From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26160 invoked by alias); 6 Dec 2014 22:30:20 -0000 Mailing-List: contact ecos-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-bugs-owner@sourceware.org Received: (qmail 26143 invoked by uid 89); 6 Dec 2014 22:30:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: mail.ecoscentric.com Received: from albus.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.200) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Sat, 06 Dec 2014 22:30:17 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id 5568CA89EA3 for ; Sat, 6 Dec 2014 22:30:14 +0000 (GMT) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (albus.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 68rSR1rPL2p7; Sat, 6 Dec 2014 22:30:13 +0000 (GMT) From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-bugs@ecos.sourceware.org Subject: [Bug 1002027] New: STM32 HSI clock initialized incorrectly Date: Sat, 06 Dec 2014 22:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: HAL X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: mmajchrzycki@antmicro.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014/txt/msg00303.txt.bz2 Please do not reply to this email, use the link below. http://bugs.ecos.sourceware.org/show_bug.cgi?id=1002027 Bug ID: 1002027 Summary: STM32 HSI clock initialized incorrectly Product: eCos Version: CVS Target: stm32f4dis (ST STM32F4DISCOVERY) Architecture/Host Cortex-M OS: Status: UNCONFIRMED Severity: major Priority: low Component: HAL Assignee: unassigned@bugs.ecos.sourceware.org Reporter: mmajchrzycki@antmicro.com CC: ecos-bugs@ecos.sourceware.org Created attachment 2557 --> http://bugs.ecos.sourceware.org/attachment.cgi?id=2557&action=edit Patch to fix HSI bug in STM32 architecture In any STM32 platform, selecting internal RC oscillator (HSI) as clock source causes a generate unstable frequency. This is because the HSITRIM field in RCC_CR is cleared during clock initialization process. Restoration of the default value of HSITRIM restores generation of stable frequency by internal RC oscillator. In attachment is a patch which fixes bug that is mentioned above. -- You are receiving this mail because: You are on the CC list for the bug.