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.

C6748LCDK-VPIF-lcd freezing by displaying the pictures of static scenes

Hello.

In my project I do edge detection. My algorithm is very slow, lcd displays my output every 5 seconds. But it is not an issue for me. The problem is, when I let my camera to read static scene, the lcd displays just 5 pictures and then freezes. I must reset my lcdk. But when I move the camera there is no freezing.

Could anyone explain me  why it happens so and what to do against these freezing?

Thank you.

Petr Duga

  • Hi Petr Duga,

    Thanks for your post.

    Is the code provided by TI or your own custom code?

    There could be many reasons for the issue which you have posted above. I would recommend you to check whether your camera is compatible to the supported formats (PAL/NTSC) as mentioned in Table 34-1 in the C6748 TRM as below:

    http://www.ti.com/lit/ug/spruh79a/spruh79a.pdf

    In addition to the above, there are certain features which are not supported (ITU-BT.601 format, Separated synchronization format) in c6748 VPIF  as mentioned in Section 34.1.3 of the above TRM doc.

    If you think, it supports all formats compatible to the above doc., then you could try running the vpiflcd_loopback sample application for capture from VPIF and display over LCD.

    Please let me know, if you have any issue similar to the one which you stated above and if you don't see any issue, then the issue could be probably in your VPIF capture & display configuration in the code. You could find the sample application project for VPIFlcd_loopback in the c6748 starterware package as mentioned below:

    ~\pdk_C6748_2_0_0_0\C6748_StarterWare_1_20_03_03\build\c674x\cgt_ccs\c6748\lcdkC6748\vpif_lcd_loopback

    May be, you shall validate the VPIF capture & display configuration in the above loopback example code. Please check the c6748 TRM for more details on VPIF parameter configurations for the standard video modes as referred in Section 34.2.15 as mentioned in the below doc.:

    http://www.ti.com/lit/ug/spruh79a/spruh79a.pdf

    Thanks & regards,

    Sivaraj K

    -------------------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question.
    -------------------------------------------------------------------------------------------------------
  • Hello Sivaraj,

    thanks for your answer.

    My project is based on vpif_lcd_loopback.c example from starterware.

    I have PAL camera and I have implemented this format in my project. It seems to be configurated well, because the loopback works without problem. The picture filtering runs good as well. The problem is just with the pictures of static scenes.

    Best regards

    Petr Duga

  • Thank you Sivaraj,

    the problem was in incorrect buffer indexing.

    It works now!

    Petr Duga