imx27 - USB Over Current

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

imx27 - USB Over Current

ソリューションへジャンプ
1,336件の閲覧回数
imx_user
Contributor I

Has anyone tested the USB over current function of iMX27?

I configure "USB_OC_B" to act as USB Host 1 over current detection pin, but when I trigger this pin, both Host 1 and Host 2 over current interrupts come in.

The USB Configuration Register settings is:

USB_CTRL(600h)=0x59494030.

When I simulated over current on "USB_OC_B" pin, the following debug messages comes in:

GetPortStatus host 2 = 0x80001831, USBSTS=0xC48C, SysIntr=23

GetPortStatus host 1 = 0xE0501831, USBSTS=0xC08C, SysIntr=24

Anyone can advise me? Thanks in advance.

0 件の賞賛
返信
1 解決策
1,178件の閲覧回数
art
NXP Employee
NXP Employee

The USB_OC_B signal operates as the common overcurrent signal for both USB Host and OTG (in Host mode) cores of i.MX27, so, the behaviour you observe is the normal one. If you want to dedicate this signal for a single core (e.g. USB Host core only), just disable the overcurrent interrupt for another one.


Have a great day,
Artur

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

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,179件の閲覧回数
art
NXP Employee
NXP Employee

The USB_OC_B signal operates as the common overcurrent signal for both USB Host and OTG (in Host mode) cores of i.MX27, so, the behaviour you observe is the normal one. If you want to dedicate this signal for a single core (e.g. USB Host core only), just disable the overcurrent interrupt for another one.


Have a great day,
Artur

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

0 件の賞賛
返信