Monthly Archive: April 2015
It was nice Saturday day to try motor for first time this year for me. Using it with GPS logger, it was very fun to track myself where I drove for about half an hour. I’ve made a GPS data tracker using STM32F4-Discovery board. Project uses GPS device from ebay (UBLOX NEO-6M) and USB flash drive to store data onto. Project Project works with STM32F4- or STM32F429-Discovery boards. It was tested on F4-Discovery, because it has more LEDs than F429....
I had some free time so I made a new library for web. It can handle buttons, connected to your STM32F4xx device. It supports basically unlimited number of buttons with different triggering. Currently, callback functions can be called on these events: Button on pressed: Called directly when button is pressed Button normal press: Called when button is released after specific amount of time Button long press: Called when button is pressed for specific “long” amount of time It uses malloc()...
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...
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...
Recent comments