USB3.0 MSD may be ignored by i.MX8M.

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

USB3.0 MSD may be ignored by i.MX8M.

Jump to solution
1,701 Views
george
Senior Contributor II

Dear CarlosCasillas‌,

We are developing products using i.MX8M.

However, the product finally has one problem.

We developed on BSP 4.14.98_2.0.ga.

Out board may ignore USB3.0 MSD to Port USB1 in most cases.

At that time, no infomation can be obtained from the system logs.

We tried to reproduce it with EVK, but have not seen it yet.

We saw your post on the URL below when finding for solution to this probrem.

https://community.nxp.com/message/1198867?commentID=1198867#comment-1198867 

This method was very useful for us.

For " snps,dis_u3_susphy_quirk ", we have verified source codes.

linux/drivers/usb/dwc3/core.c :

static int dwc3_phy_setup(struct dwc3 *dwc)

{

             

              /*

              * Above 1.94a, it is recommended to set DWC3_GUSB3PIPECTL_SUSPHY

              * to '0' during coreConsultant configuration. So default value

              * will be '0' when the core is reset. Application needs to set it

              * to '1' after the core initialization is completed.

              */

              if (dwc->revision > DWC3_REVISION_194A)

                            reg |= DWC3_GUSB3PIPECTL_SUSPHY;

             

}

As a result we will choose a different setting than the recommendation in the coment, but is there any probrem?

And should we apply this patch too?

https://community.nxp.com/message/1198867?commentID=1198867#comment-1225384

Best Regards,

George

0 Kudos
1 Solution
1,585 Views
igorpadykov
NXP Employee
NXP Employee
0 Kudos
6 Replies
1,585 Views
igorpadykov
NXP Employee
NXP Employee

Hi George

>As a result we will choose a different setting than the recommendation in the coment,

>but is there any probrem?

no problems.

 

>And should we apply this patch too?

>https://community.nxp.com/message/1198867?commentID=1198867#comment-1225384

yes, if issue can not be solved,

Please note that standard support way if issue can not be reproduced on nxp reference board

is to proceed with extended support of Commercial Support and Engineering Services | NXP 

In general, issue may be related to usb signal integrity issues, so one can try to analyse

board usb layout comparing it with evk design.

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

0 Kudos
1,585 Views
george
Senior Contributor II

Dear Igor,

Thank you for the quick replay.

If you know how this switch ("snps, dis_u3_susphy_quirk") specifically changes the behavior of DWC, please let me know.

Best Regards,

George

0 Kudos
1,586 Views
igorpadykov
NXP Employee
NXP Employee
0 Kudos
1,585 Views
george
Senior Contributor II

Thanks,

George

0 Kudos
1,585 Views
karina_valencia
NXP Apps Support
NXP Apps Support

George,

Team will check this case.

0 Kudos
1,584 Views
george
Senior Contributor II

Dear karinavalencia

 

Please bring the right person here.

 

BR,

George

0 Kudos