Page 2
FAR 2.101, pursuant to FAR 12.211 and 27.404.2 and DFARS 227.7102, the U.S. government acquires no greater than Limited Rights as defined in FAR 27.401 or DFAR 227.7103-5 (c), as Keysight MIPI M-PHY Command Line Packet Generator User Guide...
Precautions manual violates safety standards of design, manufacture, and intended use of the instrument. Keysight Technologies assumes no liability for the customer's failure to comply with these requirements. Before operation, review the instrument and manual for safety markings and instructions. You must follow these to ensure safe operation and to maintain the instrument in safe condition.
Page 4
Instrument Cover Instruments that appear damaged or defective should be made inoperative and secured against unintended operation until they can be repaired by qualified service personnel. Environmental Information Keysight MIPI M-PHY Command Line Packet Generator User Guide...
M-PHY link and for capturing bidirectional M-PHY data. This tool is a licensed software option for use with the Keysight U4431A MIPI M-PHY Protocol Analyzer module The guide also describes the probing option available for use with the Keysight Command Line Packet Generator.
Page 6
Keysight MIPI M-PHY Command Line Packet Generator User Guide...
Steps for Configuring the Connection and Capture Setup for CLPG Configuring the Trigger Setup for CLPG Viewing Unid irectional/Bid irectional Data Captured by Embedded Analyzer For More Information on Data Capture and Analysis Keysight MIPI M-PHY Command Line Packet Generator User Guide...
Page 8
Contents Keysight MIPI M-PHY Command Line Packet Generator User Guide...
Compliance to Specifications The functionalities of the packet generator are in accordance with the layers implemented as defined in the M-PHY 2.0, UniPro 1.6, and UFS 2.0 specifications: Keysight MIPI M-PHY Command Line Packet Generator User Guide...
Page 11
Messages passed to the Transport Layer are loaded via TCL scripts UniPro specification) • UFS host communications are achieved via TCL scripts. • HCI is not supported. You must create the equivalent lower level commands using TCL scripts. Keysight MIPI M-PHY Command Line Packet Generator User Guide...
Page 12
Command Line Packet Generator (with Embedded Analyzer) Keysight MIPI M-PHY Command Line Packet Generator User Guide...
Keysight MIPI M-PHY Command Line Packet Generator User’s Guide Setting up the CLPG Hard- ware Hardware Components for the CLPG Setup Labeling and Color Coding of U4432A Coaxial Cables Connecting the U4432A Probe and Loopback Board to the U4431A Module and DUT...
DUT. • Keysight MIPI M-PHY Loopback Board - You need this board if you want to loop back the stimulus data transmitted from CLPG and receive this data on Pod 2 of the CLPG module to correlate stimulus data with the DUT data.
Page 15
Setting up the Command Line Packet Generator Hardware Figure 2 Front and back sides of a MIPI M-PHY Loopback Board Keysight MIPI M-PHY Command Line Packet Generator User Guide...
TX2n Yellow with white TX2p Yellow RX2n Orange with white RX2p Orange TX3n Grey with white TX3p Grey RX3n Green with white RX3p Green Clkp Brown Clkn Brown with white Vsense Keysight MIPI M-PHY Command Line Packet Generator User Guide...
If you want to loop back and capture the stimulus transmitted by CLPG, plug the Keysight MIPI M-PHY Loopback Board to the Pod2 on the front panel of the CLPG (U4431A) module. Pod2 on module to be used for the Loopback Board Keysight MIPI M-PHY Command Line Packet Generator User Guide...
Page 18
Setting up the Command Line Packet Generator Hardware Keysight MIPI M-PHY Command Line Packet Generator User Guide...
Keysight MIPI M-PHY Command Line Packet Generator User’s Guide Installing the CLPG Software Components The CLPG software runs on a standard PC used to control, configure, and use the test instruments. You need to install the following software components in the specified sequence before you start using the CLPG.
Page 20
Installing the Command Line Packet Generator Software Keysight MIPI M-PHY Command Line Packet Generator User Guide...
Keysight MIPI M-PHY Command Line Packet Generator User’s Guide Transmitting Stimulus Using the Command Line Packet Generator Launching and Preparing CLPG for Stimulus Transmission Creating Test Case Scripts For More Information...
The following window is displayed. Figure 3 CLPG shell window Load AgRunCLPG package as shown in Figure 4. Use the command <package require AgRunCLPG> as displayed in the following screen. Figure 4 Load AgRunCLPG.tcl Keysight MIPI M-PHY Command Line Packet Generator User Guide...
Page 23
Run the examples Tcl script as shown in Figure 6. Use the Tcl command source <file path to AgSample.tcl> as displayed in the following figure. Figure 6 AgSample.tcl example test cases sourced for execution Keysight MIPI M-PHY Command Line Packet Generator User Guide...
Tcl file that you created in the previous step. Write exposed commands in the new Tcl file. For information on various Tcl functions, refer to the example provided in C:\Program Files\Keysight Technologies\Logic Analyzer\ExternalApps\MipiMphy\Command Line Packet Generator\Examples\ AgSample.tcl file. Keysight MIPI M-PHY Command Line Packet Generator User Guide...
The CLPG software provides a number of example CSV files that you can use to configure and customize the stimulus. You can find details of these CSV files in the KeysightCommandLinePacketGenerator.chm online help. Keysight MIPI M-PHY Command Line Packet Generator User Guide...
Page 26
Transmitting Stimulus Using the Command Line Packet Generator Keysight MIPI M-PHY Command Line Packet Generator User Guide...
Keysight MIPI M-PHY Command Line Packet Generator User’s Guide Capturing Data using the Em- bedded Analyzer and Loop- back Board Capture - Overview Steps for Configuring the Connection and Capture Setup for CLPG Configuring the Trigger Setup for CLPG Viewing Unidirectional/Bidirectional Data Captured by Embedded Analyzer...
For a “Both Sublinks” configuration, the CLPG always monitors the sublink on Pod 1 (used for NOTE DUT data capture) for tracking the link configuration requests. The sublink on Pod 2 is not used for this purpose in any scenario. Keysight MIPI M-PHY Command Line Packet Generator User Guide...
Pod 1 section are applicable for capturing data transmitted from DUT and the settings you configure in the Pod 2 section are applicable for capturing data transmitted from CLPG. Keysight MIPI M-PHY Command Line Packet Generator User Guide...
Page 30
Analyzer Setup tab, you can click the Help button displayed at the bottom of the tab. Click Apply and then OK. After the setup is complete, you use the Run toolbar button to start the data capture. Keysight MIPI M-PHY Command Line Packet Generator User Guide...
Trigger dialog box. Or alternatively, you can also refer to the Setting up Triggers chapter in the U4431A MIPI M-PHY Protocol Anal yzer User guide. This guide is installed with the Keysight Logic and Protocol Analyzer software. You can also download it from www.keysight.com/find/mphy_analyzer.
In the following screen, data has been captured for a “One Sublink” link configuration, that is, the data transmitted from DUT. In the following screen, data has been captured for a “Both Sublinks” link configuration, that is, the data transmitted from DUT and data transmitted from CLPG. Keysight MIPI M-PHY Command Line Packet Generator User Guide...
Context- sensitive help - A context- sensitive HTML help page is available with each window and dialog box of the U4431A module on clicking the Help button displayed within the GUI element. Keysight MIPI M-PHY Command Line Packet Generator User Guide...
Page 34
Capturing Data using the Embedded Analyzer and Loopback Board Keysight MIPI M-PHY Command Line Packet Generator User Guide...
Need help?
Do you have a question about the MIPI M-PHY and is the answer not in the manual?
Questions and answers