/STM32-Tutorial

Getting started with the STM32 HAL development environment. Tutorial documents in Markdown.

Primary LanguageCMIT LicenseMIT

STM32-Tutorial

Getting started with the STM32 HAL development environment. Tutorial documents in Markdown.


I have just started to redo the tutorials. Please be patient. You can find the current tutorials on my website: simonmartin.ch


STM32 Tutorial 000 - Intro

contains:

  • IDE installation guides and download links
  • links to source material (Datasheets)

STM32 Tutorial 001 - GPIO Operations

contains:

  • first steps in STM32CubeMX
  • explanation of STM32CubeMX parameters
  • explanation of the HAL library
  • GPIO Pin operations
  • GPIO interrupts (EXTI)

STM32 Tutorial 002 - UART Interface

contains:

  • configuring the UART peripheral using STM32CubeMX
  • forwarding the printf() function to the UART channel
  • receiving bytes over peripheral interrupts

STM32 Tutorial 003 - ADC

  • WIP

STM32 Tutorial 004 - PWM

  • WIP

STM32 Tutorial 005 - I2C Peripherals

  • WIP

STM32 Tutorial 006 - SPI Peripherals

  • WIP

STM32 Tutorial 007 - Custom Hardware Libraries

  • WIP

Contribution

I am always happy to hear, when a tutorial was useful to someone. If you have feedback, suggesetions or wishes, feel free to open an Issue or drop me a Telegram.


MIT License

Copyright (c) 2020 Simon Burkhardt / simonmartin.ch / github.com/mnemocron

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.