Tagged: host

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

All STM32 HAL libraries 101

All STM32 HAL libraries

In this section, I will write all libraries based on HAL drivers from ST. If you see this first time, make sure you read this post first about how structure of my libs looks like! License All my softwares are published under MIT license. This means that you are allow to modify, share and use my source and other stuff in personal or commercial use. If you modify source code, it has to stay under GNU GPL v3 license too. I...

Snake game on STM32F429-Discovery board 9

Project 02- Snake game for STM32F429-Discovery board

After first FFT project, I’ve decided to make a simple snake game. Basically I’ve made it in Labview first for my partial exam at the university. It looked great so why not port it also to STM32F429-Discovery board which has everything already prepared for us. You just need USB OTG cable and external keyboard to drive snake and you are ready to play. Snake game Features Works on STM32F429-Discovery board Supports external keyboard using USB HID Host stack on STM32 Supports...

Library 31- USB HID Host for STM32F4 78

Library 31- USB HID Host for STM32F4

USB HID (or Human Input Device) is a library, that allows you to read mouse or keyboard data with your STM32F4xx device. So you can use keyboard to write characters to STM32F4xx or use mouse for LCD or any other stuff. Library Features Interface with USB mouse 3 buttons and movement supported Interface with USB keyboard QWERTY or AZERTY supported

USB Flash drive on STM32F4 105

Library 29- USB MSC HOST for USB flash drive on STM32F4

Recently I made a library to read SD cards with FatFs by Chan. Today, I made a new library for USB MSC Host and connect both libraries together, so you can operate with USB flash drives and SD cards simultaneously with STM32F4xx device. USB MSC Host library is a separate library, to handle and do stuff with USB stack. You will also need my FatFS library for SD cards. I will go here step by step, how to configure this...

All STM32F4 libraries 123

All STM32F4 libraries

Because there is a lot of libraries I have done, I will make a table with all of my libraries at one place. When new library will be created, it will be posted here. These libraries work on both Discovery boards, if not, it will be specified. Actually, libraries should work on STM32F4xx series of microcontrollers if they have peripherals that are need for library. All STM32F4xx MCUs don’t have everything inside. 🙂 Libraries are tested on my 4 STM32F4...