Can one reinitialize a function of USB composite device?

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

Can one reinitialize a function of USB composite device?

992件の閲覧回数
niepiekm
Contributor I

Hi,

I'm working on a UBS composite device, which consists of USB-CDC and USB-MTP functions. In one of the use cases, I'd like to be able to reinitialize MTP functionality without breaking USB-CDC communication. Using the following sequence works for MTP, but breaks CDC.

```
USB_DeviceStop();
USB_DeviceSetIsr(false);
MtpReinit();
USB_DeviceSetIsr(true);
USB_DeviceRun();

```
 
Regards,
Marek
タグ(2)
0 件の賞賛
返信
1 返信

977件の閲覧回数
victorjimenez
NXP TechSupport
NXP TechSupport

Hello Marek,

With reinitialization, you mean to restart the process of enumeration and identification? If so, is not possible to reinitialize the USB-MTP without breaking the communication with the USB-CDC. 

Regards,
Victor 

0 件の賞賛
返信