Other Parts Discussed in Thread: TDA2
Hi team,
SDK: ti-processor-sdk-rtos-j721e-evm-08_05_00_11
H/W design: VOUT0 connected externally to NVP6021, and BT.1120 switch to AHD output. And NVP6021 pin is defined as follows:
TDA4VM <==> NVP6021 h/w connection:
VOUT0_DATA2~9 connected to NVP6021 Y0~7
VOUT0_DATA12~19 connected to NVP6021 C0~7
These correspond to the data map mentioned in the manual:
1920*1080p 25fps was selected and the customer made the following modifications in SDK:
app_init.c: appInit()
prm.timings.hFrontPorch = 460U;
prm.timings.hBackPorch = 110U;
prm.timings.hSyncLen = 150U;
prm.timings.vFrontPorch = 4U;
prm.timings.vBackPorch = 34U;
prm.timings.vSyncLen = 7U;
prm.timings.pixelClock = 74250000ULL;
app_dss_defaults.c: appDctrlDefaultInit()
vpParams.dvoFormat = APP_DCTRL_DV_BT1120_EMBSYNC;
app_dss_defaults.c appDssDefaultInit()
The EVM uses VOUT0 to HDMI and the customer's design uses VOUT0 too, so they have modified the following under the code corresponding to the APP_DSS_DEFAULT_DISPLAY_TYPE_DPI_HDMI macro:
else if(prm->display_type==APP_DSS_DEFAULT_DISPLAY_TYPE_DPI_HDMI)
{
appLogPrintf("DSS: Display type is HDMI !!!\n");
obj->nodeOverlayId = APP_DCTRL_NODE_OVERLAY2;
obj->nodeVpId = APP_DCTRL_NODE_VP2;
obj->nodeDpiId = APP_DCTRL_NODE_DPI_DPI0;
obj->overlayId = APP_DSS_OVERLAY_ID_2;
obj->vpId = APP_DSS_VP_ID_2;
//yaogang modify
//obj->videoIfWidth = APP_DCTRL_VIFW_24BIT;
obj->videoIfWidth = APP_DCTRL_VIFW_16BIT;
}
NVP6021 Initialization: the registers of the NVP6021 have been set according to the configuration list given by the FAE.
And please see the test:
1) The measured clock output is 74.25M with oscilloscope and it was good.
2) Enable the Colorbar test output of the NVP6021 and it display has no probelem.
3) Turn off the Colorbar test output of the NVP6021 and enable the TDA2VM Colorbar.
dss_dctrl.h:
Note: The screen identification signal was 1080p 25 for test item 2 and NTSC for test item 3.
Could you help check is there any problem with the modification of the code above? And how to troubleshoot the issue next? Thanks.
Best Regards,
Cherry