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
 
This discussion is locked. Please start a new topic to ask your question.
5 REPLIES 5

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

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
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.

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
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...

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.