# \[FR\] stm32f446 OTG\_HS USB interface usage

**URL:** <https://klipper.discourse.group/t/fr-stm32f446-otg-hs-usb-interface-usage/816>\
**Category:** Features\
**Created:** [September 2, 2021, 11:52am UTC](https://klipper.discourse.group/t/fr-stm32f446-otg-hs-usb-interface-usage/816 "2021-09-02T11:52:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![why\_me1](https://avatars.discourse-cdn.com/v4/letter/w/df788c/32.png) [@why\_me1](https://klipper.discourse.group/u/why_me1)\
**Post date:** [September 2, 2021, 11:52am UTC](https://klipper.discourse.group/t/fr-stm32f446-otg-hs-usb-interface-usage/816/1 "2021-09-02T11:52:05Z")

</div>

Hi,  
not sure if this is the correct spot to post a feature request, if not, please move.

I want the OTG\_HS USB interface of the stm32f446 as communication interface added.

This would allow to have a single cable connection between an BTT Octopus and a RPI4 (USB-A port of BTT Octopus to USB-C port of PI) to power the PI and have data transmission between the boards.

For the PI4 the following config needs to be added to config.txt to enable USB-C host functionality:  
“dtoverlay=dwc2,dr\_mode=host”

I’ve checked the code and it shouldn’t be that hard to implement, mostly a switch between OTG\_FS and OTG\_HS defines should work. But I’m no expert at stm32s…  
I don’t know what additionally has to be added to for example in menuconfig.  
And I can’t find where USB\_Base is defined in usbfs.c, so I’m a little bit clueless at the moment how to properly swap the USB port, else I would have tested it by my own.
