5.2. MIPI CSI-2 Transmitter
The MIPI CSI-2 TX component consists of multiple layers defined in the MIPI CSI-2 specification version 3.0, such as the pixel to byte conversion, low level protocol and lane management layer.
The AXI to Clocked Video convertor (AXI2CV) receives video in the Intel FPGA Streaming Video Protocol via AXI4-Stream and converts it to clocked video format.
In video mode, the MIPI CSI-2 TX component converts the video data into the selected CSI-2 video data type and wraps it in CSI-2 packets according to the defined low-level protocol, adding synchronization packets as required. Long packet checksums and header ECC values are calculated and inserted to allow detection or correction of transmission errors.
In passthrough mode, it receives MIPI CSI-2 packets on an AXI4-Stream input interface from the user logic, and the video mode processing is bypassed.
The CSI-2 packets are distributed across the MIPI data lanes and presented to the MIPI D-PHY Intel® FPGA IP via the standard PHY-Protocol Interface (PPI).
Interface | Description |
---|---|
AXI4-Stream Intel FPGA Streaming Video (Full Variant) input | Carries pure video packet in Intel FPGA streaming video format. Includes Image Information Packet (IIP) and End of Field (EOP) packets. Present only when Video mode enabled. |
AXI4_Streaming MIPI Packet | AXI4-Stream input interface carrying MIPI CSI-2 packets. Present only when Passthrough mode enabled. |
TX PPI | PHY-Protocol Interface. Refer to MIPI D-PHY specification version 2.5 Annex A. |
Avalon® memory-mapped interface CSR | Control and Status Register. |
Functional Block | Description |
---|---|
AXI2CV |
|
Pixel-to-Byte Converter |
|
Packet Arbiter | Multiplexes synchronization short packets, video long packets and generic short packets into a single stream. |
Error Correction Code (ECC) | Calculates the ECC code for each packet header. |
Packetizer |
|
Lane Distributor | Distributes the bytes from the incoming packet stream onto the configured number of MIPI lanes according to the CSI-2 specification. |
Scrambler | When configured this applies the CSI-2 LFSR scrambling function to long packet payloads to avoid any long periods of fixed signaling when the video data is constant. |
TX PPI | Performs handshaking with D-PHY IP to transmit CSI-2 packets. |
Control and Status Register |
|