Hi folks,
We are using DM8168 DVR_RDK from UDworks with DVRRDK 03.00.00.00.
We try use the external HDMI with SII9022A.
Has anybody got the HDMI1 running on this platform ?
Best regards Holger
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi folks,
We are using DM8168 DVR_RDK from UDworks with DVRRDK 03.00.00.00.
We try use the external HDMI with SII9022A.
Has anybody got the HDMI1 running on this platform ?
Best regards Holger
Hi Sujith,
thank You for the reply. No we cannot see output at HDMI1.
We have clock at SII9022a and video data input but no output.
Here is my setup of the display. I am not sure if this is OK for HDMI1 also.
We use vsysParams.systemUseCase = VSYS_USECASE_MULTICHN_PROGRESSIVE_VCAP_VDIS_VENC_VDEC.
/* Setup Vdis context */
vdisParams.deviceParams[VDIS_DEV_HDMI].resolution = VSYS_STD_1080P_60;
vdisParams.deviceParams[VDIS_DEV_HDCOMP].resolution = VSYS_STD_1080P_60;
Vdis_tiedVencInit(VDIS_DEV_HDCOMP, VDIS_DEV_DVO2, &vdisParams);
vdisParams.deviceParams[VDIS_DEV_SD].resolution = VSYS_STD_PAL;
I also put some trace into sii9022a.c to see if
the initialization happens.
In my opinion the init looks fine:
SII9022A --> Device_sii9022aInit
SII9022A <-- Device_sii9022aInit
SII9022A --> Device_sii9022aCreate
SII9022A --> Device_sii9022aDeviceInit
SII9022A --> Device_sii9022aReset
SII9022A <-- Device_sii9022aReset status=0
SII9022A --> Device_sii9022aGetHdmiChipId
SII9022A <-- Device_sii9022aGetHdmiChipId status=0
SII9022A --> Device_sii9022aPowerUpTxm
SII9022A <-- Device_sii9022aPowerUpTxm status=0
SII9022A --> Device_sii9022aEnable
SII9022A <-- Device_sii9022aEnable status=0
SII9022A --> Device_sii9022aCfgInBus
SII9022A <-- Device_sii9022aCfgInBus status=0
SII9022A --> Device_sii9022aCfgYcMode
SII9022A <-- Device_sii9022aCfgYcMode status=0
SII9022A --> Device_sii9022aCfgSyncMode
SII9022A <-- Device_sii9022aCfgSyncMode status=0
SII9022A <-- Device_sii9022aDeviceInit status=0
SII9022A --> Device_sii9022aControl
SII9022A IOCTL_DEVICE_SII9022A_GET_DETAILED_CHIP_ID
SII9022A --> Device_sii9022aGetDetailedChipId
SII9022A Device_sii9022aGetDetailedChipId hdmichipId->deviceId=0xb0
SII9022A Device_sii9022aGetDetailedChipId hdmichipId->deviceProdRevId=0x2
SII9022A Device_sii9022aGetDetailedChipId hdmichipId->tpiRevId=3
SII9022A Device_sii9022aGetDetailedChipId hdmichipId->hdcpRevTpi=0
SII9022A <-- Device_sii9022aGetDetailedChipId status=0
SII9022A <-- Device_sii9022aControl status=0
SII9022A --> Device_sii9022aControl
SII9022A IOCTL_DEVICE_SII9022A_QUERY_HPD
SII9022A --> Device_sii9022aGetHpd
SII9022A <-- Device_sii9022aGetHpd retVal=0
SII9022A <-- Device_sii9022aControl status=0
SII9022A --> Device_sii9022aControl
SII9022A IOCTL_DEVICE_VIDEO_ENCODER_SET_MODE
SII9022A --> Device_sii9022aSetMode
SII9022A --> Device_sii9022aPrgmEmbSyncTimingInfo
SII9022A <-- Device_sii9022aPrgmEmbSyncTimingInfo retVal=0
SII9022A --> Device_sii9022aPrgmAvInfoFrame
SII9022A --> Device_sii9022aCalcCRC
SII9022A <-- Device_sii9022aCalcCRC retVal=0
SII9022A <-- Device_sii9022aPrgmAvInfoFrame retVal=0
SII9022A --> Device_sii9022aPrgmMdResetRegs
SII9022A <-- Device_sii9022aPrgmMdResetRegs retVal=0
SII9022A <-- Device_sii9022aSetMode retVal=0
SII9022A <-- Device_sii9022aControl status=0
********* Entered usecase 16CH Progressive <816x> Cap/Enc/Dec/Dis
.
.
.
SII9022A --> Device_sii9022aControl
SII9022A DEVICE_CMD_START
SII9022A --> Device_sii9022aStart
SII9022A --> Device_sii9022aCfgInBus
SII9022A <-- Device_sii9022aCfgInBus status=0
SII9022A <-- Device_sii9022aStart retVal=0
SII9022A <-- Device_sii9022aControl status=0
Any ideas ?
Regards Holger
Hi Sujith,
Thanks for Your reply.
No we can not see output at HDMI1.
We have valid clock at SII9022a and video data seems to be at input, but we don not see any output.
We use vsysParams.systemUseCase = VSYS_USECASE_MULTICHN_PROGRESSIVE_VCAP_VDIS_VENC_VDEC;
I am not sure if the initialisation is OK.
/* Setup Vdis context */
vdisParams.deviceParams[VDIS_DEV_HDMI].resolution = VSYS_STD_1080P_60;
vdisParams.deviceParams[VDIS_DEV_HDCOMP].resolution = VSYS_STD_1080P_60;
Vdis_tiedVencInit(VDIS_DEV_HDCOMP, VDIS_DEV_DVO2, &vdisParams);
vdisParams.deviceParams[VDIS_DEV_SD].resolution = VSYS_STD_PAL;
I also put some trace output to sii9022a.c to see hoe initialization occurs.
In my opinion it looks fine.
SII9022A --> Device_sii9022aInit
SII9022A <-- Device_sii9022aInit
SII9022A --> Device_sii9022aCreate
SII9022A --> Device_sii9022aDeviceInit
SII9022A --> Device_sii9022aReset
SII9022A <-- Device_sii9022aReset status=0
SII9022A --> Device_sii9022aGetHdmiChipId
SII9022A <-- Device_sii9022aGetHdmiChipId status=0
SII9022A --> Device_sii9022aPowerUpTxm
SII9022A <-- Device_sii9022aPowerUpTxm status=0
SII9022A --> Device_sii9022aEnable
SII9022A <-- Device_sii9022aEnable status=0
SII9022A --> Device_sii9022aCfgInBus
SII9022A <-- Device_sii9022aCfgInBus status=0
SII9022A --> Device_sii9022aCfgYcMode
SII9022A <-- Device_sii9022aCfgYcMode status=0
SII9022A --> Device_sii9022aCfgSyncMode
SII9022A <-- Device_sii9022aCfgSyncMode status=0
SII9022A <-- Device_sii9022aDeviceInit status=0
SII9022A --> Device_sii9022aControl
SII9022A IOCTL_DEVICE_SII9022A_GET_DETAILED_CHIP_ID
SII9022A --> Device_sii9022aGetDetailedChipId
SII9022A Device_sii9022aGetDetailedChipId hdmichipId->deviceId=0xb0
SII9022A Device_sii9022aGetDetailedChipId hdmichipId->deviceProdRevId=0x2
SII9022A Device_sii9022aGetDetailedChipId hdmichipId->tpiRevId=3
SII9022A Device_sii9022aGetDetailedChipId hdmichipId->hdcpRevTpi=0
SII9022A <-- Device_sii9022aGetDetailedChipId status=0
SII9022A <-- Device_sii9022aControl status=0
SII9022A --> Device_sii9022aControl
SII9022A IOCTL_DEVICE_SII9022A_QUERY_HPD
SII9022A --> Device_sii9022aGetHpd
SII9022A <-- Device_sii9022aGetHpd retVal=0
SII9022A <-- Device_sii9022aControl status=0
SII9022A --> Device_sii9022aControl
SII9022A IOCTL_DEVICE_VIDEO_ENCODER_SET_MODE
SII9022A --> Device_sii9022aSetMode
SII9022A --> Device_sii9022aPrgmEmbSyncTimingInfo
SII9022A <-- Device_sii9022aPrgmEmbSyncTimingInfo retVal=0
SII9022A --> Device_sii9022aPrgmAvInfoFrame
SII9022A --> Device_sii9022aCalcCRC
SII9022A <-- Device_sii9022aCalcCRC retVal=0
SII9022A <-- Device_sii9022aPrgmAvInfoFrame retVal=0
SII9022A --> Device_sii9022aPrgmMdResetRegs
SII9022A <-- Device_sii9022aPrgmMdResetRegs retVal=0
SII9022A <-- Device_sii9022aSetMode retVal=0
SII9022A <-- Device_sii9022aControl status=0
********* Entered usecase 16CH Progressive <816x> Cap/Enc/Dec/Dis
.
.
.
SII9022A --> Device_sii9022aControl
SII9022A DEVICE_CMD_START
SII9022A --> Device_sii9022aStart
SII9022A --> Device_sii9022aCfgInBus
SII9022A <-- Device_sii9022aCfgInBus status=0
SII9022A <-- Device_sii9022aStart retVal=0
SII9022A <-- Device_sii9022aControl status=0
Any idea ?
Regards Holger
Hi Sujith,
we are developing our own hardware and also an own software stack.
But I try to find the problem on the UD-Works platform.
This problem occurs in software version 1.9.0.xx, 2,0.0.xx, 2.80.00.xx and 3.0.0.0.
I came back to this issue after a while because we want to use this interface now.
I tested it also with the prebuild binarys fron TI and UDworks, with the same result.
Now a added some more trace output.
We can see that the hpd status is changing if the HDMI cable and monitor is connected.
I also tested othe monitors.
SII9022A --> Device_sii9022aInit
SII9022A <-- Device_sii9022aInit
SII9022A --> Device_sii9022aCreate
SII9022A --> Device_sii9022aDeviceInit
SII9022A --> Device_sii9022aReset
SII9022A <-- Device_sii9022aReset status=0
SII9022A --> Device_sii9022aGetHdmiChipId
SII9022A <-- Device_sii9022aGetHdmiChipId status=0
SII9022A --> Device_sii9022aPowerUpTxm
SII9022A <-- Device_sii9022aPowerUpTxm status=0
SII9022A --> Device_sii9022aEnable
SII9022A <-- Device_sii9022aEnable status=0
SII9022A --> Device_sii9022aCfgInBus
SII9022A <-- Device_sii9022aCfgInBus status=0
SII9022A --> Device_sii9022aCfgYcMode
SII9022A <-- Device_sii9022aCfgYcMode status=0
SII9022A --> Device_sii9022aCfgSyncMode
SII9022A <-- Device_sii9022aCfgSyncMode status=0
SII9022A <-- Device_sii9022aDeviceInit status=0
SII9022A --> Device_sii9022aControl
SII9022A IOCTL_DEVICE_SII9022A_GET_DETAILED_CHIP_ID
SII9022A --> Device_sii9022aGetDetailedChipId
SII9022A Device_sii9022aGetDetailedChipId hdmichipId->deviceId =0xb0
SII9022A Device_sii9022aGetDetailedChipId hdmichipId->deviceProdRevId =0x2
SII9022A Device_sii9022aGetDetailedChipId hdmichipId->tpiRevId =3
SII9022A Device_sii9022aGetDetailedChipId hdmichipId->hdcpRevTpi =0
SII9022A <-- Device_sii9022aGetDetailedChipId status=0
SII9022A <-- Device_sii9022aControl status=0
SII9022A --> Device_sii9022aControl
SII9022A IOCTL_DEVICE_SII9022A_QUERY_HPD
SII9022A --> Device_sii9022aGetHpd
SII9022A Device_sii9022aGetHpd hpd->pdEvtPending =1
SII9022A Device_sii9022aGetHpd hpd->busError =2
SII9022A Device_sii9022aGetHpd hpd->hpdStatus =4
SII9022A <-- Device_sii9022aGetHpd retVal =0
SII9022A <-- Device_sii9022aControl status=0
SII9022A --> Device_sii9022aControl
SII9022A IOCTL_DEVICE_VIDEO_ENCODER_SET_MODE
SII9022A --> Device_sii9022aSetMode
SII9022A Device_sii9022aSetMode DEVICE_VIDEO_ENCODER_EMBEDDED_SYNC
SII9022A --> Device_sii9022aPrgmEmbSyncTimingInfo
SII9022A Device_sii9022aPrgmEmbSyncTimingInfo DEVICE_SII9022A_HDMI_RGB
SII9022A <-- Device_sii9022aPrgmEmbSyncTimingInfo retVal=0
SII9022A --> Device_sii9022aPrgmAvInfoFrame
SII9022A --> Device_sii9022aCalcCRC
SII9022A <-- Device_sii9022aCalcCRC retVal=0
SII9022A <-- Device_sii9022aPrgmAvInfoFrame retVal=0
SII9022A --> Device_sii9022aPrgmMdResetRegs
SII9022A <-- Device_sii9022aPrgmMdResetRegs retVal=0
SII9022A <-- Device_sii9022aSetMode retVal=0
SII9022A <-- Device_sii9022aControl status=0
SII9022A --> Device_sii9022aControl
SII9022A DEVICE_CMD_START
SII9022A --> Device_sii9022aStart
SII9022A --> Device_sii9022aCfgInBus
SII9022A <-- Device_sii9022aCfgInBus status=0
SII9022A <-- Device_sii9022aStart retVal=0
SII9022A <-- Device_sii9022aControl status=0
Regards Holger
Hi Sujith,
we use HW version Rev. 05b of UdWorks DM8168 DVR RDK board.
For our own design we use the same schematics for SII9022a,
so we have the same behavior in our hardware. HDMI0 and VGA works well
but no output at HDMI1.
We also compared Rev 05b with HW version Rev. 06 and we did not found differences.
Best regards Holger
Hi Holger,
Have you checked TI MCFW demos? By default in UD Works GUI demo, you need to enable playback(click on the playback icon on top left corner of GUI-> Selected the recorded stream and click play at down left corner) to see playback content in OFF-Chip HDMI.
Regards,
Arun
Hi Arun,
at the moment I have no basket file system from UD-Works on my hard disk in the platform.
But I have tested MCFW demo decoding examples. Playback is not visible at HDMI1.
By the way I do not understand why onlý playback content can be displayd at HDMI1 ?
Regards Holger
Hi folks,
I have found the problem. I have tested the HDMI1 port always with monitors from
the same manufacturer (LG). Now I did try a monitor from Dell and everything looks fine.
I have output from HDMI1. Seems to be a problem of compatibility of LG and Sii9022a.
Has anybody experience with this behavior ?
Best regards Holger
Hi Sujith,
Resolution is set modePrms.standard = VSYS_STD_1080P_60;
I do not have a TV set available here in the lab, but I will try to test.
Do You know if with other monitors occur this problem ?
Regards Holger
Hi,
does you monitor support 1080p 60? Could you try some lower resolution like 720p? Does it support DVI input? if yes, could we try DVI input?
Thanks,
Brijesh Jadav
Hi folks,
The LG monitors support 1080p60, I can see the output of HDMI0 without problems in this standard.
I also tested the following formats with DELL and LG monitors.
The Dell does not support the P_50 standards but the other formats are OK.
LG always stays dark.
VSYS_STD_480P,
VSYS_STD_576P,
VSYS_STD_720P_60,
VSYS_STD_720P_50,
VSYS_STD_1080P_30,
VSYS_STD_1080P_50,
VSYS_STD_1080P_60,
VSYS_STD_1080I_60,
VSYS_STD_1080I_50,
I also tested the Device_Sii9022AOutputFormat formats:
DEVICE_SII9022A_DVI_RGB does not work neither with LG nor with DELL.
It is possible to see output with DEVICE_SII9022A_HDMI_YUV444 and DEVICE_SII9022A_HDMI_YUV422
with DELL but the colors are not true.
DEVICE_SII9022A_HDMI_RGB is OK with the DELL monitor.
No output from LG monitors.
And last but not least I tested clkEdge = FALSE / and TRUE.
No Problem for DELL monitor, LG stays dark.
Any suggestions for this stange behavior ?
Best regards Holger
Hi Sujith,
the LG monitors work well at HDMI0 with the same cable, I also checked other cables.
Have You checked the HDMI1 with different monitors (from different manufacturers) in Your lab ?
Best Regards Holger
Hi,
You need to change code in external HDMI transmitter to do color space conversion from YUV to RGB. Due to schematics it wont be possible to connect external HDMI transmitter directly in RGB mode from VENC to transmitter since data lines required are different for RGB and YUV color spaces.
Hi folks,
I tested DEVICE_SII9022A_HDMI_YUV444 and DEVICE_SII9022A_HDMI_YUV422 settings.
The Dell monitors can use this setting but the colors are not real.
The LG monitors stay dark. But my LG monitors normaly can use this color setting.
Best Regards Holger
我的sii9022a也是没输出,按照你的方法换换显示器试试,可能是显示器的edid的问题。我用的是3.0版本的udworks方案,hope udworks give a good solution,not just changing the monitors.
and i also found some error when i insmod sii9022a,ko.
I2C_BOARD_INFO("sii9022a", 0x39),is gone in board-ti8168dvr.c .why udworks remove this.