Giter Club home page Giter Club logo

icm20948-1's Introduction

ICM-20948 Driver for STM32 HAL

This project outputs X, Y, and Z data for the accelerometer, magnetometer, and gyroscope on the Invensense ICM-20948 and is optimized for use with the FTI ProMotion Module.

Porting Guide

Minimal effort is needed to port this library to another STM32 MCU. Please place new ports in an appropriately named folder inside 'Examples' folder. (e.g. Examples/F405RGxx). The following peripheral settings are important to note.

  • SPI Settings

    Frame Format: Motorola
    Data Size:    8 bits
    First Bit:    MSB First
    Baud Rate:    4.5 Mbits/s
    Clk Polarity: HIGH
    Clk Phase:    2nd Edge
    CRC Calc:     Disabled
    NSS Signal:   Software
    
    DMA Requests must be enabled bidirectionally using the following settings
    Mode:         Normal
    Data Width:   Byte
    
  • GPIO Settings

    All GPIO's should be Output Push / Pull with low default output levels except for ICM_INT, which should be held low and triggered high.
    
  • UART Settings

    I have been using UART in Asynchronous mode with a baud rate of 115200 with success.  Use what you please :)  It's UART...
    
  • Files needed

    You only need to include ICM20948.h/c in your project.  Be sure to change the section labeled SPI Abstraction and I2C Abstraction to match your platform.
    

icm20948-1's People

Contributors

therealwokewok avatar

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.