C-PHY Transmitter CTS User Guide
10
Test Case Suite
The Test Case Suite is a powerful automation development tool within the
IntrospectESP software. It allows software developers to create unit test
functions and to handle their execution in a robust manner. The Test Case Suite
has been used in this Application to create Test Case code for each of the tests
in the MIPI C-PHY CTS Specifications.
Double-clicking on the Test Case Suite launches a simple GUI for selecting test,
debugging them, or executing the entire test flow.
User-Editable Initialization Function
This is a function tab (visible in the Test Procedure section of the GUI) that
allows you to enter custom code for initializing the test in general or for
initializing signal transmission from the DUT. In general, the CTS requires the
generation of repeating packet loops. But it is possible that some tests can be
customized in the following manners:
• Replacing the PRBS9 packet loop with an image pattern loop
• Replacing the PRBS9 packet loop with repeating LPDT transmissions
• Configuring the DUT to generate static LP111 or LP000 values
Selecting the General Options for the Test
Figure 6 shows the ctsOptions data record component, which is used to select
the options for the test. Typically, all defaults are valid. The parameter
descriptions include items such as:
• runNominalTest: this commands the CTS Application to execute a quick
pattern check on the device before any test is performed, thus verifying
that the hardware setup is valid
• stopAfterFirstFailure: set this parameter to True if you want the CTS
Application to abort after any of the tests fails
• reportGeneration: enables the creation of a CSV report of executed tests.
Generated reports are accessible in the Results tab of the GUI
Other options in this data record include features related to particular test
configurations. Context help is available for these and other options in the CTS
Application.