Category: STM32F429 Discovery

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...

In this tutorial I will talk about ADC (Analog to Digital Converter). AD converts analog voltage to digital number, that can be used in microcontrollers. STM32F4xx MCUs have up to 3 ADCs of which every has 19 channels. 16 external channels, connected to IO pins 3 internal channels Vbat Voltage on battery pin for RTC Temp sensor unusable for measure temp,only for measure difference in temperature because it can fail up to 45°C Vref Voltage reference for ADC Below is table...

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...

Because STM32F429 is not supported by Coocox CoIDE with all of its features, I downloaded CMSIS files for STM32F429 from ST’s web site, version 1.3.0. I created a new project for STM32F407 and replaced files with downloaded for STM32F429. Now you can work with both discovery boards in Coocox, but I prefer working with Keil uVision (step-by-step tutorial for Keil uVision). Also, Coocox does not support 2MB flash yet, only for 1MB, what is fixed in Keil. All CMSIS files...

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.