From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Adriano Martins <adrianomatosmartins@gmail.com>
Cc: linux-media <linux-media@vger.kernel.org>
Subject: Re: omap3isp IRQs
Date: Thu, 14 Feb 2013 21:42:12 +0100 [thread overview]
Message-ID: <1554138.lFCgcHDuOa@avalon> (raw)
In-Reply-To: <CAJRKTVruizr6AZJk6i8nbG0VE_9iCtNg8y5XCDvJPTnEq9uhAQ@mail.gmail.com>
Hi Adriano,
On Thursday 14 February 2013 17:17:40 Adriano Martins wrote:
> 2013/2/13 Adriano Martins <adrianomatosmartins@gmail.com>:
> > 2013/2/13 Adriano Martins <adrianomatosmartins@gmail.com>:
> >> Hi,
> >>
> >> Please, help me :-)
> >>
> >> I trying capture frames from my new sensor, ov5640. I already capture
> >> images from a mt9p031 camera, but I have some problems with ov5640.
> >>
> >> Someone can explain me what are the CCDC_VD0_IRQ and CCDC_VD1_IRQ?
Those two interrupts are generated by the CCDC using programmable line
counters. The ISP driver programs the CCDC to generate the VD0 interrupt on
the last line of the image and the VD1 interrupt at 2/3 of the image.
> >> In the mt9p031 sensor, I get all interrupts (including HS_VS_IRQ) and
> >> I can capture frames.
> >>
> >> In other sensor, I can't capture any frame. I get many HS_VS_IRQ only,
> >> then yavta app hangs and I need stop it. Then I get CCDC stop timeout!
> >> Is it necessary get CCDC_VD0_IRQ and CCDC_VD1_IRQ ever to capture a
> >> frame?
Yes. A failure to get them usually indicates that the number of lines
generated by the sensor doesn't match the number of lines expected by the CCDC
(possibly because the HS signal is completely missing).
> >> I think all signal from ov5640 sensor are ok. A question about it:
> >> vsync may be in high level until the frame is transmitted? On my case
> >> I see just a pulse of vsync before hsync pulses. Is it correct?
> >
> > I can capture frames now, and get all interrupts.
> > But, The image has only green color.
>
> I solved my problem. The .data_lane_shift and yuv sequence were wrong.
Glad to know you've solved the problem :-)
> > I have configured the CCDC module as V4L2_MBUS_FMT_UYVY8_2X8, and the
> > sensor output format is configured as YUV422 with sequence UYVY.
> >
> > somebody has any idea?
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2013-02-14 20:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAJRKTVoKYyJqP1mE=HTmm2jq9uoSkX9kf0HcMxz7F9wZnD1Y5w@mail.gmail.com>
2013-02-13 12:13 ` Fwd: omap3isp IRQs Adriano Martins
2013-02-13 18:51 ` Adriano Martins
[not found] ` <CAJRKTVpcBfyYfbdC-+DL2UgtDR=KNRO87a+Uch583sU=8h70CQ@mail.gmail.com>
2013-02-14 19:17 ` Adriano Martins
2013-02-14 20:42 ` Laurent Pinchart [this message]
2013-02-15 10:54 ` Adriano Martins
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1554138.lFCgcHDuOa@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=adrianomatosmartins@gmail.com \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.