How to re-enumerate a USB device

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to re-enumerate a USB device

723 Views
iscylinfromtw
Contributor I

I'm using the USB host of RT1060. Actually, I'm not familiar with USB host behavior. When data communication occurred error, I try to set the port reset bit of USB_nPORTSC1 register to re-enumerate the USB device again. From the USB packet sniffer (as attachment), the USB host controller sending the J-state packet but does not issue any Get_Descriptor command. Does any step I miss during the process?

0 Kudos
1 Reply

699 Views
FelipeGarcia
NXP Employee
NXP Employee

Hi,

Maybe you can try using USB_HostCdcDeinit API from the SDK.

Best regards,

Felipe

0 Kudos