Tagged: st

HAL Library 21- Multi purpose USB library for STM32Fxxx 87

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 2- LEDS and BUTTON for STM32 boards 3

HAL library 2- LEDS and BUTTON for STM32 boards

Next library in series in disco library for controlling leds and reading button state on various STM32F0, STM32F4 and STM32F7 boards. Supported boards: STM32F401-Discovery STM32F4-Discovery STM32F411-Discovery STM32F429-Discovery STM32F439-EVAL, STM32F401-Nucleo STM32F411-Nucleo STM32F446-Nucleo STM32F091-Nucleo STM32F7-Discovery Library Read more about new HAL libraries Features Set LED state Read LED state Read button state Dependencies HAL TM STM32Fxxx HAL defines.h Library required settings In order to tell which board you use, you have to set some defines for it. These defines are also used in other...

HAL library 1.5- GPIO for STM32Fxxx 6

HAL library 1.5- GPIO for STM32Fxxx

GPIO library is second mainly used library in your project. It is designed to be very easily used for initializing GPIO pins without making sure if clock is enabled or not because this will library do for you. It can init pin as normal or alternate with passing alternate function, it can deinit pin to set it as analog input, it can read pin, set pin and more. Library Read more about new HAL libraries Features Initialize pins with single...

STM32F7-Discovery. source:st.com 30

New STM32F7-Discovery board

After STM32F411-Nucleo, STM32F439-Eval board, ST sends me a new discovery board, STM32F7-Discovery. This is a very powerful discovery board according to other series. It is also very big with a lot of features. The STM32F7 discovery kit allows users to develop and share applications with the STM32F7 Series microcontollers based on ARM® Cortex®-M7 core. The discovery kit enables a wide diversity of applications taking benefit from audio, multi-sensor support, graphics, security, video and high-speed connectivity features. The Arduino connectivity support...

Locked OTP Bytes 1

Library 49- One-Time programmable (OTP) bytes on STM32F4

STm32F4xx devices have OTP (One-Time-Programmable) bytes. They can be used for permanent store of configuration data for your device. Bytes are structured in 16 data blocks where each block has 32 data bytes of available memory. There is also 17th block with 16 bytes of data. His “work” is to store information about states of data block, because you can lock each block forever even if it is totally empty. Important notes: When you write data to specific OTP location...

CMSIS - Cortex Microcontroller Software Interface Standard 187

STM32F4/29 Discovery with CMSIS library in Keil uVision

From this moment, I will use in my projects Keil uVision. It’s true, that Coocox is free, but it has some bugs, which are great fixed in Keil. Keil has some limitations for free (32KB flash support, no optimization) version, but for our examples and libraries, it is just fine. For updates, look at my Github projects repository, where are all projects and libraries. There is no included my libraries in bottom project, you have to download it manually from Github. All...