STM32F4 Discovery

HAL library 11- SDRAM for STM32Fxxx 0

HAL library 11- SDRAM for STM32Fxxx

SDRAM library was designed to be used on STM32F429-Discovery, STM32F439-EVAL and STM32F7-Discovery boards. With single define, library will know which board is used and which settings should use to get proper working for RAM. FMC peripheral is used for driving SDRAM. Library Read more about new HAL libraries Features Use SDRAM on STM32F429-Discovery board Use SDRAM on STM32F439-EVAL board Use SDRAM on STM32F7-Discovery board Supports custom pins initialization in case user has own board with RAM Supports commands for read...

HAL library 10- CRC for STM32Fxxx 1

HAL library 10- CRC for STM32Fxxx

STM32Fxxx devices have CRC (Cyclic Redundancy Check) module inside. This is small and useful unit when working with communications. It might become very useful to verify if your packet of data is correct. STM32Fxxx devices uses “Ethernet” CRC with polynomial below: X32 + X26 + X23 + X22 + X16 + X12 + X11 + X10 +X8 + X7 + X5 + X4 + X2 + X +1 It is quite ugly 😀 Well, using this module is very easy....

HAL library 09- GENERAL for STM32Fxxx 1

HAL library 09- GENERAL for STM32Fxxx

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 Read more about new HAL libraries Features Support for software reset with callback Get reset source, what resets your...

HAL library 08- SPI for STM32Fxxx 1

HAL library 08- SPI for STM32Fxxx

Next library in ported libs is SPI for HAL based drivers for STM32F4xx and STM32F7xx based devices. Library Read more about new HAL libraries Features Operate with up to 6 SPI peripherals Send single or multiple bytes at time Automatic SPI prescaler selection based on maximum clock selected for your external device Software based Chip Select pin Support for custom GPIO pins combination for SPI

HAL library 07- USART for STM32Fxxx 1

HAL library 07- USART for STM32Fxxx

Here it is. UART library for HAL based libraries. If you don’t know, how UART work on STM32Fxxx devices, then you might take a look at my first library, where I also explained how to used it. This library works successfully on F4 and F7 based devices for now. I will add support for F0 too as soon as possible. Library Read more about new HAL libraries Features Supports up to 8 UART peripherals at a time Interrupt driven RX...

HAL library 06- DS18B20 for STM32Fxxx 1

HAL library 06- DS18B20 for STM32Fxxx

When you have onewire library done, it’s easy to make interface for DS18B20 sensors. Library Read more about new HAL libraries Features Search sensors Read temperature Set resolution for each device from 9 to 12 bits Start temperature conversion on all devices simultaneously Set alarm low and high temperatures Disable alarm temperatures Search devices with alarm flag set