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.

Capture RAW data on omap3isp

Other Parts Discussed in Thread: TVP5154, TVP5146

Hi All,

I'm currently to capture some raw data provided by a tvp5154 sensors throught the omap3isp's CCDC entity linked to '/dev/video2'.

My work is based on Laurent Pinchart's media-sensor repository (kernel 2.6.37).

When I try to capture somme frames, using the yavta application, the system hangs. By adding debug messages, il figured out that only the hs_vs_isr interrupt was occurring.

So i Reduced the numbers of lines to wait, on generate the VD0 and VD1 interrupts. (100 instead of 480 provided by the sensor). This done, I get this "CCDC won't become idle !" error message.

Could please help me, on this issue. As a newbie in kernel development, I really don't know how to fix this.

Thank you.

Regards

Loïc

  • Hi,

    I have seen this issue multiple times and this happens due to wrong configuration. I hope you understand and must have done required changed to support BT656 interface  to CCDC, the Laurent's current ISP code doesn't support this.

    I would suggest you to check your CCDC configuration.

     

    Just for your information, as part of our next release milestone, I am already working on the same module and currently trying to bring up sensor interface and then I will start working on TVP5146 interface.

    Thanks,

    Vaibhav

  • Hi,

    I've configured the tvp5154 sensor to provide me some YUV 4:2:2 data, with discrete syncs signals. Except adapting my board code to configure the ISP interface, I don't really know which parameters  to check for the CCDC configuration.

    Could help me on this point please?

    Regards
    Loïc

  • Hi,

    the omap ISP is configured into interlaced mode, so each frame contains only half the number of active lines. For our design, I'd like to provide somme full fied frames to the v4l2 capture application.

    Can someone please tell me if it's possible, and if so how to proceed?

    Thanks for your help.

    Regards

  • Hi,

    Sorry for delayed response, I am quite occupied with release process.

    Just wanted to provide latest update on this thread, I could able to get BT656 interface working on OMAP3EVM with TVP5146 without any issues with media controller framework. I will be pushing code to Arago sometime this week.

    Coming to your question, yes that's the whole point. What will application do with half frame. ISP CCDC does capable of filling full frame, please refer to the TRM under section 12.4.4.3.5 Output Formatter (Line Output Control).

    Thanks,

    Vaibhav