Skip to main content
MMARI.1
Senior II
May 5, 2024
Question

2(two) USB-2.0_FS Working

  • May 5, 2024
  • 1 reply
  • 1868 views

hi , i need   manage one usb  pendrive and usb keyboard in USB_fs mode .

it's possible to use 2 USB_FS mode simultaneously like One is HOST+mass storage  and Another One is for HOST+HID can anyone please suggest . 

Cube ide able make the code generation above mentioned criteria but in Reality it possible to run ? based on your suggestion i can make order  2  USB_fs mode available  controller

This topic has been closed for replies.

1 reply

AScha.3
Super User
May 5, 2024

Hi,

no problem, just need a cpu with 2 x USB otg/host .

I have this running with MSC (usb-stick) and Audio-host (sound card) on H743 and

on H563 MSC and Audio-host on one USB (dual).

 

You can also look on selection tool, for cpus with 2 usb (otg) :

https://www.st.com/en/development-tools/st-mcu-finder-pc.html

 

"If you feel a post has answered your question, please click ""Accept as Solution""."
MMARI.1
MMARI.1Author
Senior II
May 5, 2024

@AScha.3 @Peter BENSCH 

hi, 

controller is STM32F446RCT6 is fine to me 

for STM32F446RCT6  i need add 4.7 uf on VCAP_1 pin ?

 https://community.st.com/t5/stm32-mcus-boards-and-hardware/vcap-in-hardware-design/td-p/65256 

the attached  datasheet capacitor  will be suitable one ? or please suggest capacitor type  .

 
AScha.3
Super User
May 5, 2024

Hi,

yes, the 4u7 cer cap is ok.

But i would recommend to buy a 

NUCLEO-F446RE

to have a working setup for your first tests. Might save you a lot of time.

And to check the software: just try to make the basic program you need:

use Cube or IDE , start new project with nucleo-f446 , set what you want, the 2 x USB host;

generate code and if everything looks fine, get the nucleo board for real test. 

"If you feel a post has answered your question, please click ""Accept as Solution""."