Tagged: STM32F4 discovery

All STM32F4 libraries 128

All STM32F4 libraries

Because there is a lot of libraries I have done, I will make a table with all of my libraries at one place. When new library will be created, it will be posted here. These libraries work on both Discovery boards, if not, it will be specified. Actually, libraries should work on STM32F4xx series of microcontrollers if they have peripherals that are need for library. All STM32F4xx MCUs don’t have everything inside. ūüôā Libraries are tested on my 4 STM32F4...

Library 12- OneWire library for STM32F4 34

Library 12- OneWire library for STM32F4

1-Wire is a device communications¬†bus system designed by¬†Dallas Semiconductor Corp.¬†that provides low-speed data, signaling, and power over a single signal. It’s used in some temperature sensors, like DS18B20 temp sensor and many others products from Dallas. OneWire key features Single Contact Sufficient for Control and Operation Unique ID Factory-Lasered in Each Device Power Derived from Signal Bus (“Parasitically Powered”) Multidrop Capable: Supports Multiple Devices on Single Line Exceptional ESD Performance source:¬†maximintegrated.com 17th May, 2014: There was some new functions added!...

PWM graph 136

STM32F4 PWM tutorial with TIMERs

In this tutorial, I will show you, how to implement PWM outputs on STM32F4xx devices. This is for a lot of people pretty hard work, but believe me, it’s quite quick and easy. I will go step by step on how to make a PWM output on specific timer. Update: I made a library for PWM, available here. STM32F4¬†timers They have up to 14 timers inside. Table below shows their description. You have to know, that let’s say F401 doesn’t...

ILI9341 LCD on STM32F4 267

Library 08- ILI9341 LCD for STM32F4

On STM32F429 Discovery board there is LCD with ILI9341 controller. It has 240 x 320 pixels resolution and 16bit or 18bit color depth, what gives you 65536 or 262144 different colors. It has also a possibility of different way of connection, like serial, parallel, with VSYNC and HYSNC. STM32F429 has also LTDC driver for LCD like that, but this driver we will use later. For now we will use SPI for driving in serial mode and some other pins for controlling. I...

CMSIS - Cortex Microcontroller Software Interface Standard 198

STM32F4/29 Discovery with CMSIS library in Keil uVision

From this moment, I will use in my projects¬†Keil uVision.¬†It’s true, that Coocox is free, but it has some bugs, which are great fixed in Keil. Keil has some limitations for free (32KB flash support, no optimization) version, but for our examples and libraries, it is just fine. For updates, look at my Github projects repository, where are all projects and libraries. There is no included my libraries in bottom project, you have to download it manually from Github. All...

SPI diagram 118

Library 05- SPI for STM32F4

Let’s say something about SPI. SPI (or¬†Serial Peripheral Interface) is a protocol named¬†by Motorola.¬†With him you can control sensors, SD card and much more. SPI protocol works in a ways where there is one master and multiple¬†slaves, In other words, master is our STM32F429 Discovery board and let’s say, SD card is slave.