A request about I.MX6 series USB Certification

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

A request about I.MX6 series USB Certification

951 Views
xiangqian
Contributor I

Hi NXP,

We have worked on IMX6 platform with Android 6.0 based on Kernel 4.1.5. We need to pass USB-IF Certification.

From a guides as below, we can output Test packet for eye diagram test by using memtool without PID/VID Test Fixture. It looks the eye diagram is fine in open keysight laboratory.
     memtool 0x2184184=0x18441205      // Force to output Test Packet for Eye Diagram Test

     https://community.nxp.com/docs/DOC-105609

But USB cerification needs 8 items to test as below:

VID               PID

0x1A0A       0x0101  /* Test_SE0_NAK */
0x1A0A       0x0102  /* Test_J */
0x1A0A       0x0103  /* Test_K */
0x1A0A       0x0104  /* Test_Packet */
0x1A0A       0x0106  /* HS_HOST_PORT_SUSPEND_RESUME */
0x1A0A       0x0107  /* SINGLE_STEP_GET_DEV_DESC */
0x1A0A       0x0108  /* SINGLE_STEP_GET_DEV_DESC_DATA */
0x1A0A       0x0200  /* TEST_OTG_TEST_DEVICE_SUPPORT*/

For 0x0106/0x0107/0x0108/0x0200 , could you give their commands or method ?

If I want to write USB PHY register in kernel driver, I only set USBC_n_PORTSC1 register ?  write what value ?

what register shall I write for the commands as below?

memtool 0x2184384=0x18001305      // Force to output Reset
memtool 0x2184384=0x18001285      //Ho Force to output Suspend
memtool 0x2184384=0x18001245      // Force to output Resume

Could you help us and give a sample ?

Thanks a lot.

0 Kudos
3 Replies

639 Views
igorpadykov
NXP Employee
NXP Employee

Hi Xiang

for that values one can look at  sdk/drivers/usb/test/usb0_host_testmodes_test.c

Github SDK
https://github.com/backenklee/swp-report/tree/master/iMX6_Platform_SDK

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

0 Kudos

639 Views
xiangqian
Contributor I

Hi igorpadykov

Thanks your feedback. 

But it seems there're not items supported as below from usb0_host_testmodes_test.c. 

It needs to add a patch in kernel 4.1.5 to support them ?

If yes,  could you give us some suggestion ?

0x1A0A       0x0107  /* SINGLE_STEP_GET_DEV_DESC */
0x1A0A       0x0108  /* SINGLE_STEP_GET_DEV_DESC_DATA */

Thank a lots.

0 Kudos

639 Views
igorpadykov
NXP Employee
NXP Employee

one can develop necessary patches using documentation from usb.org:

http://www.usb.org/developers/onthego/EHSET_v1.01.pdf 

Note, NXP has NXP Professional Services for helping with sertification

http://www.nxp.com/support/nxp-professional-services:PROFESSIONAL-SERVICE

Best regards
igor

0 Kudos