Category: STM32F429

Library 56- Extend SPI with DMA for STM32F4xx 18

Library 56- Extend SPI with DMA for STM32F4xx

As said in one post before, here is SPI DMA library for STM32F4 devices. Instead of onl TX functionality (as in USART DMA library) SPI DMA extension library enables DMA for TX and RX modes at the same time, to receive and transmit data over DMA. Library supports up to 6 SPIs (max number in STM32F4 devices). It can work in 3 main modes: Send data to slave device, receive data from slave device Send data to slave device, don’t...

Library 55- Extend USART with TX DMA 11

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 5

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 14

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 204

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