STM32F4 Discovery

Library 55- Extend USART with TX DMA 0

Library 55- Extend USART with TX DMA

Here is a great feature for USART. I’ve made an extension library for USART (and for SPI will come soon) to use DMA for TX data using USART. This can be very handy to use if you have a lot of work and not so many time using your STM32F4 device. I was thinking first about adding DMA RX functionality for USART too. But then I realize that my USART library by default uses RXNE (RX Not Empty) interrupt and...

Library 54- General library for STM32F4xx devices 2

Library 54- General library for STM32F4xx devices

For 54th lib I decided to make it’s name to be “General”. With this name I mean that in this library, a lot of different stuff, maybe unrelated between, but very useful things will be implemented. It allows you to make software reset, get reset source, disable or enable global interrupts (NVIC) and more. It will be updated frequently but for now it’s just a start to use it in your projects. Library Features Support for software reset with callback...

Libraries API 0

Launching STM32F4xx libraries API

I have already add some links to my site. I started libraries API last week, but it wasn’t fully done for all libraries, and it is not already but it’s almost done. So, what is it going about. I use Doxygen style for commenting my libs and this powerful tool generates me a nice documentation for online purposes. Click here for documentation and API My goal is to get thing clear about functions/macros in my libs. I hope you will...

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 3

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 12

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