Re: OV5640 CSI2 problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 13 Mar 2020 at 12:15, Tomi Valkeinen <tomi.valkeinen@xxxxxx> wrote:
>
> Hi all,
>
> I've been testing and debugging OV5640 with TI's DRA76 and AM65 platforms, which have the CAL IP for
> MIPI CSI2 RX.
>
> The most clear problem is that 1280x720@30 doesn't work at all, but with all resolutions I can see
> occasional PHY errors reported when starting the streaming.
>
> The OV5640 spec lists the video timings, but I haven't been able to figure out what exactly they
> mean, as e.g. the vsync time doesn't seem to match the other times according to my calculations.
>
> In any case, I was poking here and there, and noticed that if I use the htot value from the spec
> (2844), instead of the current value (1896 for most resolutions), 1280x720 works, and the PHY errors
> are gone.
>
> Testing more, I found out that the smaller the htot, the more unreliable the RX becomes, and going
> down from 2844, somewhere around 2400 I start to see errors.
>
> I'm not that much familiar with CSI-2, and very little with OV5640. Does anyone have a clue about
> what I'm observing here? Does 1280x720@30 work on other platforms with CSI2? Where do the current
> OV5640 video timings come from?

On my side, It works at least with dragonboard-410c (Qualcomm APQ8016).

Regards,
Loic



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux