Tagged: cmsis

Library 53- GPIO for STM32F4 12

Library 53- GPIO for STM32F4

GPIO is main thing when connecting your device with external things. As you know, ST started with HAL drivers and they want to remove STD periph drivers on which I’m working on this site. So this is a next step, how to be independent of things you use. GPIO is used everywhere on my libs, and most problems will be with porting GPIO stuff to new system (when it will be need for that). I will start to migrate all...

STM32F4 FFT example 121

STM32F4 FFT example

As you maybe know, STM32F4 is Cortex M4 with DSP instructions. This allows you to make a FFT with a few simple steps. For that purpose, I have made an example, on how to create FFT with STM32F4. I recommend use my FFT library for future use. It is built on ARM DSP library with everything included for beginner. When the ARM company issued Cortex-M4 core, it also published DSP libraries for mathematics and other stuff. And there are also...

Library 14- Working with SDRAM on STM32F429 Discovery 52

Library 14- Working with SDRAM on STM32F429 Discovery

STM32F429 Discovery board has external 64Mbits or 8MBytes SDRAM chip ISSI IS42S16400. STM32F429 has a FMC (Flexible Memory Control) peripheral to driving external SDRAM with hardware. FMC hardware is able to store up to 32bits variables at same time. External SDRAM capatibilities Variable size Max value Max address Max variables stored 8bit 0xFF 0x7FFFFF 8388608 16bit 0xFFFF 0x7FFFFE 4194304 32bit 0xFFFFFFFF 0x7FFFFC 2097152 Note: This library does not work on STM32F4 Discovery, because this MCU does not have FMC peripheral....

CMSIS - Cortex Microcontroller Software Interface Standard 187

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

Coocox IDE 15

STM32F429 inside CooCox CoIDE

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