2018-09-13 02:04 PM
Hello everybody,
I read everything I found, and it's still not clear.
First, I've got my OTG_FS_Core in OTG mode with ID line.
I don't need High Speed USB.
Q1: Is there 2 dedicated FS Phy, (one for each Core, FS and HS)?
Q2: How can I get the OTG_HS_Core in FS mode as Host for HID Keybrd and Mouse?
Q3: Can I get both Phy and Core running on the same project?
Best regards
Bruno
2018-09-14 04:35 PM
A1: Yes
A2: only one device can be connected to any of USB host controllers in host mode. Hub functionality is not supported (or at least no examples are available yet). So with one core in host mode you get either kbd or mouse, not both. However you can find a multifunction kbd+mouse combo.
A3: yes.
-- pa
2018-09-16 10:45 AM
Thx Pavel,
I did it, it it's fine, SRP Interrupt was not handled for Host Mode only, I add it, now it's fine even if I modified the USB Host Driver directly.
And PPWR bit in OTG_HS_HPRT must be set to 1 on the SRP interupt.
Keyboard OR Mouse of course, this is what I wanted say, but you give me a good idea, for the combo, thank you.
Bruno