Choosing MIPI C-PHY or D-PHY changes the physical-layer verification plan for both CSI-2 camera interfaces and DSI-2 display interfaces. CSI-2 and DSI-2 define protocol-level data exchange, while the selected PHY determines how that data moves across the interface. An implementation can generate valid image or display packets and still fail because of clocking, lane or trio configuration, operating-state transitions, or the connection between the protocol controller and PHY.
Verification teams should therefore validate the protocol and physical layers together, using the exact specification revisions and optional modes implemented by the device under test (DUT).
What Is the Difference Between MIPI C-PHY and D-PHY?
| Verification consideration | MIPI D-PHY | MIPI C-PHY |
|---|---|---|
| Signaling architecture | Differential data lanes | Three-wire signaling groups called trios |
| Clocking | Conventionally uses a forwarded clock; optional embedded-clock mode is available in newer revisions | Uses embedded-clock, three-phase symbol encoding |
| Configuration to cover | Supported lane counts, clock mode, data rate, and operating states | Supported trio counts, symbol-encoding mode, data rate, and operating states |
| Integration checks | Protocol-to-PHY mapping, clocking, lane operation, timing, and packet delivery | Protocol-to-PHY mapping, trio/symbol operation, timing, and packet delivery |
| Typical protocol use | Compatible CSI-2 camera and DSI-2 display interfaces | Compatible CSI-2 camera and DSI-2 display interfaces |
This distinction matters at the protocol-to-PHY boundary. For example, a testbench must not assume that a D-PHY configuration uses a forwarded clock if the DUT implements an optional embedded-clock mode. MIPI D-PHY v3.5 introduced that option, and current MIPI D-PHY v3.6 continues to support it. C-PHY, by contrast, uses three-phase encoding with clock information embedded in the signaling.
How Does PHY Selection Affect MIPI CSI-2 Verification?
MIPI CSI-2 transports image and related data from camera sensors to processors or SoCs. Protocol-level verification covers short and long packets, frame and line boundaries, virtual channels, data types, pixel formats, payload integrity, and applicable error detection.
The PHY adds another set of checks. D-PHY implementations require tests for the supported lanes, clocking mode, high-speed and low-power behavior, synchronization, and timing. C-PHY implementations require tests for the selected trios, symbol mapping, high-speed and low-power behavior, and applicable encoding modes.
Run the same relevant camera traffic across each supported PHY configuration rather than validating only the default settings. Use frame-aware scoreboards to confirm that image data, metadata, and virtual-channel assignments survive the controller-to-PHY interface and are reconstructed correctly.
SmartDV’s MIPI CSI-2 with C-PHY/D-PHY VIP provides protocol-aware traffic generation, checking, error injection, and functional coverage for supported implementations. Its current product page lists CSI-2 v4.2, C-PHY v3.1, and D-PHY v3.6 support.
How Does PHY Selection Affect MIPI DSI-2 Verification?
MIPI DSI-2 transports display data and commands from a host processor to a display module. Verification must address supported video and command modes, packet types, pixel formats, timing, display-control transactions, and applicable return-path behavior.
The selected PHY affects how those transactions are transported. Test the implemented lane or trio configuration, data rate, startup and shutdown sequences, clock mode, low-power/high-speed transitions, and error handling. Where the display design supports video-to-command transitions, adaptive refresh, or other optional features, cross those behaviors with the supported PHY modes.
SmartDV’s MIPI DSI-2 with C-PHY/D-PHY VIP supports transmitter and receiver behavior, packet types, control functions, and physical-layer configurations. Its product page lists DSI-2 v2.2, C-PHY v3.1, and D-PHY v3.6 support.
What Should a C-PHY/D-PHY Verification Test Plan Include?
A practical plan should map each applicable requirement to stimulus, a checker, and a coverage objective:
- Version and configuration: Record the CSI-2 or DSI-2 revision, C-PHY or D-PHY revision, supported lane/trio counts, and optional clocking or encoding modes.
- PHY state transitions: Cover initialization, reset, supported high-speed and low-power transitions, shutdown, and defined recovery sequences.
- Packet and video behavior: Exercise legal packet types, payload lengths, pixel formats, frame or display timing, and applicable virtual channels.
- Traffic under changing conditions: Combine continuous traffic, mode changes, backpressure where applicable, and control transactions.
- Negative testing: Inject supported timing, configuration, synchronization, and packet errors; check specified detection, reporting, and recovery.
- End-to-end checking: Verify correct reconstruction of camera frames or display data after the protocol-to-PHY interface.
- Functional coverage: Cross PHY configuration with traffic type, mode transition, error condition, and expected response, excluding unsupported combinations explicitly.
Do not equate a passing test at one lane or trio setting with coverage of all supported configurations. Likewise, a passing packet checker does not prove that a reset or PHY transition was performed correctly.
Is MIPI A-PHY the Same as C-PHY or D-PHY?
No. MIPI A-PHY is a separate, long-reach SerDes specification for applications such as automotive sensor and display links. CSI-2 or DSI-2 traffic can be transported using A-PHY with the applicable protocol adaptation layer. C-PHY and D-PHY are commonly used for shorter-reach camera or display connections.
For a broader automotive example, see Automotive Camera Link Verification: MIPI CSI-2, A-PHY, and OpenGMSL.
Related SmartDV MIPI Resources
For the protocol-level distinction, read What Is the Difference Between MIPI CSI-2 and DSI-2?. For a deeper verification methodology, see the MIPI CSI-2 and DSI-2 Verification Guide.
Explore SmartDV’s MIPI CSI-2 Verification IP and MIPI DSI-2 Verification IP, or contact SmartDV to discuss supported PHY configurations, protocol revisions, and coverage requirements for your SoC.