cancel
Showing results for 
Search instead for 
Did you mean: 

I am using STM32F4 Controller for making my product , i want to use usb with android mobile it's possible ? through OTG .

MBHIN.1
Associate II
 
5 REPLIES 5
Andrew Neil
Evangelist III

In what way(s) do you want to "use" the USB?

Have you searched for what Android supports via USB?

eg, https://developer.android.com/guide/topics/connectivity/usb

MBHIN.1
Associate II

How can i pass ADC value through USB OTG ?

You're going to have to start with the Android documentation to see what it supports.

Then implement the corresponding class(es) in the STM's USB.

Muhammed Güler
Senior III

With USB VCP, you can send and receive any data you want.

provided Android (and the specific device/s in question) supports it!

Also a question of whether it works as Host or Device...