Forum Discussion
Hi, We're using a Raspberry Pi compatible display that is 800x600 at 60Hz (SVGA), so the spec is as follows:
htotal: 1056
hbend (hsync_end): 968
DSI lanes: 2
Pixel format (“pixels in parallel”): RGB888 (24 bpp)
Per-lane rate @ RGB888, 2-lane: ≈ 530 Mb/s per lane
I'm not sure about any other IP settings. We are using the IP in TX mode only.
thanks,
Steve
- Wincent_Altera3 months ago
Regular Contributor
Hi Steve,
Can you please share me the .ip file ?
If you not sure where to locate it, perhaps printscreen on all the parameter "ip" "video timing" will be very helpful for me
Regards,
Wincent_Altera- SteveS1093 months ago
Occasional Contributor
Here are my settings for the MIPI DSI-2 IP tabs. A couple of notes:
* IP tab: without knowing better, I went with the defaults so I'm not sure if these need to be adjusted
* Video Timing tab: these are for a standard SVGA display (800x600 @ 60 Hz).
1. IP
General Options
Control and Status Registers (CSR) = checked
CRC insertion = checked
ECC insertion = checked
Fixed Latency Mode = checked
Buffer Depth = 4096
DPHY Interface Options
Number of lanes = 2
PPI bus width per lane = 2 bytes
Video Streaming Interface Options
Pixels in Parallel = 2
Maximum pixels per video line = 128
AXI4 TDATA width: 48 bits
Video Packing/Unpacking Options
MIPI DSI2-Data Type = RBG_24bit
2. Video Timing MIPI DSI-2 IP (800×600 @ 60 Hz)
Video Timing List
Video timing configuration values = Manual
Dimensions
HTOTAL = 1056
VTOTAL = 628Blank Timing
HB_END = hfront + hsync + hback = 40 + 128 + 88 = 256
V1B_START = 0 (blanking begins at line 0)
V1B_END = vfront + vsync + vback = 1 + 4 + 23 = 28Sync Timing
HS_START = hfront = 40
HS_END = hfront + hsync = 40 + 128 = 168
V1S_VSTART = vfront = 1
V1S_HSTART = 0 (vsync asserted from the start of each affected line)
V1S_VEND = vfront + vsync = 1 + 4 = 5
V1S_HEND = 0 (vsync spans the full line)- Wincent_Altera3 months ago
Regular Contributor
Hi @SteveS109
There is calculation need to be fullfill for the Htotal and Hbend under the "video timing" tab
This will be include in the later published user guide (ETA 2-4 weeks from now , subject to change)By referring to your .ip setting
- active length = 128
- pip = 2
- data types = RGB_24bit
Under the "video timing" tab - please try to modified the value of Htotal and Hbend ONLY into
- Htotal = 1751
- Hbend = 1623
Other parameter such as V1S_VSTART, V1S_HSTART , V1S_VEND ... etc , you may remain the default value.
Then re-run the simulation again. let me know if you still seeing the any failure.
Regards,
Wincent_Altera