Tagged: stm32f4

Single LCD library for different boards 41

HAL library 12- LCD for STM32Fxxx

LCD is first big library provided from me. It’s the same as SDRAM, it works on STM32F429-Discovery, STM32F439-EVAL and STM32F7-Discovery boards. With one library you can control 3 boards just by selecting proper define in your target. Library can be extended to other boards. Library requires FMC peripheral for SDRAM for display memory, DMA2D for fastest graphic accelerations and LTDC for transferring layers to LCD. Library Read more about new HAL libraries Features Supports STM32F429-Discovery board Supports STM32F439-EVAL board Supports...

HAL library 11- SDRAM for STM32Fxxx 14

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 3

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 32

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 59

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