STM32F4 Discovery

HAL Library 24- RTC for STM32Fxxx 22

HAL Library 24- RTC for STM32Fxxx

RTC library was ported to HAL drivers for STM32Fxxx line from my previously library RTC for STM32F4xx. If features similar things as before except some functions were changed, which are already described in HAL API. Library Read more about new HAL libraries Features Support Internal or external clock source PC14 and PC15 pins are used for external crystal oscillator STM32F4/429 Discovery does not have RTC crystal onboard. Check board’s manual on how to set it up Support wakeup interrupt Support...

HAL Library 23- TOUCH for STM32Fxxx 6

HAL Library 23- TOUCH for STM32Fxxx

The TOUCH library is a “high” level library for touch operations. It requires low-level drivers for communication with your sensor/device, but for high level for user, always the same functions are used. This allows you flexibility between multiple low-level device drivers to be used with in your project if needed and also allows single lib to have the same features for all projects. Library Read more about new HAL libraries Features Custom selectable driver Built-in drivers for STM32F429-EVAL and STM32F7-Discovery...

HAL Library 22- BOR for STM32Fxxx 1

HAL Library 22- BOR for STM32Fxxx

BOR (Brown Out Reset) is a way to reset microcontroller if target voltage is below voltage we set. When this happens, MCU is in reset state until voltage comes above selected voltage. STM32F4/7xx devices have 4 possible BOR values, which are described later or in API documentation. Library Read more about new HAL libraries Features Set Brown-Out detection value Get Brown-Out detection value

HAL Library 21- Multi purpose USB library for STM32Fxxx 86

HAL Library 21- Multi purpose USB library for STM32Fxxx

This USB library is designed in a ways that can easily be used with different modes. That’s why I’ve made a single library for everything what I support now and which support I will add in future. The main purpose of library is to support USB FS and HS modes on STM32Fxxx devices at the same time, without any problems. So I designed a library, which allows users to have all these possibilities: Use both USB modes as hosts Use...

HAL Library 20- FATFS for STM32Fxxx 122

HAL Library 20- FATFS for STM32Fxxx

FATFS library (HAL LIB 20) is a “generic” library for all FAT related implementations, such as SDCARD, USB FLASH, SPI FLASH and also SDRAM can be used with proper FAT initialization. My FATFS library currently supports only SDCARD communication with SDIO (STM32F4xx) or SDMMC (STM32F7xx) or SPI on both families. There is no big difference between them and you can treat them as the same peripheral with only different name. In case you are interested for FATFS based on STD...

HAL Library 19- CPU LOAD monitor for STM32Fxxx 1

HAL Library 19- CPU LOAD monitor for STM32Fxxx

CPU load monitor library is simple library, which counts number of sleeping cycles using WFI() instruction compared to working cycles in one second. Load variable is updated every 1 second to determinate how much your processor works. For that case, you have to always put your system to sleep mode when you don’t need it. It uses DWT counter in Cortex M4/M7 to measure cycle counters! Library Read more about new HAL libraries Features Measures CPU load. Load depends between...