Forum Discussion

HPark14's avatar
HPark14
Icon for Occasional Contributor rankOccasional Contributor
13 minutes ago

Altera MIPI CSI-2 RX IP (Passthrough Mode) drops User-Defined Data Type (0x30) packets in simulation

Hello,

 

I am currently evaluating the Altera MIPI CSI-2 RX IP in Passthrough Mode using Questa simulation (prior to hardware bring-up on our target board), and I encountered an issue where User-Defined 8-bit Data Type packets (0x30) are completely dropped by the RX IP.

 

1. Test Environment & Setup

IP Configuration: Altera MIPI CSI-2 IP (RX Only, Passthrough Mode Enabled)

Verification Environment: Quartus Design Example simulation (csi2_ed_sim_tb) in Questa

Target Scenario: Receiving non-standard / User-Defined Data Type (0x30) long packets on the axi4s_mipi_out interface. (Note: We do not have physical hardware yet, so all tests were conducted via RTL simulation.)

2. Simulation Findings (0x13 vs. 0x30)

 

Using the Design Example testbench, I injected identical Long Packet payloads (128 bytes) bounded by Line Start (0x02) and Line End (0x03) short packets, modifying only the Data Type (DT[5:0]) field on the TX side:

 

Case A — Generic Long Packet (DT = 0x13): The packet passes through the RX IP cleanly. On axi4s_mipi_out, we observe 0x02 (LS) → 0x13 Header + 128-byte Payload + CRC → 0x03 (LE).

Case B — User-Defined Data Type (DT = 0x30): The 0x30 long packet is completely dropped inside the RX IP (likely filtered out at the Depacketizer / ERR Detect stage). On axi4s_mipi_out, only 0x02 (LS) immediately followed by 0x03 (LE) appears, with no payload or error output.

3. Questions

Does the Altera MIPI CSI-2 RX IP strictly filter out User-Defined Data Types (0x30–0x3F) even when Passthrough Mode is enabled?

Is there any hidden parameter, CSR bit, or RTL patch/workaround available to allow 0x30–0x3F packets to pass through to axi4s_mipi_out without being dropped?

If 0x30–0x3F is unsupported in the CSI-2 RX IP Protocol Layer, is using the MIPI D-PHY IP (PHY-Only mode) with a custom lightweight CSI-2 packet parser the recommended approach?

 

I can attach the Questa waveform captures (0x13 passing vs. 0x30 dropped) if needed. Any guidance would be greatly appreciated.

 

Thank you.

1 Reply

  • Thank you for your inquiry. To ensure an accurate response, your request has been routed to an Altera application engineer for further review and assistance.


    Note: To continue using AI Responder, please start your next inquiry with ai_responder

    Disclaimer: AI-generated responses may contain errors or omissions. Please verify technical guidance with official Altera documentation before implementation.

    Thank you very much.