LS1046ardb USB function

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

LS1046ardb USB function

992 Views
abanwer
Contributor I

Hi,

   I am working on USB function driver for ls1046ardb board, the issue I am facing is that I don't receive a disconnect interrupt when cable is unplugged from host. I have enable the disconnect interrupt from DEVTEN register. I am using USB1 device. Are there any other settings that need to be done for enabling the disconnect interrupt. Connect and reset interrupts are working fine. 

Labels (1)
0 Kudos
2 Replies

711 Views
Pavel
NXP Employee
NXP Employee

Look at the Section 33.4.3.1.1 of the LS1046a Reference Manual. Do you use similar command sequence for USB 3.0 device initialization?

Look at attached file. It is LS1043a USB driver code from NXP SDK 2.0 Linux BSP. Similar code can be used on the LS1046a board.

See gatged.c file.

 


Have a great day,
Pavel Chubakov

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

0 Kudos

711 Views
abanwer
Contributor I

Thanks I will look into it.

0 Kudos