Giter Club home page Giter Club logo

stm32l4x6_hal's Introduction

stm32l4x6-hal

Build Status Crates.io Documentation Dependency status

HAL for STM32L4x6 family of microcontrollers.

Documentation

There is separate set of docs that include board specific modules

stm32l4x6_hal's People

Contributors

brandonedens avatar doumanash avatar simonsso avatar thenewwazoo avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

stm32l4x6_hal's Issues

Permit use of MSI to drive SYSCLK

I'm not sure what this should look like (I'm still learning the concepts behind embedded-hal), but I'd like to have the ability to configure the MSI clock (MSIRANGE in RCC_CR), and use the LSE to calibrate MSI (MSIPLLEN in RCC_CR), as in 6.2.3 "Hardware auto calibration with LSE".

Right now, it looks like the default is to use either the PLL or HSI16 depending on the clock speed requested, right?

Default system clock may not be corresponding to the one actually used by default

When configuring clocks without sysclock setting, HAL currently uses MSI with 4MHz frequency as default.
Which is per Ch 6.2:

The MSI is used as system clock source after startup from Reset, configured at 4 MHz.

But actually, there is significant difference in timing between using this default clock and not configuring clock at all(i.e. leaving it as it is on start).
As consequence the same configration of SysTick exception leads to different timings of exceptions depending on whether user would configure default sysclock through HAL or not.

Should be investigated

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.