stm32f1xx-hal icon indicating copy to clipboard operation
stm32f1xx-hal copied to clipboard

USB access on stm32f105

Open BBScholar opened this issue 4 years ago • 4 comments

Is there a reason the usb module is disabled for stm32f105 series MCUs? The datasheet says it supports USB OTG FS.

#[cfg(all(
    feature = "stm32-usbd",
    any(feature = "stm32f102", feature = "stm32f103")
))]
pub mod usb;

I'm relatively new to embedded, so forgive me if this is a dumb question.

BBScholar avatar Feb 16 '21 17:02 BBScholar

I think the main reason is connectivity devices are not tested enough. Also stm32-usbd uses its own register map (pac) so the relevant place for this issue is there.

burrbull avatar Feb 18 '21 05:02 burrbull

I think that the silicon for the usb part of 105 is not the same as the silicon for the others, as 105 support OTG, but not the others. Thus, that's a different driver that is needed. The needed driver might be https://crates.io/crates/synopsys-usb-otg

@Disasm what do you think?

TeXitoi avatar Feb 18 '21 08:02 TeXitoi

That's true, synopsys-usb-otg should work with this chip, but I haven't tried this pair yet.

Disasm avatar Feb 18 '21 09:02 Disasm

That's true, synopsys-usb-otg should work with this chip, but I haven't tried this pair yet.

Hello, Have you tried to pair synopsis-usb-otg with F105/F107?

WagnerPMC avatar Mar 03 '24 21:03 WagnerPMC