AR# 76255

|

LogiCORE IP MIPI CSI-2 TX Subsystem - How to configure the Word Count setting correctly

描述

How do I configure the Word Count (WC) (MIPI CSI-2 TX Subsystem input signal TUSER[63:48]) setting correctly?

解决方案

In the MIPI CSI-2 specification, the 16-bit Word Count (WC) field defines the number of 8-bit data words in the Data Payload between the end of the Packet Header and the start of the Packet Footer.

No Packet Header, Packet Footer, or Packet Filler bytes will be included in the WC.

MIPI CSI-2 TX Subsystem users needs to set the WC value correctly for a correct Subsystem operation.

The receiver side uses the WC value to determine the end of the Packet Payload.


Because the MIPI CSI-2 TX Subsystem is transmitting video line-data as a single long packet, WC can be calculated as follows:

  • WC = (pixel number per-line) x (bit per-pixel) / 8

Please see the following WC calculation examples for different cases:


a) 1000 pixel, RAW8:

  • WC=1000 pixel x 8 bit /8 = 1000 bytes = 0x03E8

b) 1000 pixel, RAW10:

  • WC=1000 pixel x 10 bit /8 = 1250 bytes = 0x04E2

c) 1000 pixel, RAW12:

  • WC=1000 pixel x 12 bit /8 = 1500 bytes =  0x05DC

链接问答记录

主要问答记录

Answer Number 问答标题 问题版本 已解决问题的版本
67896 MIPI CSI-2 Transmitter Subsystem - Release Notes and Known Issues for the Vivado 2016.3 tool and later versions N/A N/A
AR# 76255
日期 04/23/2021
状态 Active
Type 综合文章
IP
People Also Viewed