Tool/software:
Hi Ti,
For now,When we set the resolution to 1920x720x60Hz, the DSI works fine, but when we try to set the resolution to 3840x720x30Hz, no data output is measured on the DSI bus.
When 1920x720x60Hz,we can get value:0x01 from the DSI_VID_MODE_STS Register.
When 3840x720x30Hz,we can get value:0x04 from the DSI_VID_MODE_STS Register.
We used RTOS SDK8.4
Where should we try to debug the problem?
1920x720x60Hz timings as below:
prm.display[1].timings.width = 1920U;
prm.display[1].timings.height = 720;
prm.display[1].timings.hFrontPorch = 172;
prm.display[1].timings.hBackPorch = 86;
prm.display[1].timings.hSyncLen = 72U;
prm.display[1].timings.vFrontPorch = 6;
prm.display[1].timings.vBackPorch = 9;
prm.display[1].timings.vSyncLen = 2;
prm.display[1].timings.pixelClock = 99,495,000;
dsi_params.laneSpeedInKbps=596970;
dsiObj->dphyTxIpDiv = 0x2;
dsiObj->dphyTxOpDiv = 0x4;
dsiObj->dphyTxFbDiv = 0x1F3;
dsiObj->dphyTxRate = (0xA<<0) |(0xA<<5);
dsiObj->cfgDsiTx.numOfLanes = 0x4u;
dsiObj->privDsiTx.numOfLanes = 0x4u;
3840x720x30Hz timings as below:
prm.display[1].timings.width = 3840U;
prm.display[1].timings.height = 720;
prm.display[1].timings.hFrontPorch = 344;
prm.display[1].timings.hBackPorch = 172;
prm.display[1].timings.hSyncLen = 144;
prm.display[1].timings.vFrontPorch = 6;
prm.display[1].timings.vBackPorch = 9;
prm.display[1].timings.vSyncLen = 2;
prm.display[1].timings.pixelClock = 99,495,000;
dsi_params.laneSpeedInKbps=596970;
dsiObj->dphyTxIpDiv = 0x2;
dsiObj->dphyTxOpDiv = 0x4;
dsiObj->dphyTxFbDiv = 0x1F3;
dsiObj->dphyTxRate = (0xA<<0) |(0xA<<5);
dsiObj->cfgDsiTx.numOfLanes = 0x4u;
dsiObj->privDsiTx.numOfLanes = 0x4u;
thanks