Friday, 13 January 2017

First steps with stm32l152. UART and SPI simple program.

In this post I want to describe the simplest program, which transferring bytes from our board using UART and SPI interfaces.
First of all, we should setup our pins. I will do it in CubeMX, though if you want to deeper understand these interfaces, you can read through datasheets and set up them manually.


Wednesday, 4 January 2017

First steps with stm32l152c-discovery. Moving to Qt Creator



In the last two posts I described an environment installation and the first project generation. I used Eclipse as IDE. I want to be honest, I don't like Eclipse. It's very slow and sometimes buggy. So, I decided to show how to move to Qt Creator.
In this post you need to download Qt Creator from its site: https://www.qt.io/ide/ or install it with your software manager, in debian:

apt-get install qtcreator.

But be aware, that repositories may contain not the last version of the IDE.


Tuesday, 27 December 2016

First steps with stm32l152c-discovery. First program generating pwm

As for me, Eclipse IDE is a very huge IDE. Today I want to introduce you a better environment, I want to show how to work with an embedded microcontroller in Qt Creator. Also, we will build our first project and generate a square wave. For all these things we are going to use CubeMX and a little bit of code writing.


Tuesday, 20 December 2016

First steps with stm32l152c-discovery. Environment.

I think that in the web there is a lack of materials about configuring and working with STM32L processors. So, the purpose of this post is to describe how to start working with STM32L152C-Discovery board. Particularly, I want to describe my workspace environment, required software and hardware components and the process of installation FreeRTOS on my device. Also, I want to check that all these things are working correctly.


Saturday, 20 August 2016

Hello,
My name is Denis, and in this blog I am going to write about my embedded life and microcontroller experience.
I've started this blog for sharing ideas and concepts, for saving these concepts somewhere but not in my head. Also, I want to keep here descriptions of my solutions, even if they are very simple or stupid.
In this blog you can observe the way of a embedded systems programmer from the very beginning and find out how he overcomes his problems.

In the next post I want to describe my embedded environment and create new project using FreeRTOS system for stm32l152c microcontroller.