cancel
Showing results for 
Search instead for 
Did you mean: 

I have a question about hid otg connector selection

HSHIN.1
Associate

I am trying to implement hid otg with stm32f105

But you can use micro 5pin as otg usb connector

USB communication does not work with the normal connector as shown in the picture below.

I wonder why it doesn't work depending on the usb connector

And is there any way to use the connector like picture?

Thank you

0693W000001cOPjQAM.jpg

3 REPLIES 3

OTG means, that the STM32 would be capable to work as both device and host (not simultaneously though).

The 5th pin in the mini-AB connector is there to be able to determine, whether the STM32 should work as host or as device.

JW

Thank you for answer

Is there any way to make stm32 to be recognized as a device with the connector in the picture above?

And do you need the role changing at all?

You can base it on any stimulus, e.g. add some element into your User Interface saying "host/device", or place a simple switch next to the connector.

It will be nonstandard, but the standard way is not that well known among the users anyway...

JW