How to reset USB Device via MQX API

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

How to reset USB Device via MQX API

1,131件の閲覧回数
petermai
Contributor I

Hello,

is there a way in case of a timeout to completely reset the usb device stack?

->  It should provoke the  USB device to reenumeration.

Meaning USB_DEV_EVENT_BUS_RESET followed by USB_DEV_EVENT_CONFIG_CHANGED and USB_DEV_EVENT_ENUM_COMPLETE

I need this for a reset after a timeout.

Thank you very much

タグ(3)
0 件の賞賛
返信
1 返信

963件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi Peter Mai

We have no API to reset USB device, because USB BUS is lead by USB host.  Why you need to reset USB device?

If you need to re-enumeration the USB device, I would suggest you try USB_DeviceStop and USB_DeviceRun.


Have a great day,
Daniel

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

0 件の賞賛
返信