P2020 USB device mode

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

P2020 USB device mode

ソリューションへジャンプ
872件の閲覧回数
t_herbrecher
Contributor II

Hello.

We designed a custom board with the P2020 processor. One feature of this board is that it could be connected to a host PC via USB as device. For that the dual role USB controller is connected to a standard USB-B connector through a Microchip USB3317 ULPI-compliant USB-PHY.

We tried to get that USB connection working under linux (USB gadget drivers in ported 3.12 linux kernel from kernel.org) but we did not succeed. The board is not recognized on the host PC. A beagle USB tracer shows that the connection directly goes back to disconnected state when the board is plugged in. The hardware should be OK because when I configure the USB controller to work as host for testing, the USB port works as it should when communicating with a USB mass-storage device (USB memory stick).

Has anybody used the P2020 dual role USB controller as USB device under linux? Can someone help me to get that working?

Thank you and best regards

Timo

ラベル(1)
タグ(4)
0 件の賞賛
1 解決策
611件の閲覧回数
Pavel
NXP Employee
NXP Employee

Look at the following pages:

http://www.freescale.com/infocenter/index.jsp?topic=%2FQORIQSDK%2F2646868.html

and

http://www.freescale.com/infocenter/index.jsp?topic=%2FQORIQSDK%2F3114243.html.

These pages contain information for using High speed Dual-Role(DR) USB controller as USB gadget.


Have a great day,
Pavel

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
612件の閲覧回数
Pavel
NXP Employee
NXP Employee

Look at the following pages:

http://www.freescale.com/infocenter/index.jsp?topic=%2FQORIQSDK%2F2646868.html

and

http://www.freescale.com/infocenter/index.jsp?topic=%2FQORIQSDK%2F3114243.html.

These pages contain information for using High speed Dual-Role(DR) USB controller as USB gadget.


Have a great day,
Pavel

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
611件の閲覧回数
t_herbrecher
Contributor II

Hello Pavel.

Thank you for the quick reply. I checked the USB peripheral function with the SDK 1.7 source code from the Freescale git. With that version of the linux kernel the USB works correctly in peripheral mode. So I've to find the differences between the kernel.org and the freescale implementation and create apropriate patches.

Thank you again and best regards,

Timo

0 件の賞賛