Posts

Showing posts with the label STM32CubeMX

Beginner's Guide to STM32CubeMX

Image
STM32 CubeMx tutorial Introduction Welcome to this STM32 Cube Mx tutorial. You might be wondering what is it all about? Don’t worry you will find the answers here. STM32 Cube Mx is a free software provided by ST Microelectronics who builds the STM32 line of micro controllers. One issue with these devices is that a lot of code needs to be written to initialize the device. The STM32 Cube Mx is a GUI that makes life much easier. It helps reduce the burden regarding initializing the micro controller. Bear in mind though that it will not write the code regarding the operation you want to make. Lets take an example, suppose I want to use a STM32F100VGT6 and blink an external LED. The STM32 Cube Mx will help me get the micro controller setup and get an output port ready for me. Unfortunately it will not tell the micro controller that I want to blink the led and at what speed I want the LED to blink. I have however given a small glimpse on how to turn switch on an output port at