Can I change the USB PHY settings for eye pattern test?

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

Can I change the USB PHY settings for eye pattern test?

Jump to solution
1,248 Views
Takashi_Kashiwagi
Senior Contributor I

Hi Community.

 

I am creating a custom board using I.MX8M Mini and yocto Linux (4.19).

 

I did a USB compliance test, but there is no margin in the eye pattern.

I looked at "11.1.4.3 USB OTG PHY Configuration Register 1" in the reference manual, but I don't know if it corresponds to the C source code on Linux.

Which source code should I change if I change the USB PHY settings?

 

Best Regards,

T.Kashiwagi

0 Kudos
1 Solution
1,224 Views
igorpadykov
NXP Employee
NXP Employee

Hi Takashi

 

>Which register provides the TXCAL 45DP functionality in the IMX8MM?

it is not supported for i.MX8M Mini, for linux source codes please refer to

i.MX Linux Reference Manual​

 

Best regards
igor

View solution in original post

0 Kudos
4 Replies
1,242 Views
igorpadykov
NXP Employee
NXP Employee

Hi Takashi

 

for register settings one can look at AN12409

i.MX6/7/8 series USB Certification Guide

use memtool for register write/read

https://source.codeaurora.org/external/imx/imx-test/tree/test/memtool?h=imx_5.4.70_2.3.0

 

Best regards
igor

0 Kudos
1,235 Views
Takashi_Kashiwagi
Senior Contributor I

Hi Igor-san

 

Thank you for reply!

I read AN12409. 

I found that I should change the TXCAL45DP/TXCAL45DM. But IMX8MM doesn't seem to have TXCAL45DP/TXCAL45DM register. (IMX6 and IMXRT have TXCAL45DP/TXCAL45DM)

 

Which register provides the TXCAL 45DP functionality in the IMX8MM? Also, when setting registers on Linux source code, which source code should be patched?

 

Best Regards,

T.Kashiwagi

 

 

0 Kudos
1,225 Views
igorpadykov
NXP Employee
NXP Employee

Hi Takashi

 

>Which register provides the TXCAL 45DP functionality in the IMX8MM?

it is not supported for i.MX8M Mini, for linux source codes please refer to

i.MX Linux Reference Manual​

 

Best regards
igor

0 Kudos
1,214 Views
Takashi_Kashiwagi
Senior Contributor I

Hi Igor-san

 

Thank you for reply.

it is not supported for i.MX8M Mini, for linux source codes please refer to

understood. I will read the reference manual.

 

Best Regards,

T.Kashiwagi

0 Kudos