RT-1064 USB Host Stack teardown and init for Host Device Role switch example

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

RT-1064 USB Host Stack teardown and init for Host Device Role switch example

1,130件の閲覧回数
k2
Contributor III

wondering what calls can be made to dynamically teardown the host controller and init a device controller using the same controller. I see deinit calls ... Are there any examples anywhere.

In the older LPC Expresso it was pretty easy to implement this. 

ラベル(1)
0 件の賞賛
返信
1 返信

1,116件の閲覧回数
FelipeGarcia
NXP Employee
NXP Employee

Hi,

You can use USB_HostDeinit API, for example in the source code attached I used this API to disable host controller, the example starts using Ehci0 controller but changes to Ehci1 if you press SW8. Maybe you can use this code as reference but enabling device instead of host.

Best regards,

Felipe

0 件の賞賛
返信