This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1002027] New: STM32 HSI clock initialized incorrectly


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 the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]