mipi
9 TopicsAltera 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.1View0likes1CommentAgilex 3 MIPI D-PHY RX: Does it support P/N polarity inversion?
Hello Altera Support Team, I am developing a 4-lane MIPI CSI-2 RAW10 camera receiver using the Agilex 3 FPGA and SoC C-Series Development Kit (DK-A3W135BM16AEA). Before finalizing the camera adapter PCB design, I would like to confirm whether P/N polarity inversion is supported by the Agilex 3 MIPI D-PHY RX IP. My questions are: Does the MIPI D-PHY RX support P/N polarity inversion independently for each data lane (D0, D1, D2, and D3)? Does the MIPI D-PHY RX support P/N polarity inversion on the clock lane? If P/N polarity inversion is supported, does it work correctly in both High-Speed (HS) and Low-Power (LP) modes? Is there a Quartus Prime IP parameter, pin assignment, or other supported configuration that enables P/N polarity inversion? If P/N polarity inversion is not supported, must the camera and FPGA differential pairs always be connected P-to-P and N-to-N? Could you provide an official documentation reference or confirmation from the MIPI D-PHY IP engineering team? We have not connected or powered the camera yet. We would like to resolve this question before manufacturing or connecting the adapter PCB. Thank you for your technical assistance.63Views0likes2CommentsIntroducing the Altera Community AI Responder — Beta
Altera is introducing the AI Responder, an assistant built into the Altera Community to help provide faster, context-aware guidance for Altera product questions. It uses relevant public Altera documentation and Knowledge Database content, with coverage continuing to expand. The AI Responder may provide source references and can hand off complex or out-of-scope questions to an Altera subject-matter expert. As a beta feature, responses may contain errors or omissions, so please review the sources and verify technical guidance against official Altera documentation before implementation. If the response does not fully address your question, add more context and tag ai_responder to continue the discussion. We welcome your feedback as we improve the Community experience.112Views0likes1CommentAgilex5E MIPI DPHY TX waveform
Hi, I am using Quartus ver 26.1 PRO Edition and investigating the MIPI DPHY. I measured mipi dphy tx output on real device, and have some questions. I would like to share my measurement results, so I would like to request for private message support. Regards, yumada231Views0likes1Commentmipi csi2 tx, upper limit of video width
Hi, I am using Quartus ver 26.1 PRO Edition and investigating the MIPI CSI-2 TX IP on Agilex 5 E. I generated the CSI-2 Example Design and am running a RTL simulation. To change the video width, I modified the setting of FRAME_WIDTH_PIXELS in cfg_pkg.sv. When FRAME_WIDTH_PIXELS = 3840, the operation is normal. However, when FRAME_WIDTH_PIXELS = 7680, tready goes low and the system stalls. Is there an upper limit for FRAME_WIDTH_PIXELS? The IP setting is follow:396Views0likes15CommentsRegarding MIPI CSI 2 TX
Hi, In my Project, I have to generate test pattern data and send it to MIPI CSI 2 via AXI stream, and MIPI CSI 2 will send the pixel data to link_0 of MIPI DPHY IP , but when i try to simulate the design(includes MIPI CSI 2 and MIPI DHPY IP interconnected), mipi_dphy_0/LINK0_CK_Stopstate is constantly high, I guess this signal is supposed to go low after T INT time, and also ready Singal from axi_stream is asserted low after being high for three clock cycles, i didn't understand why. Any help is appreciated.708Views0likes24CommentsMIPI CSI IP using M20K ram for 128 bits
I'm looking at the design assistant warnings for my project. And I see some weird usage by the mipi csi 2 core (Agilex 5 device, intel_mipi_csi2 v3.0.0). I'm greedy about my ram blocks, and I do not think it is reasonable for an IP core to use this for deskew. It's a problem because we use multiple mipi streams.. so it seems like a huge waste of M20Ks. Why arent they using MLABs? Example location: <my_system>|intel_mipi_csi2_0|intel_mipi_csi2_0|mipi_rx_protocol_inst|mipi_rx_ppi_inst|gen_per_lane[2].gen_per_byte[1].deskew_dcfifo_inst|auto_generated|fifo_altera_syncram|altera_syncram_impl5|ALTERA_SYNCRAM <my_system>|intel_mipi_csi2_1|intel_mipi_csi2_0|mipi_rx_protocol_inst|mipi_rx_ppi_inst|gen_per_lane[0].gen_per_byte[0].deskew_dcfifo_inst|auto_generated|fifo_altera_syncram|altera_syncram_impl5|ALTERA_SYNCRAM Any way to fix this? or a variant IP that fixes it? Thank you. Regards.Solved140Views0likes2CommentsRegarding the TX settings of MIPI CSI2 IP
In my Qsys project, I want to implement a function where the Test Pattern Generator IP sends the pattern to the MIPI CSI2 TX via an AXI stream. The MIPI CSI2 TX then sends the pixel data to link1 of the MIPI DPHE. After looping back, link0 of the MIPI DPHE sends the data to the MIPI CSI2 RX via the MIPI interface. However, strangely, the MIPI CSI2 TX axi stream ready signal remains low, and it doesn't process axi stream data from the TPG. The MIPI CSI2 TX settings are shown in the figure. What could be causing this phenomenon? Any help is appreciated.702Views0likes14Comments