USB OTG functionality support

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

USB OTG functionality support

ソリューションへジャンプ
5,917件の閲覧回数
admin
Specialist II
I am new to freescale and want to use USB as OTG. Does MQX RTOS USB stack support USB OTG functionality? I am planniing to use MCF52259 microcontroller.
ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
1,471件の閲覧回数
JuroV
NXP Employee
NXP Employee

I mean, that product "Freescale MQX RTOS 3.2.1" does not support runtime switch between host and device functionality. In developing phase, you have to decide whether you will use host or device.

 

If your question leads whether you could find or buy another version of USB stack, the answer is: ask EAI Inc., but for MCUs that Freescale has released MQX for, EAI Inc. doesn't have any next features; in other words Freescale's MQX does not lack any functionality or feature compared to EAI.

 

元の投稿で解決策を見る

0 件の賞賛
返信
9 返答(返信)
1,471件の閲覧回数
JuroV
NXP Employee
NXP Employee
Nowadays, MQX supports device functionality or host functionality and it depends on which one you implement (which library you use). Dynamic swapping between host and device is not possible.
0 件の賞賛
返信
1,471件の閲覧回数
admin
Specialist II

Do you mean to say that there is no separate driver for OTG functionality and I need to swap between Host and Device functionality at run time? Isn't it little difficult?

 

Also USB host or device stack that comes along with MOX RTOX is MQX stack or it is some other vender?

0 件の賞賛
返信
1,472件の閲覧回数
JuroV
NXP Employee
NXP Employee

I mean, that product "Freescale MQX RTOS 3.2.1" does not support runtime switch between host and device functionality. In developing phase, you have to decide whether you will use host or device.

 

If your question leads whether you could find or buy another version of USB stack, the answer is: ask EAI Inc., but for MCUs that Freescale has released MQX for, EAI Inc. doesn't have any next features; in other words Freescale's MQX does not lack any functionality or feature compared to EAI.

 

0 件の賞賛
返信
1,471件の閲覧回数
admin
Specialist II
Thanks.
0 件の賞賛
返信
1,471件の閲覧回数
MQXuser
Contributor III

I would like to do the following:

 

Have an initialization task and make a desicion there (reading a hardware button) whether to use USB Device or USB Host.

Is that possible to do?

0 件の賞賛
返信
1,471件の閲覧回数
JuroV
NXP Employee
NXP Employee
Yes, this is possible. So, once again, you cannot select device/device automatically as a consequence of OTG handshaking.
Message Edited by JuroV on 2009-09-09 10:48 AM
0 件の賞賛
返信
1,471件の閲覧回数
JuroV
NXP Employee
NXP Employee
Or, better said: I am wrong. Now there are some conflicts between USB host / device when used in one final application, but we want to remove these conflicts to be able to use it together (although still without OTG). OTG is planned later on.
0 件の賞賛
返信
1,471件の閲覧回数
propellerhead99
Contributor II

Ref: MQX 3.6.2 and K60 Tower

The documentation addresses USB OTG mode with automatic stack switching. Currently using usb>host>examples>

msd>msd_commands as example code which defaults to host mode when compiled. I defined the __USB_OTG__ symbol to force an OTG host and now it cannot find the necessary "otgapi.h" file.

 

Does anybody know where this file is or better where there is a good tested OTG example? 

 

0 件の賞賛
返信
1,471件の閲覧回数
PetrL
NXP Employee
NXP Employee

HI,

 

I am sorry but JurajV is right, current MQX (3.7) does not support OTG functionality. We are working on enabling it, but cannot promise you a date when it will be done.

 

PetrL