Skip to content

[Question] Is it possible to use 2x USB Host MSC (Pendrive) and HID (Keyboard) at the same time with this core? #792

Closed
@rtek1000

Description

@rtek1000

I found a project that uses HAL driver (stm32f4xx_ll_usb.c), this driver already seems to be embedded in this core, I would like to know how I can use it this way: HID Host mode FS USB port (to receive commands from a keyboard) and MSC Host mode HS USB port (to access a USB stick). I have a F407VG board. Thank you.

Example found:

main.c:

  • Example has enabled 2 USB ports (FS and HS).
  • On FS port, HID device is expected where you will see on LCD which type is connected.
  • In case of HS port, USB flash key should be connected where text will be written to file!

Source:
https://github.com/MaJerle/stm32fxxx_hal_libraries/tree/master/21-STM32Fxxx_USB_HOST_HID_MSC

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions