Hi,
I develop a trial manufacture board of i. MX6 Quad and i. MX6 Dual-Lite.
I let you output a signal from the following pin and want to observe eye pattern to evaluate the signal quality on the board of USB I/F.
・i.MX6 Dual-Lite USB_H1_DP(E10)
・i.MX6 Dual-Lite USB_H1_DN(F10)
I refer to follows.
I.MX6 series USB Certification Guides
Patch to make i.MX6DQ USB to support test modes for certification test
I set follows.
CCM_CCGR6_bit.CG1 = 3; | |||
CCM_ANALOG_PLL_USB2_bit.POWER = 1; | |||
USBC_UH1_USBCMD_bit.RST = 1; | |||
USBC_UH1_USBMODE_bit.CM = 3; | |||
USBC_UH1_PORTSC1_bit.PTC = 4;☆ |
A system is hung up when I set ”USBC_UH1_PORTSC1_bit.PTC”.
Is there the necessary setting anything else?
Best Regards,
soichi
Solved! Go to Solution.
Hello,
Have You tried FrankLiuapproach ?
---
Simple way to do the High Speed Host Electrical Test(including Eye Diagram) without PID/VID Test Fixture:
Use memtool to set the USB PHY registers Port Status & Control (USBC_n_PORTSC1)directly to output the specified pattern, make sure a HS device is connected to DUT before setting, otherwise system might crash.
memtool 0x2184184 1 //read the register settings, address of the other USB port is 0x2184384
memtool 0x2184184=0x18441205 // Force to output Test Packet for Eye Diagram Test
memtool 0x2184184=0x18411205 //Force to output J_STATE
memtool 0x2184184=0x18421205 // Force to output K_STATE
memtool 0x2184184=0x18431205 // Force to output SE0 (host) / NAK (device)
memtool 0x2184384=0x18001305 // Force to output Reset
memtool 0x2184384=0x18001285 //Ho Force to output Suspend
memtool 0x2184384=0x18001245 // Force to output Resume
---
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello,
Have You tried FrankLiuapproach ?
---
Simple way to do the High Speed Host Electrical Test(including Eye Diagram) without PID/VID Test Fixture:
Use memtool to set the USB PHY registers Port Status & Control (USBC_n_PORTSC1)directly to output the specified pattern, make sure a HS device is connected to DUT before setting, otherwise system might crash.
memtool 0x2184184 1 //read the register settings, address of the other USB port is 0x2184384
memtool 0x2184184=0x18441205 // Force to output Test Packet for Eye Diagram Test
memtool 0x2184184=0x18411205 //Force to output J_STATE
memtool 0x2184184=0x18421205 // Force to output K_STATE
memtool 0x2184184=0x18431205 // Force to output SE0 (host) / NAK (device)
memtool 0x2184384=0x18001305 // Force to output Reset
memtool 0x2184384=0x18001285 //Ho Force to output Suspend
memtool 0x2184384=0x18001245 // Force to output Resume
---
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi
Thank you.
What is DUT?
Which register is it?
Please give me a little more concrete information.
Best Regards,
soichi
Hello,
1.
DUT - Device Under Test
2.
To output signal for Eye Diagram Test (from i.MX6) :
$ memtool 0x2184184=0x18441205 // Force to output Test Packet
Regards,
Yuri.