Git Product home page Git Product logo

libraries_stm32f401's Introduction

Bare-metal STM32 Driver Libraries With Tests

Using this NUCLEO Dev-board: https://www.st.com/en/evaluation-tools/nucleo-f401re.html, and STM32CubeIDE without use of the provided HAL

This repo contains libraries within the Inc folders of each project that can be used for GPIO, UART, ADC, etc, functionalities for the STM32F401RE MCU. There are tests included within each project file, mostly using the on-board LED and button for this particular nucleo board. There is also the inclusion of an I2C LCD Display for the I2C test, I did have difficulty in determining how to get the bottom half of the LCD display working, hence why only the top 8 characters work (https://www.orientdisplay.com/wp-content/uploads/2019/10/AMC0802BR-B-Y6WFDY-I2C.pdf). Most of the tests should only be run one at a time.

Used this to obtain the header ARM package CMSIS header files needed: https://www.st.com/en/embedded-software/stm32cubef4.html. You only need Drivers -> CMSIS -> Device and Include folders (for whichever MCU you're using). Since this is intended STM32F4x MCU, I only included the necessary header files for that MCU in the chip_headers/CMSIS folder.

If there are issues with detecting the header files, you may need to right click on the project and go to Properties:

image

Then go to C/C++ General -> Paths and Symbols:

image

Then click Add -> File system, and head to the chip_headers/CMSIS folder and select the Include folder, then do the same for the Device folder:

image

I've also included resources like the MCU datasheet, reference manual, etc., that I used.

libraries_stm32f401's People

Contributors

nmanhas2 avatar

Watchers

 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.