7265 - MIPI CSI-2 / DSI D-PHY Transmitter: What is 'Counter Width' parameter in rx_dphy IP and how to calculate the value?
Details:
'Counter Width' refers to bus width of the counter that tracks the number of rows written during the high-speed data transition.
Setting the value for Counter Width is valid only when RX_FIO type is set to 'QUEUE' where high-speed data is buffered completely.
This setting is as described in CSI2-DSI DPHY Rx IP User Guide (FPGA-IPUG-02081):
The range of this counter is dependent on the Depth selected.
For example, 4096 depth will generate a Counter Width of 12 range.
Counter Width must be able to accommodate the maximum length of high-speed transaction including HS-Zero and trail. Each write to FIFO is DPHY Lanes x Gear Wide.
Another example of calculating Counter Width is as followed:
- DPHY Lanes = 4
- RX Gear = 8
- Sample word count = 3000
Each write to FIFO is 4 x 8 = 32 bits (4 bytes)
Requirement for HS transaction = 3000 word / 4 bytes = 750 write
Since 2^9 = 512 and 2^10 = 1024,
'Counter width' must be at least 10-bit wide to accommodate this 750 write requirement.
Related Articles
Reference Clock Frequency Fixed to 60 MHz in IP GUI of the MIPI CSI/DSI IP
Issue Description: In MIPI CSI/DSI IP v4.2.0 (Soft D-PHY), an IP GUI bug has been identified that causes the Reference Clock Frequency setting in the GUI to be fixed at 60 MHz. As a result, users cannot generate the IP with a different Reference ...
5691 - Crosslink / CSI-2/DSI D-PHY Transmitter IP Core : For Crosslink, how can I get the register value from the display(destination)?
DSI-TX IP is only capable of transmission only and do not support bus turn around. This means, it does not support read type of "DCS" command in HS-mode / LP-mode.
6519 - MIPI CSI-2 / DSI D-PHY Receiver: What is the use of the RX_FIFO in the MIPI D-phy RX IP?
Description: RX_FIFO is used when clk_byte_fr_i and clk_byte_o does not have the same frequency and/or is not synchronous, therefore it is used in order for the clocks to be synchronized and run at the same frequency. Nowfor the FIFO we introduce the ...
5923 - MIPI D-PHY to CMOS Interface Bridge Soft IP: Can the DSI to CMOS IP be changed to DPHY1 from DPHY0?
The user can change the hardened D-PHY blocks location between DPHY0 and DPHY1 by adding a LOCATE preference in the .lpf file to SITE "MIPIDPHY0" or SITE "MIPIDPHY1". The LOCATE preference is the following, for example: LOCATE COMP " ...
6946 - What is the spec of 'sync_clk_i' of MIPI D-PHY Rx IP? Does the signal require to be in synced with any other clocks?
Description: Spec is given that 'sync_clk_i', or the 'Sync clock frequency', can support 24-200Mhz, and it is defaulted to 60Mhz, based on CSI-2/DSI D-PHY Rx IP Core IPUG 02081 document. 'syn_clk_i' does not need to synchronize with any clocks, and ...