STM32F4 Discovery

Library 53- GPIO for STM32F4 3

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

LwIP ethernet on STM32F4-Discovery 1

Library 52- Ethernet peripheral on STM32F4xx

One of the greatest features on STM32F4xx for me was to get ethernet to work properly as server and client. I got it working pretty quickly and I was investigating how to make a library to be very useful and easy to use. Ethernet library is built on LwIP TCP/IP stack version 1.4.1. Library is pretty hard to “install” for first time, so I decided to provide you source files (on my Github) for Keil uVision and Coocox. Examples for Keil...

LwIP ethernet on STM32F4-Discovery 10

Ethernet server using STM32F4-Discovery and SD card

It’s been a while since my last library on the web. I’m making ethernet library with TCP client and TCP server support using external PHYs (currently testing with DP83848, but it will support any PHY you want). I have some troubles yet with code, so library is not prepared for download. It will be as soon as I made it clear and stable. Library is available here. Library key features: Currently support only for RMII interface with PHY and STM32F4...

Library 51- Chrom-ART Accelerator (DMA2D) graphic library on STM32F429-Discovery 0

Library 51- Chrom-ART Accelerator (DMA2D) graphic library on STM32F429-Discovery

ST’s Chrom-ARTTM Accelerator function or DMA2D is supported in this library. This is powerful tool in STM32F429/39 or STM32F427/29 devices. It is based on DMA transmission from graphic to memory in top possible speed. This can be used to draw moving objects, rectangles, circles very fast without a lot of work. My DMA2D GRAPHIC library was designed in a way that can support any LCD. Because anything that DMA2D knows is writing “data” (color) in memory at some locations. You...

How to properly set clock speed for STM32F4xx devices 5

How to properly set clock speed for STM32F4xx devices

I see that you have problems with your devices when you don’t know even (and you don’t even ask) on which speed your device is actually running. Speed of your device depends on PLL settings or clock source you have selected for system core clock. In most cases system core clock’s source is PLL output. To get proper value, you check ALWAYS first these settings when something is not working. Because I’m tired of questions that something is not working but...

STemWin on STM32F429-Discovery board 4

Library 50- STemWin for STM32F429-Discovery

ST provides emWin library from Segger. It is professional GUI (Graphical User Interface), optimized for speed and performance for microcontrollers. ST has it’s own implementation, called STemWin. With this GUI, you can do many thing, of use simple buttons, dialogs, text boxes, to playing videos, displaying pictures, menus, etc. I suggest you that you go to segger’s website and read more about this very useful tool. In my library, I’ve some changes from original ST’s example for STM32F429-Discovery board, because...