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.

external video decoder

Guru 20755 points


Hello,

I'm trying to work with EVM814x which we connected to external video decoder in i2c #1 (i2c #0 , and i2c #2 continue to serve other devices as before).
I therefoe made the following change in code, adding the following line just before Vcap_init

vcapParams.enableConfigExtVideoDecoder = FALSE;

Vcap_init(&vcapParams);

 

But then I get the following error in run-time:

IOCTL_DEVICE_SII9022A_QUERY_HPD Failed!! This can happen because
1. enableConfigExtVideoEncoder is set to TRUE and Sii9022A is absent in the system OR
ASSERT (ti_vdis.c|Vdis_init|404)
2. Loose connection between the board and the daugther card

Why the error is about to display if the change is related only to capture ?

Thanks,

Ran

  • Do you have the vs daughter card connected to evm.If not you should set  vdisParams.enableConfigExtThsFilter = FALSE;vdisParams.enableConfigExtVideoEncoder = FALSE; before vdisinit to disable off chip hdmi config

  • Hi Badri,

    I have a doughter card connected. We only connected additional card with the external video decoder card as input into the daughter card (instead of video decoder on the daughter card), but all the rest of components on daughter card act as usual.

    Thanks,

    Ran

  • Does your usecase require display on offchip HDMI via DVO2 ? If not you can set vdisParams.enableConfigExtThsFilter = FALSE;vdisParams.enableConfigExtVideoEncoder = FALSE; before Vdis_init() as mentioned before. This will disable SIl9022a configuration which you anyway don't require. I don't know the reason for why I2C will fail if you have same schematics as VS daughter card.

  • Hi Badri,

    I use i2c-1 for external video decoder (I had to add it to the existing i2c-0 , i2c-2 which still work as before).
    I see after boot that it detect the external device, but after running the .load script, A8 linux stops to communicate with i2c1. Why is that ? Does M3/DSP firmware change pinmux ? (It seems to happen right after dsp load)  What should I do ?

    Thanks,

    Ran

  • Can you try disabling ENABLE_I2C_CLK define in /dvr_rdk_hdvpss/packages/ti/psp/platforms/ti814x/src/vps_platformTI814x.c

    Also confirm /dvr_rdk/mcfw/src_bios6/links_m3vpss/system/system_m3vpss.c

    Int32 System_init()

    has isI2cProbingReq and isI2cInitReq set to FALSE in your codebase.